public class AbstractAWSDeviceFarm extends Object implements AWSDeviceFarm
AWSDeviceFarm. Convenient method forms
pass through to the corresponding overload that takes a request object, which
throws an UnsupportedOperationException.| Modifier and Type | Method and Description |
|---|---|
CreateDevicePoolResult |
createDevicePool(CreateDevicePoolRequest request)
Creates a device pool.
|
CreateProjectResult |
createProject(CreateProjectRequest request)
Creates a new project.
|
CreateUploadResult |
createUpload(CreateUploadRequest request)
Uploads an app or test scripts.
|
DeleteDevicePoolResult |
deleteDevicePool(DeleteDevicePoolRequest request)
Deletes a device pool given the pool ARN.
|
DeleteProjectResult |
deleteProject(DeleteProjectRequest request)
Deletes an AWS Device Farm project, given the project ARN.
|
DeleteRunResult |
deleteRun(DeleteRunRequest request)
Deletes the run, given the run ARN.
|
DeleteUploadResult |
deleteUpload(DeleteUploadRequest request)
Deletes an upload given the upload ARN.
|
GetAccountSettingsResult |
getAccountSettings(GetAccountSettingsRequest request)
Returns the number of unmetered iOS and/or unmetered Android devices that
have been purchased by the account.
|
ResponseMetadata |
getCachedResponseMetadata(AmazonWebServiceRequest request)
Returns additional metadata for a previously executed successful request,
typically used for debugging issues where a service isn't acting as
expected.
|
GetDeviceResult |
getDevice(GetDeviceRequest request)
Gets information about a unique device type.
|
GetDevicePoolResult |
getDevicePool(GetDevicePoolRequest request)
Gets information about a device pool.
|
GetDevicePoolCompatibilityResult |
getDevicePoolCompatibility(GetDevicePoolCompatibilityRequest request)
Gets information about compatibility with a device pool.
|
GetJobResult |
getJob(GetJobRequest request)
Gets information about a job.
|
GetProjectResult |
getProject(GetProjectRequest request)
Gets information about a project.
|
GetRunResult |
getRun(GetRunRequest request)
Gets information about a run.
|
GetSuiteResult |
getSuite(GetSuiteRequest request)
Gets information about a suite.
|
GetTestResult |
getTest(GetTestRequest request)
Gets information about a test.
|
GetUploadResult |
getUpload(GetUploadRequest request)
Gets information about an upload.
|
ListArtifactsResult |
listArtifacts(ListArtifactsRequest request)
Gets information about artifacts.
|
ListDevicePoolsResult |
listDevicePools(ListDevicePoolsRequest request)
Gets information about device pools.
|
ListDevicesResult |
listDevices(ListDevicesRequest request)
Gets information about unique device types.
|
ListJobsResult |
listJobs(ListJobsRequest request)
Gets information about jobs.
|
ListProjectsResult |
listProjects(ListProjectsRequest request)
Gets information about projects.
|
ListRunsResult |
listRuns(ListRunsRequest request)
Gets information about runs.
|
ListSamplesResult |
listSamples(ListSamplesRequest request)
Gets information about samples.
|
ListSuitesResult |
listSuites(ListSuitesRequest request)
Gets information about suites.
|
ListTestsResult |
listTests(ListTestsRequest request)
Gets information about tests.
|
ListUniqueProblemsResult |
listUniqueProblems(ListUniqueProblemsRequest request)
Gets information about unique problems.
|
ListUploadsResult |
listUploads(ListUploadsRequest request)
Gets information about uploads.
|
ScheduleRunResult |
scheduleRun(ScheduleRunRequest request)
Schedules a run.
|
void |
setEndpoint(String endpoint)
Overrides the default endpoint for this client
("https://devicefarm.us-west-2.amazonaws.com").
|
void |
setRegion(Region region)
An alternative to
AWSDeviceFarm.setEndpoint(String), sets the
regional endpoint for this client's service calls. |
void |
shutdown()
Shuts down this client object, releasing any resources that might be held
open.
|
UpdateDevicePoolResult |
updateDevicePool(UpdateDevicePoolRequest request)
Modifies the name, description, and rules in a device pool given the
attributes and the pool ARN.
|
UpdateProjectResult |
updateProject(UpdateProjectRequest request)
Modifies the specified project name, given the project ARN and a new
name.
|
public void setEndpoint(String endpoint)
AWSDeviceFarm
Callers can pass in just the endpoint (ex:
"devicefarm.us-west-2.amazonaws.com") or a full URL, including the
protocol (ex: "https://devicefarm.us-west-2.amazonaws.com"). If the
protocol is not specified here, the default protocol from this client's
ClientConfiguration will be used, which by default is HTTPS.
For more information on using AWS regions with the AWS SDK for Java, and a complete list of all available endpoints for all AWS services, see: http://developer.amazonwebservices.com/connect/entry.jspa?externalID= 3912
This method is not threadsafe. An endpoint should be configured when the client is created and before any service requests are made. Changing it afterwards creates inevitable race conditions for any service requests in transit or retrying.
setEndpoint in interface AWSDeviceFarmendpoint - The endpoint (ex: "devicefarm.us-west-2.amazonaws.com") or a full
URL, including the protocol (ex:
"https://devicefarm.us-west-2.amazonaws.com") of the region
specific AWS endpoint this client will communicate with.public void setRegion(Region region)
AWSDeviceFarmAWSDeviceFarm.setEndpoint(String), sets the
regional endpoint for this client's service calls. Callers can use this
method to control which AWS region they want to work with.
By default, all service endpoints in all regions use the https protocol.
To use http instead, specify it in the ClientConfiguration
supplied at construction.
This method is not threadsafe. A region should be configured when the client is created and before any service requests are made. Changing it afterwards creates inevitable race conditions for any service requests in transit or retrying.
setRegion in interface AWSDeviceFarmregion - The region this client will communicate with. See
Region.getRegion(com.amazonaws.regions.Regions) for
accessing a given region. Must not be null and must be a region
where the service is available.Region.getRegion(com.amazonaws.regions.Regions),
Region.createClient(Class,
com.amazonaws.auth.AWSCredentialsProvider, ClientConfiguration),
Region.isServiceSupported(String)public CreateDevicePoolResult createDevicePool(CreateDevicePoolRequest request)
AWSDeviceFarmCreates a device pool.
createDevicePool in interface AWSDeviceFarmrequest - Represents a request to the create device pool operation.public CreateProjectResult createProject(CreateProjectRequest request)
AWSDeviceFarmCreates a new project.
createProject in interface AWSDeviceFarmrequest - Represents a request to the create project operation.public CreateUploadResult createUpload(CreateUploadRequest request)
AWSDeviceFarmUploads an app or test scripts.
createUpload in interface AWSDeviceFarmrequest - Represents a request to the create upload operation.public DeleteDevicePoolResult deleteDevicePool(DeleteDevicePoolRequest request)
AWSDeviceFarmDeletes a device pool given the pool ARN. Does not allow deletion of curated pools owned by the system.
deleteDevicePool in interface AWSDeviceFarmrequest - Represents a request to the delete device pool operation.public DeleteProjectResult deleteProject(DeleteProjectRequest request)
AWSDeviceFarmDeletes an AWS Device Farm project, given the project ARN.
Note Deleting this resource does not stop an in-progress run.
deleteProject in interface AWSDeviceFarmrequest - Represents a request to the delete project operation.public DeleteRunResult deleteRun(DeleteRunRequest request)
AWSDeviceFarmDeletes the run, given the run ARN.
Note Deleting this resource does not stop an in-progress run.
deleteRun in interface AWSDeviceFarmrequest - Represents a request to the delete run operation.public DeleteUploadResult deleteUpload(DeleteUploadRequest request)
AWSDeviceFarmDeletes an upload given the upload ARN.
deleteUpload in interface AWSDeviceFarmrequest - Represents a request to the delete upload operation.public GetAccountSettingsResult getAccountSettings(GetAccountSettingsRequest request)
AWSDeviceFarmReturns the number of unmetered iOS and/or unmetered Android devices that have been purchased by the account.
getAccountSettings in interface AWSDeviceFarmpublic GetDeviceResult getDevice(GetDeviceRequest request)
AWSDeviceFarmGets information about a unique device type.
getDevice in interface AWSDeviceFarmrequest - Represents a request to the get device request.public GetDevicePoolResult getDevicePool(GetDevicePoolRequest request)
AWSDeviceFarmGets information about a device pool.
getDevicePool in interface AWSDeviceFarmrequest - Represents a request to the get device pool operation.public GetDevicePoolCompatibilityResult getDevicePoolCompatibility(GetDevicePoolCompatibilityRequest request)
AWSDeviceFarmGets information about compatibility with a device pool.
getDevicePoolCompatibility in interface AWSDeviceFarmrequest - Represents a request to the get device pool compatibility
operation.public GetJobResult getJob(GetJobRequest request)
AWSDeviceFarmGets information about a job.
getJob in interface AWSDeviceFarmrequest - Represents a request to the get job operation.public GetProjectResult getProject(GetProjectRequest request)
AWSDeviceFarmGets information about a project.
getProject in interface AWSDeviceFarmrequest - Represents a request to the get project operation.public GetRunResult getRun(GetRunRequest request)
AWSDeviceFarmGets information about a run.
getRun in interface AWSDeviceFarmrequest - Represents a request to the get run operation.public GetSuiteResult getSuite(GetSuiteRequest request)
AWSDeviceFarmGets information about a suite.
getSuite in interface AWSDeviceFarmrequest - Represents a request to the get suite operation.public GetTestResult getTest(GetTestRequest request)
AWSDeviceFarmGets information about a test.
getTest in interface AWSDeviceFarmrequest - Represents a request to the get test operation.public GetUploadResult getUpload(GetUploadRequest request)
AWSDeviceFarmGets information about an upload.
getUpload in interface AWSDeviceFarmrequest - Represents a request to the get upload operation.public ListArtifactsResult listArtifacts(ListArtifactsRequest request)
AWSDeviceFarmGets information about artifacts.
listArtifacts in interface AWSDeviceFarmrequest - Represents a request to the list artifacts operation.public ListDevicePoolsResult listDevicePools(ListDevicePoolsRequest request)
AWSDeviceFarmGets information about device pools.
listDevicePools in interface AWSDeviceFarmrequest - Represents the result of a list device pools request.public ListDevicesResult listDevices(ListDevicesRequest request)
AWSDeviceFarmGets information about unique device types.
listDevices in interface AWSDeviceFarmrequest - Represents the result of a list devices request.public ListJobsResult listJobs(ListJobsRequest request)
AWSDeviceFarmGets information about jobs.
listJobs in interface AWSDeviceFarmrequest - Represents a request to the list jobs operation.public ListProjectsResult listProjects(ListProjectsRequest request)
AWSDeviceFarmGets information about projects.
listProjects in interface AWSDeviceFarmrequest - Represents a request to the list projects operation.public ListRunsResult listRuns(ListRunsRequest request)
AWSDeviceFarmGets information about runs.
listRuns in interface AWSDeviceFarmrequest - Represents a request to the list runs operation.public ListSamplesResult listSamples(ListSamplesRequest request)
AWSDeviceFarmGets information about samples.
listSamples in interface AWSDeviceFarmrequest - Represents a request to the list samples operation.public ListSuitesResult listSuites(ListSuitesRequest request)
AWSDeviceFarmGets information about suites.
listSuites in interface AWSDeviceFarmrequest - Represents a request to the list suites operation.public ListTestsResult listTests(ListTestsRequest request)
AWSDeviceFarmGets information about tests.
listTests in interface AWSDeviceFarmrequest - Represents a request to the list tests operation.public ListUniqueProblemsResult listUniqueProblems(ListUniqueProblemsRequest request)
AWSDeviceFarmGets information about unique problems.
listUniqueProblems in interface AWSDeviceFarmrequest - Represents a request to the list unique problems operation.public ListUploadsResult listUploads(ListUploadsRequest request)
AWSDeviceFarmGets information about uploads.
listUploads in interface AWSDeviceFarmrequest - Represents a request to the list uploads operation.public ScheduleRunResult scheduleRun(ScheduleRunRequest request)
AWSDeviceFarmSchedules a run.
scheduleRun in interface AWSDeviceFarmrequest - Represents a request to the schedule run operation.public UpdateDevicePoolResult updateDevicePool(UpdateDevicePoolRequest request)
AWSDeviceFarmModifies the name, description, and rules in a device pool given the attributes and the pool ARN. Rule updates are all-or-nothing, meaning they can only be updated as a whole (or not at all).
updateDevicePool in interface AWSDeviceFarmrequest - Represents a request to the update device pool operation.public UpdateProjectResult updateProject(UpdateProjectRequest request)
AWSDeviceFarmModifies the specified project name, given the project ARN and a new name.
updateProject in interface AWSDeviceFarmrequest - Represents a request to the update project operation.public void shutdown()
AWSDeviceFarmshutdown in interface AWSDeviceFarmpublic ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
AWSDeviceFarmResponse metadata is only cached for a limited period of time, so if you need to access this extra diagnostic information for an executed request, you should use this method to retrieve it as soon as possible after executing a request.
getCachedResponseMetadata in interface AWSDeviceFarmrequest - The originally executed request.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.