Class AWSDeviceFarmAsyncClient

All Implemented Interfaces:
AWSDeviceFarm, AWSDeviceFarmAsync

@ThreadSafe public class AWSDeviceFarmAsyncClient extends AWSDeviceFarmClient implements AWSDeviceFarmAsync
Interface for accessing AWS Device Farm asynchronously. Each asynchronous method will return a Java Future object representing the asynchronous operation; overloads which accept an 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.

  • Constructor Details

    • AWSDeviceFarmAsyncClient

      public AWSDeviceFarmAsyncClient()
      Constructs a new asynchronous client to invoke service methods on AWS Device Farm. A credentials provider chain will be used that searches for credentials in this order:
      • Environment Variables - AWS_ACCESS_KEY_ID and AWS_SECRET_KEY
      • Java System Properties - aws.accessKeyId and aws.secretKey
      • Credential profiles file at the default location (~/.aws/credentials) shared by all AWS SDKs and the AWS CLI
      • Instance profile credentials delivered through the Amazon EC2 metadata service

      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).

      See Also:
    • AWSDeviceFarmAsyncClient

      public AWSDeviceFarmAsyncClient(ClientConfiguration clientConfiguration)
      Constructs a new asynchronous client to invoke service methods on AWS Device Farm. A credentials provider chain will be used that searches for credentials in this order:
      • Environment Variables - AWS_ACCESS_KEY_ID and AWS_SECRET_KEY
      • Java System Properties - aws.accessKeyId and aws.secretKey
      • Credential profiles file at the default location (~/.aws/credentials) shared by all AWS SDKs and the AWS CLI
      • Instance profile credentials delivered through the Amazon EC2 metadata service

      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().

      Parameters:
      clientConfiguration - The client configuration options controlling how this client connects to AWS Device Farm (ex: proxy settings, retry counts, etc).
      See Also:
    • AWSDeviceFarmAsyncClient

      public AWSDeviceFarmAsyncClient(AWSCredentials awsCredentials)
      Constructs a new asynchronous client to invoke service methods on AWS Device Farm using the specified AWS account credentials.

      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).

      Parameters:
      awsCredentials - The AWS credentials (access key ID and secret key) to use when authenticating with AWS services.
      See Also:
    • AWSDeviceFarmAsyncClient

      public AWSDeviceFarmAsyncClient(AWSCredentials awsCredentials, ExecutorService executorService)
      Constructs a new asynchronous client to invoke service methods on AWS Device Farm using the specified AWS account credentials and executor service. Default client settings will be used.
      Parameters:
      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.
    • AWSDeviceFarmAsyncClient

      public AWSDeviceFarmAsyncClient(AWSCredentials awsCredentials, ClientConfiguration clientConfiguration, 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.
      Parameters:
      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.
    • AWSDeviceFarmAsyncClient

      public AWSDeviceFarmAsyncClient(AWSCredentialsProvider awsCredentialsProvider)
      Constructs a new asynchronous client to invoke service methods on AWS Device Farm using the specified AWS account credentials provider. Default client settings will be used.

      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).

      Parameters:
      awsCredentialsProvider - The AWS credentials provider which will provide credentials to authenticate requests with AWS services.
      See Also:
    • AWSDeviceFarmAsyncClient

      public 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.

      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().

      Parameters:
      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).
      See Also:
    • AWSDeviceFarmAsyncClient

      public AWSDeviceFarmAsyncClient(AWSCredentialsProvider awsCredentialsProvider, 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. Default client settings will be used.
      Parameters:
      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.
    • AWSDeviceFarmAsyncClient

      public AWSDeviceFarmAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration, 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.
      Parameters:
      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.
  • Method Details

    • getExecutorService

      public ExecutorService getExecutorService()
      Returns the executor service used by this client to execute async requests.
      Returns:
      The executor service used by this client to execute async requests.
    • createDevicePoolAsync

      public Future<CreateDevicePoolResult> createDevicePoolAsync(CreateDevicePoolRequest request)
      Description copied from interface: AWSDeviceFarmAsync

      Creates a device pool.

      Specified by:
      createDevicePoolAsync in interface AWSDeviceFarmAsync
      Parameters:
      request - Represents a request to the create device pool operation.
      Returns:
      A Java Future containing the result of the CreateDevicePool operation returned by the service.
    • createDevicePoolAsync

      Description copied from interface: AWSDeviceFarmAsync

      Creates a device pool.

      Specified by:
      createDevicePoolAsync in interface AWSDeviceFarmAsync
      Parameters:
      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.
      Returns:
      A Java Future containing the result of the CreateDevicePool operation returned by the service.
    • createProjectAsync

      public Future<CreateProjectResult> createProjectAsync(CreateProjectRequest request)
      Description copied from interface: AWSDeviceFarmAsync

      Creates a new project.

      Specified by:
      createProjectAsync in interface AWSDeviceFarmAsync
      Parameters:
      request - Represents a request to the create project operation.
      Returns:
      A Java Future containing the result of the CreateProject operation returned by the service.
    • createProjectAsync

      Description copied from interface: AWSDeviceFarmAsync

      Creates a new project.

      Specified by:
      createProjectAsync in interface AWSDeviceFarmAsync
      Parameters:
      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.
      Returns:
      A Java Future containing the result of the CreateProject operation returned by the service.
    • createUploadAsync

      public Future<CreateUploadResult> createUploadAsync(CreateUploadRequest request)
      Description copied from interface: AWSDeviceFarmAsync

      Uploads an app or test scripts.

      Specified by:
      createUploadAsync in interface AWSDeviceFarmAsync
      Parameters:
      request - Represents a request to the create upload operation.
      Returns:
      A Java Future containing the result of the CreateUpload operation returned by the service.
    • createUploadAsync

      Description copied from interface: AWSDeviceFarmAsync

      Uploads an app or test scripts.

      Specified by:
      createUploadAsync in interface AWSDeviceFarmAsync
      Parameters:
      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.
      Returns:
      A Java Future containing the result of the CreateUpload operation returned by the service.
    • deleteDevicePoolAsync

      public Future<DeleteDevicePoolResult> deleteDevicePoolAsync(DeleteDevicePoolRequest request)
      Description copied from interface: AWSDeviceFarmAsync

      Deletes a device pool given the pool ARN. Does not allow deletion of curated pools owned by the system.

      Specified by:
      deleteDevicePoolAsync in interface AWSDeviceFarmAsync
      Parameters:
      request - Represents a request to the delete device pool operation.
      Returns:
      A Java Future containing the result of the DeleteDevicePool operation returned by the service.
    • deleteDevicePoolAsync

      Description copied from interface: AWSDeviceFarmAsync

      Deletes a device pool given the pool ARN. Does not allow deletion of curated pools owned by the system.

      Specified by:
      deleteDevicePoolAsync in interface AWSDeviceFarmAsync
      Parameters:
      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.
      Returns:
      A Java Future containing the result of the DeleteDevicePool operation returned by the service.
    • deleteProjectAsync

      public Future<DeleteProjectResult> deleteProjectAsync(DeleteProjectRequest request)
      Description copied from interface: AWSDeviceFarmAsync

      Deletes an AWS Device Farm project, given the project ARN.

      Note Deleting this resource does not stop an in-progress run.

      Specified by:
      deleteProjectAsync in interface AWSDeviceFarmAsync
      Parameters:
      request - Represents a request to the delete project operation.
      Returns:
      A Java Future containing the result of the DeleteProject operation returned by the service.
    • deleteProjectAsync

      Description copied from interface: AWSDeviceFarmAsync

      Deletes an AWS Device Farm project, given the project ARN.

      Note Deleting this resource does not stop an in-progress run.

      Specified by:
      deleteProjectAsync in interface AWSDeviceFarmAsync
      Parameters:
      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.
      Returns:
      A Java Future containing the result of the DeleteProject operation returned by the service.
    • deleteRunAsync

      public Future<DeleteRunResult> deleteRunAsync(DeleteRunRequest request)
      Description copied from interface: AWSDeviceFarmAsync

      Deletes the run, given the run ARN.

      Note Deleting this resource does not stop an in-progress run.

      Specified by:
      deleteRunAsync in interface AWSDeviceFarmAsync
      Parameters:
      request - Represents a request to the delete run operation.
      Returns:
      A Java Future containing the result of the DeleteRun operation returned by the service.
    • deleteRunAsync

      public Future<DeleteRunResult> deleteRunAsync(DeleteRunRequest request, AsyncHandler<DeleteRunRequest,DeleteRunResult> asyncHandler)
      Description copied from interface: AWSDeviceFarmAsync

      Deletes the run, given the run ARN.

      Note Deleting this resource does not stop an in-progress run.

      Specified by:
      deleteRunAsync in interface AWSDeviceFarmAsync
      Parameters:
      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.
      Returns:
      A Java Future containing the result of the DeleteRun operation returned by the service.
    • deleteUploadAsync

      public Future<DeleteUploadResult> deleteUploadAsync(DeleteUploadRequest request)
      Description copied from interface: AWSDeviceFarmAsync

      Deletes an upload given the upload ARN.

      Specified by:
      deleteUploadAsync in interface AWSDeviceFarmAsync
      Parameters:
      request - Represents a request to the delete upload operation.
      Returns:
      A Java Future containing the result of the DeleteUpload operation returned by the service.
    • deleteUploadAsync

      Description copied from interface: AWSDeviceFarmAsync

      Deletes an upload given the upload ARN.

      Specified by:
      deleteUploadAsync in interface AWSDeviceFarmAsync
      Parameters:
      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.
      Returns:
      A Java Future containing the result of the DeleteUpload operation returned by the service.
    • getAccountSettingsAsync

      public Future<GetAccountSettingsResult> getAccountSettingsAsync(GetAccountSettingsRequest request)
      Description copied from interface: AWSDeviceFarmAsync

      Returns the number of unmetered iOS and/or unmetered Android devices that have been purchased by the account.

      Specified by:
      getAccountSettingsAsync in interface AWSDeviceFarmAsync
      Parameters:
      request - Represents the request sent to retrieve the account settings.
      Returns:
      A Java Future containing the result of the GetAccountSettings operation returned by the service.
    • getAccountSettingsAsync

      Description copied from interface: AWSDeviceFarmAsync

      Returns the number of unmetered iOS and/or unmetered Android devices that have been purchased by the account.

      Specified by:
      getAccountSettingsAsync in interface AWSDeviceFarmAsync
      Parameters:
      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.
      Returns:
      A Java Future containing the result of the GetAccountSettings operation returned by the service.
    • getDeviceAsync

      public Future<GetDeviceResult> getDeviceAsync(GetDeviceRequest request)
      Description copied from interface: AWSDeviceFarmAsync

      Gets information about a unique device type.

      Specified by:
      getDeviceAsync in interface AWSDeviceFarmAsync
      Parameters:
      request - Represents a request to the get device request.
      Returns:
      A Java Future containing the result of the GetDevice operation returned by the service.
    • getDeviceAsync

      public Future<GetDeviceResult> getDeviceAsync(GetDeviceRequest request, AsyncHandler<GetDeviceRequest,GetDeviceResult> asyncHandler)
      Description copied from interface: AWSDeviceFarmAsync

      Gets information about a unique device type.

      Specified by:
      getDeviceAsync in interface AWSDeviceFarmAsync
      Parameters:
      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.
      Returns:
      A Java Future containing the result of the GetDevice operation returned by the service.
    • getDevicePoolAsync

      public Future<GetDevicePoolResult> getDevicePoolAsync(GetDevicePoolRequest request)
      Description copied from interface: AWSDeviceFarmAsync

      Gets information about a device pool.

      Specified by:
      getDevicePoolAsync in interface AWSDeviceFarmAsync
      Parameters:
      request - Represents a request to the get device pool operation.
      Returns:
      A Java Future containing the result of the GetDevicePool operation returned by the service.
    • getDevicePoolAsync

      Description copied from interface: AWSDeviceFarmAsync

      Gets information about a device pool.

      Specified by:
      getDevicePoolAsync in interface AWSDeviceFarmAsync
      Parameters:
      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.
      Returns:
      A Java Future containing the result of the GetDevicePool operation returned by the service.
    • getDevicePoolCompatibilityAsync

      public Future<GetDevicePoolCompatibilityResult> getDevicePoolCompatibilityAsync(GetDevicePoolCompatibilityRequest request)
      Description copied from interface: AWSDeviceFarmAsync

      Gets information about compatibility with a device pool.

      Specified by:
      getDevicePoolCompatibilityAsync in interface AWSDeviceFarmAsync
      Parameters:
      request - Represents a request to the get device pool compatibility operation.
      Returns:
      A Java Future containing the result of the GetDevicePoolCompatibility operation returned by the service.
    • getDevicePoolCompatibilityAsync

      Description copied from interface: AWSDeviceFarmAsync

      Gets information about compatibility with a device pool.

      Specified by:
      getDevicePoolCompatibilityAsync in interface AWSDeviceFarmAsync
      Parameters:
      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.
      Returns:
      A Java Future containing the result of the GetDevicePoolCompatibility operation returned by the service.
    • getJobAsync

      public Future<GetJobResult> getJobAsync(GetJobRequest request)
      Description copied from interface: AWSDeviceFarmAsync

      Gets information about a job.

      Specified by:
      getJobAsync in interface AWSDeviceFarmAsync
      Parameters:
      request - Represents a request to the get job operation.
      Returns:
      A Java Future containing the result of the GetJob operation returned by the service.
    • getJobAsync

      public Future<GetJobResult> getJobAsync(GetJobRequest request, AsyncHandler<GetJobRequest,GetJobResult> asyncHandler)
      Description copied from interface: AWSDeviceFarmAsync

      Gets information about a job.

      Specified by:
      getJobAsync in interface AWSDeviceFarmAsync
      Parameters:
      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.
      Returns:
      A Java Future containing the result of the GetJob operation returned by the service.
    • getOfferingStatusAsync

      public Future<GetOfferingStatusResult> getOfferingStatusAsync(GetOfferingStatusRequest request)
      Description copied from interface: 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.

      Specified by:
      getOfferingStatusAsync in interface AWSDeviceFarmAsync
      Parameters:
      request - Represents the request to retrieve the offering status for the specified customer or account.
      Returns:
      A Java Future containing the result of the GetOfferingStatus operation returned by the service.
    • getOfferingStatusAsync

      Description copied from interface: 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.

      Specified by:
      getOfferingStatusAsync in interface AWSDeviceFarmAsync
      Parameters:
      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.
      Returns:
      A Java Future containing the result of the GetOfferingStatus operation returned by the service.
    • getProjectAsync

      public Future<GetProjectResult> getProjectAsync(GetProjectRequest request)
      Description copied from interface: AWSDeviceFarmAsync

      Gets information about a project.

      Specified by:
      getProjectAsync in interface AWSDeviceFarmAsync
      Parameters:
      request - Represents a request to the get project operation.
      Returns:
      A Java Future containing the result of the GetProject operation returned by the service.
    • getProjectAsync

      public Future<GetProjectResult> getProjectAsync(GetProjectRequest request, AsyncHandler<GetProjectRequest,GetProjectResult> asyncHandler)
      Description copied from interface: AWSDeviceFarmAsync

      Gets information about a project.

      Specified by:
      getProjectAsync in interface AWSDeviceFarmAsync
      Parameters:
      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.
      Returns:
      A Java Future containing the result of the GetProject operation returned by the service.
    • getRunAsync

      public Future<GetRunResult> getRunAsync(GetRunRequest request)
      Description copied from interface: AWSDeviceFarmAsync

      Gets information about a run.

      Specified by:
      getRunAsync in interface AWSDeviceFarmAsync
      Parameters:
      request - Represents a request to the get run operation.
      Returns:
      A Java Future containing the result of the GetRun operation returned by the service.
    • getRunAsync

      public Future<GetRunResult> getRunAsync(GetRunRequest request, AsyncHandler<GetRunRequest,GetRunResult> asyncHandler)
      Description copied from interface: AWSDeviceFarmAsync

      Gets information about a run.

      Specified by:
      getRunAsync in interface AWSDeviceFarmAsync
      Parameters:
      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.
      Returns:
      A Java Future containing the result of the GetRun operation returned by the service.
    • getSuiteAsync

      public Future<GetSuiteResult> getSuiteAsync(GetSuiteRequest request)
      Description copied from interface: AWSDeviceFarmAsync

      Gets information about a suite.

      Specified by:
      getSuiteAsync in interface AWSDeviceFarmAsync
      Parameters:
      request - Represents a request to the get suite operation.
      Returns:
      A Java Future containing the result of the GetSuite operation returned by the service.
    • getSuiteAsync

      public Future<GetSuiteResult> getSuiteAsync(GetSuiteRequest request, AsyncHandler<GetSuiteRequest,GetSuiteResult> asyncHandler)
      Description copied from interface: AWSDeviceFarmAsync

      Gets information about a suite.

      Specified by:
      getSuiteAsync in interface AWSDeviceFarmAsync
      Parameters:
      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.
      Returns:
      A Java Future containing the result of the GetSuite operation returned by the service.
    • getTestAsync

      public Future<GetTestResult> getTestAsync(GetTestRequest request)
      Description copied from interface: AWSDeviceFarmAsync

      Gets information about a test.

      Specified by:
      getTestAsync in interface AWSDeviceFarmAsync
      Parameters:
      request - Represents a request to the get test operation.
      Returns:
      A Java Future containing the result of the GetTest operation returned by the service.
    • getTestAsync

      public Future<GetTestResult> getTestAsync(GetTestRequest request, AsyncHandler<GetTestRequest,GetTestResult> asyncHandler)
      Description copied from interface: AWSDeviceFarmAsync

      Gets information about a test.

      Specified by:
      getTestAsync in interface AWSDeviceFarmAsync
      Parameters:
      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.
      Returns:
      A Java Future containing the result of the GetTest operation returned by the service.
    • getUploadAsync

      public Future<GetUploadResult> getUploadAsync(GetUploadRequest request)
      Description copied from interface: AWSDeviceFarmAsync

      Gets information about an upload.

      Specified by:
      getUploadAsync in interface AWSDeviceFarmAsync
      Parameters:
      request - Represents a request to the get upload operation.
      Returns:
      A Java Future containing the result of the GetUpload operation returned by the service.
    • getUploadAsync

      public Future<GetUploadResult> getUploadAsync(GetUploadRequest request, AsyncHandler<GetUploadRequest,GetUploadResult> asyncHandler)
      Description copied from interface: AWSDeviceFarmAsync

      Gets information about an upload.

      Specified by:
      getUploadAsync in interface AWSDeviceFarmAsync
      Parameters:
      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.
      Returns:
      A Java Future containing the result of the GetUpload operation returned by the service.
    • listArtifactsAsync

      public Future<ListArtifactsResult> listArtifactsAsync(ListArtifactsRequest request)
      Description copied from interface: AWSDeviceFarmAsync

      Gets information about artifacts.

      Specified by:
      listArtifactsAsync in interface AWSDeviceFarmAsync
      Parameters:
      request - Represents a request to the list artifacts operation.
      Returns:
      A Java Future containing the result of the ListArtifacts operation returned by the service.
    • listArtifactsAsync

      Description copied from interface: AWSDeviceFarmAsync

      Gets information about artifacts.

      Specified by:
      listArtifactsAsync in interface AWSDeviceFarmAsync
      Parameters:
      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.
      Returns:
      A Java Future containing the result of the ListArtifacts operation returned by the service.
    • listDevicePoolsAsync

      public Future<ListDevicePoolsResult> listDevicePoolsAsync(ListDevicePoolsRequest request)
      Description copied from interface: AWSDeviceFarmAsync

      Gets information about device pools.

      Specified by:
      listDevicePoolsAsync in interface AWSDeviceFarmAsync
      Parameters:
      request - Represents the result of a list device pools request.
      Returns:
      A Java Future containing the result of the ListDevicePools operation returned by the service.
    • listDevicePoolsAsync

      Description copied from interface: AWSDeviceFarmAsync

      Gets information about device pools.

      Specified by:
      listDevicePoolsAsync in interface AWSDeviceFarmAsync
      Parameters:
      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.
      Returns:
      A Java Future containing the result of the ListDevicePools operation returned by the service.
    • listDevicesAsync

      public Future<ListDevicesResult> listDevicesAsync(ListDevicesRequest request)
      Description copied from interface: AWSDeviceFarmAsync

      Gets information about unique device types.

      Specified by:
      listDevicesAsync in interface AWSDeviceFarmAsync
      Parameters:
      request - Represents the result of a list devices request.
      Returns:
      A Java Future containing the result of the ListDevices operation returned by the service.
    • listDevicesAsync

      Description copied from interface: AWSDeviceFarmAsync

      Gets information about unique device types.

      Specified by:
      listDevicesAsync in interface AWSDeviceFarmAsync
      Parameters:
      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.
      Returns:
      A Java Future containing the result of the ListDevices operation returned by the service.
    • listJobsAsync

      public Future<ListJobsResult> listJobsAsync(ListJobsRequest request)
      Description copied from interface: AWSDeviceFarmAsync

      Gets information about jobs.

      Specified by:
      listJobsAsync in interface AWSDeviceFarmAsync
      Parameters:
      request - Represents a request to the list jobs operation.
      Returns:
      A Java Future containing the result of the ListJobs operation returned by the service.
    • listJobsAsync

      public Future<ListJobsResult> listJobsAsync(ListJobsRequest request, AsyncHandler<ListJobsRequest,ListJobsResult> asyncHandler)
      Description copied from interface: AWSDeviceFarmAsync

      Gets information about jobs.

      Specified by:
      listJobsAsync in interface AWSDeviceFarmAsync
      Parameters:
      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.
      Returns:
      A Java Future containing the result of the ListJobs operation returned by the service.
    • listOfferingTransactionsAsync

      public Future<ListOfferingTransactionsResult> listOfferingTransactionsAsync(ListOfferingTransactionsRequest request)
      Description copied from interface: 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.

      Specified by:
      listOfferingTransactionsAsync in interface AWSDeviceFarmAsync
      Parameters:
      request - Represents the request to list the offering transaction history.
      Returns:
      A Java Future containing the result of the ListOfferingTransactions operation returned by the service.
    • listOfferingTransactionsAsync

      Description copied from interface: 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.

      Specified by:
      listOfferingTransactionsAsync in interface AWSDeviceFarmAsync
      Parameters:
      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.
      Returns:
      A Java Future containing the result of the ListOfferingTransactions operation returned by the service.
    • listOfferingsAsync

      public Future<ListOfferingsResult> listOfferingsAsync(ListOfferingsRequest request)
      Description copied from interface: 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.

      Specified by:
      listOfferingsAsync in interface AWSDeviceFarmAsync
      Parameters:
      request - Represents the request to list all offerings.
      Returns:
      A Java Future containing the result of the ListOfferings operation returned by the service.
    • listOfferingsAsync

      Description copied from interface: 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.

      Specified by:
      listOfferingsAsync in interface AWSDeviceFarmAsync
      Parameters:
      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.
      Returns:
      A Java Future containing the result of the ListOfferings operation returned by the service.
    • listProjectsAsync

      public Future<ListProjectsResult> listProjectsAsync(ListProjectsRequest request)
      Description copied from interface: AWSDeviceFarmAsync

      Gets information about projects.

      Specified by:
      listProjectsAsync in interface AWSDeviceFarmAsync
      Parameters:
      request - Represents a request to the list projects operation.
      Returns:
      A Java Future containing the result of the ListProjects operation returned by the service.
    • listProjectsAsync

      Description copied from interface: AWSDeviceFarmAsync

      Gets information about projects.

      Specified by:
      listProjectsAsync in interface AWSDeviceFarmAsync
      Parameters:
      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.
      Returns:
      A Java Future containing the result of the ListProjects operation returned by the service.
    • listRunsAsync

      public Future<ListRunsResult> listRunsAsync(ListRunsRequest request)
      Description copied from interface: AWSDeviceFarmAsync

      Gets information about runs.

      Specified by:
      listRunsAsync in interface AWSDeviceFarmAsync
      Parameters:
      request - Represents a request to the list runs operation.
      Returns:
      A Java Future containing the result of the ListRuns operation returned by the service.
    • listRunsAsync

      public Future<ListRunsResult> listRunsAsync(ListRunsRequest request, AsyncHandler<ListRunsRequest,ListRunsResult> asyncHandler)
      Description copied from interface: AWSDeviceFarmAsync

      Gets information about runs.

      Specified by:
      listRunsAsync in interface AWSDeviceFarmAsync
      Parameters:
      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.
      Returns:
      A Java Future containing the result of the ListRuns operation returned by the service.
    • listSamplesAsync

      public Future<ListSamplesResult> listSamplesAsync(ListSamplesRequest request)
      Description copied from interface: AWSDeviceFarmAsync

      Gets information about samples.

      Specified by:
      listSamplesAsync in interface AWSDeviceFarmAsync
      Parameters:
      request - Represents a request to the list samples operation.
      Returns:
      A Java Future containing the result of the ListSamples operation returned by the service.
    • listSamplesAsync

      Description copied from interface: AWSDeviceFarmAsync

      Gets information about samples.

      Specified by:
      listSamplesAsync in interface AWSDeviceFarmAsync
      Parameters:
      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.
      Returns:
      A Java Future containing the result of the ListSamples operation returned by the service.
    • listSuitesAsync

      public Future<ListSuitesResult> listSuitesAsync(ListSuitesRequest request)
      Description copied from interface: AWSDeviceFarmAsync

      Gets information about suites.

      Specified by:
      listSuitesAsync in interface AWSDeviceFarmAsync
      Parameters:
      request - Represents a request to the list suites operation.
      Returns:
      A Java Future containing the result of the ListSuites operation returned by the service.
    • listSuitesAsync

      public Future<ListSuitesResult> listSuitesAsync(ListSuitesRequest request, AsyncHandler<ListSuitesRequest,ListSuitesResult> asyncHandler)
      Description copied from interface: AWSDeviceFarmAsync

      Gets information about suites.

      Specified by:
      listSuitesAsync in interface AWSDeviceFarmAsync
      Parameters:
      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.
      Returns:
      A Java Future containing the result of the ListSuites operation returned by the service.
    • listTestsAsync

      public Future<ListTestsResult> listTestsAsync(ListTestsRequest request)
      Description copied from interface: AWSDeviceFarmAsync

      Gets information about tests.

      Specified by:
      listTestsAsync in interface AWSDeviceFarmAsync
      Parameters:
      request - Represents a request to the list tests operation.
      Returns:
      A Java Future containing the result of the ListTests operation returned by the service.
    • listTestsAsync

      public Future<ListTestsResult> listTestsAsync(ListTestsRequest request, AsyncHandler<ListTestsRequest,ListTestsResult> asyncHandler)
      Description copied from interface: AWSDeviceFarmAsync

      Gets information about tests.

      Specified by:
      listTestsAsync in interface AWSDeviceFarmAsync
      Parameters:
      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.
      Returns:
      A Java Future containing the result of the ListTests operation returned by the service.
    • listUniqueProblemsAsync

      public Future<ListUniqueProblemsResult> listUniqueProblemsAsync(ListUniqueProblemsRequest request)
      Description copied from interface: AWSDeviceFarmAsync

      Gets information about unique problems.

      Specified by:
      listUniqueProblemsAsync in interface AWSDeviceFarmAsync
      Parameters:
      request - Represents a request to the list unique problems operation.
      Returns:
      A Java Future containing the result of the ListUniqueProblems operation returned by the service.
    • listUniqueProblemsAsync

      Description copied from interface: AWSDeviceFarmAsync

      Gets information about unique problems.

      Specified by:
      listUniqueProblemsAsync in interface AWSDeviceFarmAsync
      Parameters:
      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.
      Returns:
      A Java Future containing the result of the ListUniqueProblems operation returned by the service.
    • listUploadsAsync

      public Future<ListUploadsResult> listUploadsAsync(ListUploadsRequest request)
      Description copied from interface: AWSDeviceFarmAsync

      Gets information about uploads.

      Specified by:
      listUploadsAsync in interface AWSDeviceFarmAsync
      Parameters:
      request - Represents a request to the list uploads operation.
      Returns:
      A Java Future containing the result of the ListUploads operation returned by the service.
    • listUploadsAsync

      Description copied from interface: AWSDeviceFarmAsync

      Gets information about uploads.

      Specified by:
      listUploadsAsync in interface AWSDeviceFarmAsync
      Parameters:
      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.
      Returns:
      A Java Future containing the result of the ListUploads operation returned by the service.
    • purchaseOfferingAsync

      public Future<PurchaseOfferingResult> purchaseOfferingAsync(PurchaseOfferingRequest request)
      Description copied from interface: 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.

      Specified by:
      purchaseOfferingAsync in interface AWSDeviceFarmAsync
      Parameters:
      request - Represents a request for a purchase offering.
      Returns:
      A Java Future containing the result of the PurchaseOffering operation returned by the service.
    • purchaseOfferingAsync

      Description copied from interface: 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.

      Specified by:
      purchaseOfferingAsync in interface AWSDeviceFarmAsync
      Parameters:
      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.
      Returns:
      A Java Future containing the result of the PurchaseOffering operation returned by the service.
    • renewOfferingAsync

      public Future<RenewOfferingResult> renewOfferingAsync(RenewOfferingRequest request)
      Description copied from interface: 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.

      Specified by:
      renewOfferingAsync in interface AWSDeviceFarmAsync
      Parameters:
      request - A request representing an offering renewal.
      Returns:
      A Java Future containing the result of the RenewOffering operation returned by the service.
    • renewOfferingAsync

      Description copied from interface: 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.

      Specified by:
      renewOfferingAsync in interface AWSDeviceFarmAsync
      Parameters:
      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.
      Returns:
      A Java Future containing the result of the RenewOffering operation returned by the service.
    • scheduleRunAsync

      public Future<ScheduleRunResult> scheduleRunAsync(ScheduleRunRequest request)
      Description copied from interface: AWSDeviceFarmAsync

      Schedules a run.

      Specified by:
      scheduleRunAsync in interface AWSDeviceFarmAsync
      Parameters:
      request - Represents a request to the schedule run operation.
      Returns:
      A Java Future containing the result of the ScheduleRun operation returned by the service.
    • scheduleRunAsync

      Description copied from interface: AWSDeviceFarmAsync

      Schedules a run.

      Specified by:
      scheduleRunAsync in interface AWSDeviceFarmAsync
      Parameters:
      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.
      Returns:
      A Java Future containing the result of the ScheduleRun operation returned by the service.
    • stopRunAsync

      public Future<StopRunResult> stopRunAsync(StopRunRequest request)
      Description copied from interface: 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.

      Specified by:
      stopRunAsync in interface AWSDeviceFarmAsync
      Parameters:
      request - Represents the request to stop a specific run.
      Returns:
      A Java Future containing the result of the StopRun operation returned by the service.
    • stopRunAsync

      public Future<StopRunResult> stopRunAsync(StopRunRequest request, AsyncHandler<StopRunRequest,StopRunResult> asyncHandler)
      Description copied from interface: 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.

      Specified by:
      stopRunAsync in interface AWSDeviceFarmAsync
      Parameters:
      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.
      Returns:
      A Java Future containing the result of the StopRun operation returned by the service.
    • updateDevicePoolAsync

      public Future<UpdateDevicePoolResult> updateDevicePoolAsync(UpdateDevicePoolRequest request)
      Description copied from interface: 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).

      Specified by:
      updateDevicePoolAsync in interface AWSDeviceFarmAsync
      Parameters:
      request - Represents a request to the update device pool operation.
      Returns:
      A Java Future containing the result of the UpdateDevicePool operation returned by the service.
    • updateDevicePoolAsync

      Description copied from interface: 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).

      Specified by:
      updateDevicePoolAsync in interface AWSDeviceFarmAsync
      Parameters:
      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.
      Returns:
      A Java Future containing the result of the UpdateDevicePool operation returned by the service.
    • updateProjectAsync

      public Future<UpdateProjectResult> updateProjectAsync(UpdateProjectRequest request)
      Description copied from interface: AWSDeviceFarmAsync

      Modifies the specified project name, given the project ARN and a new name.

      Specified by:
      updateProjectAsync in interface AWSDeviceFarmAsync
      Parameters:
      request - Represents a request to the update project operation.
      Returns:
      A Java Future containing the result of the UpdateProject operation returned by the service.
    • updateProjectAsync

      Description copied from interface: AWSDeviceFarmAsync

      Modifies the specified project name, given the project ARN and a new name.

      Specified by:
      updateProjectAsync in interface AWSDeviceFarmAsync
      Parameters:
      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.
      Returns:
      A Java Future containing the result of the UpdateProject operation returned by the service.
    • shutdown

      public void shutdown()
      Shuts down the client, releasing all managed resources. This includes forcibly terminating all pending asynchronous service calls. Clients who wish to give pending asynchronous service calls time to complete should call getExecutorService().shutdown() followed by getExecutorService().awaitTermination() prior to calling this method.
      Specified by:
      shutdown in interface AWSDeviceFarm
      Overrides:
      shutdown in class AmazonWebServiceClient