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 AWSDeviceFarm
endpoint
- 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)
AWSDeviceFarm
AWSDeviceFarm.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 AWSDeviceFarm
region
- 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)
AWSDeviceFarm
Creates a device pool.
createDevicePool
in interface AWSDeviceFarm
request
- Represents a request to the create device pool operation.public CreateProjectResult createProject(CreateProjectRequest request)
AWSDeviceFarm
Creates a new project.
createProject
in interface AWSDeviceFarm
request
- Represents a request to the create project operation.public CreateUploadResult createUpload(CreateUploadRequest request)
AWSDeviceFarm
Uploads an app or test scripts.
createUpload
in interface AWSDeviceFarm
request
- Represents a request to the create upload operation.public DeleteDevicePoolResult deleteDevicePool(DeleteDevicePoolRequest request)
AWSDeviceFarm
Deletes a device pool given the pool ARN. Does not allow deletion of curated pools owned by the system.
deleteDevicePool
in interface AWSDeviceFarm
request
- Represents a request to the delete device pool operation.public DeleteProjectResult deleteProject(DeleteProjectRequest request)
AWSDeviceFarm
Deletes an AWS Device Farm project, given the project ARN.
Note Deleting this resource does not stop an in-progress run.
deleteProject
in interface AWSDeviceFarm
request
- Represents a request to the delete project operation.public DeleteRunResult deleteRun(DeleteRunRequest request)
AWSDeviceFarm
Deletes the run, given the run ARN.
Note Deleting this resource does not stop an in-progress run.
deleteRun
in interface AWSDeviceFarm
request
- Represents a request to the delete run operation.public DeleteUploadResult deleteUpload(DeleteUploadRequest request)
AWSDeviceFarm
Deletes an upload given the upload ARN.
deleteUpload
in interface AWSDeviceFarm
request
- Represents a request to the delete upload operation.public GetAccountSettingsResult getAccountSettings(GetAccountSettingsRequest request)
AWSDeviceFarm
Returns the number of unmetered iOS and/or unmetered Android devices that have been purchased by the account.
getAccountSettings
in interface AWSDeviceFarm
public GetDeviceResult getDevice(GetDeviceRequest request)
AWSDeviceFarm
Gets information about a unique device type.
getDevice
in interface AWSDeviceFarm
request
- Represents a request to the get device request.public GetDevicePoolResult getDevicePool(GetDevicePoolRequest request)
AWSDeviceFarm
Gets information about a device pool.
getDevicePool
in interface AWSDeviceFarm
request
- Represents a request to the get device pool operation.public GetDevicePoolCompatibilityResult getDevicePoolCompatibility(GetDevicePoolCompatibilityRequest request)
AWSDeviceFarm
Gets information about compatibility with a device pool.
getDevicePoolCompatibility
in interface AWSDeviceFarm
request
- Represents a request to the get device pool compatibility
operation.public GetJobResult getJob(GetJobRequest request)
AWSDeviceFarm
Gets information about a job.
getJob
in interface AWSDeviceFarm
request
- Represents a request to the get job operation.public GetProjectResult getProject(GetProjectRequest request)
AWSDeviceFarm
Gets information about a project.
getProject
in interface AWSDeviceFarm
request
- Represents a request to the get project operation.public GetRunResult getRun(GetRunRequest request)
AWSDeviceFarm
Gets information about a run.
getRun
in interface AWSDeviceFarm
request
- Represents a request to the get run operation.public GetSuiteResult getSuite(GetSuiteRequest request)
AWSDeviceFarm
Gets information about a suite.
getSuite
in interface AWSDeviceFarm
request
- Represents a request to the get suite operation.public GetTestResult getTest(GetTestRequest request)
AWSDeviceFarm
Gets information about a test.
getTest
in interface AWSDeviceFarm
request
- Represents a request to the get test operation.public GetUploadResult getUpload(GetUploadRequest request)
AWSDeviceFarm
Gets information about an upload.
getUpload
in interface AWSDeviceFarm
request
- Represents a request to the get upload operation.public ListArtifactsResult listArtifacts(ListArtifactsRequest request)
AWSDeviceFarm
Gets information about artifacts.
listArtifacts
in interface AWSDeviceFarm
request
- Represents a request to the list artifacts operation.public ListDevicePoolsResult listDevicePools(ListDevicePoolsRequest request)
AWSDeviceFarm
Gets information about device pools.
listDevicePools
in interface AWSDeviceFarm
request
- Represents the result of a list device pools request.public ListDevicesResult listDevices(ListDevicesRequest request)
AWSDeviceFarm
Gets information about unique device types.
listDevices
in interface AWSDeviceFarm
request
- Represents the result of a list devices request.public ListJobsResult listJobs(ListJobsRequest request)
AWSDeviceFarm
Gets information about jobs.
listJobs
in interface AWSDeviceFarm
request
- Represents a request to the list jobs operation.public ListProjectsResult listProjects(ListProjectsRequest request)
AWSDeviceFarm
Gets information about projects.
listProjects
in interface AWSDeviceFarm
request
- Represents a request to the list projects operation.public ListRunsResult listRuns(ListRunsRequest request)
AWSDeviceFarm
Gets information about runs.
listRuns
in interface AWSDeviceFarm
request
- Represents a request to the list runs operation.public ListSamplesResult listSamples(ListSamplesRequest request)
AWSDeviceFarm
Gets information about samples.
listSamples
in interface AWSDeviceFarm
request
- Represents a request to the list samples operation.public ListSuitesResult listSuites(ListSuitesRequest request)
AWSDeviceFarm
Gets information about suites.
listSuites
in interface AWSDeviceFarm
request
- Represents a request to the list suites operation.public ListTestsResult listTests(ListTestsRequest request)
AWSDeviceFarm
Gets information about tests.
listTests
in interface AWSDeviceFarm
request
- Represents a request to the list tests operation.public ListUniqueProblemsResult listUniqueProblems(ListUniqueProblemsRequest request)
AWSDeviceFarm
Gets information about unique problems.
listUniqueProblems
in interface AWSDeviceFarm
request
- Represents a request to the list unique problems operation.public ListUploadsResult listUploads(ListUploadsRequest request)
AWSDeviceFarm
Gets information about uploads.
listUploads
in interface AWSDeviceFarm
request
- Represents a request to the list uploads operation.public ScheduleRunResult scheduleRun(ScheduleRunRequest request)
AWSDeviceFarm
Schedules a run.
scheduleRun
in interface AWSDeviceFarm
request
- Represents a request to the schedule run operation.public UpdateDevicePoolResult updateDevicePool(UpdateDevicePoolRequest request)
AWSDeviceFarm
Modifies 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 AWSDeviceFarm
request
- Represents a request to the update device pool operation.public UpdateProjectResult updateProject(UpdateProjectRequest request)
AWSDeviceFarm
Modifies the specified project name, given the project ARN and a new name.
updateProject
in interface AWSDeviceFarm
request
- Represents a request to the update project operation.public void shutdown()
AWSDeviceFarm
shutdown
in interface AWSDeviceFarm
public ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
AWSDeviceFarm
Response 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 AWSDeviceFarm
request
- The originally executed request.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.