Class DeviceFarmProjectManager
- java.lang.Object
-
- pl.wrzasq.lambda.cform.devicefarm.project.service.DeviceFarmProjectManager
-
public class DeviceFarmProjectManager extends Object
DeviceFarm API implementation.
-
-
Field Summary
Fields Modifier and Type Field Description private com.amazonaws.services.devicefarm.AWSDeviceFarm
deviceFarm
AWS DeviceFarm API client.private org.slf4j.Logger
logger
Logger.
-
Constructor Summary
Constructors Constructor Description DeviceFarmProjectManager(com.amazonaws.services.devicefarm.AWSDeviceFarm deviceFarm)
Initializes object with given DeviceFarm client.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description pl.wrzasq.commons.aws.cloudformation.CustomResourceResponse<com.amazonaws.services.devicefarm.model.TestGridProject>
create(DeviceFarmProjectRequest input, String physicalResourceId)
Handles project creation.pl.wrzasq.commons.aws.cloudformation.CustomResourceResponse<com.amazonaws.services.devicefarm.model.TestGridProject>
delete(DeviceFarmProjectRequest input, String physicalResourceId)
Handles project deletion.pl.wrzasq.commons.aws.cloudformation.CustomResourceResponse<com.amazonaws.services.devicefarm.model.TestGridProject>
update(DeviceFarmProjectRequest input, String physicalResourceId)
Handles project update.
-
-
-
Method Detail
-
create
public pl.wrzasq.commons.aws.cloudformation.CustomResourceResponse<com.amazonaws.services.devicefarm.model.TestGridProject> create(DeviceFarmProjectRequest input, String physicalResourceId)
Handles project creation.- Parameters:
input
- Resource creation request.physicalResourceId
- Physical ID of existing resource (if present).- Returns:
- Data about created project.
-
update
public pl.wrzasq.commons.aws.cloudformation.CustomResourceResponse<com.amazonaws.services.devicefarm.model.TestGridProject> update(DeviceFarmProjectRequest input, String physicalResourceId)
Handles project update.- Parameters:
input
- Resource update request.physicalResourceId
- Physical ID of existing resource (if present).- Returns:
- Data about updated project.
-
delete
public pl.wrzasq.commons.aws.cloudformation.CustomResourceResponse<com.amazonaws.services.devicefarm.model.TestGridProject> delete(DeviceFarmProjectRequest input, String physicalResourceId)
Handles project deletion.- Parameters:
input
- Resource delete request.physicalResourceId
- Physical ID of existing resource (if present).- Returns:
- Empty response.
-
-