Class AbstractAWSDeviceFarmAsync

  • All Implemented Interfaces:
    AWSDeviceFarm, AWSDeviceFarmAsync

    public class AbstractAWSDeviceFarmAsync
    extends AbstractAWSDeviceFarm
    implements AWSDeviceFarmAsync
    Abstract implementation of AWSDeviceFarmAsync. Convenient method forms pass through to the corresponding overload that takes a request object and an AsyncHandler, which throws an UnsupportedOperationException.
    • Constructor Detail

      • AbstractAWSDeviceFarmAsync

        protected AbstractAWSDeviceFarmAsync()
    • Method Detail

      • createProjectAsync

        public Future<CreateProjectResult> createProjectAsync​(CreateProjectRequest request,
                                                              AsyncHandler<CreateProjectRequest,​CreateProjectResult> asyncHandler)
        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,
                                                            AsyncHandler<CreateUploadRequest,​CreateUploadResult> asyncHandler)
        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,
                                                                    AsyncHandler<DeleteDevicePoolRequest,​DeleteDevicePoolResult> asyncHandler)
        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

        public Future<DeleteProjectResult> deleteProjectAsync​(DeleteProjectRequest request,
                                                              AsyncHandler<DeleteProjectRequest,​DeleteProjectResult> asyncHandler)
        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,
                                                            AsyncHandler<DeleteUploadRequest,​DeleteUploadResult> asyncHandler)
        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,
                                                                        AsyncHandler<GetAccountSettingsRequest,​GetAccountSettingsResult> asyncHandler)
        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,
                                                      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,
                                                              AsyncHandler<GetDevicePoolRequest,​GetDevicePoolResult> asyncHandler)
        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.
      • 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

        public Future<GetOfferingStatusResult> getOfferingStatusAsync​(GetOfferingStatusRequest request,
                                                                      AsyncHandler<GetOfferingStatusRequest,​GetOfferingStatusResult> asyncHandler)
        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,
                                                        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,
                                                    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,
                                                  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,
                                                      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,
                                                              AsyncHandler<ListArtifactsRequest,​ListArtifactsResult> asyncHandler)
        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.
      • listDevicesAsync

        public Future<ListDevicesResult> listDevicesAsync​(ListDevicesRequest request,
                                                          AsyncHandler<ListDevicesRequest,​ListDevicesResult> asyncHandler)
        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,
                                                    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

        public Future<ListOfferingTransactionsResult> listOfferingTransactionsAsync​(ListOfferingTransactionsRequest request,
                                                                                    AsyncHandler<ListOfferingTransactionsRequest,​ListOfferingTransactionsResult> asyncHandler)
        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

        public Future<ListOfferingsResult> listOfferingsAsync​(ListOfferingsRequest request,
                                                              AsyncHandler<ListOfferingsRequest,​ListOfferingsResult> asyncHandler)
        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,
                                                            AsyncHandler<ListProjectsRequest,​ListProjectsResult> asyncHandler)
        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,
                                                    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,
                                                          AsyncHandler<ListSamplesRequest,​ListSamplesResult> asyncHandler)
        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,
                                                        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,
                                                      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.
      • listUploadsAsync

        public Future<ListUploadsResult> listUploadsAsync​(ListUploadsRequest request,
                                                          AsyncHandler<ListUploadsRequest,​ListUploadsResult> asyncHandler)
        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

        public Future<PurchaseOfferingResult> purchaseOfferingAsync​(PurchaseOfferingRequest request,
                                                                    AsyncHandler<PurchaseOfferingRequest,​PurchaseOfferingResult> asyncHandler)
        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

        public Future<RenewOfferingResult> renewOfferingAsync​(RenewOfferingRequest request,
                                                              AsyncHandler<RenewOfferingRequest,​RenewOfferingResult> asyncHandler)
        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,
                                                          AsyncHandler<ScheduleRunRequest,​ScheduleRunResult> asyncHandler)
        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

        public Future<UpdateDevicePoolResult> updateDevicePoolAsync​(UpdateDevicePoolRequest request,
                                                                    AsyncHandler<UpdateDevicePoolRequest,​UpdateDevicePoolResult> asyncHandler)
        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,
                                                              AsyncHandler<UpdateProjectRequest,​UpdateProjectResult> asyncHandler)
        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.