
com.amazonaws.services.devicefarm.AWSDeviceFarmAsync Maven / Gradle / Ivy
Show all versions of aws-java-sdk-devicefarm Show documentation
/*
* Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights
* Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
package com.amazonaws.services.devicefarm;
import com.amazonaws.services.devicefarm.model.*;
/**
* Interface for accessing AWS Device Farm asynchronously. Each asynchronous
* method will return a Java Future object representing the asynchronous
* operation; overloads which accept an {@code 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.
*
*/
public interface AWSDeviceFarmAsync extends AWSDeviceFarm {
/**
*
* Creates a device pool.
*
*
* @param createDevicePoolRequest
* Represents a request to the create device pool operation.
* @return A Java Future containing the result of the CreateDevicePool
* operation returned by the service.
* @sample AWSDeviceFarmAsync.CreateDevicePool
*/
java.util.concurrent.Future createDevicePoolAsync(
CreateDevicePoolRequest createDevicePoolRequest);
/**
*
* Creates a device pool.
*
*
* @param createDevicePoolRequest
* Represents a request to the create device pool operation.
* @param 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.
* @return A Java Future containing the result of the CreateDevicePool
* operation returned by the service.
* @sample AWSDeviceFarmAsyncHandler.CreateDevicePool
*/
java.util.concurrent.Future createDevicePoolAsync(
CreateDevicePoolRequest createDevicePoolRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Creates a new project.
*
*
* @param createProjectRequest
* Represents a request to the create project operation.
* @return A Java Future containing the result of the CreateProject
* operation returned by the service.
* @sample AWSDeviceFarmAsync.CreateProject
*/
java.util.concurrent.Future createProjectAsync(
CreateProjectRequest createProjectRequest);
/**
*
* Creates a new project.
*
*
* @param createProjectRequest
* Represents a request to the create project operation.
* @param 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.
* @return A Java Future containing the result of the CreateProject
* operation returned by the service.
* @sample AWSDeviceFarmAsyncHandler.CreateProject
*/
java.util.concurrent.Future createProjectAsync(
CreateProjectRequest createProjectRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Uploads an app or test scripts.
*
*
* @param createUploadRequest
* Represents a request to the create upload operation.
* @return A Java Future containing the result of the CreateUpload operation
* returned by the service.
* @sample AWSDeviceFarmAsync.CreateUpload
*/
java.util.concurrent.Future createUploadAsync(
CreateUploadRequest createUploadRequest);
/**
*
* Uploads an app or test scripts.
*
*
* @param createUploadRequest
* Represents a request to the create upload operation.
* @param 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.
* @return A Java Future containing the result of the CreateUpload operation
* returned by the service.
* @sample AWSDeviceFarmAsyncHandler.CreateUpload
*/
java.util.concurrent.Future createUploadAsync(
CreateUploadRequest createUploadRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Deletes a device pool given the pool ARN. Does not allow deletion of
* curated pools owned by the system.
*
*
* @param deleteDevicePoolRequest
* Represents a request to the delete device pool operation.
* @return A Java Future containing the result of the DeleteDevicePool
* operation returned by the service.
* @sample AWSDeviceFarmAsync.DeleteDevicePool
*/
java.util.concurrent.Future deleteDevicePoolAsync(
DeleteDevicePoolRequest deleteDevicePoolRequest);
/**
*
* Deletes a device pool given the pool ARN. Does not allow deletion of
* curated pools owned by the system.
*
*
* @param deleteDevicePoolRequest
* Represents a request to the delete device pool operation.
* @param 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.
* @return A Java Future containing the result of the DeleteDevicePool
* operation returned by the service.
* @sample AWSDeviceFarmAsyncHandler.DeleteDevicePool
*/
java.util.concurrent.Future deleteDevicePoolAsync(
DeleteDevicePoolRequest deleteDevicePoolRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Deletes an AWS Device Farm project, given the project ARN.
*
*
* Note Deleting this resource does not stop an in-progress run.
*
*
* @param deleteProjectRequest
* Represents a request to the delete project operation.
* @return A Java Future containing the result of the DeleteProject
* operation returned by the service.
* @sample AWSDeviceFarmAsync.DeleteProject
*/
java.util.concurrent.Future deleteProjectAsync(
DeleteProjectRequest deleteProjectRequest);
/**
*
* Deletes an AWS Device Farm project, given the project ARN.
*
*
* Note Deleting this resource does not stop an in-progress run.
*
*
* @param deleteProjectRequest
* Represents a request to the delete project operation.
* @param 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.
* @return A Java Future containing the result of the DeleteProject
* operation returned by the service.
* @sample AWSDeviceFarmAsyncHandler.DeleteProject
*/
java.util.concurrent.Future deleteProjectAsync(
DeleteProjectRequest deleteProjectRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Deletes the run, given the run ARN.
*
*
* Note Deleting this resource does not stop an in-progress run.
*
*
* @param deleteRunRequest
* Represents a request to the delete run operation.
* @return A Java Future containing the result of the DeleteRun operation
* returned by the service.
* @sample AWSDeviceFarmAsync.DeleteRun
*/
java.util.concurrent.Future deleteRunAsync(
DeleteRunRequest deleteRunRequest);
/**
*
* Deletes the run, given the run ARN.
*
*
* Note Deleting this resource does not stop an in-progress run.
*
*
* @param deleteRunRequest
* Represents a request to the delete run operation.
* @param 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.
* @return A Java Future containing the result of the DeleteRun operation
* returned by the service.
* @sample AWSDeviceFarmAsyncHandler.DeleteRun
*/
java.util.concurrent.Future deleteRunAsync(
DeleteRunRequest deleteRunRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Deletes an upload given the upload ARN.
*
*
* @param deleteUploadRequest
* Represents a request to the delete upload operation.
* @return A Java Future containing the result of the DeleteUpload operation
* returned by the service.
* @sample AWSDeviceFarmAsync.DeleteUpload
*/
java.util.concurrent.Future deleteUploadAsync(
DeleteUploadRequest deleteUploadRequest);
/**
*
* Deletes an upload given the upload ARN.
*
*
* @param deleteUploadRequest
* Represents a request to the delete upload operation.
* @param 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.
* @return A Java Future containing the result of the DeleteUpload operation
* returned by the service.
* @sample AWSDeviceFarmAsyncHandler.DeleteUpload
*/
java.util.concurrent.Future deleteUploadAsync(
DeleteUploadRequest deleteUploadRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Returns the number of unmetered iOS and/or unmetered Android devices that
* have been purchased by the account.
*
*
* @param getAccountSettingsRequest
* Represents the request sent to retrieve the account settings.
* @return A Java Future containing the result of the GetAccountSettings
* operation returned by the service.
* @sample AWSDeviceFarmAsync.GetAccountSettings
*/
java.util.concurrent.Future getAccountSettingsAsync(
GetAccountSettingsRequest getAccountSettingsRequest);
/**
*
* Returns the number of unmetered iOS and/or unmetered Android devices that
* have been purchased by the account.
*
*
* @param getAccountSettingsRequest
* Represents the request sent to retrieve the account settings.
* @param 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.
* @return A Java Future containing the result of the GetAccountSettings
* operation returned by the service.
* @sample AWSDeviceFarmAsyncHandler.GetAccountSettings
*/
java.util.concurrent.Future getAccountSettingsAsync(
GetAccountSettingsRequest getAccountSettingsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Gets information about a unique device type.
*
*
* @param getDeviceRequest
* Represents a request to the get device request.
* @return A Java Future containing the result of the GetDevice operation
* returned by the service.
* @sample AWSDeviceFarmAsync.GetDevice
*/
java.util.concurrent.Future getDeviceAsync(
GetDeviceRequest getDeviceRequest);
/**
*
* Gets information about a unique device type.
*
*
* @param getDeviceRequest
* Represents a request to the get device request.
* @param 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.
* @return A Java Future containing the result of the GetDevice operation
* returned by the service.
* @sample AWSDeviceFarmAsyncHandler.GetDevice
*/
java.util.concurrent.Future getDeviceAsync(
GetDeviceRequest getDeviceRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Gets information about a device pool.
*
*
* @param getDevicePoolRequest
* Represents a request to the get device pool operation.
* @return A Java Future containing the result of the GetDevicePool
* operation returned by the service.
* @sample AWSDeviceFarmAsync.GetDevicePool
*/
java.util.concurrent.Future getDevicePoolAsync(
GetDevicePoolRequest getDevicePoolRequest);
/**
*
* Gets information about a device pool.
*
*
* @param getDevicePoolRequest
* Represents a request to the get device pool operation.
* @param 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.
* @return A Java Future containing the result of the GetDevicePool
* operation returned by the service.
* @sample AWSDeviceFarmAsyncHandler.GetDevicePool
*/
java.util.concurrent.Future getDevicePoolAsync(
GetDevicePoolRequest getDevicePoolRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Gets information about compatibility with a device pool.
*
*
* @param getDevicePoolCompatibilityRequest
* Represents a request to the get device pool compatibility
* operation.
* @return A Java Future containing the result of the
* GetDevicePoolCompatibility operation returned by the service.
* @sample AWSDeviceFarmAsync.GetDevicePoolCompatibility
*/
java.util.concurrent.Future getDevicePoolCompatibilityAsync(
GetDevicePoolCompatibilityRequest getDevicePoolCompatibilityRequest);
/**
*
* Gets information about compatibility with a device pool.
*
*
* @param getDevicePoolCompatibilityRequest
* Represents a request to the get device pool compatibility
* operation.
* @param 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.
* @return A Java Future containing the result of the
* GetDevicePoolCompatibility operation returned by the service.
* @sample AWSDeviceFarmAsyncHandler.GetDevicePoolCompatibility
*/
java.util.concurrent.Future getDevicePoolCompatibilityAsync(
GetDevicePoolCompatibilityRequest getDevicePoolCompatibilityRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Gets information about a job.
*
*
* @param getJobRequest
* Represents a request to the get job operation.
* @return A Java Future containing the result of the GetJob operation
* returned by the service.
* @sample AWSDeviceFarmAsync.GetJob
*/
java.util.concurrent.Future getJobAsync(
GetJobRequest getJobRequest);
/**
*
* Gets information about a job.
*
*
* @param getJobRequest
* Represents a request to the get job operation.
* @param 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.
* @return A Java Future containing the result of the GetJob operation
* returned by the service.
* @sample AWSDeviceFarmAsyncHandler.GetJob
*/
java.util.concurrent.Future getJobAsync(
GetJobRequest getJobRequest,
com.amazonaws.handlers.AsyncHandler 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 [email protected] if you believe that you should be
* able to invoke this operation.
*
*
* @param getOfferingStatusRequest
* Represents the request to retrieve the offering status for the
* specified customer or account.
* @return A Java Future containing the result of the GetOfferingStatus
* operation returned by the service.
* @sample AWSDeviceFarmAsync.GetOfferingStatus
*/
java.util.concurrent.Future 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 [email protected] if you believe that you should be
* able to invoke this operation.
*
*
* @param getOfferingStatusRequest
* Represents the request to retrieve the offering status for the
* specified customer or account.
* @param 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.
* @return A Java Future containing the result of the GetOfferingStatus
* operation returned by the service.
* @sample AWSDeviceFarmAsyncHandler.GetOfferingStatus
*/
java.util.concurrent.Future getOfferingStatusAsync(
GetOfferingStatusRequest getOfferingStatusRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Gets information about a project.
*
*
* @param getProjectRequest
* Represents a request to the get project operation.
* @return A Java Future containing the result of the GetProject operation
* returned by the service.
* @sample AWSDeviceFarmAsync.GetProject
*/
java.util.concurrent.Future getProjectAsync(
GetProjectRequest getProjectRequest);
/**
*
* Gets information about a project.
*
*
* @param getProjectRequest
* Represents a request to the get project operation.
* @param 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.
* @return A Java Future containing the result of the GetProject operation
* returned by the service.
* @sample AWSDeviceFarmAsyncHandler.GetProject
*/
java.util.concurrent.Future getProjectAsync(
GetProjectRequest getProjectRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Gets information about a run.
*
*
* @param getRunRequest
* Represents a request to the get run operation.
* @return A Java Future containing the result of the GetRun operation
* returned by the service.
* @sample AWSDeviceFarmAsync.GetRun
*/
java.util.concurrent.Future getRunAsync(
GetRunRequest getRunRequest);
/**
*
* Gets information about a run.
*
*
* @param getRunRequest
* Represents a request to the get run operation.
* @param 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.
* @return A Java Future containing the result of the GetRun operation
* returned by the service.
* @sample AWSDeviceFarmAsyncHandler.GetRun
*/
java.util.concurrent.Future getRunAsync(
GetRunRequest getRunRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Gets information about a suite.
*
*
* @param getSuiteRequest
* Represents a request to the get suite operation.
* @return A Java Future containing the result of the GetSuite operation
* returned by the service.
* @sample AWSDeviceFarmAsync.GetSuite
*/
java.util.concurrent.Future getSuiteAsync(
GetSuiteRequest getSuiteRequest);
/**
*
* Gets information about a suite.
*
*
* @param getSuiteRequest
* Represents a request to the get suite operation.
* @param 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.
* @return A Java Future containing the result of the GetSuite operation
* returned by the service.
* @sample AWSDeviceFarmAsyncHandler.GetSuite
*/
java.util.concurrent.Future getSuiteAsync(
GetSuiteRequest getSuiteRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Gets information about a test.
*
*
* @param getTestRequest
* Represents a request to the get test operation.
* @return A Java Future containing the result of the GetTest operation
* returned by the service.
* @sample AWSDeviceFarmAsync.GetTest
*/
java.util.concurrent.Future getTestAsync(
GetTestRequest getTestRequest);
/**
*
* Gets information about a test.
*
*
* @param getTestRequest
* Represents a request to the get test operation.
* @param 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.
* @return A Java Future containing the result of the GetTest operation
* returned by the service.
* @sample AWSDeviceFarmAsyncHandler.GetTest
*/
java.util.concurrent.Future getTestAsync(
GetTestRequest getTestRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Gets information about an upload.
*
*
* @param getUploadRequest
* Represents a request to the get upload operation.
* @return A Java Future containing the result of the GetUpload operation
* returned by the service.
* @sample AWSDeviceFarmAsync.GetUpload
*/
java.util.concurrent.Future getUploadAsync(
GetUploadRequest getUploadRequest);
/**
*
* Gets information about an upload.
*
*
* @param getUploadRequest
* Represents a request to the get upload operation.
* @param 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.
* @return A Java Future containing the result of the GetUpload operation
* returned by the service.
* @sample AWSDeviceFarmAsyncHandler.GetUpload
*/
java.util.concurrent.Future getUploadAsync(
GetUploadRequest getUploadRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Gets information about artifacts.
*
*
* @param listArtifactsRequest
* Represents a request to the list artifacts operation.
* @return A Java Future containing the result of the ListArtifacts
* operation returned by the service.
* @sample AWSDeviceFarmAsync.ListArtifacts
*/
java.util.concurrent.Future listArtifactsAsync(
ListArtifactsRequest listArtifactsRequest);
/**
*
* Gets information about artifacts.
*
*
* @param listArtifactsRequest
* Represents a request to the list artifacts operation.
* @param 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.
* @return A Java Future containing the result of the ListArtifacts
* operation returned by the service.
* @sample AWSDeviceFarmAsyncHandler.ListArtifacts
*/
java.util.concurrent.Future listArtifactsAsync(
ListArtifactsRequest listArtifactsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Gets information about device pools.
*
*
* @param listDevicePoolsRequest
* Represents the result of a list device pools request.
* @return A Java Future containing the result of the ListDevicePools
* operation returned by the service.
* @sample AWSDeviceFarmAsync.ListDevicePools
*/
java.util.concurrent.Future listDevicePoolsAsync(
ListDevicePoolsRequest listDevicePoolsRequest);
/**
*
* Gets information about device pools.
*
*
* @param listDevicePoolsRequest
* Represents the result of a list device pools request.
* @param 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.
* @return A Java Future containing the result of the ListDevicePools
* operation returned by the service.
* @sample AWSDeviceFarmAsyncHandler.ListDevicePools
*/
java.util.concurrent.Future listDevicePoolsAsync(
ListDevicePoolsRequest listDevicePoolsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Gets information about unique device types.
*
*
* @param listDevicesRequest
* Represents the result of a list devices request.
* @return A Java Future containing the result of the ListDevices operation
* returned by the service.
* @sample AWSDeviceFarmAsync.ListDevices
*/
java.util.concurrent.Future listDevicesAsync(
ListDevicesRequest listDevicesRequest);
/**
*
* Gets information about unique device types.
*
*
* @param listDevicesRequest
* Represents the result of a list devices request.
* @param 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.
* @return A Java Future containing the result of the ListDevices operation
* returned by the service.
* @sample AWSDeviceFarmAsyncHandler.ListDevices
*/
java.util.concurrent.Future listDevicesAsync(
ListDevicesRequest listDevicesRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Gets information about jobs.
*
*
* @param listJobsRequest
* Represents a request to the list jobs operation.
* @return A Java Future containing the result of the ListJobs operation
* returned by the service.
* @sample AWSDeviceFarmAsync.ListJobs
*/
java.util.concurrent.Future listJobsAsync(
ListJobsRequest listJobsRequest);
/**
*
* Gets information about jobs.
*
*
* @param listJobsRequest
* Represents a request to the list jobs operation.
* @param 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.
* @return A Java Future containing the result of the ListJobs operation
* returned by the service.
* @sample AWSDeviceFarmAsyncHandler.ListJobs
*/
java.util.concurrent.Future listJobsAsync(
ListJobsRequest listJobsRequest,
com.amazonaws.handlers.AsyncHandler 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 [email protected] if you believe that you should be
* able to invoke this operation.
*
*
* @param listOfferingTransactionsRequest
* Represents the request to list the offering transaction history.
* @return A Java Future containing the result of the
* ListOfferingTransactions operation returned by the service.
* @sample AWSDeviceFarmAsync.ListOfferingTransactions
*/
java.util.concurrent.Future 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 [email protected] if you believe that you should be
* able to invoke this operation.
*
*
* @param listOfferingTransactionsRequest
* Represents the request to list the offering transaction history.
* @param 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.
* @return A Java Future containing the result of the
* ListOfferingTransactions operation returned by the service.
* @sample AWSDeviceFarmAsyncHandler.ListOfferingTransactions
*/
java.util.concurrent.Future listOfferingTransactionsAsync(
ListOfferingTransactionsRequest listOfferingTransactionsRequest,
com.amazonaws.handlers.AsyncHandler 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 [email protected] if you believe that you should be
* able to invoke this operation.
*
*
* @param listOfferingsRequest
* Represents the request to list all offerings.
* @return A Java Future containing the result of the ListOfferings
* operation returned by the service.
* @sample AWSDeviceFarmAsync.ListOfferings
*/
java.util.concurrent.Future 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 [email protected] if you believe that you should be
* able to invoke this operation.
*
*
* @param listOfferingsRequest
* Represents the request to list all offerings.
* @param 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.
* @return A Java Future containing the result of the ListOfferings
* operation returned by the service.
* @sample AWSDeviceFarmAsyncHandler.ListOfferings
*/
java.util.concurrent.Future listOfferingsAsync(
ListOfferingsRequest listOfferingsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Gets information about projects.
*
*
* @param listProjectsRequest
* Represents a request to the list projects operation.
* @return A Java Future containing the result of the ListProjects operation
* returned by the service.
* @sample AWSDeviceFarmAsync.ListProjects
*/
java.util.concurrent.Future listProjectsAsync(
ListProjectsRequest listProjectsRequest);
/**
*
* Gets information about projects.
*
*
* @param listProjectsRequest
* Represents a request to the list projects operation.
* @param 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.
* @return A Java Future containing the result of the ListProjects operation
* returned by the service.
* @sample AWSDeviceFarmAsyncHandler.ListProjects
*/
java.util.concurrent.Future listProjectsAsync(
ListProjectsRequest listProjectsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Gets information about runs.
*
*
* @param listRunsRequest
* Represents a request to the list runs operation.
* @return A Java Future containing the result of the ListRuns operation
* returned by the service.
* @sample AWSDeviceFarmAsync.ListRuns
*/
java.util.concurrent.Future listRunsAsync(
ListRunsRequest listRunsRequest);
/**
*
* Gets information about runs.
*
*
* @param listRunsRequest
* Represents a request to the list runs operation.
* @param 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.
* @return A Java Future containing the result of the ListRuns operation
* returned by the service.
* @sample AWSDeviceFarmAsyncHandler.ListRuns
*/
java.util.concurrent.Future listRunsAsync(
ListRunsRequest listRunsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Gets information about samples.
*
*
* @param listSamplesRequest
* Represents a request to the list samples operation.
* @return A Java Future containing the result of the ListSamples operation
* returned by the service.
* @sample AWSDeviceFarmAsync.ListSamples
*/
java.util.concurrent.Future listSamplesAsync(
ListSamplesRequest listSamplesRequest);
/**
*
* Gets information about samples.
*
*
* @param listSamplesRequest
* Represents a request to the list samples operation.
* @param 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.
* @return A Java Future containing the result of the ListSamples operation
* returned by the service.
* @sample AWSDeviceFarmAsyncHandler.ListSamples
*/
java.util.concurrent.Future listSamplesAsync(
ListSamplesRequest listSamplesRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Gets information about suites.
*
*
* @param listSuitesRequest
* Represents a request to the list suites operation.
* @return A Java Future containing the result of the ListSuites operation
* returned by the service.
* @sample AWSDeviceFarmAsync.ListSuites
*/
java.util.concurrent.Future listSuitesAsync(
ListSuitesRequest listSuitesRequest);
/**
*
* Gets information about suites.
*
*
* @param listSuitesRequest
* Represents a request to the list suites operation.
* @param 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.
* @return A Java Future containing the result of the ListSuites operation
* returned by the service.
* @sample AWSDeviceFarmAsyncHandler.ListSuites
*/
java.util.concurrent.Future listSuitesAsync(
ListSuitesRequest listSuitesRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Gets information about tests.
*
*
* @param listTestsRequest
* Represents a request to the list tests operation.
* @return A Java Future containing the result of the ListTests operation
* returned by the service.
* @sample AWSDeviceFarmAsync.ListTests
*/
java.util.concurrent.Future listTestsAsync(
ListTestsRequest listTestsRequest);
/**
*
* Gets information about tests.
*
*
* @param listTestsRequest
* Represents a request to the list tests operation.
* @param 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.
* @return A Java Future containing the result of the ListTests operation
* returned by the service.
* @sample AWSDeviceFarmAsyncHandler.ListTests
*/
java.util.concurrent.Future listTestsAsync(
ListTestsRequest listTestsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Gets information about unique problems.
*
*
* @param listUniqueProblemsRequest
* Represents a request to the list unique problems operation.
* @return A Java Future containing the result of the ListUniqueProblems
* operation returned by the service.
* @sample AWSDeviceFarmAsync.ListUniqueProblems
*/
java.util.concurrent.Future listUniqueProblemsAsync(
ListUniqueProblemsRequest listUniqueProblemsRequest);
/**
*
* Gets information about unique problems.
*
*
* @param listUniqueProblemsRequest
* Represents a request to the list unique problems operation.
* @param 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.
* @return A Java Future containing the result of the ListUniqueProblems
* operation returned by the service.
* @sample AWSDeviceFarmAsyncHandler.ListUniqueProblems
*/
java.util.concurrent.Future listUniqueProblemsAsync(
ListUniqueProblemsRequest listUniqueProblemsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Gets information about uploads.
*
*
* @param listUploadsRequest
* Represents a request to the list uploads operation.
* @return A Java Future containing the result of the ListUploads operation
* returned by the service.
* @sample AWSDeviceFarmAsync.ListUploads
*/
java.util.concurrent.Future listUploadsAsync(
ListUploadsRequest listUploadsRequest);
/**
*
* Gets information about uploads.
*
*
* @param listUploadsRequest
* Represents a request to the list uploads operation.
* @param 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.
* @return A Java Future containing the result of the ListUploads operation
* returned by the service.
* @sample AWSDeviceFarmAsyncHandler.ListUploads
*/
java.util.concurrent.Future listUploadsAsync(
ListUploadsRequest listUploadsRequest,
com.amazonaws.handlers.AsyncHandler 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 [email protected] if you believe that you should be
* able to invoke this operation.
*
*
* @param purchaseOfferingRequest
* Represents a request for a purchase offering.
* @return A Java Future containing the result of the PurchaseOffering
* operation returned by the service.
* @sample AWSDeviceFarmAsync.PurchaseOffering
*/
java.util.concurrent.Future 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 [email protected] if you believe that you should be
* able to invoke this operation.
*
*
* @param purchaseOfferingRequest
* Represents a request for a purchase offering.
* @param 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.
* @return A Java Future containing the result of the PurchaseOffering
* operation returned by the service.
* @sample AWSDeviceFarmAsyncHandler.PurchaseOffering
*/
java.util.concurrent.Future purchaseOfferingAsync(
PurchaseOfferingRequest purchaseOfferingRequest,
com.amazonaws.handlers.AsyncHandler 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 [email protected] if you believe that you should be
* able to invoke this operation.
*
*
* @param renewOfferingRequest
* A request representing an offering renewal.
* @return A Java Future containing the result of the RenewOffering
* operation returned by the service.
* @sample AWSDeviceFarmAsync.RenewOffering
*/
java.util.concurrent.Future 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 [email protected] if you believe that you should be
* able to invoke this operation.
*
*
* @param renewOfferingRequest
* A request representing an offering renewal.
* @param 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.
* @return A Java Future containing the result of the RenewOffering
* operation returned by the service.
* @sample AWSDeviceFarmAsyncHandler.RenewOffering
*/
java.util.concurrent.Future renewOfferingAsync(
RenewOfferingRequest renewOfferingRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Schedules a run.
*
*
* @param scheduleRunRequest
* Represents a request to the schedule run operation.
* @return A Java Future containing the result of the ScheduleRun operation
* returned by the service.
* @sample AWSDeviceFarmAsync.ScheduleRun
*/
java.util.concurrent.Future scheduleRunAsync(
ScheduleRunRequest scheduleRunRequest);
/**
*
* Schedules a run.
*
*
* @param scheduleRunRequest
* Represents a request to the schedule run operation.
* @param 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.
* @return A Java Future containing the result of the ScheduleRun operation
* returned by the service.
* @sample AWSDeviceFarmAsyncHandler.ScheduleRun
*/
java.util.concurrent.Future scheduleRunAsync(
ScheduleRunRequest scheduleRunRequest,
com.amazonaws.handlers.AsyncHandler 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.
*
*
* @param stopRunRequest
* Represents the request to stop a specific run.
* @return A Java Future containing the result of the StopRun operation
* returned by the service.
* @sample AWSDeviceFarmAsync.StopRun
*/
java.util.concurrent.Future 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.
*
*
* @param stopRunRequest
* Represents the request to stop a specific run.
* @param 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.
* @return A Java Future containing the result of the StopRun operation
* returned by the service.
* @sample AWSDeviceFarmAsyncHandler.StopRun
*/
java.util.concurrent.Future stopRunAsync(
StopRunRequest stopRunRequest,
com.amazonaws.handlers.AsyncHandler 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).
*
*
* @param updateDevicePoolRequest
* Represents a request to the update device pool operation.
* @return A Java Future containing the result of the UpdateDevicePool
* operation returned by the service.
* @sample AWSDeviceFarmAsync.UpdateDevicePool
*/
java.util.concurrent.Future 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).
*
*
* @param updateDevicePoolRequest
* Represents a request to the update device pool operation.
* @param 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.
* @return A Java Future containing the result of the UpdateDevicePool
* operation returned by the service.
* @sample AWSDeviceFarmAsyncHandler.UpdateDevicePool
*/
java.util.concurrent.Future updateDevicePoolAsync(
UpdateDevicePoolRequest updateDevicePoolRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Modifies the specified project name, given the project ARN and a new
* name.
*
*
* @param updateProjectRequest
* Represents a request to the update project operation.
* @return A Java Future containing the result of the UpdateProject
* operation returned by the service.
* @sample AWSDeviceFarmAsync.UpdateProject
*/
java.util.concurrent.Future updateProjectAsync(
UpdateProjectRequest updateProjectRequest);
/**
*
* Modifies the specified project name, given the project ARN and a new
* name.
*
*
* @param updateProjectRequest
* Represents a request to the update project operation.
* @param 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.
* @return A Java Future containing the result of the UpdateProject
* operation returned by the service.
* @sample AWSDeviceFarmAsyncHandler.UpdateProject
*/
java.util.concurrent.Future updateProjectAsync(
UpdateProjectRequest updateProjectRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
}