Class AWSDeviceFarmAsyncClient
- All Implemented Interfaces:
AWSDeviceFarm, AWSDeviceFarmAsync
AsyncHandler can be used to
receive notification when an asynchronous operation completes.
AWS Device Farm is a service that enables mobile app developers to test Android, iOS, and Fire OS apps on physical phones, tablets, and other devices in the cloud.
-
Field Summary
Fields inherited from class AWSDeviceFarmClient
configFactoryFields inherited from class AmazonWebServiceClient
client, clientConfiguration, endpoint, LOGGING_AWS_REQUEST_METRIC, requestHandler2s, timeOffset -
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new asynchronous client to invoke service methods on AWS Device Farm.AWSDeviceFarmAsyncClient(AWSCredentials awsCredentials) Constructs a new asynchronous client to invoke service methods on AWS Device Farm using the specified AWS account credentials.AWSDeviceFarmAsyncClient(AWSCredentialsProvider awsCredentialsProvider) Constructs a new asynchronous client to invoke service methods on AWS Device Farm using the specified AWS account credentials provider.AWSDeviceFarmAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration) Constructs a new asynchronous client to invoke service methods on AWS Device Farm using the provided AWS account credentials provider and client configuration options.AWSDeviceFarmAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration, ExecutorService executorService) Constructs a new asynchronous client to invoke service methods on AWS Device Farm using the specified AWS account credentials provider, executor service, and client configuration options.AWSDeviceFarmAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ExecutorService executorService) Constructs a new asynchronous client to invoke service methods on AWS Device Farm using the specified AWS account credentials provider and executor service.AWSDeviceFarmAsyncClient(AWSCredentials awsCredentials, ClientConfiguration clientConfiguration, ExecutorService executorService) Constructs a new asynchronous client to invoke service methods on AWS Device Farm using the specified AWS account credentials, executor service, and client configuration options.AWSDeviceFarmAsyncClient(AWSCredentials awsCredentials, ExecutorService executorService) Constructs a new asynchronous client to invoke service methods on AWS Device Farm using the specified AWS account credentials and executor service.AWSDeviceFarmAsyncClient(ClientConfiguration clientConfiguration) Constructs a new asynchronous client to invoke service methods on AWS Device Farm. -
Method Summary
Modifier and TypeMethodDescriptionCreates a device pool.createDevicePoolAsync(CreateDevicePoolRequest request, AsyncHandler<CreateDevicePoolRequest, CreateDevicePoolResult> asyncHandler) Creates a device pool.createProjectAsync(CreateProjectRequest request) Creates a new project.createProjectAsync(CreateProjectRequest request, AsyncHandler<CreateProjectRequest, CreateProjectResult> asyncHandler) Creates a new project.createUploadAsync(CreateUploadRequest request) Uploads an app or test scripts.createUploadAsync(CreateUploadRequest request, AsyncHandler<CreateUploadRequest, CreateUploadResult> asyncHandler) Uploads an app or test scripts.Deletes a device pool given the pool ARN.deleteDevicePoolAsync(DeleteDevicePoolRequest request, AsyncHandler<DeleteDevicePoolRequest, DeleteDevicePoolResult> asyncHandler) Deletes a device pool given the pool ARN.deleteProjectAsync(DeleteProjectRequest request) Deletes an AWS Device Farm project, given the project ARN.deleteProjectAsync(DeleteProjectRequest request, AsyncHandler<DeleteProjectRequest, DeleteProjectResult> asyncHandler) Deletes an AWS Device Farm project, given the project ARN.deleteRunAsync(DeleteRunRequest request) Deletes the run, given the run ARN.deleteRunAsync(DeleteRunRequest request, AsyncHandler<DeleteRunRequest, DeleteRunResult> asyncHandler) Deletes the run, given the run ARN.deleteUploadAsync(DeleteUploadRequest request) Deletes an upload given the upload ARN.deleteUploadAsync(DeleteUploadRequest request, AsyncHandler<DeleteUploadRequest, DeleteUploadResult> asyncHandler) Deletes an upload given the upload ARN.Returns the number of unmetered iOS and/or unmetered Android devices that have been purchased by the account.getAccountSettingsAsync(GetAccountSettingsRequest request, AsyncHandler<GetAccountSettingsRequest, GetAccountSettingsResult> asyncHandler) Returns the number of unmetered iOS and/or unmetered Android devices that have been purchased by the account.getDeviceAsync(GetDeviceRequest request) Gets information about a unique device type.getDeviceAsync(GetDeviceRequest request, AsyncHandler<GetDeviceRequest, GetDeviceResult> asyncHandler) Gets information about a unique device type.getDevicePoolAsync(GetDevicePoolRequest request) Gets information about a device pool.getDevicePoolAsync(GetDevicePoolRequest request, AsyncHandler<GetDevicePoolRequest, GetDevicePoolResult> asyncHandler) Gets information about a device pool.Gets information about compatibility with a device pool.getDevicePoolCompatibilityAsync(GetDevicePoolCompatibilityRequest request, AsyncHandler<GetDevicePoolCompatibilityRequest, GetDevicePoolCompatibilityResult> asyncHandler) Gets information about compatibility with a device pool.Returns the executor service used by this client to execute async requests.getJobAsync(GetJobRequest request) Gets information about a job.getJobAsync(GetJobRequest request, AsyncHandler<GetJobRequest, GetJobResult> asyncHandler) Gets information about a job.Gets the current status and future status of all offerings purchased by an AWS account.getOfferingStatusAsync(GetOfferingStatusRequest request, AsyncHandler<GetOfferingStatusRequest, GetOfferingStatusResult> asyncHandler) Gets the current status and future status of all offerings purchased by an AWS account.getProjectAsync(GetProjectRequest request) Gets information about a project.getProjectAsync(GetProjectRequest request, AsyncHandler<GetProjectRequest, GetProjectResult> asyncHandler) Gets information about a project.getRunAsync(GetRunRequest request) Gets information about a run.getRunAsync(GetRunRequest request, AsyncHandler<GetRunRequest, GetRunResult> asyncHandler) Gets information about a run.getSuiteAsync(GetSuiteRequest request) Gets information about a suite.getSuiteAsync(GetSuiteRequest request, AsyncHandler<GetSuiteRequest, GetSuiteResult> asyncHandler) Gets information about a suite.getTestAsync(GetTestRequest request) Gets information about a test.getTestAsync(GetTestRequest request, AsyncHandler<GetTestRequest, GetTestResult> asyncHandler) Gets information about a test.getUploadAsync(GetUploadRequest request) Gets information about an upload.getUploadAsync(GetUploadRequest request, AsyncHandler<GetUploadRequest, GetUploadResult> asyncHandler) Gets information about an upload.listArtifactsAsync(ListArtifactsRequest request) Gets information about artifacts.listArtifactsAsync(ListArtifactsRequest request, AsyncHandler<ListArtifactsRequest, ListArtifactsResult> asyncHandler) Gets information about artifacts.Gets information about device pools.listDevicePoolsAsync(ListDevicePoolsRequest request, AsyncHandler<ListDevicePoolsRequest, ListDevicePoolsResult> asyncHandler) Gets information about device pools.listDevicesAsync(ListDevicesRequest request) Gets information about unique device types.listDevicesAsync(ListDevicesRequest request, AsyncHandler<ListDevicesRequest, ListDevicesResult> asyncHandler) Gets information about unique device types.listJobsAsync(ListJobsRequest request) Gets information about jobs.listJobsAsync(ListJobsRequest request, AsyncHandler<ListJobsRequest, ListJobsResult> asyncHandler) Gets information about jobs.listOfferingsAsync(ListOfferingsRequest request) Returns a list of products or offerings that the user can manage through the API.listOfferingsAsync(ListOfferingsRequest request, AsyncHandler<ListOfferingsRequest, ListOfferingsResult> asyncHandler) Returns a list of products or offerings that the user can manage through the API.Returns a list of all historical purchases, renewals, and system renewal transactions for an AWS account.listOfferingTransactionsAsync(ListOfferingTransactionsRequest request, AsyncHandler<ListOfferingTransactionsRequest, ListOfferingTransactionsResult> asyncHandler) Returns a list of all historical purchases, renewals, and system renewal transactions for an AWS account.listProjectsAsync(ListProjectsRequest request) Gets information about projects.listProjectsAsync(ListProjectsRequest request, AsyncHandler<ListProjectsRequest, ListProjectsResult> asyncHandler) Gets information about projects.listRunsAsync(ListRunsRequest request) Gets information about runs.listRunsAsync(ListRunsRequest request, AsyncHandler<ListRunsRequest, ListRunsResult> asyncHandler) Gets information about runs.listSamplesAsync(ListSamplesRequest request) Gets information about samples.listSamplesAsync(ListSamplesRequest request, AsyncHandler<ListSamplesRequest, ListSamplesResult> asyncHandler) Gets information about samples.listSuitesAsync(ListSuitesRequest request) Gets information about suites.listSuitesAsync(ListSuitesRequest request, AsyncHandler<ListSuitesRequest, ListSuitesResult> asyncHandler) Gets information about suites.listTestsAsync(ListTestsRequest request) Gets information about tests.listTestsAsync(ListTestsRequest request, AsyncHandler<ListTestsRequest, ListTestsResult> asyncHandler) Gets information about tests.Gets information about unique problems.listUniqueProblemsAsync(ListUniqueProblemsRequest request, AsyncHandler<ListUniqueProblemsRequest, ListUniqueProblemsResult> asyncHandler) Gets information about unique problems.listUploadsAsync(ListUploadsRequest request) Gets information about uploads.listUploadsAsync(ListUploadsRequest request, AsyncHandler<ListUploadsRequest, ListUploadsResult> asyncHandler) Gets information about uploads.Immediately purchases offerings for an AWS account.purchaseOfferingAsync(PurchaseOfferingRequest request, AsyncHandler<PurchaseOfferingRequest, PurchaseOfferingResult> asyncHandler) Immediately purchases offerings for an AWS account.renewOfferingAsync(RenewOfferingRequest request) Explicitly sets the quantity of devices to renew for an offering, starting from theeffectiveDateof the next period.renewOfferingAsync(RenewOfferingRequest request, AsyncHandler<RenewOfferingRequest, RenewOfferingResult> asyncHandler) Explicitly sets the quantity of devices to renew for an offering, starting from theeffectiveDateof the next period.scheduleRunAsync(ScheduleRunRequest request) Schedules a run.scheduleRunAsync(ScheduleRunRequest request, AsyncHandler<ScheduleRunRequest, ScheduleRunResult> asyncHandler) Schedules a run.voidshutdown()Shuts down the client, releasing all managed resources.stopRunAsync(StopRunRequest request) Initiates a stop request for the current test run.stopRunAsync(StopRunRequest request, AsyncHandler<StopRunRequest, StopRunResult> asyncHandler) Initiates a stop request for the current test run.Modifies the name, description, and rules in a device pool given the attributes and the pool ARN.updateDevicePoolAsync(UpdateDevicePoolRequest request, AsyncHandler<UpdateDevicePoolRequest, UpdateDevicePoolResult> asyncHandler) Modifies the name, description, and rules in a device pool given the attributes and the pool ARN.updateProjectAsync(UpdateProjectRequest request) Modifies the specified project name, given the project ARN and a new name.updateProjectAsync(UpdateProjectRequest request, AsyncHandler<UpdateProjectRequest, UpdateProjectResult> asyncHandler) Modifies the specified project name, given the project ARN and a new name.Methods inherited from class AWSDeviceFarmClient
createDevicePool, createProject, createUpload, deleteDevicePool, deleteProject, deleteRun, deleteUpload, getAccountSettings, getCachedResponseMetadata, getDevice, getDevicePool, getDevicePoolCompatibility, getJob, getOfferingStatus, getProject, getRun, getSuite, getTest, getUpload, listArtifacts, listDevicePools, listDevices, listJobs, listOfferings, listOfferingTransactions, listProjects, listRuns, listSamples, listSuites, listTests, listUniqueProblems, listUploads, purchaseOffering, renewOffering, scheduleRun, stopRun, updateDevicePool, updateProjectMethods inherited from class AmazonWebServiceClient
addRequestHandler, addRequestHandler, beforeMarshalling, configureRegion, createExecutionContext, createExecutionContext, createExecutionContext, endClientExecution, endClientExecution, findRequestMetricCollector, getEndpointPrefix, getRequestMetricsCollector, getServiceAbbreviation, getServiceName, getServiceNameIntern, getSigner, getSignerByURI, getSignerRegionOverride, getTimeOffset, isProfilingEnabled, isRequestMetricsEnabled, removeRequestHandler, removeRequestHandler, requestMetricCollector, setEndpoint, setEndpointPrefix, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffsetMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface AWSDeviceFarm
createDevicePool, createProject, createUpload, deleteDevicePool, deleteProject, deleteRun, deleteUpload, getAccountSettings, getCachedResponseMetadata, getDevice, getDevicePool, getDevicePoolCompatibility, getJob, getOfferingStatus, getProject, getRun, getSuite, getTest, getUpload, listArtifacts, listDevicePools, listDevices, listJobs, listOfferings, listOfferingTransactions, listProjects, listRuns, listSamples, listSuites, listTests, listUniqueProblems, listUploads, purchaseOffering, renewOffering, scheduleRun, setEndpoint, setRegion, stopRun, updateDevicePool, updateProject
-
Constructor Details
-
AWSDeviceFarmAsyncClient
public AWSDeviceFarmAsyncClient()Constructs a new asynchronous client to invoke service methods on AWS Device Farm. A credentials provider chain will be used that searches for credentials in this order:- Environment Variables - AWS_ACCESS_KEY_ID and AWS_SECRET_KEY
- Java System Properties - aws.accessKeyId and aws.secretKey
- Credential profiles file at the default location (~/.aws/credentials) shared by all AWS SDKs and the AWS CLI
- Instance profile credentials delivered through the Amazon EC2 metadata service
Asynchronous methods are delegated to a fixed-size thread pool containing 50 threads (to match the default maximum number of concurrent connections to the service).
- See Also:
-
AWSDeviceFarmAsyncClient
Constructs a new asynchronous client to invoke service methods on AWS Device Farm. A credentials provider chain will be used that searches for credentials in this order:- Environment Variables - AWS_ACCESS_KEY_ID and AWS_SECRET_KEY
- Java System Properties - aws.accessKeyId and aws.secretKey
- Credential profiles file at the default location (~/.aws/credentials) shared by all AWS SDKs and the AWS CLI
- Instance profile credentials delivered through the Amazon EC2 metadata service
Asynchronous methods are delegated to a fixed-size thread pool containing a number of threads equal to the maximum number of concurrent connections configured via
ClientConfiguration.getMaxConnections().- Parameters:
clientConfiguration- The client configuration options controlling how this client connects to AWS Device Farm (ex: proxy settings, retry counts, etc).- See Also:
-
AWSDeviceFarmAsyncClient
Constructs a new asynchronous client to invoke service methods on AWS Device Farm using the specified AWS account credentials.Asynchronous methods are delegated to a fixed-size thread pool containing 50 threads (to match the default maximum number of concurrent connections to the service).
- Parameters:
awsCredentials- The AWS credentials (access key ID and secret key) to use when authenticating with AWS services.- See Also:
-
AWSDeviceFarmAsyncClient
Constructs a new asynchronous client to invoke service methods on AWS Device Farm using the specified AWS account credentials and executor service. Default client settings will be used.- Parameters:
awsCredentials- The AWS credentials (access key ID and secret key) to use when authenticating with AWS services.executorService- The executor service by which all asynchronous requests will be executed.
-
AWSDeviceFarmAsyncClient
public AWSDeviceFarmAsyncClient(AWSCredentials awsCredentials, ClientConfiguration clientConfiguration, ExecutorService executorService) Constructs a new asynchronous client to invoke service methods on AWS Device Farm using the specified AWS account credentials, executor service, and client configuration options.- Parameters:
awsCredentials- The AWS credentials (access key ID and secret key) to use when authenticating with AWS services.clientConfiguration- Client configuration options (ex: max retry limit, proxy settings, etc).executorService- The executor service by which all asynchronous requests will be executed.
-
AWSDeviceFarmAsyncClient
Constructs a new asynchronous client to invoke service methods on AWS Device Farm using the specified AWS account credentials provider. Default client settings will be used.Asynchronous methods are delegated to a fixed-size thread pool containing 50 threads (to match the default maximum number of concurrent connections to the service).
- Parameters:
awsCredentialsProvider- The AWS credentials provider which will provide credentials to authenticate requests with AWS services.- See Also:
-
AWSDeviceFarmAsyncClient
public AWSDeviceFarmAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration) Constructs a new asynchronous client to invoke service methods on AWS Device Farm using the provided AWS account credentials provider and client configuration options.Asynchronous methods are delegated to a fixed-size thread pool containing a number of threads equal to the maximum number of concurrent connections configured via
ClientConfiguration.getMaxConnections().- Parameters:
awsCredentialsProvider- The AWS credentials provider which will provide credentials to authenticate requests with AWS services.clientConfiguration- Client configuration options (ex: max retry limit, proxy settings, etc).- See Also:
-
AWSDeviceFarmAsyncClient
public AWSDeviceFarmAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ExecutorService executorService) Constructs a new asynchronous client to invoke service methods on AWS Device Farm using the specified AWS account credentials provider and executor service. Default client settings will be used.- Parameters:
awsCredentialsProvider- The AWS credentials provider which will provide credentials to authenticate requests with AWS services.executorService- The executor service by which all asynchronous requests will be executed.
-
AWSDeviceFarmAsyncClient
public AWSDeviceFarmAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration, ExecutorService executorService) Constructs a new asynchronous client to invoke service methods on AWS Device Farm using the specified AWS account credentials provider, executor service, and client configuration options.- Parameters:
awsCredentialsProvider- The AWS credentials provider which will provide credentials to authenticate requests with AWS services.clientConfiguration- Client configuration options (ex: max retry limit, proxy settings, etc).executorService- The executor service by which all asynchronous requests will be executed.
-
-
Method Details
-
getExecutorService
Returns the executor service used by this client to execute async requests.- Returns:
- The executor service used by this client to execute async requests.
-
createDevicePoolAsync
Description copied from interface:AWSDeviceFarmAsyncCreates a device pool.
- Specified by:
createDevicePoolAsyncin interfaceAWSDeviceFarmAsync- Parameters:
request- Represents a request to the create device pool operation.- Returns:
- A Java Future containing the result of the CreateDevicePool operation returned by the service.
-
createDevicePoolAsync
public Future<CreateDevicePoolResult> createDevicePoolAsync(CreateDevicePoolRequest request, AsyncHandler<CreateDevicePoolRequest, CreateDevicePoolResult> asyncHandler) Description copied from interface:AWSDeviceFarmAsyncCreates a device pool.
- Specified by:
createDevicePoolAsyncin interfaceAWSDeviceFarmAsync- Parameters:
request- Represents a request to the create device pool operation.asyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the CreateDevicePool operation returned by the service.
-
createProjectAsync
Description copied from interface:AWSDeviceFarmAsyncCreates a new project.
- Specified by:
createProjectAsyncin interfaceAWSDeviceFarmAsync- Parameters:
request- Represents a request to the create project operation.- Returns:
- A Java Future containing the result of the CreateProject operation returned by the service.
-
createProjectAsync
public Future<CreateProjectResult> createProjectAsync(CreateProjectRequest request, AsyncHandler<CreateProjectRequest, CreateProjectResult> asyncHandler) Description copied from interface:AWSDeviceFarmAsyncCreates a new project.
- Specified by:
createProjectAsyncin interfaceAWSDeviceFarmAsync- Parameters:
request- Represents a request to the create project operation.asyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the CreateProject operation returned by the service.
-
createUploadAsync
Description copied from interface:AWSDeviceFarmAsyncUploads an app or test scripts.
- Specified by:
createUploadAsyncin interfaceAWSDeviceFarmAsync- Parameters:
request- Represents a request to the create upload operation.- Returns:
- A Java Future containing the result of the CreateUpload operation returned by the service.
-
createUploadAsync
public Future<CreateUploadResult> createUploadAsync(CreateUploadRequest request, AsyncHandler<CreateUploadRequest, CreateUploadResult> asyncHandler) Description copied from interface:AWSDeviceFarmAsyncUploads an app or test scripts.
- Specified by:
createUploadAsyncin interfaceAWSDeviceFarmAsync- Parameters:
request- Represents a request to the create upload operation.asyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the CreateUpload operation returned by the service.
-
deleteDevicePoolAsync
Description copied from interface:AWSDeviceFarmAsyncDeletes a device pool given the pool ARN. Does not allow deletion of curated pools owned by the system.
- Specified by:
deleteDevicePoolAsyncin interfaceAWSDeviceFarmAsync- Parameters:
request- Represents a request to the delete device pool operation.- Returns:
- A Java Future containing the result of the DeleteDevicePool operation returned by the service.
-
deleteDevicePoolAsync
public Future<DeleteDevicePoolResult> deleteDevicePoolAsync(DeleteDevicePoolRequest request, AsyncHandler<DeleteDevicePoolRequest, DeleteDevicePoolResult> asyncHandler) Description copied from interface:AWSDeviceFarmAsyncDeletes a device pool given the pool ARN. Does not allow deletion of curated pools owned by the system.
- Specified by:
deleteDevicePoolAsyncin interfaceAWSDeviceFarmAsync- Parameters:
request- Represents a request to the delete device pool operation.asyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the DeleteDevicePool operation returned by the service.
-
deleteProjectAsync
Description copied from interface:AWSDeviceFarmAsyncDeletes an AWS Device Farm project, given the project ARN.
Note Deleting this resource does not stop an in-progress run.
- Specified by:
deleteProjectAsyncin interfaceAWSDeviceFarmAsync- Parameters:
request- Represents a request to the delete project operation.- Returns:
- A Java Future containing the result of the DeleteProject operation returned by the service.
-
deleteProjectAsync
public Future<DeleteProjectResult> deleteProjectAsync(DeleteProjectRequest request, AsyncHandler<DeleteProjectRequest, DeleteProjectResult> asyncHandler) Description copied from interface:AWSDeviceFarmAsyncDeletes an AWS Device Farm project, given the project ARN.
Note Deleting this resource does not stop an in-progress run.
- Specified by:
deleteProjectAsyncin interfaceAWSDeviceFarmAsync- Parameters:
request- Represents a request to the delete project operation.asyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the DeleteProject operation returned by the service.
-
deleteRunAsync
Description copied from interface:AWSDeviceFarmAsyncDeletes the run, given the run ARN.
Note Deleting this resource does not stop an in-progress run.
- Specified by:
deleteRunAsyncin interfaceAWSDeviceFarmAsync- Parameters:
request- Represents a request to the delete run operation.- Returns:
- A Java Future containing the result of the DeleteRun operation returned by the service.
-
deleteRunAsync
public Future<DeleteRunResult> deleteRunAsync(DeleteRunRequest request, AsyncHandler<DeleteRunRequest, DeleteRunResult> asyncHandler) Description copied from interface:AWSDeviceFarmAsyncDeletes the run, given the run ARN.
Note Deleting this resource does not stop an in-progress run.
- Specified by:
deleteRunAsyncin interfaceAWSDeviceFarmAsync- Parameters:
request- Represents a request to the delete run operation.asyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the DeleteRun operation returned by the service.
-
deleteUploadAsync
Description copied from interface:AWSDeviceFarmAsyncDeletes an upload given the upload ARN.
- Specified by:
deleteUploadAsyncin interfaceAWSDeviceFarmAsync- Parameters:
request- Represents a request to the delete upload operation.- Returns:
- A Java Future containing the result of the DeleteUpload operation returned by the service.
-
deleteUploadAsync
public Future<DeleteUploadResult> deleteUploadAsync(DeleteUploadRequest request, AsyncHandler<DeleteUploadRequest, DeleteUploadResult> asyncHandler) Description copied from interface:AWSDeviceFarmAsyncDeletes an upload given the upload ARN.
- Specified by:
deleteUploadAsyncin interfaceAWSDeviceFarmAsync- Parameters:
request- Represents a request to the delete upload operation.asyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the DeleteUpload operation returned by the service.
-
getAccountSettingsAsync
Description copied from interface:AWSDeviceFarmAsyncReturns the number of unmetered iOS and/or unmetered Android devices that have been purchased by the account.
- Specified by:
getAccountSettingsAsyncin interfaceAWSDeviceFarmAsync- Parameters:
request- Represents the request sent to retrieve the account settings.- Returns:
- A Java Future containing the result of the GetAccountSettings operation returned by the service.
-
getAccountSettingsAsync
public Future<GetAccountSettingsResult> getAccountSettingsAsync(GetAccountSettingsRequest request, AsyncHandler<GetAccountSettingsRequest, GetAccountSettingsResult> asyncHandler) Description copied from interface:AWSDeviceFarmAsyncReturns the number of unmetered iOS and/or unmetered Android devices that have been purchased by the account.
- Specified by:
getAccountSettingsAsyncin interfaceAWSDeviceFarmAsync- Parameters:
request- Represents the request sent to retrieve the account settings.asyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the GetAccountSettings operation returned by the service.
-
getDeviceAsync
Description copied from interface:AWSDeviceFarmAsyncGets information about a unique device type.
- Specified by:
getDeviceAsyncin interfaceAWSDeviceFarmAsync- Parameters:
request- Represents a request to the get device request.- Returns:
- A Java Future containing the result of the GetDevice operation returned by the service.
-
getDeviceAsync
public Future<GetDeviceResult> getDeviceAsync(GetDeviceRequest request, AsyncHandler<GetDeviceRequest, GetDeviceResult> asyncHandler) Description copied from interface:AWSDeviceFarmAsyncGets information about a unique device type.
- Specified by:
getDeviceAsyncin interfaceAWSDeviceFarmAsync- Parameters:
request- Represents a request to the get device request.asyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the GetDevice operation returned by the service.
-
getDevicePoolAsync
Description copied from interface:AWSDeviceFarmAsyncGets information about a device pool.
- Specified by:
getDevicePoolAsyncin interfaceAWSDeviceFarmAsync- Parameters:
request- Represents a request to the get device pool operation.- Returns:
- A Java Future containing the result of the GetDevicePool operation returned by the service.
-
getDevicePoolAsync
public Future<GetDevicePoolResult> getDevicePoolAsync(GetDevicePoolRequest request, AsyncHandler<GetDevicePoolRequest, GetDevicePoolResult> asyncHandler) Description copied from interface:AWSDeviceFarmAsyncGets information about a device pool.
- Specified by:
getDevicePoolAsyncin interfaceAWSDeviceFarmAsync- Parameters:
request- Represents a request to the get device pool operation.asyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the GetDevicePool operation returned by the service.
-
getDevicePoolCompatibilityAsync
public Future<GetDevicePoolCompatibilityResult> getDevicePoolCompatibilityAsync(GetDevicePoolCompatibilityRequest request) Description copied from interface:AWSDeviceFarmAsyncGets information about compatibility with a device pool.
- Specified by:
getDevicePoolCompatibilityAsyncin interfaceAWSDeviceFarmAsync- Parameters:
request- Represents a request to the get device pool compatibility operation.- Returns:
- A Java Future containing the result of the GetDevicePoolCompatibility operation returned by the service.
-
getDevicePoolCompatibilityAsync
public Future<GetDevicePoolCompatibilityResult> getDevicePoolCompatibilityAsync(GetDevicePoolCompatibilityRequest request, AsyncHandler<GetDevicePoolCompatibilityRequest, GetDevicePoolCompatibilityResult> asyncHandler) Description copied from interface:AWSDeviceFarmAsyncGets information about compatibility with a device pool.
- Specified by:
getDevicePoolCompatibilityAsyncin interfaceAWSDeviceFarmAsync- Parameters:
request- Represents a request to the get device pool compatibility operation.asyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the GetDevicePoolCompatibility operation returned by the service.
-
getJobAsync
Description copied from interface:AWSDeviceFarmAsyncGets information about a job.
- Specified by:
getJobAsyncin interfaceAWSDeviceFarmAsync- Parameters:
request- Represents a request to the get job operation.- Returns:
- A Java Future containing the result of the GetJob operation returned by the service.
-
getJobAsync
public Future<GetJobResult> getJobAsync(GetJobRequest request, AsyncHandler<GetJobRequest, GetJobResult> asyncHandler) Description copied from interface:AWSDeviceFarmAsyncGets information about a job.
- Specified by:
getJobAsyncin interfaceAWSDeviceFarmAsync- Parameters:
request- Represents a request to the get job operation.asyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the GetJob operation returned by the service.
-
getOfferingStatusAsync
Description copied from interface:AWSDeviceFarmAsyncGets 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
NotEligibleerror if the user is not permitted to invoke the operation. Please contact aws-devicefarm-support@amazon.com if you believe that you should be able to invoke this operation.- Specified by:
getOfferingStatusAsyncin interfaceAWSDeviceFarmAsync- Parameters:
request- Represents the request to retrieve the offering status for the specified customer or account.- Returns:
- A Java Future containing the result of the GetOfferingStatus operation returned by the service.
-
getOfferingStatusAsync
public Future<GetOfferingStatusResult> getOfferingStatusAsync(GetOfferingStatusRequest request, AsyncHandler<GetOfferingStatusRequest, GetOfferingStatusResult> asyncHandler) Description copied from interface:AWSDeviceFarmAsyncGets 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
NotEligibleerror if the user is not permitted to invoke the operation. Please contact aws-devicefarm-support@amazon.com if you believe that you should be able to invoke this operation.- Specified by:
getOfferingStatusAsyncin interfaceAWSDeviceFarmAsync- Parameters:
request- Represents the request to retrieve the offering status for the specified customer or account.asyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the GetOfferingStatus operation returned by the service.
-
getProjectAsync
Description copied from interface:AWSDeviceFarmAsyncGets information about a project.
- Specified by:
getProjectAsyncin interfaceAWSDeviceFarmAsync- Parameters:
request- Represents a request to the get project operation.- Returns:
- A Java Future containing the result of the GetProject operation returned by the service.
-
getProjectAsync
public Future<GetProjectResult> getProjectAsync(GetProjectRequest request, AsyncHandler<GetProjectRequest, GetProjectResult> asyncHandler) Description copied from interface:AWSDeviceFarmAsyncGets information about a project.
- Specified by:
getProjectAsyncin interfaceAWSDeviceFarmAsync- Parameters:
request- Represents a request to the get project operation.asyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the GetProject operation returned by the service.
-
getRunAsync
Description copied from interface:AWSDeviceFarmAsyncGets information about a run.
- Specified by:
getRunAsyncin interfaceAWSDeviceFarmAsync- Parameters:
request- Represents a request to the get run operation.- Returns:
- A Java Future containing the result of the GetRun operation returned by the service.
-
getRunAsync
public Future<GetRunResult> getRunAsync(GetRunRequest request, AsyncHandler<GetRunRequest, GetRunResult> asyncHandler) Description copied from interface:AWSDeviceFarmAsyncGets information about a run.
- Specified by:
getRunAsyncin interfaceAWSDeviceFarmAsync- Parameters:
request- Represents a request to the get run operation.asyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the GetRun operation returned by the service.
-
getSuiteAsync
Description copied from interface:AWSDeviceFarmAsyncGets information about a suite.
- Specified by:
getSuiteAsyncin interfaceAWSDeviceFarmAsync- Parameters:
request- Represents a request to the get suite operation.- Returns:
- A Java Future containing the result of the GetSuite operation returned by the service.
-
getSuiteAsync
public Future<GetSuiteResult> getSuiteAsync(GetSuiteRequest request, AsyncHandler<GetSuiteRequest, GetSuiteResult> asyncHandler) Description copied from interface:AWSDeviceFarmAsyncGets information about a suite.
- Specified by:
getSuiteAsyncin interfaceAWSDeviceFarmAsync- Parameters:
request- Represents a request to the get suite operation.asyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the GetSuite operation returned by the service.
-
getTestAsync
Description copied from interface:AWSDeviceFarmAsyncGets information about a test.
- Specified by:
getTestAsyncin interfaceAWSDeviceFarmAsync- Parameters:
request- Represents a request to the get test operation.- Returns:
- A Java Future containing the result of the GetTest operation returned by the service.
-
getTestAsync
public Future<GetTestResult> getTestAsync(GetTestRequest request, AsyncHandler<GetTestRequest, GetTestResult> asyncHandler) Description copied from interface:AWSDeviceFarmAsyncGets information about a test.
- Specified by:
getTestAsyncin interfaceAWSDeviceFarmAsync- Parameters:
request- Represents a request to the get test operation.asyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the GetTest operation returned by the service.
-
getUploadAsync
Description copied from interface:AWSDeviceFarmAsyncGets information about an upload.
- Specified by:
getUploadAsyncin interfaceAWSDeviceFarmAsync- Parameters:
request- Represents a request to the get upload operation.- Returns:
- A Java Future containing the result of the GetUpload operation returned by the service.
-
getUploadAsync
public Future<GetUploadResult> getUploadAsync(GetUploadRequest request, AsyncHandler<GetUploadRequest, GetUploadResult> asyncHandler) Description copied from interface:AWSDeviceFarmAsyncGets information about an upload.
- Specified by:
getUploadAsyncin interfaceAWSDeviceFarmAsync- Parameters:
request- Represents a request to the get upload operation.asyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the GetUpload operation returned by the service.
-
listArtifactsAsync
Description copied from interface:AWSDeviceFarmAsyncGets information about artifacts.
- Specified by:
listArtifactsAsyncin interfaceAWSDeviceFarmAsync- Parameters:
request- Represents a request to the list artifacts operation.- Returns:
- A Java Future containing the result of the ListArtifacts operation returned by the service.
-
listArtifactsAsync
public Future<ListArtifactsResult> listArtifactsAsync(ListArtifactsRequest request, AsyncHandler<ListArtifactsRequest, ListArtifactsResult> asyncHandler) Description copied from interface:AWSDeviceFarmAsyncGets information about artifacts.
- Specified by:
listArtifactsAsyncin interfaceAWSDeviceFarmAsync- Parameters:
request- Represents a request to the list artifacts operation.asyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the ListArtifacts operation returned by the service.
-
listDevicePoolsAsync
Description copied from interface:AWSDeviceFarmAsyncGets information about device pools.
- Specified by:
listDevicePoolsAsyncin interfaceAWSDeviceFarmAsync- Parameters:
request- Represents the result of a list device pools request.- Returns:
- A Java Future containing the result of the ListDevicePools operation returned by the service.
-
listDevicePoolsAsync
public Future<ListDevicePoolsResult> listDevicePoolsAsync(ListDevicePoolsRequest request, AsyncHandler<ListDevicePoolsRequest, ListDevicePoolsResult> asyncHandler) Description copied from interface:AWSDeviceFarmAsyncGets information about device pools.
- Specified by:
listDevicePoolsAsyncin interfaceAWSDeviceFarmAsync- Parameters:
request- Represents the result of a list device pools request.asyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the ListDevicePools operation returned by the service.
-
listDevicesAsync
Description copied from interface:AWSDeviceFarmAsyncGets information about unique device types.
- Specified by:
listDevicesAsyncin interfaceAWSDeviceFarmAsync- Parameters:
request- Represents the result of a list devices request.- Returns:
- A Java Future containing the result of the ListDevices operation returned by the service.
-
listDevicesAsync
public Future<ListDevicesResult> listDevicesAsync(ListDevicesRequest request, AsyncHandler<ListDevicesRequest, ListDevicesResult> asyncHandler) Description copied from interface:AWSDeviceFarmAsyncGets information about unique device types.
- Specified by:
listDevicesAsyncin interfaceAWSDeviceFarmAsync- Parameters:
request- Represents the result of a list devices request.asyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the ListDevices operation returned by the service.
-
listJobsAsync
Description copied from interface:AWSDeviceFarmAsyncGets information about jobs.
- Specified by:
listJobsAsyncin interfaceAWSDeviceFarmAsync- Parameters:
request- Represents a request to the list jobs operation.- Returns:
- A Java Future containing the result of the ListJobs operation returned by the service.
-
listJobsAsync
public Future<ListJobsResult> listJobsAsync(ListJobsRequest request, AsyncHandler<ListJobsRequest, ListJobsResult> asyncHandler) Description copied from interface:AWSDeviceFarmAsyncGets information about jobs.
- Specified by:
listJobsAsyncin interfaceAWSDeviceFarmAsync- Parameters:
request- Represents a request to the list jobs operation.asyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the ListJobs operation returned by the service.
-
listOfferingTransactionsAsync
public Future<ListOfferingTransactionsResult> listOfferingTransactionsAsync(ListOfferingTransactionsRequest request) Description copied from interface:AWSDeviceFarmAsyncReturns 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
NotEligibleerror if the user is not permitted to invoke the operation. Please contact aws-devicefarm-support@amazon.com if you believe that you should be able to invoke this operation.- Specified by:
listOfferingTransactionsAsyncin interfaceAWSDeviceFarmAsync- Parameters:
request- Represents the request to list the offering transaction history.- Returns:
- A Java Future containing the result of the ListOfferingTransactions operation returned by the service.
-
listOfferingTransactionsAsync
public Future<ListOfferingTransactionsResult> listOfferingTransactionsAsync(ListOfferingTransactionsRequest request, AsyncHandler<ListOfferingTransactionsRequest, ListOfferingTransactionsResult> asyncHandler) Description copied from interface:AWSDeviceFarmAsyncReturns 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
NotEligibleerror if the user is not permitted to invoke the operation. Please contact aws-devicefarm-support@amazon.com if you believe that you should be able to invoke this operation.- Specified by:
listOfferingTransactionsAsyncin interfaceAWSDeviceFarmAsync- Parameters:
request- Represents the request to list the offering transaction history.asyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the ListOfferingTransactions operation returned by the service.
-
listOfferingsAsync
Description copied from interface:AWSDeviceFarmAsyncReturns 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
NotEligibleerror if the user is not permitted to invoke the operation. Please contact aws-devicefarm-support@amazon.com if you believe that you should be able to invoke this operation.- Specified by:
listOfferingsAsyncin interfaceAWSDeviceFarmAsync- Parameters:
request- Represents the request to list all offerings.- Returns:
- A Java Future containing the result of the ListOfferings operation returned by the service.
-
listOfferingsAsync
public Future<ListOfferingsResult> listOfferingsAsync(ListOfferingsRequest request, AsyncHandler<ListOfferingsRequest, ListOfferingsResult> asyncHandler) Description copied from interface:AWSDeviceFarmAsyncReturns 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
NotEligibleerror if the user is not permitted to invoke the operation. Please contact aws-devicefarm-support@amazon.com if you believe that you should be able to invoke this operation.- Specified by:
listOfferingsAsyncin interfaceAWSDeviceFarmAsync- Parameters:
request- Represents the request to list all offerings.asyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the ListOfferings operation returned by the service.
-
listProjectsAsync
Description copied from interface:AWSDeviceFarmAsyncGets information about projects.
- Specified by:
listProjectsAsyncin interfaceAWSDeviceFarmAsync- Parameters:
request- Represents a request to the list projects operation.- Returns:
- A Java Future containing the result of the ListProjects operation returned by the service.
-
listProjectsAsync
public Future<ListProjectsResult> listProjectsAsync(ListProjectsRequest request, AsyncHandler<ListProjectsRequest, ListProjectsResult> asyncHandler) Description copied from interface:AWSDeviceFarmAsyncGets information about projects.
- Specified by:
listProjectsAsyncin interfaceAWSDeviceFarmAsync- Parameters:
request- Represents a request to the list projects operation.asyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the ListProjects operation returned by the service.
-
listRunsAsync
Description copied from interface:AWSDeviceFarmAsyncGets information about runs.
- Specified by:
listRunsAsyncin interfaceAWSDeviceFarmAsync- Parameters:
request- Represents a request to the list runs operation.- Returns:
- A Java Future containing the result of the ListRuns operation returned by the service.
-
listRunsAsync
public Future<ListRunsResult> listRunsAsync(ListRunsRequest request, AsyncHandler<ListRunsRequest, ListRunsResult> asyncHandler) Description copied from interface:AWSDeviceFarmAsyncGets information about runs.
- Specified by:
listRunsAsyncin interfaceAWSDeviceFarmAsync- Parameters:
request- Represents a request to the list runs operation.asyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the ListRuns operation returned by the service.
-
listSamplesAsync
Description copied from interface:AWSDeviceFarmAsyncGets information about samples.
- Specified by:
listSamplesAsyncin interfaceAWSDeviceFarmAsync- Parameters:
request- Represents a request to the list samples operation.- Returns:
- A Java Future containing the result of the ListSamples operation returned by the service.
-
listSamplesAsync
public Future<ListSamplesResult> listSamplesAsync(ListSamplesRequest request, AsyncHandler<ListSamplesRequest, ListSamplesResult> asyncHandler) Description copied from interface:AWSDeviceFarmAsyncGets information about samples.
- Specified by:
listSamplesAsyncin interfaceAWSDeviceFarmAsync- Parameters:
request- Represents a request to the list samples operation.asyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the ListSamples operation returned by the service.
-
listSuitesAsync
Description copied from interface:AWSDeviceFarmAsyncGets information about suites.
- Specified by:
listSuitesAsyncin interfaceAWSDeviceFarmAsync- Parameters:
request- Represents a request to the list suites operation.- Returns:
- A Java Future containing the result of the ListSuites operation returned by the service.
-
listSuitesAsync
public Future<ListSuitesResult> listSuitesAsync(ListSuitesRequest request, AsyncHandler<ListSuitesRequest, ListSuitesResult> asyncHandler) Description copied from interface:AWSDeviceFarmAsyncGets information about suites.
- Specified by:
listSuitesAsyncin interfaceAWSDeviceFarmAsync- Parameters:
request- Represents a request to the list suites operation.asyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the ListSuites operation returned by the service.
-
listTestsAsync
Description copied from interface:AWSDeviceFarmAsyncGets information about tests.
- Specified by:
listTestsAsyncin interfaceAWSDeviceFarmAsync- Parameters:
request- Represents a request to the list tests operation.- Returns:
- A Java Future containing the result of the ListTests operation returned by the service.
-
listTestsAsync
public Future<ListTestsResult> listTestsAsync(ListTestsRequest request, AsyncHandler<ListTestsRequest, ListTestsResult> asyncHandler) Description copied from interface:AWSDeviceFarmAsyncGets information about tests.
- Specified by:
listTestsAsyncin interfaceAWSDeviceFarmAsync- Parameters:
request- Represents a request to the list tests operation.asyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the ListTests operation returned by the service.
-
listUniqueProblemsAsync
Description copied from interface:AWSDeviceFarmAsyncGets information about unique problems.
- Specified by:
listUniqueProblemsAsyncin interfaceAWSDeviceFarmAsync- Parameters:
request- Represents a request to the list unique problems operation.- Returns:
- A Java Future containing the result of the ListUniqueProblems operation returned by the service.
-
listUniqueProblemsAsync
public Future<ListUniqueProblemsResult> listUniqueProblemsAsync(ListUniqueProblemsRequest request, AsyncHandler<ListUniqueProblemsRequest, ListUniqueProblemsResult> asyncHandler) Description copied from interface:AWSDeviceFarmAsyncGets information about unique problems.
- Specified by:
listUniqueProblemsAsyncin interfaceAWSDeviceFarmAsync- Parameters:
request- Represents a request to the list unique problems operation.asyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the ListUniqueProblems operation returned by the service.
-
listUploadsAsync
Description copied from interface:AWSDeviceFarmAsyncGets information about uploads.
- Specified by:
listUploadsAsyncin interfaceAWSDeviceFarmAsync- Parameters:
request- Represents a request to the list uploads operation.- Returns:
- A Java Future containing the result of the ListUploads operation returned by the service.
-
listUploadsAsync
public Future<ListUploadsResult> listUploadsAsync(ListUploadsRequest request, AsyncHandler<ListUploadsRequest, ListUploadsResult> asyncHandler) Description copied from interface:AWSDeviceFarmAsyncGets information about uploads.
- Specified by:
listUploadsAsyncin interfaceAWSDeviceFarmAsync- Parameters:
request- Represents a request to the list uploads operation.asyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the ListUploads operation returned by the service.
-
purchaseOfferingAsync
Description copied from interface:AWSDeviceFarmAsyncImmediately 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
NotEligibleerror if the user is not permitted to invoke the operation. Please contact aws-devicefarm-support@amazon.com if you believe that you should be able to invoke this operation.- Specified by:
purchaseOfferingAsyncin interfaceAWSDeviceFarmAsync- Parameters:
request- Represents a request for a purchase offering.- Returns:
- A Java Future containing the result of the PurchaseOffering operation returned by the service.
-
purchaseOfferingAsync
public Future<PurchaseOfferingResult> purchaseOfferingAsync(PurchaseOfferingRequest request, AsyncHandler<PurchaseOfferingRequest, PurchaseOfferingResult> asyncHandler) Description copied from interface:AWSDeviceFarmAsyncImmediately 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
NotEligibleerror if the user is not permitted to invoke the operation. Please contact aws-devicefarm-support@amazon.com if you believe that you should be able to invoke this operation.- Specified by:
purchaseOfferingAsyncin interfaceAWSDeviceFarmAsync- Parameters:
request- Represents a request for a purchase offering.asyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the PurchaseOffering operation returned by the service.
-
renewOfferingAsync
Description copied from interface:AWSDeviceFarmAsyncExplicitly sets the quantity of devices to renew for an offering, starting from the
effectiveDateof the next period. The API returns aNotEligibleerror if the user is not permitted to invoke the operation. Please contact aws-devicefarm-support@amazon.com if you believe that you should be able to invoke this operation.- Specified by:
renewOfferingAsyncin interfaceAWSDeviceFarmAsync- Parameters:
request- A request representing an offering renewal.- Returns:
- A Java Future containing the result of the RenewOffering operation returned by the service.
-
renewOfferingAsync
public Future<RenewOfferingResult> renewOfferingAsync(RenewOfferingRequest request, AsyncHandler<RenewOfferingRequest, RenewOfferingResult> asyncHandler) Description copied from interface:AWSDeviceFarmAsyncExplicitly sets the quantity of devices to renew for an offering, starting from the
effectiveDateof the next period. The API returns aNotEligibleerror if the user is not permitted to invoke the operation. Please contact aws-devicefarm-support@amazon.com if you believe that you should be able to invoke this operation.- Specified by:
renewOfferingAsyncin interfaceAWSDeviceFarmAsync- Parameters:
request- A request representing an offering renewal.asyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the RenewOffering operation returned by the service.
-
scheduleRunAsync
Description copied from interface:AWSDeviceFarmAsyncSchedules a run.
- Specified by:
scheduleRunAsyncin interfaceAWSDeviceFarmAsync- Parameters:
request- Represents a request to the schedule run operation.- Returns:
- A Java Future containing the result of the ScheduleRun operation returned by the service.
-
scheduleRunAsync
public Future<ScheduleRunResult> scheduleRunAsync(ScheduleRunRequest request, AsyncHandler<ScheduleRunRequest, ScheduleRunResult> asyncHandler) Description copied from interface:AWSDeviceFarmAsyncSchedules a run.
- Specified by:
scheduleRunAsyncin interfaceAWSDeviceFarmAsync- Parameters:
request- Represents a request to the schedule run operation.asyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the ScheduleRun operation returned by the service.
-
stopRunAsync
Description copied from interface:AWSDeviceFarmAsyncInitiates a stop request for the current test run. AWS Device Farm will immediately stop the run on devices where tests have not started executing, and you will not be billed for these devices. On devices where tests have started executing, Setup Suite and Teardown Suite tests will run to completion before stopping execution on those devices. You will be billed for Setup, Teardown, and any tests that were in progress or already completed.
- Specified by:
stopRunAsyncin interfaceAWSDeviceFarmAsync- Parameters:
request- Represents the request to stop a specific run.- Returns:
- A Java Future containing the result of the StopRun operation returned by the service.
-
stopRunAsync
public Future<StopRunResult> stopRunAsync(StopRunRequest request, AsyncHandler<StopRunRequest, StopRunResult> asyncHandler) Description copied from interface:AWSDeviceFarmAsyncInitiates a stop request for the current test run. AWS Device Farm will immediately stop the run on devices where tests have not started executing, and you will not be billed for these devices. On devices where tests have started executing, Setup Suite and Teardown Suite tests will run to completion before stopping execution on those devices. You will be billed for Setup, Teardown, and any tests that were in progress or already completed.
- Specified by:
stopRunAsyncin interfaceAWSDeviceFarmAsync- Parameters:
request- Represents the request to stop a specific run.asyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the StopRun operation returned by the service.
-
updateDevicePoolAsync
Description copied from interface:AWSDeviceFarmAsyncModifies the name, description, and rules in a device pool given the attributes and the pool ARN. Rule updates are all-or-nothing, meaning they can only be updated as a whole (or not at all).
- Specified by:
updateDevicePoolAsyncin interfaceAWSDeviceFarmAsync- Parameters:
request- Represents a request to the update device pool operation.- Returns:
- A Java Future containing the result of the UpdateDevicePool operation returned by the service.
-
updateDevicePoolAsync
public Future<UpdateDevicePoolResult> updateDevicePoolAsync(UpdateDevicePoolRequest request, AsyncHandler<UpdateDevicePoolRequest, UpdateDevicePoolResult> asyncHandler) Description copied from interface:AWSDeviceFarmAsyncModifies the name, description, and rules in a device pool given the attributes and the pool ARN. Rule updates are all-or-nothing, meaning they can only be updated as a whole (or not at all).
- Specified by:
updateDevicePoolAsyncin interfaceAWSDeviceFarmAsync- Parameters:
request- Represents a request to the update device pool operation.asyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the UpdateDevicePool operation returned by the service.
-
updateProjectAsync
Description copied from interface:AWSDeviceFarmAsyncModifies the specified project name, given the project ARN and a new name.
- Specified by:
updateProjectAsyncin interfaceAWSDeviceFarmAsync- Parameters:
request- Represents a request to the update project operation.- Returns:
- A Java Future containing the result of the UpdateProject operation returned by the service.
-
updateProjectAsync
public Future<UpdateProjectResult> updateProjectAsync(UpdateProjectRequest request, AsyncHandler<UpdateProjectRequest, UpdateProjectResult> asyncHandler) Description copied from interface:AWSDeviceFarmAsyncModifies the specified project name, given the project ARN and a new name.
- Specified by:
updateProjectAsyncin interfaceAWSDeviceFarmAsync- Parameters:
request- Represents a request to the update project operation.asyncHandler- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the UpdateProject operation returned by the service.
-
shutdown
public void shutdown()Shuts down the client, releasing all managed resources. This includes forcibly terminating all pending asynchronous service calls. Clients who wish to give pending asynchronous service calls time to complete should callgetExecutorService().shutdown()followed bygetExecutorService().awaitTermination()prior to calling this method.- Specified by:
shutdownin interfaceAWSDeviceFarm- Overrides:
shutdownin classAmazonWebServiceClient
-