AutoCloseable
@Generated("software.amazon.awssdk:codegen") public interface DeviceFarmAsyncClient extends AutoCloseable
builder()
method.
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.
Modifier and Type | Method | Description |
---|---|---|
static DeviceFarmAsyncClientBuilder |
builder() |
Create a builder that can be used to configure and create a
DeviceFarmAsyncClient . |
static DeviceFarmAsyncClient |
create() |
Create a
DeviceFarmAsyncClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider . |
default CompletableFuture<CreateDevicePoolResponse> |
createDevicePool(CreateDevicePoolRequest createDevicePoolRequest) |
Creates a device pool.
|
default CompletableFuture<CreateNetworkProfileResponse> |
createNetworkProfile(CreateNetworkProfileRequest createNetworkProfileRequest) |
Creates a network profile.
|
default CompletableFuture<CreateProjectResponse> |
createProject(CreateProjectRequest createProjectRequest) |
Creates a new project.
|
default CompletableFuture<CreateRemoteAccessSessionResponse> |
createRemoteAccessSession(CreateRemoteAccessSessionRequest createRemoteAccessSessionRequest) |
Specifies and starts a remote access session.
|
default CompletableFuture<CreateUploadResponse> |
createUpload(CreateUploadRequest createUploadRequest) |
Uploads an app or test scripts.
|
default CompletableFuture<DeleteDevicePoolResponse> |
deleteDevicePool(DeleteDevicePoolRequest deleteDevicePoolRequest) |
Deletes a device pool given the pool ARN.
|
default CompletableFuture<DeleteNetworkProfileResponse> |
deleteNetworkProfile(DeleteNetworkProfileRequest deleteNetworkProfileRequest) |
Deletes a network profile.
|
default CompletableFuture<DeleteProjectResponse> |
deleteProject(DeleteProjectRequest deleteProjectRequest) |
Deletes an AWS Device Farm project, given the project ARN.
|
default CompletableFuture<DeleteRemoteAccessSessionResponse> |
deleteRemoteAccessSession(DeleteRemoteAccessSessionRequest deleteRemoteAccessSessionRequest) |
Deletes a completed remote access session and its results.
|
default CompletableFuture<DeleteRunResponse> |
deleteRun(DeleteRunRequest deleteRunRequest) |
Deletes the run, given the run ARN.
|
default CompletableFuture<DeleteUploadResponse> |
deleteUpload(DeleteUploadRequest deleteUploadRequest) |
Deletes an upload given the upload ARN.
|
default CompletableFuture<GetAccountSettingsResponse> |
getAccountSettings(GetAccountSettingsRequest getAccountSettingsRequest) |
Returns the number of unmetered iOS and/or unmetered Android devices that have been purchased by the account.
|
default CompletableFuture<GetDeviceResponse> |
getDevice(GetDeviceRequest getDeviceRequest) |
Gets information about a unique device type.
|
default CompletableFuture<GetDevicePoolResponse> |
getDevicePool(GetDevicePoolRequest getDevicePoolRequest) |
Gets information about a device pool.
|
default CompletableFuture<GetDevicePoolCompatibilityResponse> |
getDevicePoolCompatibility(GetDevicePoolCompatibilityRequest getDevicePoolCompatibilityRequest) |
Gets information about compatibility with a device pool.
|
default CompletableFuture<GetJobResponse> |
getJob(GetJobRequest getJobRequest) |
Gets information about a job.
|
default CompletableFuture<GetNetworkProfileResponse> |
getNetworkProfile(GetNetworkProfileRequest getNetworkProfileRequest) |
Returns information about a network profile.
|
default CompletableFuture<GetOfferingStatusResponse> |
getOfferingStatus(GetOfferingStatusRequest getOfferingStatusRequest) |
Gets the current status and future status of all offerings purchased by an AWS account.
|
default CompletableFuture<GetProjectResponse> |
getProject(GetProjectRequest getProjectRequest) |
Gets information about a project.
|
default CompletableFuture<GetRemoteAccessSessionResponse> |
getRemoteAccessSession(GetRemoteAccessSessionRequest getRemoteAccessSessionRequest) |
Returns a link to a currently running remote access session.
|
default CompletableFuture<GetRunResponse> |
getRun(GetRunRequest getRunRequest) |
Gets information about a run.
|
default CompletableFuture<GetSuiteResponse> |
getSuite(GetSuiteRequest getSuiteRequest) |
Gets information about a suite.
|
default CompletableFuture<GetTestResponse> |
getTest(GetTestRequest getTestRequest) |
Gets information about a test.
|
default CompletableFuture<GetUploadResponse> |
getUpload(GetUploadRequest getUploadRequest) |
Gets information about an upload.
|
default CompletableFuture<InstallToRemoteAccessSessionResponse> |
installToRemoteAccessSession(InstallToRemoteAccessSessionRequest installToRemoteAccessSessionRequest) |
Installs an application to the device in a remote access session.
|
default CompletableFuture<ListArtifactsResponse> |
listArtifacts(ListArtifactsRequest listArtifactsRequest) |
Gets information about artifacts.
|
default CompletableFuture<ListDevicePoolsResponse> |
listDevicePools(ListDevicePoolsRequest listDevicePoolsRequest) |
Gets information about device pools.
|
default CompletableFuture<ListDevicesResponse> |
listDevices(ListDevicesRequest listDevicesRequest) |
Gets information about unique device types.
|
default CompletableFuture<ListJobsResponse> |
listJobs(ListJobsRequest listJobsRequest) |
Gets information about jobs.
|
default CompletableFuture<ListNetworkProfilesResponse> |
listNetworkProfiles(ListNetworkProfilesRequest listNetworkProfilesRequest) |
Returns the list of available network profiles.
|
default CompletableFuture<ListOfferingPromotionsResponse> |
listOfferingPromotions(ListOfferingPromotionsRequest listOfferingPromotionsRequest) |
Returns a list of offering promotions.
|
default CompletableFuture<ListOfferingsResponse> |
listOfferings(ListOfferingsRequest listOfferingsRequest) |
Returns a list of products or offerings that the user can manage through the API.
|
default CompletableFuture<ListOfferingTransactionsResponse> |
listOfferingTransactions(ListOfferingTransactionsRequest listOfferingTransactionsRequest) |
Returns a list of all historical purchases, renewals, and system renewal transactions for an AWS account.
|
default CompletableFuture<ListProjectsResponse> |
listProjects(ListProjectsRequest listProjectsRequest) |
Gets information about projects.
|
default CompletableFuture<ListRemoteAccessSessionsResponse> |
listRemoteAccessSessions(ListRemoteAccessSessionsRequest listRemoteAccessSessionsRequest) |
Returns a list of all currently running remote access sessions.
|
default CompletableFuture<ListRunsResponse> |
listRuns(ListRunsRequest listRunsRequest) |
Gets information about runs, given an AWS Device Farm project ARN.
|
default CompletableFuture<ListSamplesResponse> |
listSamples(ListSamplesRequest listSamplesRequest) |
Gets information about samples, given an AWS Device Farm project ARN
|
default CompletableFuture<ListSuitesResponse> |
listSuites(ListSuitesRequest listSuitesRequest) |
Gets information about suites.
|
default CompletableFuture<ListTestsResponse> |
listTests(ListTestsRequest listTestsRequest) |
Gets information about tests.
|
default CompletableFuture<ListUniqueProblemsResponse> |
listUniqueProblems(ListUniqueProblemsRequest listUniqueProblemsRequest) |
Gets information about unique problems.
|
default CompletableFuture<ListUploadsResponse> |
listUploads(ListUploadsRequest listUploadsRequest) |
Gets information about uploads, given an AWS Device Farm project ARN.
|
default CompletableFuture<PurchaseOfferingResponse> |
purchaseOffering(PurchaseOfferingRequest purchaseOfferingRequest) |
Immediately purchases offerings for an AWS account.
|
default CompletableFuture<RenewOfferingResponse> |
renewOffering(RenewOfferingRequest renewOfferingRequest) |
Explicitly sets the quantity of devices to renew for an offering, starting from the
effectiveDate of
the next period. |
default CompletableFuture<ScheduleRunResponse> |
scheduleRun(ScheduleRunRequest scheduleRunRequest) |
Schedules a run.
|
default CompletableFuture<StopRemoteAccessSessionResponse> |
stopRemoteAccessSession(StopRemoteAccessSessionRequest stopRemoteAccessSessionRequest) |
Ends a specified remote access session.
|
default CompletableFuture<StopRunResponse> |
stopRun(StopRunRequest stopRunRequest) |
Initiates a stop request for the current test run.
|
default CompletableFuture<UpdateDevicePoolResponse> |
updateDevicePool(UpdateDevicePoolRequest updateDevicePoolRequest) |
Modifies the name, description, and rules in a device pool given the attributes and the pool ARN.
|
default CompletableFuture<UpdateNetworkProfileResponse> |
updateNetworkProfile(UpdateNetworkProfileRequest updateNetworkProfileRequest) |
Updates the network profile with specific settings.
|
default CompletableFuture<UpdateProjectResponse> |
updateProject(UpdateProjectRequest updateProjectRequest) |
Modifies the specified project name, given the project ARN and a new name.
|
close
static DeviceFarmAsyncClient create()
DeviceFarmAsyncClient
with the region loaded from the
DefaultAwsRegionProviderChain
and credentials loaded from the
DefaultCredentialsProvider
.static DeviceFarmAsyncClientBuilder builder()
DeviceFarmAsyncClient
.default CompletableFuture<CreateDevicePoolResponse> createDevicePool(CreateDevicePoolRequest createDevicePoolRequest)
Creates a device pool.
createDevicePoolRequest
- Represents a request to the create device pool operation.default CompletableFuture<CreateNetworkProfileResponse> createNetworkProfile(CreateNetworkProfileRequest createNetworkProfileRequest)
Creates a network profile.
createNetworkProfileRequest
- default CompletableFuture<CreateProjectResponse> createProject(CreateProjectRequest createProjectRequest)
Creates a new project.
createProjectRequest
- Represents a request to the create project operation.default CompletableFuture<CreateRemoteAccessSessionResponse> createRemoteAccessSession(CreateRemoteAccessSessionRequest createRemoteAccessSessionRequest)
Specifies and starts a remote access session.
createRemoteAccessSessionRequest
- Creates and submits a request to start a remote access session.default CompletableFuture<CreateUploadResponse> createUpload(CreateUploadRequest createUploadRequest)
Uploads an app or test scripts.
createUploadRequest
- Represents a request to the create upload operation.default CompletableFuture<DeleteDevicePoolResponse> deleteDevicePool(DeleteDevicePoolRequest deleteDevicePoolRequest)
Deletes a device pool given the pool ARN. Does not allow deletion of curated pools owned by the system.
deleteDevicePoolRequest
- Represents a request to the delete device pool operation.default CompletableFuture<DeleteNetworkProfileResponse> deleteNetworkProfile(DeleteNetworkProfileRequest deleteNetworkProfileRequest)
Deletes a network profile.
deleteNetworkProfileRequest
- default CompletableFuture<DeleteProjectResponse> deleteProject(DeleteProjectRequest deleteProjectRequest)
Deletes an AWS Device Farm project, given the project ARN.
Note Deleting this resource does not stop an in-progress run.
deleteProjectRequest
- Represents a request to the delete project operation.default CompletableFuture<DeleteRemoteAccessSessionResponse> deleteRemoteAccessSession(DeleteRemoteAccessSessionRequest deleteRemoteAccessSessionRequest)
Deletes a completed remote access session and its results.
deleteRemoteAccessSessionRequest
- Represents the request to delete the specified remote access session.default CompletableFuture<DeleteRunResponse> deleteRun(DeleteRunRequest deleteRunRequest)
Deletes the run, given the run ARN.
Note Deleting this resource does not stop an in-progress run.
deleteRunRequest
- Represents a request to the delete run operation.default CompletableFuture<DeleteUploadResponse> deleteUpload(DeleteUploadRequest deleteUploadRequest)
Deletes an upload given the upload ARN.
deleteUploadRequest
- Represents a request to the delete upload operation.default CompletableFuture<GetAccountSettingsResponse> getAccountSettings(GetAccountSettingsRequest getAccountSettingsRequest)
Returns the number of unmetered iOS and/or unmetered Android devices that have been purchased by the account.
getAccountSettingsRequest
- Represents the request sent to retrieve the account settings.default CompletableFuture<GetDeviceResponse> getDevice(GetDeviceRequest getDeviceRequest)
Gets information about a unique device type.
getDeviceRequest
- Represents a request to the get device request.default CompletableFuture<GetDevicePoolResponse> getDevicePool(GetDevicePoolRequest getDevicePoolRequest)
Gets information about a device pool.
getDevicePoolRequest
- Represents a request to the get device pool operation.default CompletableFuture<GetDevicePoolCompatibilityResponse> getDevicePoolCompatibility(GetDevicePoolCompatibilityRequest getDevicePoolCompatibilityRequest)
Gets information about compatibility with a device pool.
getDevicePoolCompatibilityRequest
- Represents a request to the get device pool compatibility operation.default CompletableFuture<GetJobResponse> getJob(GetJobRequest getJobRequest)
Gets information about a job.
getJobRequest
- Represents a request to the get job operation.default CompletableFuture<GetNetworkProfileResponse> getNetworkProfile(GetNetworkProfileRequest getNetworkProfileRequest)
Returns information about a network profile.
getNetworkProfileRequest
- default CompletableFuture<GetOfferingStatusResponse> getOfferingStatus(GetOfferingStatusRequest getOfferingStatusRequest)
Gets the current status and future status of all offerings purchased by an AWS account. The response indicates
how many offerings are currently available and the offerings that will be available in the next period. The API
returns a NotEligible
error if the user is not permitted to invoke the operation. Please contact aws-devicefarm-support@amazon.com if you believe that you
should be able to invoke this operation.
getOfferingStatusRequest
- Represents the request to retrieve the offering status for the specified customer or account.default CompletableFuture<GetProjectResponse> getProject(GetProjectRequest getProjectRequest)
Gets information about a project.
getProjectRequest
- Represents a request to the get project operation.default CompletableFuture<GetRemoteAccessSessionResponse> getRemoteAccessSession(GetRemoteAccessSessionRequest getRemoteAccessSessionRequest)
Returns a link to a currently running remote access session.
getRemoteAccessSessionRequest
- Represents the request to get information about the specified remote access session.default CompletableFuture<GetRunResponse> getRun(GetRunRequest getRunRequest)
Gets information about a run.
getRunRequest
- Represents a request to the get run operation.default CompletableFuture<GetSuiteResponse> getSuite(GetSuiteRequest getSuiteRequest)
Gets information about a suite.
getSuiteRequest
- Represents a request to the get suite operation.default CompletableFuture<GetTestResponse> getTest(GetTestRequest getTestRequest)
Gets information about a test.
getTestRequest
- Represents a request to the get test operation.default CompletableFuture<GetUploadResponse> getUpload(GetUploadRequest getUploadRequest)
Gets information about an upload.
getUploadRequest
- Represents a request to the get upload operation.default CompletableFuture<InstallToRemoteAccessSessionResponse> installToRemoteAccessSession(InstallToRemoteAccessSessionRequest installToRemoteAccessSessionRequest)
Installs an application to the device in a remote access session. For Android applications, the file must be in .apk format. For iOS applications, the file must be in .ipa format.
installToRemoteAccessSessionRequest
- Represents the request to install an Android application (in .apk format) or an iOS application (in .ipa
format) as part of a remote access session.default CompletableFuture<ListArtifactsResponse> listArtifacts(ListArtifactsRequest listArtifactsRequest)
Gets information about artifacts.
listArtifactsRequest
- Represents a request to the list artifacts operation.default CompletableFuture<ListDevicePoolsResponse> listDevicePools(ListDevicePoolsRequest listDevicePoolsRequest)
Gets information about device pools.
listDevicePoolsRequest
- Represents the result of a list device pools request.default CompletableFuture<ListDevicesResponse> listDevices(ListDevicesRequest listDevicesRequest)
Gets information about unique device types.
listDevicesRequest
- Represents the result of a list devices request.default CompletableFuture<ListJobsResponse> listJobs(ListJobsRequest listJobsRequest)
Gets information about jobs.
listJobsRequest
- Represents a request to the list jobs operation.default CompletableFuture<ListNetworkProfilesResponse> listNetworkProfiles(ListNetworkProfilesRequest listNetworkProfilesRequest)
Returns the list of available network profiles.
listNetworkProfilesRequest
- default CompletableFuture<ListOfferingPromotionsResponse> listOfferingPromotions(ListOfferingPromotionsRequest listOfferingPromotionsRequest)
Returns a list of offering promotions. Each offering promotion record contains the ID and description of the
promotion. The API returns a NotEligible
error if the caller is not permitted to invoke the
operation. Contact aws-devicefarm-support@amazon.com if
you believe that you should be able to invoke this operation.
listOfferingPromotionsRequest
- default CompletableFuture<ListOfferingTransactionsResponse> listOfferingTransactions(ListOfferingTransactionsRequest listOfferingTransactionsRequest)
Returns a list of all historical purchases, renewals, and system renewal transactions for an AWS account. The
list is paginated and ordered by a descending timestamp (most recent transactions are first). The API returns a
NotEligible
error if the user is not permitted to invoke the operation. Please contact aws-devicefarm-support@amazon.com if you believe that you
should be able to invoke this operation.
listOfferingTransactionsRequest
- Represents the request to list the offering transaction history.default CompletableFuture<ListOfferingsResponse> listOfferings(ListOfferingsRequest listOfferingsRequest)
Returns a list of products or offerings that the user can manage through the API. Each offering record indicates
the recurring price per unit and the frequency for that offering. The API returns a NotEligible
error if the user is not permitted to invoke the operation. Please contact aws-devicefarm-support@amazon.com if you believe that you
should be able to invoke this operation.
listOfferingsRequest
- Represents the request to list all offerings.default CompletableFuture<ListProjectsResponse> listProjects(ListProjectsRequest listProjectsRequest)
Gets information about projects.
listProjectsRequest
- Represents a request to the list projects operation.default CompletableFuture<ListRemoteAccessSessionsResponse> listRemoteAccessSessions(ListRemoteAccessSessionsRequest listRemoteAccessSessionsRequest)
Returns a list of all currently running remote access sessions.
listRemoteAccessSessionsRequest
- Represents the request to return information about the remote access session.default CompletableFuture<ListRunsResponse> listRuns(ListRunsRequest listRunsRequest)
Gets information about runs, given an AWS Device Farm project ARN.
listRunsRequest
- Represents a request to the list runs operation.default CompletableFuture<ListSamplesResponse> listSamples(ListSamplesRequest listSamplesRequest)
Gets information about samples, given an AWS Device Farm project ARN
listSamplesRequest
- Represents a request to the list samples operation.default CompletableFuture<ListSuitesResponse> listSuites(ListSuitesRequest listSuitesRequest)
Gets information about suites.
listSuitesRequest
- Represents a request to the list suites operation.default CompletableFuture<ListTestsResponse> listTests(ListTestsRequest listTestsRequest)
Gets information about tests.
listTestsRequest
- Represents a request to the list tests operation.default CompletableFuture<ListUniqueProblemsResponse> listUniqueProblems(ListUniqueProblemsRequest listUniqueProblemsRequest)
Gets information about unique problems.
listUniqueProblemsRequest
- Represents a request to the list unique problems operation.default CompletableFuture<ListUploadsResponse> listUploads(ListUploadsRequest listUploadsRequest)
Gets information about uploads, given an AWS Device Farm project ARN.
listUploadsRequest
- Represents a request to the list uploads operation.default CompletableFuture<PurchaseOfferingResponse> purchaseOffering(PurchaseOfferingRequest purchaseOfferingRequest)
Immediately purchases offerings for an AWS account. Offerings renew with the latest total purchased quantity for
an offering, unless the renewal was overridden. The API returns a NotEligible
error if the user is
not permitted to invoke the operation. Please contact aws-devicefarm-support@amazon.com if you believe that you
should be able to invoke this operation.
purchaseOfferingRequest
- Represents a request for a purchase offering.default CompletableFuture<RenewOfferingResponse> renewOffering(RenewOfferingRequest renewOfferingRequest)
Explicitly sets the quantity of devices to renew for an offering, starting from the effectiveDate
of
the next period. The API returns a NotEligible
error if the user is not permitted to invoke the
operation. Please contact aws-devicefarm-support@amazon.com if you believe that you
should be able to invoke this operation.
renewOfferingRequest
- A request representing an offering renewal.default CompletableFuture<ScheduleRunResponse> scheduleRun(ScheduleRunRequest scheduleRunRequest)
Schedules a run.
scheduleRunRequest
- Represents a request to the schedule run operation.default CompletableFuture<StopRemoteAccessSessionResponse> stopRemoteAccessSession(StopRemoteAccessSessionRequest stopRemoteAccessSessionRequest)
Ends a specified remote access session.
stopRemoteAccessSessionRequest
- Represents the request to stop the remote access session.default CompletableFuture<StopRunResponse> stopRun(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.
stopRunRequest
- Represents the request to stop a specific run.default CompletableFuture<UpdateDevicePoolResponse> updateDevicePool(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).
updateDevicePoolRequest
- Represents a request to the update device pool operation.default CompletableFuture<UpdateNetworkProfileResponse> updateNetworkProfile(UpdateNetworkProfileRequest updateNetworkProfileRequest)
Updates the network profile with specific settings.
updateNetworkProfileRequest
- default CompletableFuture<UpdateProjectResponse> updateProject(UpdateProjectRequest updateProjectRequest)
Modifies the specified project name, given the project ARN and a new name.
updateProjectRequest
- Represents a request to the update project operation.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.