Interface AWSDeviceFarmAsync

  • All Superinterfaces:
    AWSDeviceFarm
    All Known Implementing Classes:
    AbstractAWSDeviceFarmAsync, AWSDeviceFarmAsyncClient

    public interface AWSDeviceFarmAsync
    extends AWSDeviceFarm
    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.

    • Method Detail

      • createDevicePoolAsync

        Future<CreateDevicePoolResult> createDevicePoolAsync​(CreateDevicePoolRequest createDevicePoolRequest)

        Creates a device pool.

        Parameters:
        createDevicePoolRequest - 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

        Future<CreateDevicePoolResult> createDevicePoolAsync​(CreateDevicePoolRequest createDevicePoolRequest,
                                                             AsyncHandler<CreateDevicePoolRequest,​CreateDevicePoolResult> asyncHandler)

        Creates a device pool.

        Parameters:
        createDevicePoolRequest - 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

        Future<CreateProjectResult> createProjectAsync​(CreateProjectRequest createProjectRequest)

        Creates a new project.

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

        Future<CreateProjectResult> createProjectAsync​(CreateProjectRequest createProjectRequest,
                                                       AsyncHandler<CreateProjectRequest,​CreateProjectResult> asyncHandler)

        Creates a new project.

        Parameters:
        createProjectRequest - 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

        Future<CreateUploadResult> createUploadAsync​(CreateUploadRequest createUploadRequest)

        Uploads an app or test scripts.

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

        Future<CreateUploadResult> createUploadAsync​(CreateUploadRequest createUploadRequest,
                                                     AsyncHandler<CreateUploadRequest,​CreateUploadResult> asyncHandler)

        Uploads an app or test scripts.

        Parameters:
        createUploadRequest - 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

        Future<DeleteDevicePoolResult> deleteDevicePoolAsync​(DeleteDevicePoolRequest deleteDevicePoolRequest)

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

        Parameters:
        deleteDevicePoolRequest - 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

        Future<DeleteDevicePoolResult> deleteDevicePoolAsync​(DeleteDevicePoolRequest deleteDevicePoolRequest,
                                                             AsyncHandler<DeleteDevicePoolRequest,​DeleteDevicePoolResult> asyncHandler)

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

        Parameters:
        deleteDevicePoolRequest - 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

        Future<DeleteProjectResult> deleteProjectAsync​(DeleteProjectRequest deleteProjectRequest)

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

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

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

        Future<DeleteProjectResult> deleteProjectAsync​(DeleteProjectRequest deleteProjectRequest,
                                                       AsyncHandler<DeleteProjectRequest,​DeleteProjectResult> asyncHandler)

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

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

        Parameters:
        deleteProjectRequest - 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

        Future<DeleteRunResult> deleteRunAsync​(DeleteRunRequest deleteRunRequest)

        Deletes the run, given the run ARN.

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

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

        Future<DeleteRunResult> deleteRunAsync​(DeleteRunRequest deleteRunRequest,
                                               AsyncHandler<DeleteRunRequest,​DeleteRunResult> asyncHandler)

        Deletes the run, given the run ARN.

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

        Parameters:
        deleteRunRequest - 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

        Future<DeleteUploadResult> deleteUploadAsync​(DeleteUploadRequest deleteUploadRequest)

        Deletes an upload given the upload ARN.

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

        Future<DeleteUploadResult> deleteUploadAsync​(DeleteUploadRequest deleteUploadRequest,
                                                     AsyncHandler<DeleteUploadRequest,​DeleteUploadResult> asyncHandler)

        Deletes an upload given the upload ARN.

        Parameters:
        deleteUploadRequest - 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

        Future<GetAccountSettingsResult> getAccountSettingsAsync​(GetAccountSettingsRequest getAccountSettingsRequest)

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

        Parameters:
        getAccountSettingsRequest - 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

        Future<GetAccountSettingsResult> getAccountSettingsAsync​(GetAccountSettingsRequest getAccountSettingsRequest,
                                                                 AsyncHandler<GetAccountSettingsRequest,​GetAccountSettingsResult> asyncHandler)

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

        Parameters:
        getAccountSettingsRequest - 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

        Future<GetDeviceResult> getDeviceAsync​(GetDeviceRequest getDeviceRequest)

        Gets information about a unique device type.

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

        Future<GetDeviceResult> getDeviceAsync​(GetDeviceRequest getDeviceRequest,
                                               AsyncHandler<GetDeviceRequest,​GetDeviceResult> asyncHandler)

        Gets information about a unique device type.

        Parameters:
        getDeviceRequest - 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

        Future<GetDevicePoolResult> getDevicePoolAsync​(GetDevicePoolRequest getDevicePoolRequest)

        Gets information about a device pool.

        Parameters:
        getDevicePoolRequest - 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

        Future<GetDevicePoolResult> getDevicePoolAsync​(GetDevicePoolRequest getDevicePoolRequest,
                                                       AsyncHandler<GetDevicePoolRequest,​GetDevicePoolResult> asyncHandler)

        Gets information about a device pool.

        Parameters:
        getDevicePoolRequest - 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

        Future<GetDevicePoolCompatibilityResult> getDevicePoolCompatibilityAsync​(GetDevicePoolCompatibilityRequest getDevicePoolCompatibilityRequest)

        Gets information about compatibility with a device pool.

        Parameters:
        getDevicePoolCompatibilityRequest - 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

        Future<GetDevicePoolCompatibilityResult> getDevicePoolCompatibilityAsync​(GetDevicePoolCompatibilityRequest getDevicePoolCompatibilityRequest,
                                                                                 AsyncHandler<GetDevicePoolCompatibilityRequest,​GetDevicePoolCompatibilityResult> asyncHandler)

        Gets information about compatibility with a device pool.

        Parameters:
        getDevicePoolCompatibilityRequest - 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

        Future<GetJobResult> getJobAsync​(GetJobRequest getJobRequest)

        Gets information about a job.

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

        Future<GetJobResult> getJobAsync​(GetJobRequest getJobRequest,
                                         AsyncHandler<GetJobRequest,​GetJobResult> asyncHandler)

        Gets information about a job.

        Parameters:
        getJobRequest - 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

        Future<GetOfferingStatusResult> getOfferingStatusAsync​(GetOfferingStatusRequest getOfferingStatusRequest)

        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.

        Parameters:
        getOfferingStatusRequest - 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

        Future<GetOfferingStatusResult> getOfferingStatusAsync​(GetOfferingStatusRequest getOfferingStatusRequest,
                                                               AsyncHandler<GetOfferingStatusRequest,​GetOfferingStatusResult> asyncHandler)

        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.

        Parameters:
        getOfferingStatusRequest - 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

        Future<GetProjectResult> getProjectAsync​(GetProjectRequest getProjectRequest)

        Gets information about a project.

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

        Future<GetProjectResult> getProjectAsync​(GetProjectRequest getProjectRequest,
                                                 AsyncHandler<GetProjectRequest,​GetProjectResult> asyncHandler)

        Gets information about a project.

        Parameters:
        getProjectRequest - 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

        Future<GetRunResult> getRunAsync​(GetRunRequest getRunRequest)

        Gets information about a run.

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

        Future<GetRunResult> getRunAsync​(GetRunRequest getRunRequest,
                                         AsyncHandler<GetRunRequest,​GetRunResult> asyncHandler)

        Gets information about a run.

        Parameters:
        getRunRequest - 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

        Future<GetSuiteResult> getSuiteAsync​(GetSuiteRequest getSuiteRequest)

        Gets information about a suite.

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

        Future<GetSuiteResult> getSuiteAsync​(GetSuiteRequest getSuiteRequest,
                                             AsyncHandler<GetSuiteRequest,​GetSuiteResult> asyncHandler)

        Gets information about a suite.

        Parameters:
        getSuiteRequest - 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

        Future<GetTestResult> getTestAsync​(GetTestRequest getTestRequest)

        Gets information about a test.

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

        Future<GetTestResult> getTestAsync​(GetTestRequest getTestRequest,
                                           AsyncHandler<GetTestRequest,​GetTestResult> asyncHandler)

        Gets information about a test.

        Parameters:
        getTestRequest - 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

        Future<GetUploadResult> getUploadAsync​(GetUploadRequest getUploadRequest)

        Gets information about an upload.

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

        Future<GetUploadResult> getUploadAsync​(GetUploadRequest getUploadRequest,
                                               AsyncHandler<GetUploadRequest,​GetUploadResult> asyncHandler)

        Gets information about an upload.

        Parameters:
        getUploadRequest - 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

        Future<ListArtifactsResult> listArtifactsAsync​(ListArtifactsRequest listArtifactsRequest)

        Gets information about artifacts.

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

        Future<ListArtifactsResult> listArtifactsAsync​(ListArtifactsRequest listArtifactsRequest,
                                                       AsyncHandler<ListArtifactsRequest,​ListArtifactsResult> asyncHandler)

        Gets information about artifacts.

        Parameters:
        listArtifactsRequest - 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

        Future<ListDevicePoolsResult> listDevicePoolsAsync​(ListDevicePoolsRequest listDevicePoolsRequest)

        Gets information about device pools.

        Parameters:
        listDevicePoolsRequest - 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

        Future<ListDevicePoolsResult> listDevicePoolsAsync​(ListDevicePoolsRequest listDevicePoolsRequest,
                                                           AsyncHandler<ListDevicePoolsRequest,​ListDevicePoolsResult> asyncHandler)

        Gets information about device pools.

        Parameters:
        listDevicePoolsRequest - 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

        Future<ListDevicesResult> listDevicesAsync​(ListDevicesRequest listDevicesRequest)

        Gets information about unique device types.

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

        Future<ListDevicesResult> listDevicesAsync​(ListDevicesRequest listDevicesRequest,
                                                   AsyncHandler<ListDevicesRequest,​ListDevicesResult> asyncHandler)

        Gets information about unique device types.

        Parameters:
        listDevicesRequest - 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

        Future<ListJobsResult> listJobsAsync​(ListJobsRequest listJobsRequest)

        Gets information about jobs.

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

        Future<ListJobsResult> listJobsAsync​(ListJobsRequest listJobsRequest,
                                             AsyncHandler<ListJobsRequest,​ListJobsResult> asyncHandler)

        Gets information about jobs.

        Parameters:
        listJobsRequest - 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

        Future<ListOfferingTransactionsResult> listOfferingTransactionsAsync​(ListOfferingTransactionsRequest listOfferingTransactionsRequest)

        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.

        Parameters:
        listOfferingTransactionsRequest - 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

        Future<ListOfferingTransactionsResult> listOfferingTransactionsAsync​(ListOfferingTransactionsRequest listOfferingTransactionsRequest,
                                                                             AsyncHandler<ListOfferingTransactionsRequest,​ListOfferingTransactionsResult> asyncHandler)

        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.

        Parameters:
        listOfferingTransactionsRequest - 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

        Future<ListOfferingsResult> listOfferingsAsync​(ListOfferingsRequest listOfferingsRequest)

        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.

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

        Future<ListOfferingsResult> listOfferingsAsync​(ListOfferingsRequest listOfferingsRequest,
                                                       AsyncHandler<ListOfferingsRequest,​ListOfferingsResult> asyncHandler)

        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.

        Parameters:
        listOfferingsRequest - 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

        Future<ListProjectsResult> listProjectsAsync​(ListProjectsRequest listProjectsRequest)

        Gets information about projects.

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

        Future<ListProjectsResult> listProjectsAsync​(ListProjectsRequest listProjectsRequest,
                                                     AsyncHandler<ListProjectsRequest,​ListProjectsResult> asyncHandler)

        Gets information about projects.

        Parameters:
        listProjectsRequest - 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

        Future<ListRunsResult> listRunsAsync​(ListRunsRequest listRunsRequest)

        Gets information about runs.

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

        Future<ListRunsResult> listRunsAsync​(ListRunsRequest listRunsRequest,
                                             AsyncHandler<ListRunsRequest,​ListRunsResult> asyncHandler)

        Gets information about runs.

        Parameters:
        listRunsRequest - 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

        Future<ListSamplesResult> listSamplesAsync​(ListSamplesRequest listSamplesRequest)

        Gets information about samples.

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

        Future<ListSamplesResult> listSamplesAsync​(ListSamplesRequest listSamplesRequest,
                                                   AsyncHandler<ListSamplesRequest,​ListSamplesResult> asyncHandler)

        Gets information about samples.

        Parameters:
        listSamplesRequest - 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

        Future<ListSuitesResult> listSuitesAsync​(ListSuitesRequest listSuitesRequest)

        Gets information about suites.

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

        Future<ListSuitesResult> listSuitesAsync​(ListSuitesRequest listSuitesRequest,
                                                 AsyncHandler<ListSuitesRequest,​ListSuitesResult> asyncHandler)

        Gets information about suites.

        Parameters:
        listSuitesRequest - 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

        Future<ListTestsResult> listTestsAsync​(ListTestsRequest listTestsRequest)

        Gets information about tests.

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

        Future<ListTestsResult> listTestsAsync​(ListTestsRequest listTestsRequest,
                                               AsyncHandler<ListTestsRequest,​ListTestsResult> asyncHandler)

        Gets information about tests.

        Parameters:
        listTestsRequest - 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

        Future<ListUniqueProblemsResult> listUniqueProblemsAsync​(ListUniqueProblemsRequest listUniqueProblemsRequest)

        Gets information about unique problems.

        Parameters:
        listUniqueProblemsRequest - 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

        Future<ListUniqueProblemsResult> listUniqueProblemsAsync​(ListUniqueProblemsRequest listUniqueProblemsRequest,
                                                                 AsyncHandler<ListUniqueProblemsRequest,​ListUniqueProblemsResult> asyncHandler)

        Gets information about unique problems.

        Parameters:
        listUniqueProblemsRequest - 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

        Future<ListUploadsResult> listUploadsAsync​(ListUploadsRequest listUploadsRequest)

        Gets information about uploads.

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

        Future<ListUploadsResult> listUploadsAsync​(ListUploadsRequest listUploadsRequest,
                                                   AsyncHandler<ListUploadsRequest,​ListUploadsResult> asyncHandler)

        Gets information about uploads.

        Parameters:
        listUploadsRequest - 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

        Future<PurchaseOfferingResult> purchaseOfferingAsync​(PurchaseOfferingRequest purchaseOfferingRequest)

        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.

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

        Future<PurchaseOfferingResult> purchaseOfferingAsync​(PurchaseOfferingRequest purchaseOfferingRequest,
                                                             AsyncHandler<PurchaseOfferingRequest,​PurchaseOfferingResult> asyncHandler)

        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.

        Parameters:
        purchaseOfferingRequest - 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

        Future<RenewOfferingResult> renewOfferingAsync​(RenewOfferingRequest renewOfferingRequest)

        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.

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

        Future<RenewOfferingResult> renewOfferingAsync​(RenewOfferingRequest renewOfferingRequest,
                                                       AsyncHandler<RenewOfferingRequest,​RenewOfferingResult> asyncHandler)

        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.

        Parameters:
        renewOfferingRequest - 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

        Future<ScheduleRunResult> scheduleRunAsync​(ScheduleRunRequest scheduleRunRequest)

        Schedules a run.

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

        Future<ScheduleRunResult> scheduleRunAsync​(ScheduleRunRequest scheduleRunRequest,
                                                   AsyncHandler<ScheduleRunRequest,​ScheduleRunResult> asyncHandler)

        Schedules a run.

        Parameters:
        scheduleRunRequest - 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

        Future<StopRunResult> stopRunAsync​(StopRunRequest stopRunRequest)

        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.

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

        Future<StopRunResult> stopRunAsync​(StopRunRequest stopRunRequest,
                                           AsyncHandler<StopRunRequest,​StopRunResult> asyncHandler)

        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.

        Parameters:
        stopRunRequest - 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

        Future<UpdateDevicePoolResult> updateDevicePoolAsync​(UpdateDevicePoolRequest updateDevicePoolRequest)

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

        Parameters:
        updateDevicePoolRequest - 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

        Future<UpdateDevicePoolResult> updateDevicePoolAsync​(UpdateDevicePoolRequest updateDevicePoolRequest,
                                                             AsyncHandler<UpdateDevicePoolRequest,​UpdateDevicePoolResult> asyncHandler)

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

        Parameters:
        updateDevicePoolRequest - 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

        Future<UpdateProjectResult> updateProjectAsync​(UpdateProjectRequest updateProjectRequest)

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

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

        Future<UpdateProjectResult> updateProjectAsync​(UpdateProjectRequest updateProjectRequest,
                                                       AsyncHandler<UpdateProjectRequest,​UpdateProjectResult> asyncHandler)

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

        Parameters:
        updateProjectRequest - 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.