@ThreadSafe public class AWSDeviceFarmAsyncClient extends AWSDeviceFarmClient implements AWSDeviceFarmAsync
AsyncHandler
can be used to
receive notification when an asynchronous operation completes.
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 |
---|---|
private static int |
DEFAULT_THREAD_POOL_SIZE |
private java.util.concurrent.ExecutorService |
executorService |
configFactory
client, clientConfiguration, endpoint, LOGGING_AWS_REQUEST_METRIC, requestHandler2s, timeOffset
Constructor and Description |
---|
AWSDeviceFarmAsyncClient()
Constructs a new asynchronous client to invoke service methods on AWS
Device Farm.
|
AWSDeviceFarmAsyncClient(AWSCredentials awsCredentials)
Constructs a new asynchronous client to invoke service methods on AWS
Device Farm using the specified AWS account credentials.
|
AWSDeviceFarmAsyncClient(AWSCredentials awsCredentials,
ClientConfiguration clientConfiguration,
java.util.concurrent.ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on AWS
Device Farm using the specified AWS account credentials, executor
service, and client configuration options.
|
AWSDeviceFarmAsyncClient(AWSCredentials awsCredentials,
java.util.concurrent.ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on AWS
Device Farm using the specified AWS account credentials and executor
service.
|
AWSDeviceFarmAsyncClient(AWSCredentialsProvider awsCredentialsProvider)
Constructs a new asynchronous client to invoke service methods on AWS
Device Farm using the specified AWS account credentials provider.
|
AWSDeviceFarmAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
ClientConfiguration clientConfiguration)
Constructs a new asynchronous client to invoke service methods on AWS
Device Farm using the provided AWS account credentials provider and
client configuration options.
|
AWSDeviceFarmAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
ClientConfiguration clientConfiguration,
java.util.concurrent.ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on AWS
Device Farm using the specified AWS account credentials provider,
executor service, and client configuration options.
|
AWSDeviceFarmAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
java.util.concurrent.ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on AWS
Device Farm using the specified AWS account credentials provider and
executor service.
|
AWSDeviceFarmAsyncClient(ClientConfiguration clientConfiguration)
Constructs a new asynchronous client to invoke service methods on AWS
Device Farm.
|
Modifier and Type | Method and Description |
---|---|
java.util.concurrent.Future<CreateDevicePoolResult> |
createDevicePoolAsync(CreateDevicePoolRequest request)
Creates a device pool.
|
java.util.concurrent.Future<CreateDevicePoolResult> |
createDevicePoolAsync(CreateDevicePoolRequest request,
AsyncHandler<CreateDevicePoolRequest,CreateDevicePoolResult> asyncHandler)
Creates a device pool.
|
java.util.concurrent.Future<CreateProjectResult> |
createProjectAsync(CreateProjectRequest request)
Creates a new project.
|
java.util.concurrent.Future<CreateProjectResult> |
createProjectAsync(CreateProjectRequest request,
AsyncHandler<CreateProjectRequest,CreateProjectResult> asyncHandler)
Creates a new project.
|
java.util.concurrent.Future<CreateUploadResult> |
createUploadAsync(CreateUploadRequest request)
Uploads an app or test scripts.
|
java.util.concurrent.Future<CreateUploadResult> |
createUploadAsync(CreateUploadRequest request,
AsyncHandler<CreateUploadRequest,CreateUploadResult> asyncHandler)
Uploads an app or test scripts.
|
java.util.concurrent.Future<DeleteDevicePoolResult> |
deleteDevicePoolAsync(DeleteDevicePoolRequest request)
Deletes a device pool given the pool ARN.
|
java.util.concurrent.Future<DeleteDevicePoolResult> |
deleteDevicePoolAsync(DeleteDevicePoolRequest request,
AsyncHandler<DeleteDevicePoolRequest,DeleteDevicePoolResult> asyncHandler)
Deletes a device pool given the pool ARN.
|
java.util.concurrent.Future<DeleteProjectResult> |
deleteProjectAsync(DeleteProjectRequest request)
Deletes an AWS Device Farm project, given the project ARN.
|
java.util.concurrent.Future<DeleteProjectResult> |
deleteProjectAsync(DeleteProjectRequest request,
AsyncHandler<DeleteProjectRequest,DeleteProjectResult> asyncHandler)
Deletes an AWS Device Farm project, given the project ARN.
|
java.util.concurrent.Future<DeleteRunResult> |
deleteRunAsync(DeleteRunRequest request)
Deletes the run, given the run ARN.
|
java.util.concurrent.Future<DeleteRunResult> |
deleteRunAsync(DeleteRunRequest request,
AsyncHandler<DeleteRunRequest,DeleteRunResult> asyncHandler)
Deletes the run, given the run ARN.
|
java.util.concurrent.Future<DeleteUploadResult> |
deleteUploadAsync(DeleteUploadRequest request)
Deletes an upload given the upload ARN.
|
java.util.concurrent.Future<DeleteUploadResult> |
deleteUploadAsync(DeleteUploadRequest request,
AsyncHandler<DeleteUploadRequest,DeleteUploadResult> asyncHandler)
Deletes an upload given the upload ARN.
|
java.util.concurrent.Future<GetAccountSettingsResult> |
getAccountSettingsAsync(GetAccountSettingsRequest request)
Returns the number of unmetered iOS and/or unmetered Android devices that
have been purchased by the account.
|
java.util.concurrent.Future<GetAccountSettingsResult> |
getAccountSettingsAsync(GetAccountSettingsRequest request,
AsyncHandler<GetAccountSettingsRequest,GetAccountSettingsResult> asyncHandler)
Returns the number of unmetered iOS and/or unmetered Android devices that
have been purchased by the account.
|
java.util.concurrent.Future<GetDeviceResult> |
getDeviceAsync(GetDeviceRequest request)
Gets information about a unique device type.
|
java.util.concurrent.Future<GetDeviceResult> |
getDeviceAsync(GetDeviceRequest request,
AsyncHandler<GetDeviceRequest,GetDeviceResult> asyncHandler)
Gets information about a unique device type.
|
java.util.concurrent.Future<GetDevicePoolResult> |
getDevicePoolAsync(GetDevicePoolRequest request)
Gets information about a device pool.
|
java.util.concurrent.Future<GetDevicePoolResult> |
getDevicePoolAsync(GetDevicePoolRequest request,
AsyncHandler<GetDevicePoolRequest,GetDevicePoolResult> asyncHandler)
Gets information about a device pool.
|
java.util.concurrent.Future<GetDevicePoolCompatibilityResult> |
getDevicePoolCompatibilityAsync(GetDevicePoolCompatibilityRequest request)
Gets information about compatibility with a device pool.
|
java.util.concurrent.Future<GetDevicePoolCompatibilityResult> |
getDevicePoolCompatibilityAsync(GetDevicePoolCompatibilityRequest request,
AsyncHandler<GetDevicePoolCompatibilityRequest,GetDevicePoolCompatibilityResult> asyncHandler)
Gets information about compatibility with a device pool.
|
java.util.concurrent.ExecutorService |
getExecutorService()
Returns the executor service used by this client to execute async
requests.
|
java.util.concurrent.Future<GetJobResult> |
getJobAsync(GetJobRequest request)
Gets information about a job.
|
java.util.concurrent.Future<GetJobResult> |
getJobAsync(GetJobRequest request,
AsyncHandler<GetJobRequest,GetJobResult> asyncHandler)
Gets information about a job.
|
java.util.concurrent.Future<GetOfferingStatusResult> |
getOfferingStatusAsync(GetOfferingStatusRequest request)
Gets the current status and future status of all offerings purchased by
an AWS account.
|
java.util.concurrent.Future<GetOfferingStatusResult> |
getOfferingStatusAsync(GetOfferingStatusRequest request,
AsyncHandler<GetOfferingStatusRequest,GetOfferingStatusResult> asyncHandler)
Gets the current status and future status of all offerings purchased by
an AWS account.
|
java.util.concurrent.Future<GetProjectResult> |
getProjectAsync(GetProjectRequest request)
Gets information about a project.
|
java.util.concurrent.Future<GetProjectResult> |
getProjectAsync(GetProjectRequest request,
AsyncHandler<GetProjectRequest,GetProjectResult> asyncHandler)
Gets information about a project.
|
java.util.concurrent.Future<GetRunResult> |
getRunAsync(GetRunRequest request)
Gets information about a run.
|
java.util.concurrent.Future<GetRunResult> |
getRunAsync(GetRunRequest request,
AsyncHandler<GetRunRequest,GetRunResult> asyncHandler)
Gets information about a run.
|
java.util.concurrent.Future<GetSuiteResult> |
getSuiteAsync(GetSuiteRequest request)
Gets information about a suite.
|
java.util.concurrent.Future<GetSuiteResult> |
getSuiteAsync(GetSuiteRequest request,
AsyncHandler<GetSuiteRequest,GetSuiteResult> asyncHandler)
Gets information about a suite.
|
java.util.concurrent.Future<GetTestResult> |
getTestAsync(GetTestRequest request)
Gets information about a test.
|
java.util.concurrent.Future<GetTestResult> |
getTestAsync(GetTestRequest request,
AsyncHandler<GetTestRequest,GetTestResult> asyncHandler)
Gets information about a test.
|
java.util.concurrent.Future<GetUploadResult> |
getUploadAsync(GetUploadRequest request)
Gets information about an upload.
|
java.util.concurrent.Future<GetUploadResult> |
getUploadAsync(GetUploadRequest request,
AsyncHandler<GetUploadRequest,GetUploadResult> asyncHandler)
Gets information about an upload.
|
java.util.concurrent.Future<ListArtifactsResult> |
listArtifactsAsync(ListArtifactsRequest request)
Gets information about artifacts.
|
java.util.concurrent.Future<ListArtifactsResult> |
listArtifactsAsync(ListArtifactsRequest request,
AsyncHandler<ListArtifactsRequest,ListArtifactsResult> asyncHandler)
Gets information about artifacts.
|
java.util.concurrent.Future<ListDevicePoolsResult> |
listDevicePoolsAsync(ListDevicePoolsRequest request)
Gets information about device pools.
|
java.util.concurrent.Future<ListDevicePoolsResult> |
listDevicePoolsAsync(ListDevicePoolsRequest request,
AsyncHandler<ListDevicePoolsRequest,ListDevicePoolsResult> asyncHandler)
Gets information about device pools.
|
java.util.concurrent.Future<ListDevicesResult> |
listDevicesAsync(ListDevicesRequest request)
Gets information about unique device types.
|
java.util.concurrent.Future<ListDevicesResult> |
listDevicesAsync(ListDevicesRequest request,
AsyncHandler<ListDevicesRequest,ListDevicesResult> asyncHandler)
Gets information about unique device types.
|
java.util.concurrent.Future<ListJobsResult> |
listJobsAsync(ListJobsRequest request)
Gets information about jobs.
|
java.util.concurrent.Future<ListJobsResult> |
listJobsAsync(ListJobsRequest request,
AsyncHandler<ListJobsRequest,ListJobsResult> asyncHandler)
Gets information about jobs.
|
java.util.concurrent.Future<ListOfferingsResult> |
listOfferingsAsync(ListOfferingsRequest request)
Returns a list of products or offerings that the user can manage through
the API.
|
java.util.concurrent.Future<ListOfferingsResult> |
listOfferingsAsync(ListOfferingsRequest request,
AsyncHandler<ListOfferingsRequest,ListOfferingsResult> asyncHandler)
Returns a list of products or offerings that the user can manage through
the API.
|
java.util.concurrent.Future<ListOfferingTransactionsResult> |
listOfferingTransactionsAsync(ListOfferingTransactionsRequest request)
Returns a list of all historical purchases, renewals, and system renewal
transactions for an AWS account.
|
java.util.concurrent.Future<ListOfferingTransactionsResult> |
listOfferingTransactionsAsync(ListOfferingTransactionsRequest request,
AsyncHandler<ListOfferingTransactionsRequest,ListOfferingTransactionsResult> asyncHandler)
Returns a list of all historical purchases, renewals, and system renewal
transactions for an AWS account.
|
java.util.concurrent.Future<ListProjectsResult> |
listProjectsAsync(ListProjectsRequest request)
Gets information about projects.
|
java.util.concurrent.Future<ListProjectsResult> |
listProjectsAsync(ListProjectsRequest request,
AsyncHandler<ListProjectsRequest,ListProjectsResult> asyncHandler)
Gets information about projects.
|
java.util.concurrent.Future<ListRunsResult> |
listRunsAsync(ListRunsRequest request)
Gets information about runs.
|
java.util.concurrent.Future<ListRunsResult> |
listRunsAsync(ListRunsRequest request,
AsyncHandler<ListRunsRequest,ListRunsResult> asyncHandler)
Gets information about runs.
|
java.util.concurrent.Future<ListSamplesResult> |
listSamplesAsync(ListSamplesRequest request)
Gets information about samples.
|
java.util.concurrent.Future<ListSamplesResult> |
listSamplesAsync(ListSamplesRequest request,
AsyncHandler<ListSamplesRequest,ListSamplesResult> asyncHandler)
Gets information about samples.
|
java.util.concurrent.Future<ListSuitesResult> |
listSuitesAsync(ListSuitesRequest request)
Gets information about suites.
|
java.util.concurrent.Future<ListSuitesResult> |
listSuitesAsync(ListSuitesRequest request,
AsyncHandler<ListSuitesRequest,ListSuitesResult> asyncHandler)
Gets information about suites.
|
java.util.concurrent.Future<ListTestsResult> |
listTestsAsync(ListTestsRequest request)
Gets information about tests.
|
java.util.concurrent.Future<ListTestsResult> |
listTestsAsync(ListTestsRequest request,
AsyncHandler<ListTestsRequest,ListTestsResult> asyncHandler)
Gets information about tests.
|
java.util.concurrent.Future<ListUniqueProblemsResult> |
listUniqueProblemsAsync(ListUniqueProblemsRequest request)
Gets information about unique problems.
|
java.util.concurrent.Future<ListUniqueProblemsResult> |
listUniqueProblemsAsync(ListUniqueProblemsRequest request,
AsyncHandler<ListUniqueProblemsRequest,ListUniqueProblemsResult> asyncHandler)
Gets information about unique problems.
|
java.util.concurrent.Future<ListUploadsResult> |
listUploadsAsync(ListUploadsRequest request)
Gets information about uploads.
|
java.util.concurrent.Future<ListUploadsResult> |
listUploadsAsync(ListUploadsRequest request,
AsyncHandler<ListUploadsRequest,ListUploadsResult> asyncHandler)
Gets information about uploads.
|
java.util.concurrent.Future<PurchaseOfferingResult> |
purchaseOfferingAsync(PurchaseOfferingRequest request)
Immediately purchases offerings for an AWS account.
|
java.util.concurrent.Future<PurchaseOfferingResult> |
purchaseOfferingAsync(PurchaseOfferingRequest request,
AsyncHandler<PurchaseOfferingRequest,PurchaseOfferingResult> asyncHandler)
Immediately purchases offerings for an AWS account.
|
java.util.concurrent.Future<RenewOfferingResult> |
renewOfferingAsync(RenewOfferingRequest request)
Explicitly sets the quantity of devices to renew for an offering,
starting from the
effectiveDate of the next period. |
java.util.concurrent.Future<RenewOfferingResult> |
renewOfferingAsync(RenewOfferingRequest request,
AsyncHandler<RenewOfferingRequest,RenewOfferingResult> asyncHandler)
Explicitly sets the quantity of devices to renew for an offering,
starting from the
effectiveDate of the next period. |
java.util.concurrent.Future<ScheduleRunResult> |
scheduleRunAsync(ScheduleRunRequest request)
Schedules a run.
|
java.util.concurrent.Future<ScheduleRunResult> |
scheduleRunAsync(ScheduleRunRequest request,
AsyncHandler<ScheduleRunRequest,ScheduleRunResult> asyncHandler)
Schedules a run.
|
void |
shutdown()
Shuts down the client, releasing all managed resources.
|
java.util.concurrent.Future<StopRunResult> |
stopRunAsync(StopRunRequest request)
Initiates a stop request for the current test run.
|
java.util.concurrent.Future<StopRunResult> |
stopRunAsync(StopRunRequest request,
AsyncHandler<StopRunRequest,StopRunResult> asyncHandler)
Initiates a stop request for the current test run.
|
java.util.concurrent.Future<UpdateDevicePoolResult> |
updateDevicePoolAsync(UpdateDevicePoolRequest request)
Modifies the name, description, and rules in a device pool given the
attributes and the pool ARN.
|
java.util.concurrent.Future<UpdateDevicePoolResult> |
updateDevicePoolAsync(UpdateDevicePoolRequest request,
AsyncHandler<UpdateDevicePoolRequest,UpdateDevicePoolResult> asyncHandler)
Modifies the name, description, and rules in a device pool given the
attributes and the pool ARN.
|
java.util.concurrent.Future<UpdateProjectResult> |
updateProjectAsync(UpdateProjectRequest request)
Modifies the specified project name, given the project ARN and a new
name.
|
java.util.concurrent.Future<UpdateProjectResult> |
updateProjectAsync(UpdateProjectRequest request,
AsyncHandler<UpdateProjectRequest,UpdateProjectResult> asyncHandler)
Modifies the specified project name, given the project ARN and a new
name.
|
createDevicePool, createProject, createUpload, deleteDevicePool, deleteProject, deleteRun, deleteUpload, getAccountSettings, getCachedResponseMetadata, getDevice, getDevicePool, getDevicePoolCompatibility, getJob, getOfferingStatus, getProject, getRun, getSuite, getTest, getUpload, listArtifacts, listDevicePools, listDevices, listJobs, listOfferings, listOfferingTransactions, listProjects, listRuns, listSamples, listSuites, listTests, listUniqueProblems, listUploads, purchaseOffering, renewOffering, scheduleRun, stopRun, updateDevicePool, updateProject
addRequestHandler, addRequestHandler, beforeMarshalling, configureRegion, createExecutionContext, createExecutionContext, createExecutionContext, endClientExecution, endClientExecution, findRequestMetricCollector, getEndpointPrefix, getRequestMetricsCollector, getServiceAbbreviation, getServiceName, getServiceNameIntern, getSigner, getSignerByURI, getSignerRegionOverride, getTimeOffset, isProfilingEnabled, isRequestMetricsEnabled, removeRequestHandler, removeRequestHandler, requestMetricCollector, setEndpoint, setEndpointPrefix, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffset
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createDevicePool, createProject, createUpload, deleteDevicePool, deleteProject, deleteRun, deleteUpload, getAccountSettings, getCachedResponseMetadata, getDevice, getDevicePool, getDevicePoolCompatibility, getJob, getOfferingStatus, getProject, getRun, getSuite, getTest, getUpload, listArtifacts, listDevicePools, listDevices, listJobs, listOfferings, listOfferingTransactions, listProjects, listRuns, listSamples, listSuites, listTests, listUniqueProblems, listUploads, purchaseOffering, renewOffering, scheduleRun, setEndpoint, setRegion, stopRun, updateDevicePool, updateProject
private static final int DEFAULT_THREAD_POOL_SIZE
private final java.util.concurrent.ExecutorService executorService
public AWSDeviceFarmAsyncClient()
Asynchronous methods are delegated to a fixed-size thread pool containing 50 threads (to match the default maximum number of concurrent connections to the service).
DefaultAWSCredentialsProviderChain
,
Executors.newFixedThreadPool(int)
public AWSDeviceFarmAsyncClient(ClientConfiguration clientConfiguration)
Asynchronous methods are delegated to a fixed-size thread pool containing
a number of threads equal to the maximum number of concurrent connections
configured via ClientConfiguration.getMaxConnections()
.
clientConfiguration
- The client configuration options controlling how this client
connects to AWS Device Farm (ex: proxy settings, retry counts,
etc).DefaultAWSCredentialsProviderChain
,
Executors.newFixedThreadPool(int)
public AWSDeviceFarmAsyncClient(AWSCredentials awsCredentials)
Asynchronous methods are delegated to a fixed-size thread pool containing 50 threads (to match the default maximum number of concurrent connections to the service).
awsCredentials
- The AWS credentials (access key ID and secret key) to use when
authenticating with AWS services.Executors.newFixedThreadPool(int)
public AWSDeviceFarmAsyncClient(AWSCredentials awsCredentials, java.util.concurrent.ExecutorService executorService)
awsCredentials
- The AWS credentials (access key ID and secret key) to use when
authenticating with AWS services.executorService
- The executor service by which all asynchronous requests will be
executed.public AWSDeviceFarmAsyncClient(AWSCredentials awsCredentials, ClientConfiguration clientConfiguration, java.util.concurrent.ExecutorService executorService)
awsCredentials
- The AWS credentials (access key ID and secret key) to use when
authenticating with AWS services.clientConfiguration
- Client configuration options (ex: max retry limit, proxy settings,
etc).executorService
- The executor service by which all asynchronous requests will be
executed.public AWSDeviceFarmAsyncClient(AWSCredentialsProvider awsCredentialsProvider)
Asynchronous methods are delegated to a fixed-size thread pool containing 50 threads (to match the default maximum number of concurrent connections to the service).
awsCredentialsProvider
- The AWS credentials provider which will provide credentials to
authenticate requests with AWS services.Executors.newFixedThreadPool(int)
public AWSDeviceFarmAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration)
Asynchronous methods are delegated to a fixed-size thread pool containing
a number of threads equal to the maximum number of concurrent connections
configured via ClientConfiguration.getMaxConnections()
.
awsCredentialsProvider
- The AWS credentials provider which will provide credentials to
authenticate requests with AWS services.clientConfiguration
- Client configuration options (ex: max retry limit, proxy settings,
etc).DefaultAWSCredentialsProviderChain
,
Executors.newFixedThreadPool(int)
public AWSDeviceFarmAsyncClient(AWSCredentialsProvider awsCredentialsProvider, java.util.concurrent.ExecutorService executorService)
awsCredentialsProvider
- The AWS credentials provider which will provide credentials to
authenticate requests with AWS services.executorService
- The executor service by which all asynchronous requests will be
executed.public AWSDeviceFarmAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration, java.util.concurrent.ExecutorService executorService)
awsCredentialsProvider
- The AWS credentials provider which will provide credentials to
authenticate requests with AWS services.clientConfiguration
- Client configuration options (ex: max retry limit, proxy settings,
etc).executorService
- The executor service by which all asynchronous requests will be
executed.public java.util.concurrent.ExecutorService getExecutorService()
public java.util.concurrent.Future<CreateDevicePoolResult> createDevicePoolAsync(CreateDevicePoolRequest request)
AWSDeviceFarmAsync
Creates a device pool.
createDevicePoolAsync
in interface AWSDeviceFarmAsync
request
- Represents a request to the create device pool operation.public java.util.concurrent.Future<CreateDevicePoolResult> createDevicePoolAsync(CreateDevicePoolRequest request, AsyncHandler<CreateDevicePoolRequest,CreateDevicePoolResult> asyncHandler)
AWSDeviceFarmAsync
Creates a device pool.
createDevicePoolAsync
in interface AWSDeviceFarmAsync
request
- Represents a request to the create device pool operation.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<CreateProjectResult> createProjectAsync(CreateProjectRequest request)
AWSDeviceFarmAsync
Creates a new project.
createProjectAsync
in interface AWSDeviceFarmAsync
request
- Represents a request to the create project operation.public java.util.concurrent.Future<CreateProjectResult> createProjectAsync(CreateProjectRequest request, AsyncHandler<CreateProjectRequest,CreateProjectResult> asyncHandler)
AWSDeviceFarmAsync
Creates a new project.
createProjectAsync
in interface AWSDeviceFarmAsync
request
- Represents a request to the create project operation.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<CreateUploadResult> createUploadAsync(CreateUploadRequest request)
AWSDeviceFarmAsync
Uploads an app or test scripts.
createUploadAsync
in interface AWSDeviceFarmAsync
request
- Represents a request to the create upload operation.public java.util.concurrent.Future<CreateUploadResult> createUploadAsync(CreateUploadRequest request, AsyncHandler<CreateUploadRequest,CreateUploadResult> asyncHandler)
AWSDeviceFarmAsync
Uploads an app or test scripts.
createUploadAsync
in interface AWSDeviceFarmAsync
request
- Represents a request to the create upload operation.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<DeleteDevicePoolResult> deleteDevicePoolAsync(DeleteDevicePoolRequest request)
AWSDeviceFarmAsync
Deletes a device pool given the pool ARN. Does not allow deletion of curated pools owned by the system.
deleteDevicePoolAsync
in interface AWSDeviceFarmAsync
request
- Represents a request to the delete device pool operation.public java.util.concurrent.Future<DeleteDevicePoolResult> deleteDevicePoolAsync(DeleteDevicePoolRequest request, AsyncHandler<DeleteDevicePoolRequest,DeleteDevicePoolResult> asyncHandler)
AWSDeviceFarmAsync
Deletes a device pool given the pool ARN. Does not allow deletion of curated pools owned by the system.
deleteDevicePoolAsync
in interface AWSDeviceFarmAsync
request
- Represents a request to the delete device pool operation.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<DeleteProjectResult> deleteProjectAsync(DeleteProjectRequest request)
AWSDeviceFarmAsync
Deletes an AWS Device Farm project, given the project ARN.
Note Deleting this resource does not stop an in-progress run.
deleteProjectAsync
in interface AWSDeviceFarmAsync
request
- Represents a request to the delete project operation.public java.util.concurrent.Future<DeleteProjectResult> deleteProjectAsync(DeleteProjectRequest request, AsyncHandler<DeleteProjectRequest,DeleteProjectResult> asyncHandler)
AWSDeviceFarmAsync
Deletes an AWS Device Farm project, given the project ARN.
Note Deleting this resource does not stop an in-progress run.
deleteProjectAsync
in interface AWSDeviceFarmAsync
request
- Represents a request to the delete project operation.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<DeleteRunResult> deleteRunAsync(DeleteRunRequest request)
AWSDeviceFarmAsync
Deletes the run, given the run ARN.
Note Deleting this resource does not stop an in-progress run.
deleteRunAsync
in interface AWSDeviceFarmAsync
request
- Represents a request to the delete run operation.public java.util.concurrent.Future<DeleteRunResult> deleteRunAsync(DeleteRunRequest request, AsyncHandler<DeleteRunRequest,DeleteRunResult> asyncHandler)
AWSDeviceFarmAsync
Deletes the run, given the run ARN.
Note Deleting this resource does not stop an in-progress run.
deleteRunAsync
in interface AWSDeviceFarmAsync
request
- Represents a request to the delete run operation.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<DeleteUploadResult> deleteUploadAsync(DeleteUploadRequest request)
AWSDeviceFarmAsync
Deletes an upload given the upload ARN.
deleteUploadAsync
in interface AWSDeviceFarmAsync
request
- Represents a request to the delete upload operation.public java.util.concurrent.Future<DeleteUploadResult> deleteUploadAsync(DeleteUploadRequest request, AsyncHandler<DeleteUploadRequest,DeleteUploadResult> asyncHandler)
AWSDeviceFarmAsync
Deletes an upload given the upload ARN.
deleteUploadAsync
in interface AWSDeviceFarmAsync
request
- Represents a request to the delete upload operation.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<GetAccountSettingsResult> getAccountSettingsAsync(GetAccountSettingsRequest request)
AWSDeviceFarmAsync
Returns the number of unmetered iOS and/or unmetered Android devices that have been purchased by the account.
getAccountSettingsAsync
in interface AWSDeviceFarmAsync
request
- Represents the request sent to retrieve the account settings.public java.util.concurrent.Future<GetAccountSettingsResult> getAccountSettingsAsync(GetAccountSettingsRequest request, AsyncHandler<GetAccountSettingsRequest,GetAccountSettingsResult> asyncHandler)
AWSDeviceFarmAsync
Returns the number of unmetered iOS and/or unmetered Android devices that have been purchased by the account.
getAccountSettingsAsync
in interface AWSDeviceFarmAsync
request
- Represents the request sent to retrieve the account settings.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<GetDeviceResult> getDeviceAsync(GetDeviceRequest request)
AWSDeviceFarmAsync
Gets information about a unique device type.
getDeviceAsync
in interface AWSDeviceFarmAsync
request
- Represents a request to the get device request.public java.util.concurrent.Future<GetDeviceResult> getDeviceAsync(GetDeviceRequest request, AsyncHandler<GetDeviceRequest,GetDeviceResult> asyncHandler)
AWSDeviceFarmAsync
Gets information about a unique device type.
getDeviceAsync
in interface AWSDeviceFarmAsync
request
- Represents a request to the get device request.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<GetDevicePoolResult> getDevicePoolAsync(GetDevicePoolRequest request)
AWSDeviceFarmAsync
Gets information about a device pool.
getDevicePoolAsync
in interface AWSDeviceFarmAsync
request
- Represents a request to the get device pool operation.public java.util.concurrent.Future<GetDevicePoolResult> getDevicePoolAsync(GetDevicePoolRequest request, AsyncHandler<GetDevicePoolRequest,GetDevicePoolResult> asyncHandler)
AWSDeviceFarmAsync
Gets information about a device pool.
getDevicePoolAsync
in interface AWSDeviceFarmAsync
request
- Represents a request to the get device pool operation.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<GetDevicePoolCompatibilityResult> getDevicePoolCompatibilityAsync(GetDevicePoolCompatibilityRequest request)
AWSDeviceFarmAsync
Gets information about compatibility with a device pool.
getDevicePoolCompatibilityAsync
in interface AWSDeviceFarmAsync
request
- Represents a request to the get device pool compatibility
operation.public java.util.concurrent.Future<GetDevicePoolCompatibilityResult> getDevicePoolCompatibilityAsync(GetDevicePoolCompatibilityRequest request, AsyncHandler<GetDevicePoolCompatibilityRequest,GetDevicePoolCompatibilityResult> asyncHandler)
AWSDeviceFarmAsync
Gets information about compatibility with a device pool.
getDevicePoolCompatibilityAsync
in interface AWSDeviceFarmAsync
request
- Represents a request to the get device pool compatibility
operation.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<GetJobResult> getJobAsync(GetJobRequest request)
AWSDeviceFarmAsync
Gets information about a job.
getJobAsync
in interface AWSDeviceFarmAsync
request
- Represents a request to the get job operation.public java.util.concurrent.Future<GetJobResult> getJobAsync(GetJobRequest request, AsyncHandler<GetJobRequest,GetJobResult> asyncHandler)
AWSDeviceFarmAsync
Gets information about a job.
getJobAsync
in interface AWSDeviceFarmAsync
request
- Represents a request to the get job operation.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<GetOfferingStatusResult> getOfferingStatusAsync(GetOfferingStatusRequest request)
AWSDeviceFarmAsync
Gets the current status and future status of all offerings purchased by
an AWS account. The response indicates how many offerings are currently
available and the offerings that will be available in the next period.
The API returns a NotEligible
error if the user is not
permitted to invoke the operation. Please contact aws-devicefarm-support@amazon.com if you believe that you should be
able to invoke this operation.
getOfferingStatusAsync
in interface AWSDeviceFarmAsync
request
- Represents the request to retrieve the offering status for the
specified customer or account.public java.util.concurrent.Future<GetOfferingStatusResult> getOfferingStatusAsync(GetOfferingStatusRequest request, AsyncHandler<GetOfferingStatusRequest,GetOfferingStatusResult> asyncHandler)
AWSDeviceFarmAsync
Gets the current status and future status of all offerings purchased by
an AWS account. The response indicates how many offerings are currently
available and the offerings that will be available in the next period.
The API returns a NotEligible
error if the user is not
permitted to invoke the operation. Please contact aws-devicefarm-support@amazon.com if you believe that you should be
able to invoke this operation.
getOfferingStatusAsync
in interface AWSDeviceFarmAsync
request
- Represents the request to retrieve the offering status for the
specified customer or account.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<GetProjectResult> getProjectAsync(GetProjectRequest request)
AWSDeviceFarmAsync
Gets information about a project.
getProjectAsync
in interface AWSDeviceFarmAsync
request
- Represents a request to the get project operation.public java.util.concurrent.Future<GetProjectResult> getProjectAsync(GetProjectRequest request, AsyncHandler<GetProjectRequest,GetProjectResult> asyncHandler)
AWSDeviceFarmAsync
Gets information about a project.
getProjectAsync
in interface AWSDeviceFarmAsync
request
- Represents a request to the get project operation.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<GetRunResult> getRunAsync(GetRunRequest request)
AWSDeviceFarmAsync
Gets information about a run.
getRunAsync
in interface AWSDeviceFarmAsync
request
- Represents a request to the get run operation.public java.util.concurrent.Future<GetRunResult> getRunAsync(GetRunRequest request, AsyncHandler<GetRunRequest,GetRunResult> asyncHandler)
AWSDeviceFarmAsync
Gets information about a run.
getRunAsync
in interface AWSDeviceFarmAsync
request
- Represents a request to the get run operation.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<GetSuiteResult> getSuiteAsync(GetSuiteRequest request)
AWSDeviceFarmAsync
Gets information about a suite.
getSuiteAsync
in interface AWSDeviceFarmAsync
request
- Represents a request to the get suite operation.public java.util.concurrent.Future<GetSuiteResult> getSuiteAsync(GetSuiteRequest request, AsyncHandler<GetSuiteRequest,GetSuiteResult> asyncHandler)
AWSDeviceFarmAsync
Gets information about a suite.
getSuiteAsync
in interface AWSDeviceFarmAsync
request
- Represents a request to the get suite operation.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<GetTestResult> getTestAsync(GetTestRequest request)
AWSDeviceFarmAsync
Gets information about a test.
getTestAsync
in interface AWSDeviceFarmAsync
request
- Represents a request to the get test operation.public java.util.concurrent.Future<GetTestResult> getTestAsync(GetTestRequest request, AsyncHandler<GetTestRequest,GetTestResult> asyncHandler)
AWSDeviceFarmAsync
Gets information about a test.
getTestAsync
in interface AWSDeviceFarmAsync
request
- Represents a request to the get test operation.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<GetUploadResult> getUploadAsync(GetUploadRequest request)
AWSDeviceFarmAsync
Gets information about an upload.
getUploadAsync
in interface AWSDeviceFarmAsync
request
- Represents a request to the get upload operation.public java.util.concurrent.Future<GetUploadResult> getUploadAsync(GetUploadRequest request, AsyncHandler<GetUploadRequest,GetUploadResult> asyncHandler)
AWSDeviceFarmAsync
Gets information about an upload.
getUploadAsync
in interface AWSDeviceFarmAsync
request
- Represents a request to the get upload operation.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<ListArtifactsResult> listArtifactsAsync(ListArtifactsRequest request)
AWSDeviceFarmAsync
Gets information about artifacts.
listArtifactsAsync
in interface AWSDeviceFarmAsync
request
- Represents a request to the list artifacts operation.public java.util.concurrent.Future<ListArtifactsResult> listArtifactsAsync(ListArtifactsRequest request, AsyncHandler<ListArtifactsRequest,ListArtifactsResult> asyncHandler)
AWSDeviceFarmAsync
Gets information about artifacts.
listArtifactsAsync
in interface AWSDeviceFarmAsync
request
- Represents a request to the list artifacts operation.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<ListDevicePoolsResult> listDevicePoolsAsync(ListDevicePoolsRequest request)
AWSDeviceFarmAsync
Gets information about device pools.
listDevicePoolsAsync
in interface AWSDeviceFarmAsync
request
- Represents the result of a list device pools request.public java.util.concurrent.Future<ListDevicePoolsResult> listDevicePoolsAsync(ListDevicePoolsRequest request, AsyncHandler<ListDevicePoolsRequest,ListDevicePoolsResult> asyncHandler)
AWSDeviceFarmAsync
Gets information about device pools.
listDevicePoolsAsync
in interface AWSDeviceFarmAsync
request
- Represents the result of a list device pools request.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<ListDevicesResult> listDevicesAsync(ListDevicesRequest request)
AWSDeviceFarmAsync
Gets information about unique device types.
listDevicesAsync
in interface AWSDeviceFarmAsync
request
- Represents the result of a list devices request.public java.util.concurrent.Future<ListDevicesResult> listDevicesAsync(ListDevicesRequest request, AsyncHandler<ListDevicesRequest,ListDevicesResult> asyncHandler)
AWSDeviceFarmAsync
Gets information about unique device types.
listDevicesAsync
in interface AWSDeviceFarmAsync
request
- Represents the result of a list devices request.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<ListJobsResult> listJobsAsync(ListJobsRequest request)
AWSDeviceFarmAsync
Gets information about jobs.
listJobsAsync
in interface AWSDeviceFarmAsync
request
- Represents a request to the list jobs operation.public java.util.concurrent.Future<ListJobsResult> listJobsAsync(ListJobsRequest request, AsyncHandler<ListJobsRequest,ListJobsResult> asyncHandler)
AWSDeviceFarmAsync
Gets information about jobs.
listJobsAsync
in interface AWSDeviceFarmAsync
request
- Represents a request to the list jobs operation.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<ListOfferingTransactionsResult> listOfferingTransactionsAsync(ListOfferingTransactionsRequest request)
AWSDeviceFarmAsync
Returns a list of all historical purchases, renewals, and system renewal
transactions for an AWS account. The list is paginated and ordered by a
descending timestamp (most recent transactions are first). The API
returns a NotEligible
error if the user is not permitted to
invoke the operation. Please contact aws-devicefarm-support@amazon.com if you believe that you should be
able to invoke this operation.
listOfferingTransactionsAsync
in interface AWSDeviceFarmAsync
request
- Represents the request to list the offering transaction history.public java.util.concurrent.Future<ListOfferingTransactionsResult> listOfferingTransactionsAsync(ListOfferingTransactionsRequest request, AsyncHandler<ListOfferingTransactionsRequest,ListOfferingTransactionsResult> asyncHandler)
AWSDeviceFarmAsync
Returns a list of all historical purchases, renewals, and system renewal
transactions for an AWS account. The list is paginated and ordered by a
descending timestamp (most recent transactions are first). The API
returns a NotEligible
error if the user is not permitted to
invoke the operation. Please contact aws-devicefarm-support@amazon.com if you believe that you should be
able to invoke this operation.
listOfferingTransactionsAsync
in interface AWSDeviceFarmAsync
request
- Represents the request to list the offering transaction history.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<ListOfferingsResult> listOfferingsAsync(ListOfferingsRequest request)
AWSDeviceFarmAsync
Returns a list of products or offerings that the user can manage through
the API. Each offering record indicates the recurring price per unit and
the frequency for that offering. The API returns a
NotEligible
error if the user is not permitted to invoke the
operation. Please contact aws-devicefarm-support@amazon.com if you believe that you should be
able to invoke this operation.
listOfferingsAsync
in interface AWSDeviceFarmAsync
request
- Represents the request to list all offerings.public java.util.concurrent.Future<ListOfferingsResult> listOfferingsAsync(ListOfferingsRequest request, AsyncHandler<ListOfferingsRequest,ListOfferingsResult> asyncHandler)
AWSDeviceFarmAsync
Returns a list of products or offerings that the user can manage through
the API. Each offering record indicates the recurring price per unit and
the frequency for that offering. The API returns a
NotEligible
error if the user is not permitted to invoke the
operation. Please contact aws-devicefarm-support@amazon.com if you believe that you should be
able to invoke this operation.
listOfferingsAsync
in interface AWSDeviceFarmAsync
request
- Represents the request to list all offerings.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<ListProjectsResult> listProjectsAsync(ListProjectsRequest request)
AWSDeviceFarmAsync
Gets information about projects.
listProjectsAsync
in interface AWSDeviceFarmAsync
request
- Represents a request to the list projects operation.public java.util.concurrent.Future<ListProjectsResult> listProjectsAsync(ListProjectsRequest request, AsyncHandler<ListProjectsRequest,ListProjectsResult> asyncHandler)
AWSDeviceFarmAsync
Gets information about projects.
listProjectsAsync
in interface AWSDeviceFarmAsync
request
- Represents a request to the list projects operation.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<ListRunsResult> listRunsAsync(ListRunsRequest request)
AWSDeviceFarmAsync
Gets information about runs.
listRunsAsync
in interface AWSDeviceFarmAsync
request
- Represents a request to the list runs operation.public java.util.concurrent.Future<ListRunsResult> listRunsAsync(ListRunsRequest request, AsyncHandler<ListRunsRequest,ListRunsResult> asyncHandler)
AWSDeviceFarmAsync
Gets information about runs.
listRunsAsync
in interface AWSDeviceFarmAsync
request
- Represents a request to the list runs operation.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<ListSamplesResult> listSamplesAsync(ListSamplesRequest request)
AWSDeviceFarmAsync
Gets information about samples.
listSamplesAsync
in interface AWSDeviceFarmAsync
request
- Represents a request to the list samples operation.public java.util.concurrent.Future<ListSamplesResult> listSamplesAsync(ListSamplesRequest request, AsyncHandler<ListSamplesRequest,ListSamplesResult> asyncHandler)
AWSDeviceFarmAsync
Gets information about samples.
listSamplesAsync
in interface AWSDeviceFarmAsync
request
- Represents a request to the list samples operation.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<ListSuitesResult> listSuitesAsync(ListSuitesRequest request)
AWSDeviceFarmAsync
Gets information about suites.
listSuitesAsync
in interface AWSDeviceFarmAsync
request
- Represents a request to the list suites operation.public java.util.concurrent.Future<ListSuitesResult> listSuitesAsync(ListSuitesRequest request, AsyncHandler<ListSuitesRequest,ListSuitesResult> asyncHandler)
AWSDeviceFarmAsync
Gets information about suites.
listSuitesAsync
in interface AWSDeviceFarmAsync
request
- Represents a request to the list suites operation.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<ListTestsResult> listTestsAsync(ListTestsRequest request)
AWSDeviceFarmAsync
Gets information about tests.
listTestsAsync
in interface AWSDeviceFarmAsync
request
- Represents a request to the list tests operation.public java.util.concurrent.Future<ListTestsResult> listTestsAsync(ListTestsRequest request, AsyncHandler<ListTestsRequest,ListTestsResult> asyncHandler)
AWSDeviceFarmAsync
Gets information about tests.
listTestsAsync
in interface AWSDeviceFarmAsync
request
- Represents a request to the list tests operation.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<ListUniqueProblemsResult> listUniqueProblemsAsync(ListUniqueProblemsRequest request)
AWSDeviceFarmAsync
Gets information about unique problems.
listUniqueProblemsAsync
in interface AWSDeviceFarmAsync
request
- Represents a request to the list unique problems operation.public java.util.concurrent.Future<ListUniqueProblemsResult> listUniqueProblemsAsync(ListUniqueProblemsRequest request, AsyncHandler<ListUniqueProblemsRequest,ListUniqueProblemsResult> asyncHandler)
AWSDeviceFarmAsync
Gets information about unique problems.
listUniqueProblemsAsync
in interface AWSDeviceFarmAsync
request
- Represents a request to the list unique problems operation.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<ListUploadsResult> listUploadsAsync(ListUploadsRequest request)
AWSDeviceFarmAsync
Gets information about uploads.
listUploadsAsync
in interface AWSDeviceFarmAsync
request
- Represents a request to the list uploads operation.public java.util.concurrent.Future<ListUploadsResult> listUploadsAsync(ListUploadsRequest request, AsyncHandler<ListUploadsRequest,ListUploadsResult> asyncHandler)
AWSDeviceFarmAsync
Gets information about uploads.
listUploadsAsync
in interface AWSDeviceFarmAsync
request
- Represents a request to the list uploads operation.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<PurchaseOfferingResult> purchaseOfferingAsync(PurchaseOfferingRequest request)
AWSDeviceFarmAsync
Immediately purchases offerings for an AWS account. Offerings renew with
the latest total purchased quantity for an offering, unless the renewal
was overridden. The API returns a NotEligible
error if the
user is not permitted to invoke the operation. Please contact aws-devicefarm-support@amazon.com if you believe that you should be
able to invoke this operation.
purchaseOfferingAsync
in interface AWSDeviceFarmAsync
request
- Represents a request for a purchase offering.public java.util.concurrent.Future<PurchaseOfferingResult> purchaseOfferingAsync(PurchaseOfferingRequest request, AsyncHandler<PurchaseOfferingRequest,PurchaseOfferingResult> asyncHandler)
AWSDeviceFarmAsync
Immediately purchases offerings for an AWS account. Offerings renew with
the latest total purchased quantity for an offering, unless the renewal
was overridden. The API returns a NotEligible
error if the
user is not permitted to invoke the operation. Please contact aws-devicefarm-support@amazon.com if you believe that you should be
able to invoke this operation.
purchaseOfferingAsync
in interface AWSDeviceFarmAsync
request
- Represents a request for a purchase offering.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<RenewOfferingResult> renewOfferingAsync(RenewOfferingRequest request)
AWSDeviceFarmAsync
Explicitly sets the quantity of devices to renew for an offering,
starting from the effectiveDate
of the next period. The API
returns a NotEligible
error if the user is not permitted to
invoke the operation. Please contact aws-devicefarm-support@amazon.com if you believe that you should be
able to invoke this operation.
renewOfferingAsync
in interface AWSDeviceFarmAsync
request
- A request representing an offering renewal.public java.util.concurrent.Future<RenewOfferingResult> renewOfferingAsync(RenewOfferingRequest request, AsyncHandler<RenewOfferingRequest,RenewOfferingResult> asyncHandler)
AWSDeviceFarmAsync
Explicitly sets the quantity of devices to renew for an offering,
starting from the effectiveDate
of the next period. The API
returns a NotEligible
error if the user is not permitted to
invoke the operation. Please contact aws-devicefarm-support@amazon.com if you believe that you should be
able to invoke this operation.
renewOfferingAsync
in interface AWSDeviceFarmAsync
request
- A request representing an offering renewal.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<ScheduleRunResult> scheduleRunAsync(ScheduleRunRequest request)
AWSDeviceFarmAsync
Schedules a run.
scheduleRunAsync
in interface AWSDeviceFarmAsync
request
- Represents a request to the schedule run operation.public java.util.concurrent.Future<ScheduleRunResult> scheduleRunAsync(ScheduleRunRequest request, AsyncHandler<ScheduleRunRequest,ScheduleRunResult> asyncHandler)
AWSDeviceFarmAsync
Schedules a run.
scheduleRunAsync
in interface AWSDeviceFarmAsync
request
- Represents a request to the schedule run operation.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<StopRunResult> stopRunAsync(StopRunRequest request)
AWSDeviceFarmAsync
Initiates a stop request for the current test run. AWS Device Farm will immediately stop the run on devices where tests have not started executing, and you will not be billed for these devices. On devices where tests have started executing, Setup Suite and Teardown Suite tests will run to completion before stopping execution on those devices. You will be billed for Setup, Teardown, and any tests that were in progress or already completed.
stopRunAsync
in interface AWSDeviceFarmAsync
request
- Represents the request to stop a specific run.public java.util.concurrent.Future<StopRunResult> stopRunAsync(StopRunRequest request, AsyncHandler<StopRunRequest,StopRunResult> asyncHandler)
AWSDeviceFarmAsync
Initiates a stop request for the current test run. AWS Device Farm will immediately stop the run on devices where tests have not started executing, and you will not be billed for these devices. On devices where tests have started executing, Setup Suite and Teardown Suite tests will run to completion before stopping execution on those devices. You will be billed for Setup, Teardown, and any tests that were in progress or already completed.
stopRunAsync
in interface AWSDeviceFarmAsync
request
- Represents the request to stop a specific run.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<UpdateDevicePoolResult> updateDevicePoolAsync(UpdateDevicePoolRequest request)
AWSDeviceFarmAsync
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).
updateDevicePoolAsync
in interface AWSDeviceFarmAsync
request
- Represents a request to the update device pool operation.public java.util.concurrent.Future<UpdateDevicePoolResult> updateDevicePoolAsync(UpdateDevicePoolRequest request, AsyncHandler<UpdateDevicePoolRequest,UpdateDevicePoolResult> asyncHandler)
AWSDeviceFarmAsync
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).
updateDevicePoolAsync
in interface AWSDeviceFarmAsync
request
- Represents a request to the update device pool operation.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public java.util.concurrent.Future<UpdateProjectResult> updateProjectAsync(UpdateProjectRequest request)
AWSDeviceFarmAsync
Modifies the specified project name, given the project ARN and a new name.
updateProjectAsync
in interface AWSDeviceFarmAsync
request
- Represents a request to the update project operation.public java.util.concurrent.Future<UpdateProjectResult> updateProjectAsync(UpdateProjectRequest request, AsyncHandler<UpdateProjectRequest,UpdateProjectResult> asyncHandler)
AWSDeviceFarmAsync
Modifies the specified project name, given the project ARN and a new name.
updateProjectAsync
in interface AWSDeviceFarmAsync
request
- Represents a request to the update project operation.asyncHandler
- Asynchronous callback handler for events in the lifecycle of the
request. Users can provide an implementation of the callback
methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public void shutdown()
getExecutorService().shutdown()
followed by
getExecutorService().awaitTermination()
prior to calling this
method.shutdown
in interface AWSDeviceFarm
shutdown
in class AmazonWebServiceClient