public class AWSDeviceFarmClient extends AmazonWebServiceClient implements AWSDeviceFarm
AWS Device Farm is a service that enables mobile app developers to test Android, iOS, and Fire OS apps on physical phones, tablets, and other devices in the cloud.
Modifier and Type | Field and Description |
---|---|
protected List<com.amazonaws.transform.JsonErrorUnmarshallerV2> |
jsonErrorUnmarshallers
List of exception unmarshallers for all AWS Device Farm exceptions.
|
client, clientConfiguration, endpoint, LOGGING_AWS_REQUEST_METRIC, requestHandler2s, timeOffset
Constructor and Description |
---|
AWSDeviceFarmClient()
Constructs a new client to invoke service methods on AWS Device Farm.
|
AWSDeviceFarmClient(AWSCredentials awsCredentials)
Constructs a new client to invoke service methods on AWS Device Farm
using the specified AWS account credentials.
|
AWSDeviceFarmClient(AWSCredentials awsCredentials,
ClientConfiguration clientConfiguration)
Constructs a new client to invoke service methods on AWS Device Farm
using the specified AWS account credentials and client configuration
options.
|
AWSDeviceFarmClient(AWSCredentialsProvider awsCredentialsProvider)
Constructs a new client to invoke service methods on AWS Device Farm
using the specified AWS account credentials provider.
|
AWSDeviceFarmClient(AWSCredentialsProvider awsCredentialsProvider,
ClientConfiguration clientConfiguration)
Constructs a new client to invoke service methods on AWS Device Farm
using the specified AWS account credentials provider and client
configuration options.
|
AWSDeviceFarmClient(AWSCredentialsProvider awsCredentialsProvider,
ClientConfiguration clientConfiguration,
RequestMetricCollector requestMetricCollector)
Constructs a new client to invoke service methods on AWS Device Farm
using the specified AWS account credentials provider, client
configuration options, and request metric collector.
|
AWSDeviceFarmClient(ClientConfiguration clientConfiguration)
Constructs a new client to invoke service methods on AWS Device Farm.
|
Modifier and Type | Method and Description |
---|---|
CreateDevicePoolResult |
createDevicePool(CreateDevicePoolRequest createDevicePoolRequest)
Creates a device pool.
|
CreateProjectResult |
createProject(CreateProjectRequest createProjectRequest)
Creates a new project.
|
CreateUploadResult |
createUpload(CreateUploadRequest createUploadRequest)
Uploads an app or test scripts.
|
GetAccountSettingsResult |
getAccountSettings(GetAccountSettingsRequest getAccountSettingsRequest)
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 getDeviceRequest)
Gets information about a unique device type.
|
GetDevicePoolResult |
getDevicePool(GetDevicePoolRequest getDevicePoolRequest)
Gets information about a device pool.
|
GetDevicePoolCompatibilityResult |
getDevicePoolCompatibility(GetDevicePoolCompatibilityRequest getDevicePoolCompatibilityRequest)
Gets information about compatibility with a device pool.
|
GetJobResult |
getJob(GetJobRequest getJobRequest)
Gets information about a job.
|
GetProjectResult |
getProject(GetProjectRequest getProjectRequest)
Gets information about a project.
|
GetRunResult |
getRun(GetRunRequest getRunRequest)
Gets information about a run.
|
GetSuiteResult |
getSuite(GetSuiteRequest getSuiteRequest)
Gets information about a suite.
|
GetTestResult |
getTest(GetTestRequest getTestRequest)
Gets information about a test.
|
GetUploadResult |
getUpload(GetUploadRequest getUploadRequest)
Gets information about an upload.
|
ListArtifactsResult |
listArtifacts(ListArtifactsRequest listArtifactsRequest)
Gets information about artifacts.
|
ListDevicePoolsResult |
listDevicePools(ListDevicePoolsRequest listDevicePoolsRequest)
Gets information about device pools.
|
ListDevicesResult |
listDevices(ListDevicesRequest listDevicesRequest)
Gets information about unique device types.
|
ListJobsResult |
listJobs(ListJobsRequest listJobsRequest)
Gets information about jobs.
|
ListProjectsResult |
listProjects(ListProjectsRequest listProjectsRequest)
Gets information about projects.
|
ListRunsResult |
listRuns(ListRunsRequest listRunsRequest)
Gets information about runs.
|
ListSamplesResult |
listSamples(ListSamplesRequest listSamplesRequest)
Gets information about samples.
|
ListSuitesResult |
listSuites(ListSuitesRequest listSuitesRequest)
Gets information about suites.
|
ListTestsResult |
listTests(ListTestsRequest listTestsRequest)
Gets information about tests.
|
ListUniqueProblemsResult |
listUniqueProblems(ListUniqueProblemsRequest listUniqueProblemsRequest)
Gets information about unique problems.
|
ListUploadsResult |
listUploads(ListUploadsRequest listUploadsRequest)
Gets information about uploads.
|
ScheduleRunResult |
scheduleRun(ScheduleRunRequest scheduleRunRequest)
Schedules a run.
|
addRequestHandler, addRequestHandler, beforeMarshalling, configSigner, configSigner, configureRegion, createExecutionContext, createExecutionContext, createExecutionContext, endClientExecution, endClientExecution, findRequestMetricCollector, getRequestMetricsCollector, getServiceAbbreviation, getServiceName, getServiceNameIntern, getSigner, getSignerByURI, getSignerRegionOverride, getTimeOffset, isProfilingEnabled, isRequestMetricsEnabled, removeRequestHandler, removeRequestHandler, requestMetricCollector, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, shutdown, withEndpoint, withRegion, withRegion, withTimeOffset
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setEndpoint, setRegion, shutdown
protected List<com.amazonaws.transform.JsonErrorUnmarshallerV2> jsonErrorUnmarshallers
public AWSDeviceFarmClient()
All service calls made using this new client object are blocking, and will not return until the service call completes.
DefaultAWSCredentialsProviderChain
public AWSDeviceFarmClient(ClientConfiguration clientConfiguration)
All service calls made using this new client object are blocking, and will not return until the service call completes.
clientConfiguration
- The client configuration options controlling how this client
connects to AWS Device Farm (ex: proxy settings, retry counts,
etc.).DefaultAWSCredentialsProviderChain
public AWSDeviceFarmClient(AWSCredentials awsCredentials)
All service calls made using this new client object are blocking, and will not return until the service call completes.
awsCredentials
- The AWS credentials (access key ID and secret key) to use when
authenticating with AWS services.public AWSDeviceFarmClient(AWSCredentials awsCredentials, ClientConfiguration clientConfiguration)
All service calls made using this new client object are blocking, and will not return until the service call completes.
awsCredentials
- The AWS credentials (access key ID and secret key) to use when
authenticating with AWS services.clientConfiguration
- The client configuration options controlling how this client
connects to AWS Device Farm (ex: proxy settings, retry counts,
etc.).public AWSDeviceFarmClient(AWSCredentialsProvider awsCredentialsProvider)
All service calls made using this new client object are blocking, and will not return until the service call completes.
awsCredentialsProvider
- The AWS credentials provider which will provide credentials to
authenticate requests with AWS services.public AWSDeviceFarmClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration)
All service calls made using this new client object are blocking, and will not return until the service call completes.
awsCredentialsProvider
- The AWS credentials provider which will provide credentials to
authenticate requests with AWS services.clientConfiguration
- The client configuration options controlling how this client
connects to AWS Device Farm (ex: proxy settings, retry counts,
etc.).public AWSDeviceFarmClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration, RequestMetricCollector requestMetricCollector)
All service calls made using this new client object are blocking, and will not return until the service call completes.
awsCredentialsProvider
- The AWS credentials provider which will provide credentials to
authenticate requests with AWS services.clientConfiguration
- The client configuration options controlling how this client
connects to AWS Device Farm (ex: proxy settings, retry counts,
etc.).requestMetricCollector
- optional request metric collectorpublic CreateDevicePoolResult createDevicePool(CreateDevicePoolRequest createDevicePoolRequest)
Creates a device pool.
createDevicePool
in interface AWSDeviceFarm
createDevicePoolRequest
- Represents a request to the create device pool operation.ArgumentException
- An invalid argument was specified.NotFoundException
- The specified entity was not found.LimitExceededException
- A limit was exceeded.ServiceAccountException
- There was a problem with the service account.public CreateProjectResult createProject(CreateProjectRequest createProjectRequest)
Creates a new project.
createProject
in interface AWSDeviceFarm
createProjectRequest
- Represents a request to the create project operation.ArgumentException
- An invalid argument was specified.NotFoundException
- The specified entity was not found.LimitExceededException
- A limit was exceeded.ServiceAccountException
- There was a problem with the service account.public CreateUploadResult createUpload(CreateUploadRequest createUploadRequest)
Uploads an app or test scripts.
createUpload
in interface AWSDeviceFarm
createUploadRequest
- Represents a request to the create upload operation.ArgumentException
- An invalid argument was specified.NotFoundException
- The specified entity was not found.LimitExceededException
- A limit was exceeded.ServiceAccountException
- There was a problem with the service account.public GetAccountSettingsResult getAccountSettings(GetAccountSettingsRequest getAccountSettingsRequest)
Returns the number of unmetered iOS and/or unmetered Android devices that have been purchased by the account.
getAccountSettings
in interface AWSDeviceFarm
getAccountSettingsRequest
- nullArgumentException
- An invalid argument was specified.NotFoundException
- The specified entity was not found.LimitExceededException
- A limit was exceeded.ServiceAccountException
- There was a problem with the service account.public GetDeviceResult getDevice(GetDeviceRequest getDeviceRequest)
Gets information about a unique device type.
getDevice
in interface AWSDeviceFarm
getDeviceRequest
- Represents a request to the get device request.ArgumentException
- An invalid argument was specified.NotFoundException
- The specified entity was not found.LimitExceededException
- A limit was exceeded.ServiceAccountException
- There was a problem with the service account.public GetDevicePoolResult getDevicePool(GetDevicePoolRequest getDevicePoolRequest)
Gets information about a device pool.
getDevicePool
in interface AWSDeviceFarm
getDevicePoolRequest
- Represents a request to the get device pool operation.ArgumentException
- An invalid argument was specified.NotFoundException
- The specified entity was not found.LimitExceededException
- A limit was exceeded.ServiceAccountException
- There was a problem with the service account.public GetDevicePoolCompatibilityResult getDevicePoolCompatibility(GetDevicePoolCompatibilityRequest getDevicePoolCompatibilityRequest)
Gets information about compatibility with a device pool.
getDevicePoolCompatibility
in interface AWSDeviceFarm
getDevicePoolCompatibilityRequest
- Represents a request to the get device pool compatibility
operation.ArgumentException
- An invalid argument was specified.NotFoundException
- The specified entity was not found.LimitExceededException
- A limit was exceeded.ServiceAccountException
- There was a problem with the service account.public GetJobResult getJob(GetJobRequest getJobRequest)
Gets information about a job.
getJob
in interface AWSDeviceFarm
getJobRequest
- Represents a request to the get job operation.ArgumentException
- An invalid argument was specified.NotFoundException
- The specified entity was not found.LimitExceededException
- A limit was exceeded.ServiceAccountException
- There was a problem with the service account.public GetProjectResult getProject(GetProjectRequest getProjectRequest)
Gets information about a project.
getProject
in interface AWSDeviceFarm
getProjectRequest
- Represents a request to the get project operation.ArgumentException
- An invalid argument was specified.NotFoundException
- The specified entity was not found.LimitExceededException
- A limit was exceeded.ServiceAccountException
- There was a problem with the service account.public GetRunResult getRun(GetRunRequest getRunRequest)
Gets information about a run.
getRun
in interface AWSDeviceFarm
getRunRequest
- Represents a request to the get run operation.ArgumentException
- An invalid argument was specified.NotFoundException
- The specified entity was not found.LimitExceededException
- A limit was exceeded.ServiceAccountException
- There was a problem with the service account.public GetSuiteResult getSuite(GetSuiteRequest getSuiteRequest)
Gets information about a suite.
getSuite
in interface AWSDeviceFarm
getSuiteRequest
- Represents a request to the get suite operation.ArgumentException
- An invalid argument was specified.NotFoundException
- The specified entity was not found.LimitExceededException
- A limit was exceeded.ServiceAccountException
- There was a problem with the service account.public GetTestResult getTest(GetTestRequest getTestRequest)
Gets information about a test.
getTest
in interface AWSDeviceFarm
getTestRequest
- Represents a request to the get test operation.ArgumentException
- An invalid argument was specified.NotFoundException
- The specified entity was not found.LimitExceededException
- A limit was exceeded.ServiceAccountException
- There was a problem with the service account.public GetUploadResult getUpload(GetUploadRequest getUploadRequest)
Gets information about an upload.
getUpload
in interface AWSDeviceFarm
getUploadRequest
- Represents a request to the get upload operation.ArgumentException
- An invalid argument was specified.NotFoundException
- The specified entity was not found.LimitExceededException
- A limit was exceeded.ServiceAccountException
- There was a problem with the service account.public ListArtifactsResult listArtifacts(ListArtifactsRequest listArtifactsRequest)
Gets information about artifacts.
listArtifacts
in interface AWSDeviceFarm
listArtifactsRequest
- Represents a request to the list artifacts operation.ArgumentException
- An invalid argument was specified.NotFoundException
- The specified entity was not found.LimitExceededException
- A limit was exceeded.ServiceAccountException
- There was a problem with the service account.public ListDevicePoolsResult listDevicePools(ListDevicePoolsRequest listDevicePoolsRequest)
Gets information about device pools.
listDevicePools
in interface AWSDeviceFarm
listDevicePoolsRequest
- Represents the result of a list device pools request.ArgumentException
- An invalid argument was specified.NotFoundException
- The specified entity was not found.LimitExceededException
- A limit was exceeded.ServiceAccountException
- There was a problem with the service account.public ListDevicesResult listDevices(ListDevicesRequest listDevicesRequest)
Gets information about unique device types.
listDevices
in interface AWSDeviceFarm
listDevicesRequest
- Represents the result of a list devices request.ArgumentException
- An invalid argument was specified.NotFoundException
- The specified entity was not found.LimitExceededException
- A limit was exceeded.ServiceAccountException
- There was a problem with the service account.public ListJobsResult listJobs(ListJobsRequest listJobsRequest)
Gets information about jobs.
listJobs
in interface AWSDeviceFarm
listJobsRequest
- Represents a request to the list jobs operation.ArgumentException
- An invalid argument was specified.NotFoundException
- The specified entity was not found.LimitExceededException
- A limit was exceeded.ServiceAccountException
- There was a problem with the service account.public ListProjectsResult listProjects(ListProjectsRequest listProjectsRequest)
Gets information about projects.
listProjects
in interface AWSDeviceFarm
listProjectsRequest
- Represents a request to the list projects operation.ArgumentException
- An invalid argument was specified.NotFoundException
- The specified entity was not found.LimitExceededException
- A limit was exceeded.ServiceAccountException
- There was a problem with the service account.public ListRunsResult listRuns(ListRunsRequest listRunsRequest)
Gets information about runs.
listRuns
in interface AWSDeviceFarm
listRunsRequest
- Represents a request to the list runs operation.ArgumentException
- An invalid argument was specified.NotFoundException
- The specified entity was not found.LimitExceededException
- A limit was exceeded.ServiceAccountException
- There was a problem with the service account.public ListSamplesResult listSamples(ListSamplesRequest listSamplesRequest)
Gets information about samples.
listSamples
in interface AWSDeviceFarm
listSamplesRequest
- Represents a request to the list samples operation.ArgumentException
- An invalid argument was specified.NotFoundException
- The specified entity was not found.LimitExceededException
- A limit was exceeded.ServiceAccountException
- There was a problem with the service account.public ListSuitesResult listSuites(ListSuitesRequest listSuitesRequest)
Gets information about suites.
listSuites
in interface AWSDeviceFarm
listSuitesRequest
- Represents a request to the list suites operation.ArgumentException
- An invalid argument was specified.NotFoundException
- The specified entity was not found.LimitExceededException
- A limit was exceeded.ServiceAccountException
- There was a problem with the service account.public ListTestsResult listTests(ListTestsRequest listTestsRequest)
Gets information about tests.
listTests
in interface AWSDeviceFarm
listTestsRequest
- Represents a request to the list tests operation.ArgumentException
- An invalid argument was specified.NotFoundException
- The specified entity was not found.LimitExceededException
- A limit was exceeded.ServiceAccountException
- There was a problem with the service account.public ListUniqueProblemsResult listUniqueProblems(ListUniqueProblemsRequest listUniqueProblemsRequest)
Gets information about unique problems.
listUniqueProblems
in interface AWSDeviceFarm
listUniqueProblemsRequest
- Represents a request to the list unique problems operation.ArgumentException
- An invalid argument was specified.NotFoundException
- The specified entity was not found.LimitExceededException
- A limit was exceeded.ServiceAccountException
- There was a problem with the service account.public ListUploadsResult listUploads(ListUploadsRequest listUploadsRequest)
Gets information about uploads.
listUploads
in interface AWSDeviceFarm
listUploadsRequest
- Represents a request to the list uploads operation.ArgumentException
- An invalid argument was specified.NotFoundException
- The specified entity was not found.LimitExceededException
- A limit was exceeded.ServiceAccountException
- There was a problem with the service account.public ScheduleRunResult scheduleRun(ScheduleRunRequest scheduleRunRequest)
Schedules a run.
scheduleRun
in interface AWSDeviceFarm
scheduleRunRequest
- Represents a request to the schedule run operation.ArgumentException
- An invalid argument was specified.NotFoundException
- The specified entity was not found.LimitExceededException
- A limit was exceeded.IdempotencyException
- An entity with the same name already exists.ServiceAccountException
- There was a problem with the service account.public ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
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 the request.
getCachedResponseMetadata
in interface AWSDeviceFarm
request
- The originally executed requestCopyright © 2015. All rights reserved.