@Generated(value="software.amazon.awssdk:codegen") public interface DeviceFarmAsyncClient extends SdkClient, SdkAutoCloseable
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 | Field and Description |
---|---|
static String |
SERVICE_NAME |
Modifier and Type | Method and 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(Consumer<CreateDevicePoolRequest.Builder> createDevicePoolRequest)
Creates a device pool.
|
default CompletableFuture<CreateDevicePoolResponse> |
createDevicePool(CreateDevicePoolRequest createDevicePoolRequest)
Creates a device pool.
|
default CompletableFuture<CreateNetworkProfileResponse> |
createNetworkProfile(Consumer<CreateNetworkProfileRequest.Builder> createNetworkProfileRequest)
Creates a network profile.
|
default CompletableFuture<CreateNetworkProfileResponse> |
createNetworkProfile(CreateNetworkProfileRequest createNetworkProfileRequest)
Creates a network profile.
|
default CompletableFuture<CreateProjectResponse> |
createProject(Consumer<CreateProjectRequest.Builder> createProjectRequest)
Creates a new project.
|
default CompletableFuture<CreateProjectResponse> |
createProject(CreateProjectRequest createProjectRequest)
Creates a new project.
|
default CompletableFuture<CreateRemoteAccessSessionResponse> |
createRemoteAccessSession(Consumer<CreateRemoteAccessSessionRequest.Builder> createRemoteAccessSessionRequest)
Specifies and starts a remote access session.
|
default CompletableFuture<CreateRemoteAccessSessionResponse> |
createRemoteAccessSession(CreateRemoteAccessSessionRequest createRemoteAccessSessionRequest)
Specifies and starts a remote access session.
|
default CompletableFuture<CreateUploadResponse> |
createUpload(Consumer<CreateUploadRequest.Builder> createUploadRequest)
Uploads an app or test scripts.
|
default CompletableFuture<CreateUploadResponse> |
createUpload(CreateUploadRequest createUploadRequest)
Uploads an app or test scripts.
|
default CompletableFuture<DeleteDevicePoolResponse> |
deleteDevicePool(Consumer<DeleteDevicePoolRequest.Builder> deleteDevicePoolRequest)
Deletes a device pool given the pool ARN.
|
default CompletableFuture<DeleteDevicePoolResponse> |
deleteDevicePool(DeleteDevicePoolRequest deleteDevicePoolRequest)
Deletes a device pool given the pool ARN.
|
default CompletableFuture<DeleteNetworkProfileResponse> |
deleteNetworkProfile(Consumer<DeleteNetworkProfileRequest.Builder> deleteNetworkProfileRequest)
Deletes a network profile.
|
default CompletableFuture<DeleteNetworkProfileResponse> |
deleteNetworkProfile(DeleteNetworkProfileRequest deleteNetworkProfileRequest)
Deletes a network profile.
|
default CompletableFuture<DeleteProjectResponse> |
deleteProject(Consumer<DeleteProjectRequest.Builder> deleteProjectRequest)
Deletes an AWS Device Farm project, given the project ARN.
|
default CompletableFuture<DeleteProjectResponse> |
deleteProject(DeleteProjectRequest deleteProjectRequest)
Deletes an AWS Device Farm project, given the project ARN.
|
default CompletableFuture<DeleteRemoteAccessSessionResponse> |
deleteRemoteAccessSession(Consumer<DeleteRemoteAccessSessionRequest.Builder> deleteRemoteAccessSessionRequest)
Deletes a completed remote access session and its results.
|
default CompletableFuture<DeleteRemoteAccessSessionResponse> |
deleteRemoteAccessSession(DeleteRemoteAccessSessionRequest deleteRemoteAccessSessionRequest)
Deletes a completed remote access session and its results.
|
default CompletableFuture<DeleteRunResponse> |
deleteRun(Consumer<DeleteRunRequest.Builder> deleteRunRequest)
Deletes the run, given the run ARN.
|
default CompletableFuture<DeleteRunResponse> |
deleteRun(DeleteRunRequest deleteRunRequest)
Deletes the run, given the run ARN.
|
default CompletableFuture<DeleteUploadResponse> |
deleteUpload(Consumer<DeleteUploadRequest.Builder> deleteUploadRequest)
Deletes an upload given the upload ARN.
|
default CompletableFuture<DeleteUploadResponse> |
deleteUpload(DeleteUploadRequest deleteUploadRequest)
Deletes an upload given the upload ARN.
|
default CompletableFuture<GetAccountSettingsResponse> |
getAccountSettings()
Returns the number of unmetered iOS and/or unmetered Android devices that have been purchased by the account.
|
default CompletableFuture<GetAccountSettingsResponse> |
getAccountSettings(Consumer<GetAccountSettingsRequest.Builder> getAccountSettingsRequest)
Returns the number of unmetered iOS and/or unmetered Android devices that have been purchased by the account.
|
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(Consumer<GetDeviceRequest.Builder> getDeviceRequest)
Gets information about a unique device type.
|
default CompletableFuture<GetDeviceResponse> |
getDevice(GetDeviceRequest getDeviceRequest)
Gets information about a unique device type.
|
default CompletableFuture<GetDevicePoolResponse> |
getDevicePool(Consumer<GetDevicePoolRequest.Builder> getDevicePoolRequest)
Gets information about a device pool.
|
default CompletableFuture<GetDevicePoolResponse> |
getDevicePool(GetDevicePoolRequest getDevicePoolRequest)
Gets information about a device pool.
|
default CompletableFuture<GetDevicePoolCompatibilityResponse> |
getDevicePoolCompatibility(Consumer<GetDevicePoolCompatibilityRequest.Builder> getDevicePoolCompatibilityRequest)
Gets information about compatibility with a device pool.
|
default CompletableFuture<GetDevicePoolCompatibilityResponse> |
getDevicePoolCompatibility(GetDevicePoolCompatibilityRequest getDevicePoolCompatibilityRequest)
Gets information about compatibility with a device pool.
|
default CompletableFuture<GetJobResponse> |
getJob(Consumer<GetJobRequest.Builder> getJobRequest)
Gets information about a job.
|
default CompletableFuture<GetJobResponse> |
getJob(GetJobRequest getJobRequest)
Gets information about a job.
|
default CompletableFuture<GetNetworkProfileResponse> |
getNetworkProfile(Consumer<GetNetworkProfileRequest.Builder> getNetworkProfileRequest)
Returns information about a network profile.
|
default CompletableFuture<GetNetworkProfileResponse> |
getNetworkProfile(GetNetworkProfileRequest getNetworkProfileRequest)
Returns information about a network profile.
|
default CompletableFuture<GetOfferingStatusResponse> |
getOfferingStatus()
Gets the current status and future status of all offerings purchased by an AWS account.
|
default CompletableFuture<GetOfferingStatusResponse> |
getOfferingStatus(Consumer<GetOfferingStatusRequest.Builder> getOfferingStatusRequest)
Gets the current status and future status of all offerings purchased by an AWS account.
|
default CompletableFuture<GetOfferingStatusResponse> |
getOfferingStatus(GetOfferingStatusRequest getOfferingStatusRequest)
Gets the current status and future status of all offerings purchased by an AWS account.
|
default GetOfferingStatusPublisher |
getOfferingStatusPaginator()
Gets the current status and future status of all offerings purchased by an AWS account.
|
default GetOfferingStatusPublisher |
getOfferingStatusPaginator(GetOfferingStatusRequest getOfferingStatusRequest)
Gets the current status and future status of all offerings purchased by an AWS account.
|
default CompletableFuture<GetProjectResponse> |
getProject(Consumer<GetProjectRequest.Builder> getProjectRequest)
Gets information about a project.
|
default CompletableFuture<GetProjectResponse> |
getProject(GetProjectRequest getProjectRequest)
Gets information about a project.
|
default CompletableFuture<GetRemoteAccessSessionResponse> |
getRemoteAccessSession(Consumer<GetRemoteAccessSessionRequest.Builder> getRemoteAccessSessionRequest)
Returns a link to a currently running remote access session.
|
default CompletableFuture<GetRemoteAccessSessionResponse> |
getRemoteAccessSession(GetRemoteAccessSessionRequest getRemoteAccessSessionRequest)
Returns a link to a currently running remote access session.
|
default CompletableFuture<GetRunResponse> |
getRun(Consumer<GetRunRequest.Builder> getRunRequest)
Gets information about a run.
|
default CompletableFuture<GetRunResponse> |
getRun(GetRunRequest getRunRequest)
Gets information about a run.
|
default CompletableFuture<GetSuiteResponse> |
getSuite(Consumer<GetSuiteRequest.Builder> getSuiteRequest)
Gets information about a suite.
|
default CompletableFuture<GetSuiteResponse> |
getSuite(GetSuiteRequest getSuiteRequest)
Gets information about a suite.
|
default CompletableFuture<GetTestResponse> |
getTest(Consumer<GetTestRequest.Builder> getTestRequest)
Gets information about a test.
|
default CompletableFuture<GetTestResponse> |
getTest(GetTestRequest getTestRequest)
Gets information about a test.
|
default CompletableFuture<GetUploadResponse> |
getUpload(Consumer<GetUploadRequest.Builder> getUploadRequest)
Gets information about an upload.
|
default CompletableFuture<GetUploadResponse> |
getUpload(GetUploadRequest getUploadRequest)
Gets information about an upload.
|
default CompletableFuture<InstallToRemoteAccessSessionResponse> |
installToRemoteAccessSession(Consumer<InstallToRemoteAccessSessionRequest.Builder> installToRemoteAccessSessionRequest)
Installs an application to the device in a remote access session.
|
default CompletableFuture<InstallToRemoteAccessSessionResponse> |
installToRemoteAccessSession(InstallToRemoteAccessSessionRequest installToRemoteAccessSessionRequest)
Installs an application to the device in a remote access session.
|
default CompletableFuture<ListArtifactsResponse> |
listArtifacts(Consumer<ListArtifactsRequest.Builder> listArtifactsRequest)
Gets information about artifacts.
|
default CompletableFuture<ListArtifactsResponse> |
listArtifacts(ListArtifactsRequest listArtifactsRequest)
Gets information about artifacts.
|
default ListArtifactsPublisher |
listArtifactsPaginator(ListArtifactsRequest listArtifactsRequest)
Gets information about artifacts.
|
default CompletableFuture<ListDevicePoolsResponse> |
listDevicePools(Consumer<ListDevicePoolsRequest.Builder> listDevicePoolsRequest)
Gets information about device pools.
|
default CompletableFuture<ListDevicePoolsResponse> |
listDevicePools(ListDevicePoolsRequest listDevicePoolsRequest)
Gets information about device pools.
|
default ListDevicePoolsPublisher |
listDevicePoolsPaginator(ListDevicePoolsRequest listDevicePoolsRequest)
Gets information about device pools.
|
default CompletableFuture<ListDevicesResponse> |
listDevices()
Gets information about unique device types.
|
default CompletableFuture<ListDevicesResponse> |
listDevices(Consumer<ListDevicesRequest.Builder> listDevicesRequest)
Gets information about unique device types.
|
default CompletableFuture<ListDevicesResponse> |
listDevices(ListDevicesRequest listDevicesRequest)
Gets information about unique device types.
|
default ListDevicesPublisher |
listDevicesPaginator()
Gets information about unique device types.
|
default ListDevicesPublisher |
listDevicesPaginator(ListDevicesRequest listDevicesRequest)
Gets information about unique device types.
|
default CompletableFuture<ListJobsResponse> |
listJobs(Consumer<ListJobsRequest.Builder> listJobsRequest)
Gets information about jobs.
|
default CompletableFuture<ListJobsResponse> |
listJobs(ListJobsRequest listJobsRequest)
Gets information about jobs.
|
default ListJobsPublisher |
listJobsPaginator(ListJobsRequest listJobsRequest)
Gets information about jobs.
|
default CompletableFuture<ListNetworkProfilesResponse> |
listNetworkProfiles(Consumer<ListNetworkProfilesRequest.Builder> listNetworkProfilesRequest)
Returns the list of available network profiles.
|
default CompletableFuture<ListNetworkProfilesResponse> |
listNetworkProfiles(ListNetworkProfilesRequest listNetworkProfilesRequest)
Returns the list of available network profiles.
|
default CompletableFuture<ListOfferingPromotionsResponse> |
listOfferingPromotions()
Returns a list of offering promotions.
|
default CompletableFuture<ListOfferingPromotionsResponse> |
listOfferingPromotions(Consumer<ListOfferingPromotionsRequest.Builder> listOfferingPromotionsRequest)
Returns a list of offering promotions.
|
default CompletableFuture<ListOfferingPromotionsResponse> |
listOfferingPromotions(ListOfferingPromotionsRequest listOfferingPromotionsRequest)
Returns a list of offering promotions.
|
default CompletableFuture<ListOfferingsResponse> |
listOfferings()
Returns a list of products or offerings that the user can manage through the API.
|
default CompletableFuture<ListOfferingsResponse> |
listOfferings(Consumer<ListOfferingsRequest.Builder> listOfferingsRequest)
Returns a list of products or offerings that the user can manage through the API.
|
default CompletableFuture<ListOfferingsResponse> |
listOfferings(ListOfferingsRequest listOfferingsRequest)
Returns a list of products or offerings that the user can manage through the API.
|
default ListOfferingsPublisher |
listOfferingsPaginator()
Returns a list of products or offerings that the user can manage through the API.
|
default ListOfferingsPublisher |
listOfferingsPaginator(ListOfferingsRequest listOfferingsRequest)
Returns a list of products or offerings that the user can manage through the API.
|
default CompletableFuture<ListOfferingTransactionsResponse> |
listOfferingTransactions()
Returns a list of all historical purchases, renewals, and system renewal transactions for an AWS account.
|
default CompletableFuture<ListOfferingTransactionsResponse> |
listOfferingTransactions(Consumer<ListOfferingTransactionsRequest.Builder> listOfferingTransactionsRequest)
Returns a list of all historical purchases, renewals, and system renewal transactions for an AWS account.
|
default CompletableFuture<ListOfferingTransactionsResponse> |
listOfferingTransactions(ListOfferingTransactionsRequest listOfferingTransactionsRequest)
Returns a list of all historical purchases, renewals, and system renewal transactions for an AWS account.
|
default ListOfferingTransactionsPublisher |
listOfferingTransactionsPaginator()
Returns a list of all historical purchases, renewals, and system renewal transactions for an AWS account.
|
default ListOfferingTransactionsPublisher |
listOfferingTransactionsPaginator(ListOfferingTransactionsRequest listOfferingTransactionsRequest)
Returns a list of all historical purchases, renewals, and system renewal transactions for an AWS account.
|
default CompletableFuture<ListProjectsResponse> |
listProjects()
Gets information about projects.
|
default CompletableFuture<ListProjectsResponse> |
listProjects(Consumer<ListProjectsRequest.Builder> listProjectsRequest)
Gets information about projects.
|
default CompletableFuture<ListProjectsResponse> |
listProjects(ListProjectsRequest listProjectsRequest)
Gets information about projects.
|
default ListProjectsPublisher |
listProjectsPaginator()
Gets information about projects.
|
default ListProjectsPublisher |
listProjectsPaginator(ListProjectsRequest listProjectsRequest)
Gets information about projects.
|
default CompletableFuture<ListRemoteAccessSessionsResponse> |
listRemoteAccessSessions(Consumer<ListRemoteAccessSessionsRequest.Builder> listRemoteAccessSessionsRequest)
Returns a list of all currently running remote access sessions.
|
default CompletableFuture<ListRemoteAccessSessionsResponse> |
listRemoteAccessSessions(ListRemoteAccessSessionsRequest listRemoteAccessSessionsRequest)
Returns a list of all currently running remote access sessions.
|
default CompletableFuture<ListRunsResponse> |
listRuns(Consumer<ListRunsRequest.Builder> listRunsRequest)
Gets information about runs, given an AWS Device Farm project ARN.
|
default CompletableFuture<ListRunsResponse> |
listRuns(ListRunsRequest listRunsRequest)
Gets information about runs, given an AWS Device Farm project ARN.
|
default ListRunsPublisher |
listRunsPaginator(ListRunsRequest listRunsRequest)
Gets information about runs, given an AWS Device Farm project ARN.
|
default CompletableFuture<ListSamplesResponse> |
listSamples(Consumer<ListSamplesRequest.Builder> listSamplesRequest)
Gets information about samples, 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 ListSamplesPublisher |
listSamplesPaginator(ListSamplesRequest listSamplesRequest)
Gets information about samples, given an AWS Device Farm project ARN
|
default CompletableFuture<ListSuitesResponse> |
listSuites(Consumer<ListSuitesRequest.Builder> listSuitesRequest)
Gets information about suites.
|
default CompletableFuture<ListSuitesResponse> |
listSuites(ListSuitesRequest listSuitesRequest)
Gets information about suites.
|
default ListSuitesPublisher |
listSuitesPaginator(ListSuitesRequest listSuitesRequest)
Gets information about suites.
|
default CompletableFuture<ListTestsResponse> |
listTests(Consumer<ListTestsRequest.Builder> listTestsRequest)
Gets information about tests.
|
default CompletableFuture<ListTestsResponse> |
listTests(ListTestsRequest listTestsRequest)
Gets information about tests.
|
default ListTestsPublisher |
listTestsPaginator(ListTestsRequest listTestsRequest)
Gets information about tests.
|
default CompletableFuture<ListUniqueProblemsResponse> |
listUniqueProblems(Consumer<ListUniqueProblemsRequest.Builder> listUniqueProblemsRequest)
Gets information about unique problems.
|
default CompletableFuture<ListUniqueProblemsResponse> |
listUniqueProblems(ListUniqueProblemsRequest listUniqueProblemsRequest)
Gets information about unique problems.
|
default ListUniqueProblemsPublisher |
listUniqueProblemsPaginator(ListUniqueProblemsRequest listUniqueProblemsRequest)
Gets information about unique problems.
|
default CompletableFuture<ListUploadsResponse> |
listUploads(Consumer<ListUploadsRequest.Builder> listUploadsRequest)
Gets information about uploads, given an AWS Device Farm project ARN.
|
default CompletableFuture<ListUploadsResponse> |
listUploads(ListUploadsRequest listUploadsRequest)
Gets information about uploads, given an AWS Device Farm project ARN.
|
default ListUploadsPublisher |
listUploadsPaginator(ListUploadsRequest listUploadsRequest)
Gets information about uploads, given an AWS Device Farm project ARN.
|
default CompletableFuture<PurchaseOfferingResponse> |
purchaseOffering(Consumer<PurchaseOfferingRequest.Builder> purchaseOfferingRequest)
Immediately purchases offerings for an AWS account.
|
default CompletableFuture<PurchaseOfferingResponse> |
purchaseOffering(PurchaseOfferingRequest purchaseOfferingRequest)
Immediately purchases offerings for an AWS account.
|
default CompletableFuture<RenewOfferingResponse> |
renewOffering(Consumer<RenewOfferingRequest.Builder> renewOfferingRequest)
Explicitly sets the quantity of devices to renew for an offering, starting from the
effectiveDate of
the next period. |
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(Consumer<ScheduleRunRequest.Builder> scheduleRunRequest)
Schedules a run.
|
default CompletableFuture<ScheduleRunResponse> |
scheduleRun(ScheduleRunRequest scheduleRunRequest)
Schedules a run.
|
default CompletableFuture<StopRemoteAccessSessionResponse> |
stopRemoteAccessSession(Consumer<StopRemoteAccessSessionRequest.Builder> stopRemoteAccessSessionRequest)
Ends a specified remote access session.
|
default CompletableFuture<StopRemoteAccessSessionResponse> |
stopRemoteAccessSession(StopRemoteAccessSessionRequest stopRemoteAccessSessionRequest)
Ends a specified remote access session.
|
default CompletableFuture<StopRunResponse> |
stopRun(Consumer<StopRunRequest.Builder> stopRunRequest)
Initiates a stop request for the current test run.
|
default CompletableFuture<StopRunResponse> |
stopRun(StopRunRequest stopRunRequest)
Initiates a stop request for the current test run.
|
default CompletableFuture<UpdateDevicePoolResponse> |
updateDevicePool(Consumer<UpdateDevicePoolRequest.Builder> updateDevicePoolRequest)
Modifies the name, description, and rules in a device pool given the attributes and the pool ARN.
|
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(Consumer<UpdateNetworkProfileRequest.Builder> updateNetworkProfileRequest)
Updates the network profile with specific settings.
|
default CompletableFuture<UpdateNetworkProfileResponse> |
updateNetworkProfile(UpdateNetworkProfileRequest updateNetworkProfileRequest)
Updates the network profile with specific settings.
|
default CompletableFuture<UpdateProjectResponse> |
updateProject(Consumer<UpdateProjectRequest.Builder> updateProjectRequest)
Modifies the specified project name, given the project ARN and a new name.
|
default CompletableFuture<UpdateProjectResponse> |
updateProject(UpdateProjectRequest updateProjectRequest)
Modifies the specified project name, given the project ARN and a new name.
|
serviceName
close
static final String SERVICE_NAME
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<CreateDevicePoolResponse> createDevicePool(Consumer<CreateDevicePoolRequest.Builder> createDevicePoolRequest)
Creates a device pool.
CreateDevicePoolRequest.Builder
avoiding the need
to create one manually via CreateDevicePoolRequest.builder()
createDevicePoolRequest
- a Consumer
that will call methods on CreateDevicePoolRequest.Builder
.default CompletableFuture<CreateNetworkProfileResponse> createNetworkProfile(CreateNetworkProfileRequest createNetworkProfileRequest)
Creates a network profile.
createNetworkProfileRequest
- default CompletableFuture<CreateNetworkProfileResponse> createNetworkProfile(Consumer<CreateNetworkProfileRequest.Builder> createNetworkProfileRequest)
Creates a network profile.
CreateNetworkProfileRequest.Builder
avoiding the
need to create one manually via CreateNetworkProfileRequest.builder()
createNetworkProfileRequest
- a Consumer
that will call methods on CreateNetworkProfileRequest.Builder
.default CompletableFuture<CreateProjectResponse> createProject(CreateProjectRequest createProjectRequest)
Creates a new project.
createProjectRequest
- Represents a request to the create project operation.default CompletableFuture<CreateProjectResponse> createProject(Consumer<CreateProjectRequest.Builder> createProjectRequest)
Creates a new project.
CreateProjectRequest.Builder
avoiding the need to
create one manually via CreateProjectRequest.builder()
createProjectRequest
- a Consumer
that will call methods on CreateProjectRequest.Builder
.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<CreateRemoteAccessSessionResponse> createRemoteAccessSession(Consumer<CreateRemoteAccessSessionRequest.Builder> createRemoteAccessSessionRequest)
Specifies and starts a remote access session.
CreateRemoteAccessSessionRequest.Builder
avoiding
the need to create one manually via CreateRemoteAccessSessionRequest.builder()
createRemoteAccessSessionRequest
- a Consumer
that will call methods on CreateRemoteAccessSessionRequest.Builder
.default CompletableFuture<CreateUploadResponse> createUpload(CreateUploadRequest createUploadRequest)
Uploads an app or test scripts.
createUploadRequest
- Represents a request to the create upload operation.default CompletableFuture<CreateUploadResponse> createUpload(Consumer<CreateUploadRequest.Builder> createUploadRequest)
Uploads an app or test scripts.
CreateUploadRequest.Builder
avoiding the need to
create one manually via CreateUploadRequest.builder()
createUploadRequest
- a Consumer
that will call methods on CreateUploadRequest.Builder
.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<DeleteDevicePoolResponse> deleteDevicePool(Consumer<DeleteDevicePoolRequest.Builder> deleteDevicePoolRequest)
Deletes a device pool given the pool ARN. Does not allow deletion of curated pools owned by the system.
DeleteDevicePoolRequest.Builder
avoiding the need
to create one manually via DeleteDevicePoolRequest.builder()
deleteDevicePoolRequest
- a Consumer
that will call methods on DeleteDevicePoolRequest.Builder
.default CompletableFuture<DeleteNetworkProfileResponse> deleteNetworkProfile(DeleteNetworkProfileRequest deleteNetworkProfileRequest)
Deletes a network profile.
deleteNetworkProfileRequest
- default CompletableFuture<DeleteNetworkProfileResponse> deleteNetworkProfile(Consumer<DeleteNetworkProfileRequest.Builder> deleteNetworkProfileRequest)
Deletes a network profile.
DeleteNetworkProfileRequest.Builder
avoiding the
need to create one manually via DeleteNetworkProfileRequest.builder()
deleteNetworkProfileRequest
- a Consumer
that will call methods on DeleteNetworkProfileRequest.Builder
.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<DeleteProjectResponse> deleteProject(Consumer<DeleteProjectRequest.Builder> deleteProjectRequest)
Deletes an AWS Device Farm project, given the project ARN.
Note Deleting this resource does not stop an in-progress run.
DeleteProjectRequest.Builder
avoiding the need to
create one manually via DeleteProjectRequest.builder()
deleteProjectRequest
- a Consumer
that will call methods on DeleteProjectRequest.Builder
.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<DeleteRemoteAccessSessionResponse> deleteRemoteAccessSession(Consumer<DeleteRemoteAccessSessionRequest.Builder> deleteRemoteAccessSessionRequest)
Deletes a completed remote access session and its results.
DeleteRemoteAccessSessionRequest.Builder
avoiding
the need to create one manually via DeleteRemoteAccessSessionRequest.builder()
deleteRemoteAccessSessionRequest
- a Consumer
that will call methods on DeleteRemoteAccessSessionRequest.Builder
.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<DeleteRunResponse> deleteRun(Consumer<DeleteRunRequest.Builder> deleteRunRequest)
Deletes the run, given the run ARN.
Note Deleting this resource does not stop an in-progress run.
DeleteRunRequest.Builder
avoiding the need to
create one manually via DeleteRunRequest.builder()
deleteRunRequest
- a Consumer
that will call methods on DeleteRunRequest.Builder
.default CompletableFuture<DeleteUploadResponse> deleteUpload(DeleteUploadRequest deleteUploadRequest)
Deletes an upload given the upload ARN.
deleteUploadRequest
- Represents a request to the delete upload operation.default CompletableFuture<DeleteUploadResponse> deleteUpload(Consumer<DeleteUploadRequest.Builder> deleteUploadRequest)
Deletes an upload given the upload ARN.
DeleteUploadRequest.Builder
avoiding the need to
create one manually via DeleteUploadRequest.builder()
deleteUploadRequest
- a Consumer
that will call methods on DeleteUploadRequest.Builder
.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<GetAccountSettingsResponse> getAccountSettings()
Returns the number of unmetered iOS and/or unmetered Android devices that have been purchased by the account.
default CompletableFuture<GetAccountSettingsResponse> getAccountSettings(Consumer<GetAccountSettingsRequest.Builder> getAccountSettingsRequest)
Returns the number of unmetered iOS and/or unmetered Android devices that have been purchased by the account.
GetAccountSettingsRequest.Builder
avoiding the
need to create one manually via GetAccountSettingsRequest.builder()
getAccountSettingsRequest
- a Consumer
that will call methods on GetAccountSettingsRequest.Builder
.default CompletableFuture<GetDeviceResponse> getDevice(GetDeviceRequest getDeviceRequest)
Gets information about a unique device type.
getDeviceRequest
- Represents a request to the get device request.default CompletableFuture<GetDeviceResponse> getDevice(Consumer<GetDeviceRequest.Builder> getDeviceRequest)
Gets information about a unique device type.
GetDeviceRequest.Builder
avoiding the need to
create one manually via GetDeviceRequest.builder()
getDeviceRequest
- a Consumer
that will call methods on GetDeviceRequest.Builder
.default CompletableFuture<GetDevicePoolResponse> getDevicePool(GetDevicePoolRequest getDevicePoolRequest)
Gets information about a device pool.
getDevicePoolRequest
- Represents a request to the get device pool operation.default CompletableFuture<GetDevicePoolResponse> getDevicePool(Consumer<GetDevicePoolRequest.Builder> getDevicePoolRequest)
Gets information about a device pool.
GetDevicePoolRequest.Builder
avoiding the need to
create one manually via GetDevicePoolRequest.builder()
getDevicePoolRequest
- a Consumer
that will call methods on GetDevicePoolRequest.Builder
.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<GetDevicePoolCompatibilityResponse> getDevicePoolCompatibility(Consumer<GetDevicePoolCompatibilityRequest.Builder> getDevicePoolCompatibilityRequest)
Gets information about compatibility with a device pool.
GetDevicePoolCompatibilityRequest.Builder
avoiding
the need to create one manually via GetDevicePoolCompatibilityRequest.builder()
getDevicePoolCompatibilityRequest
- a Consumer
that will call methods on GetDevicePoolCompatibilityRequest.Builder
.default CompletableFuture<GetJobResponse> getJob(GetJobRequest getJobRequest)
Gets information about a job.
getJobRequest
- Represents a request to the get job operation.default CompletableFuture<GetJobResponse> getJob(Consumer<GetJobRequest.Builder> getJobRequest)
Gets information about a job.
GetJobRequest.Builder
avoiding the need to create
one manually via GetJobRequest.builder()
getJobRequest
- a Consumer
that will call methods on GetJobRequest.Builder
.default CompletableFuture<GetNetworkProfileResponse> getNetworkProfile(GetNetworkProfileRequest getNetworkProfileRequest)
Returns information about a network profile.
getNetworkProfileRequest
- default CompletableFuture<GetNetworkProfileResponse> getNetworkProfile(Consumer<GetNetworkProfileRequest.Builder> getNetworkProfileRequest)
Returns information about a network profile.
GetNetworkProfileRequest.Builder
avoiding the need
to create one manually via GetNetworkProfileRequest.builder()
getNetworkProfileRequest
- a Consumer
that will call methods on GetNetworkProfileRequest.Builder
.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<GetOfferingStatusResponse> getOfferingStatus()
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.
default CompletableFuture<GetOfferingStatusResponse> getOfferingStatus(Consumer<GetOfferingStatusRequest.Builder> 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.Builder
avoiding the need
to create one manually via GetOfferingStatusRequest.builder()
getOfferingStatusRequest
- a Consumer
that will call methods on GetOfferingStatusRequest.Builder
.default GetOfferingStatusPublisher getOfferingStatusPaginator(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.
This is a variant of
getOfferingStatus(software.amazon.awssdk.services.devicefarm.model.GetOfferingStatusRequest)
operation.
The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new Subscription
i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the forEach helper method
software.amazon.awssdk.services.devicefarm.paginators.GetOfferingStatusPublisher publisher = client.getOfferingStatusPaginator(request);
CompletableFuture<Void> future = publisher.forEach(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.devicefarm.paginators.GetOfferingStatusPublisher publisher = client.getOfferingStatusPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.devicefarm.model.GetOfferingStatusResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.devicefarm.model.GetOfferingStatusResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Note: If you prefer to have control on service calls, use the
getOfferingStatus(software.amazon.awssdk.services.devicefarm.model.GetOfferingStatusRequest)
operation.
getOfferingStatusRequest
- Represents the request to retrieve the offering status for the specified customer or account.default GetOfferingStatusPublisher getOfferingStatusPaginator()
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.
This is a variant of
getOfferingStatus(software.amazon.awssdk.services.devicefarm.model.GetOfferingStatusRequest)
operation.
The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new Subscription
i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the forEach helper method
software.amazon.awssdk.services.devicefarm.paginators.GetOfferingStatusPublisher publisher = client.getOfferingStatusPaginator(request);
CompletableFuture<Void> future = publisher.forEach(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.devicefarm.paginators.GetOfferingStatusPublisher publisher = client.getOfferingStatusPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.devicefarm.model.GetOfferingStatusResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.devicefarm.model.GetOfferingStatusResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Note: If you prefer to have control on service calls, use the
getOfferingStatus(software.amazon.awssdk.services.devicefarm.model.GetOfferingStatusRequest)
operation.
default CompletableFuture<GetProjectResponse> getProject(GetProjectRequest getProjectRequest)
Gets information about a project.
getProjectRequest
- Represents a request to the get project operation.default CompletableFuture<GetProjectResponse> getProject(Consumer<GetProjectRequest.Builder> getProjectRequest)
Gets information about a project.
GetProjectRequest.Builder
avoiding the need to
create one manually via GetProjectRequest.builder()
getProjectRequest
- a Consumer
that will call methods on GetProjectRequest.Builder
.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<GetRemoteAccessSessionResponse> getRemoteAccessSession(Consumer<GetRemoteAccessSessionRequest.Builder> getRemoteAccessSessionRequest)
Returns a link to a currently running remote access session.
GetRemoteAccessSessionRequest.Builder
avoiding the
need to create one manually via GetRemoteAccessSessionRequest.builder()
getRemoteAccessSessionRequest
- a Consumer
that will call methods on GetRemoteAccessSessionRequest.Builder
.default CompletableFuture<GetRunResponse> getRun(GetRunRequest getRunRequest)
Gets information about a run.
getRunRequest
- Represents a request to the get run operation.default CompletableFuture<GetRunResponse> getRun(Consumer<GetRunRequest.Builder> getRunRequest)
Gets information about a run.
GetRunRequest.Builder
avoiding the need to create
one manually via GetRunRequest.builder()
getRunRequest
- a Consumer
that will call methods on GetRunRequest.Builder
.default CompletableFuture<GetSuiteResponse> getSuite(GetSuiteRequest getSuiteRequest)
Gets information about a suite.
getSuiteRequest
- Represents a request to the get suite operation.default CompletableFuture<GetSuiteResponse> getSuite(Consumer<GetSuiteRequest.Builder> getSuiteRequest)
Gets information about a suite.
GetSuiteRequest.Builder
avoiding the need to
create one manually via GetSuiteRequest.builder()
getSuiteRequest
- a Consumer
that will call methods on GetSuiteRequest.Builder
.default CompletableFuture<GetTestResponse> getTest(GetTestRequest getTestRequest)
Gets information about a test.
getTestRequest
- Represents a request to the get test operation.default CompletableFuture<GetTestResponse> getTest(Consumer<GetTestRequest.Builder> getTestRequest)
Gets information about a test.
GetTestRequest.Builder
avoiding the need to create
one manually via GetTestRequest.builder()
getTestRequest
- a Consumer
that will call methods on GetTestRequest.Builder
.default CompletableFuture<GetUploadResponse> getUpload(GetUploadRequest getUploadRequest)
Gets information about an upload.
getUploadRequest
- Represents a request to the get upload operation.default CompletableFuture<GetUploadResponse> getUpload(Consumer<GetUploadRequest.Builder> getUploadRequest)
Gets information about an upload.
GetUploadRequest.Builder
avoiding the need to
create one manually via GetUploadRequest.builder()
getUploadRequest
- a Consumer
that will call methods on GetUploadRequest.Builder
.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<InstallToRemoteAccessSessionResponse> installToRemoteAccessSession(Consumer<InstallToRemoteAccessSessionRequest.Builder> 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.Builder
avoiding the need to create one manually via InstallToRemoteAccessSessionRequest.builder()
installToRemoteAccessSessionRequest
- a Consumer
that will call methods on InstallToRemoteAccessSessionRequest.Builder
.default CompletableFuture<ListArtifactsResponse> listArtifacts(ListArtifactsRequest listArtifactsRequest)
Gets information about artifacts.
listArtifactsRequest
- Represents a request to the list artifacts operation.default CompletableFuture<ListArtifactsResponse> listArtifacts(Consumer<ListArtifactsRequest.Builder> listArtifactsRequest)
Gets information about artifacts.
ListArtifactsRequest.Builder
avoiding the need to
create one manually via ListArtifactsRequest.builder()
listArtifactsRequest
- a Consumer
that will call methods on ListArtifactsRequest.Builder
.default ListArtifactsPublisher listArtifactsPaginator(ListArtifactsRequest listArtifactsRequest)
Gets information about artifacts.
This is a variant of
listArtifacts(software.amazon.awssdk.services.devicefarm.model.ListArtifactsRequest)
operation. The
return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new Subscription
i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the forEach helper method
software.amazon.awssdk.services.devicefarm.paginators.ListArtifactsPublisher publisher = client.listArtifactsPaginator(request);
CompletableFuture<Void> future = publisher.forEach(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.devicefarm.paginators.ListArtifactsPublisher publisher = client.listArtifactsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.devicefarm.model.ListArtifactsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.devicefarm.model.ListArtifactsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Note: If you prefer to have control on service calls, use the
listArtifacts(software.amazon.awssdk.services.devicefarm.model.ListArtifactsRequest)
operation.
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<ListDevicePoolsResponse> listDevicePools(Consumer<ListDevicePoolsRequest.Builder> listDevicePoolsRequest)
Gets information about device pools.
ListDevicePoolsRequest.Builder
avoiding the need
to create one manually via ListDevicePoolsRequest.builder()
listDevicePoolsRequest
- a Consumer
that will call methods on ListDevicePoolsRequest.Builder
.default ListDevicePoolsPublisher listDevicePoolsPaginator(ListDevicePoolsRequest listDevicePoolsRequest)
Gets information about device pools.
This is a variant of
listDevicePools(software.amazon.awssdk.services.devicefarm.model.ListDevicePoolsRequest)
operation. The
return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new Subscription
i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the forEach helper method
software.amazon.awssdk.services.devicefarm.paginators.ListDevicePoolsPublisher publisher = client.listDevicePoolsPaginator(request);
CompletableFuture<Void> future = publisher.forEach(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.devicefarm.paginators.ListDevicePoolsPublisher publisher = client.listDevicePoolsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.devicefarm.model.ListDevicePoolsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.devicefarm.model.ListDevicePoolsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Note: If you prefer to have control on service calls, use the
listDevicePools(software.amazon.awssdk.services.devicefarm.model.ListDevicePoolsRequest)
operation.
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<ListDevicesResponse> listDevices()
Gets information about unique device types.
default CompletableFuture<ListDevicesResponse> listDevices(Consumer<ListDevicesRequest.Builder> listDevicesRequest)
Gets information about unique device types.
ListDevicesRequest.Builder
avoiding the need to
create one manually via ListDevicesRequest.builder()
listDevicesRequest
- a Consumer
that will call methods on ListDevicesRequest.Builder
.default ListDevicesPublisher listDevicesPaginator(ListDevicesRequest listDevicesRequest)
Gets information about unique device types.
This is a variant of listDevices(software.amazon.awssdk.services.devicefarm.model.ListDevicesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new Subscription
i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the forEach helper method
software.amazon.awssdk.services.devicefarm.paginators.ListDevicesPublisher publisher = client.listDevicesPaginator(request);
CompletableFuture<Void> future = publisher.forEach(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.devicefarm.paginators.ListDevicesPublisher publisher = client.listDevicesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.devicefarm.model.ListDevicesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.devicefarm.model.ListDevicesResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Note: If you prefer to have control on service calls, use the
listDevices(software.amazon.awssdk.services.devicefarm.model.ListDevicesRequest)
operation.
listDevicesRequest
- Represents the result of a list devices request.default ListDevicesPublisher listDevicesPaginator()
Gets information about unique device types.
This is a variant of listDevices(software.amazon.awssdk.services.devicefarm.model.ListDevicesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new Subscription
i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the forEach helper method
software.amazon.awssdk.services.devicefarm.paginators.ListDevicesPublisher publisher = client.listDevicesPaginator(request);
CompletableFuture<Void> future = publisher.forEach(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.devicefarm.paginators.ListDevicesPublisher publisher = client.listDevicesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.devicefarm.model.ListDevicesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.devicefarm.model.ListDevicesResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Note: If you prefer to have control on service calls, use the
listDevices(software.amazon.awssdk.services.devicefarm.model.ListDevicesRequest)
operation.
default CompletableFuture<ListJobsResponse> listJobs(ListJobsRequest listJobsRequest)
Gets information about jobs.
listJobsRequest
- Represents a request to the list jobs operation.default CompletableFuture<ListJobsResponse> listJobs(Consumer<ListJobsRequest.Builder> listJobsRequest)
Gets information about jobs.
ListJobsRequest.Builder
avoiding the need to
create one manually via ListJobsRequest.builder()
listJobsRequest
- a Consumer
that will call methods on ListJobsRequest.Builder
.default ListJobsPublisher listJobsPaginator(ListJobsRequest listJobsRequest)
Gets information about jobs.
This is a variant of listJobs(software.amazon.awssdk.services.devicefarm.model.ListJobsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new Subscription
i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the forEach helper method
software.amazon.awssdk.services.devicefarm.paginators.ListJobsPublisher publisher = client.listJobsPaginator(request);
CompletableFuture<Void> future = publisher.forEach(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.devicefarm.paginators.ListJobsPublisher publisher = client.listJobsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.devicefarm.model.ListJobsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.devicefarm.model.ListJobsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Note: If you prefer to have control on service calls, use the
listJobs(software.amazon.awssdk.services.devicefarm.model.ListJobsRequest)
operation.
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<ListNetworkProfilesResponse> listNetworkProfiles(Consumer<ListNetworkProfilesRequest.Builder> listNetworkProfilesRequest)
Returns the list of available network profiles.
ListNetworkProfilesRequest.Builder
avoiding the
need to create one manually via ListNetworkProfilesRequest.builder()
listNetworkProfilesRequest
- a Consumer
that will call methods on ListNetworkProfilesRequest.Builder
.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<ListOfferingPromotionsResponse> listOfferingPromotions()
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.
default CompletableFuture<ListOfferingPromotionsResponse> listOfferingPromotions(Consumer<ListOfferingPromotionsRequest.Builder> 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.Builder
avoiding the
need to create one manually via ListOfferingPromotionsRequest.builder()
listOfferingPromotionsRequest
- a Consumer
that will call methods on ListOfferingPromotionsRequest.Builder
.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<ListOfferingTransactionsResponse> listOfferingTransactions()
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.
default CompletableFuture<ListOfferingTransactionsResponse> listOfferingTransactions(Consumer<ListOfferingTransactionsRequest.Builder> 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.Builder
avoiding
the need to create one manually via ListOfferingTransactionsRequest.builder()
listOfferingTransactionsRequest
- a Consumer
that will call methods on ListOfferingTransactionsRequest.Builder
.default ListOfferingTransactionsPublisher listOfferingTransactionsPaginator(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.
This is a variant of
listOfferingTransactions(software.amazon.awssdk.services.devicefarm.model.ListOfferingTransactionsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new Subscription
i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the forEach helper method
software.amazon.awssdk.services.devicefarm.paginators.ListOfferingTransactionsPublisher publisher = client.listOfferingTransactionsPaginator(request);
CompletableFuture<Void> future = publisher.forEach(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.devicefarm.paginators.ListOfferingTransactionsPublisher publisher = client.listOfferingTransactionsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.devicefarm.model.ListOfferingTransactionsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.devicefarm.model.ListOfferingTransactionsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Note: If you prefer to have control on service calls, use the
listOfferingTransactions(software.amazon.awssdk.services.devicefarm.model.ListOfferingTransactionsRequest)
operation.
listOfferingTransactionsRequest
- Represents the request to list the offering transaction history.default ListOfferingTransactionsPublisher listOfferingTransactionsPaginator()
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.
This is a variant of
listOfferingTransactions(software.amazon.awssdk.services.devicefarm.model.ListOfferingTransactionsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new Subscription
i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the forEach helper method
software.amazon.awssdk.services.devicefarm.paginators.ListOfferingTransactionsPublisher publisher = client.listOfferingTransactionsPaginator(request);
CompletableFuture<Void> future = publisher.forEach(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.devicefarm.paginators.ListOfferingTransactionsPublisher publisher = client.listOfferingTransactionsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.devicefarm.model.ListOfferingTransactionsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.devicefarm.model.ListOfferingTransactionsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Note: If you prefer to have control on service calls, use the
listOfferingTransactions(software.amazon.awssdk.services.devicefarm.model.ListOfferingTransactionsRequest)
operation.
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<ListOfferingsResponse> listOfferings()
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.
default CompletableFuture<ListOfferingsResponse> listOfferings(Consumer<ListOfferingsRequest.Builder> 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.Builder
avoiding the need to
create one manually via ListOfferingsRequest.builder()
listOfferingsRequest
- a Consumer
that will call methods on ListOfferingsRequest.Builder
.default ListOfferingsPublisher listOfferingsPaginator(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.
This is a variant of
listOfferings(software.amazon.awssdk.services.devicefarm.model.ListOfferingsRequest)
operation. The
return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new Subscription
i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the forEach helper method
software.amazon.awssdk.services.devicefarm.paginators.ListOfferingsPublisher publisher = client.listOfferingsPaginator(request);
CompletableFuture<Void> future = publisher.forEach(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.devicefarm.paginators.ListOfferingsPublisher publisher = client.listOfferingsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.devicefarm.model.ListOfferingsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.devicefarm.model.ListOfferingsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Note: If you prefer to have control on service calls, use the
listOfferings(software.amazon.awssdk.services.devicefarm.model.ListOfferingsRequest)
operation.
listOfferingsRequest
- Represents the request to list all offerings.default ListOfferingsPublisher listOfferingsPaginator()
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.
This is a variant of
listOfferings(software.amazon.awssdk.services.devicefarm.model.ListOfferingsRequest)
operation. The
return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will
internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new Subscription
i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the forEach helper method
software.amazon.awssdk.services.devicefarm.paginators.ListOfferingsPublisher publisher = client.listOfferingsPaginator(request);
CompletableFuture<Void> future = publisher.forEach(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.devicefarm.paginators.ListOfferingsPublisher publisher = client.listOfferingsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.devicefarm.model.ListOfferingsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.devicefarm.model.ListOfferingsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Note: If you prefer to have control on service calls, use the
listOfferings(software.amazon.awssdk.services.devicefarm.model.ListOfferingsRequest)
operation.
default CompletableFuture<ListProjectsResponse> listProjects(ListProjectsRequest listProjectsRequest)
Gets information about projects.
listProjectsRequest
- Represents a request to the list projects operation.default CompletableFuture<ListProjectsResponse> listProjects()
Gets information about projects.
default CompletableFuture<ListProjectsResponse> listProjects(Consumer<ListProjectsRequest.Builder> listProjectsRequest)
Gets information about projects.
ListProjectsRequest.Builder
avoiding the need to
create one manually via ListProjectsRequest.builder()
listProjectsRequest
- a Consumer
that will call methods on ListProjectsRequest.Builder
.default ListProjectsPublisher listProjectsPaginator(ListProjectsRequest listProjectsRequest)
Gets information about projects.
This is a variant of listProjects(software.amazon.awssdk.services.devicefarm.model.ListProjectsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new Subscription
i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the forEach helper method
software.amazon.awssdk.services.devicefarm.paginators.ListProjectsPublisher publisher = client.listProjectsPaginator(request);
CompletableFuture<Void> future = publisher.forEach(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.devicefarm.paginators.ListProjectsPublisher publisher = client.listProjectsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.devicefarm.model.ListProjectsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.devicefarm.model.ListProjectsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Note: If you prefer to have control on service calls, use the
listProjects(software.amazon.awssdk.services.devicefarm.model.ListProjectsRequest)
operation.
listProjectsRequest
- Represents a request to the list projects operation.default ListProjectsPublisher listProjectsPaginator()
Gets information about projects.
This is a variant of listProjects(software.amazon.awssdk.services.devicefarm.model.ListProjectsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new Subscription
i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the forEach helper method
software.amazon.awssdk.services.devicefarm.paginators.ListProjectsPublisher publisher = client.listProjectsPaginator(request);
CompletableFuture<Void> future = publisher.forEach(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.devicefarm.paginators.ListProjectsPublisher publisher = client.listProjectsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.devicefarm.model.ListProjectsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.devicefarm.model.ListProjectsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Note: If you prefer to have control on service calls, use the
listProjects(software.amazon.awssdk.services.devicefarm.model.ListProjectsRequest)
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<ListRemoteAccessSessionsResponse> listRemoteAccessSessions(Consumer<ListRemoteAccessSessionsRequest.Builder> listRemoteAccessSessionsRequest)
Returns a list of all currently running remote access sessions.
ListRemoteAccessSessionsRequest.Builder
avoiding
the need to create one manually via ListRemoteAccessSessionsRequest.builder()
listRemoteAccessSessionsRequest
- a Consumer
that will call methods on ListRemoteAccessSessionsRequest.Builder
.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<ListRunsResponse> listRuns(Consumer<ListRunsRequest.Builder> listRunsRequest)
Gets information about runs, given an AWS Device Farm project ARN.
ListRunsRequest.Builder
avoiding the need to
create one manually via ListRunsRequest.builder()
listRunsRequest
- a Consumer
that will call methods on ListRunsRequest.Builder
.default ListRunsPublisher listRunsPaginator(ListRunsRequest listRunsRequest)
Gets information about runs, given an AWS Device Farm project ARN.
This is a variant of listRuns(software.amazon.awssdk.services.devicefarm.model.ListRunsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new Subscription
i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the forEach helper method
software.amazon.awssdk.services.devicefarm.paginators.ListRunsPublisher publisher = client.listRunsPaginator(request);
CompletableFuture<Void> future = publisher.forEach(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.devicefarm.paginators.ListRunsPublisher publisher = client.listRunsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.devicefarm.model.ListRunsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.devicefarm.model.ListRunsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Note: If you prefer to have control on service calls, use the
listRuns(software.amazon.awssdk.services.devicefarm.model.ListRunsRequest)
operation.
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<ListSamplesResponse> listSamples(Consumer<ListSamplesRequest.Builder> listSamplesRequest)
Gets information about samples, given an AWS Device Farm project ARN
ListSamplesRequest.Builder
avoiding the need to
create one manually via ListSamplesRequest.builder()
listSamplesRequest
- a Consumer
that will call methods on ListSamplesRequest.Builder
.default ListSamplesPublisher listSamplesPaginator(ListSamplesRequest listSamplesRequest)
Gets information about samples, given an AWS Device Farm project ARN
This is a variant of listSamples(software.amazon.awssdk.services.devicefarm.model.ListSamplesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new Subscription
i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the forEach helper method
software.amazon.awssdk.services.devicefarm.paginators.ListSamplesPublisher publisher = client.listSamplesPaginator(request);
CompletableFuture<Void> future = publisher.forEach(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.devicefarm.paginators.ListSamplesPublisher publisher = client.listSamplesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.devicefarm.model.ListSamplesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.devicefarm.model.ListSamplesResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Note: If you prefer to have control on service calls, use the
listSamples(software.amazon.awssdk.services.devicefarm.model.ListSamplesRequest)
operation.
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<ListSuitesResponse> listSuites(Consumer<ListSuitesRequest.Builder> listSuitesRequest)
Gets information about suites.
ListSuitesRequest.Builder
avoiding the need to
create one manually via ListSuitesRequest.builder()
listSuitesRequest
- a Consumer
that will call methods on ListSuitesRequest.Builder
.default ListSuitesPublisher listSuitesPaginator(ListSuitesRequest listSuitesRequest)
Gets information about suites.
This is a variant of listSuites(software.amazon.awssdk.services.devicefarm.model.ListSuitesRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new Subscription
i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the forEach helper method
software.amazon.awssdk.services.devicefarm.paginators.ListSuitesPublisher publisher = client.listSuitesPaginator(request);
CompletableFuture<Void> future = publisher.forEach(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.devicefarm.paginators.ListSuitesPublisher publisher = client.listSuitesPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.devicefarm.model.ListSuitesResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.devicefarm.model.ListSuitesResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Note: If you prefer to have control on service calls, use the
listSuites(software.amazon.awssdk.services.devicefarm.model.ListSuitesRequest)
operation.
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<ListTestsResponse> listTests(Consumer<ListTestsRequest.Builder> listTestsRequest)
Gets information about tests.
ListTestsRequest.Builder
avoiding the need to
create one manually via ListTestsRequest.builder()
listTestsRequest
- a Consumer
that will call methods on ListTestsRequest.Builder
.default ListTestsPublisher listTestsPaginator(ListTestsRequest listTestsRequest)
Gets information about tests.
This is a variant of listTests(software.amazon.awssdk.services.devicefarm.model.ListTestsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new Subscription
i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the forEach helper method
software.amazon.awssdk.services.devicefarm.paginators.ListTestsPublisher publisher = client.listTestsPaginator(request);
CompletableFuture<Void> future = publisher.forEach(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.devicefarm.paginators.ListTestsPublisher publisher = client.listTestsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.devicefarm.model.ListTestsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.devicefarm.model.ListTestsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Note: If you prefer to have control on service calls, use the
listTests(software.amazon.awssdk.services.devicefarm.model.ListTestsRequest)
operation.
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<ListUniqueProblemsResponse> listUniqueProblems(Consumer<ListUniqueProblemsRequest.Builder> listUniqueProblemsRequest)
Gets information about unique problems.
ListUniqueProblemsRequest.Builder
avoiding the
need to create one manually via ListUniqueProblemsRequest.builder()
listUniqueProblemsRequest
- a Consumer
that will call methods on ListUniqueProblemsRequest.Builder
.default ListUniqueProblemsPublisher listUniqueProblemsPaginator(ListUniqueProblemsRequest listUniqueProblemsRequest)
Gets information about unique problems.
This is a variant of
listUniqueProblems(software.amazon.awssdk.services.devicefarm.model.ListUniqueProblemsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new Subscription
i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the forEach helper method
software.amazon.awssdk.services.devicefarm.paginators.ListUniqueProblemsPublisher publisher = client.listUniqueProblemsPaginator(request);
CompletableFuture<Void> future = publisher.forEach(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.devicefarm.paginators.ListUniqueProblemsPublisher publisher = client.listUniqueProblemsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.devicefarm.model.ListUniqueProblemsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.devicefarm.model.ListUniqueProblemsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Note: If you prefer to have control on service calls, use the
listUniqueProblems(software.amazon.awssdk.services.devicefarm.model.ListUniqueProblemsRequest)
operation.
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<ListUploadsResponse> listUploads(Consumer<ListUploadsRequest.Builder> listUploadsRequest)
Gets information about uploads, given an AWS Device Farm project ARN.
ListUploadsRequest.Builder
avoiding the need to
create one manually via ListUploadsRequest.builder()
listUploadsRequest
- a Consumer
that will call methods on ListUploadsRequest.Builder
.default ListUploadsPublisher listUploadsPaginator(ListUploadsRequest listUploadsRequest)
Gets information about uploads, given an AWS Device Farm project ARN.
This is a variant of listUploads(software.amazon.awssdk.services.devicefarm.model.ListUploadsRequest)
operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
SDK will internally handle making service calls for you.
When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
failures only after you start streaming the data. The subscribe method should be called as a request to start
streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe
method will result in a new Subscription
i.e., a new contract to stream data from the
starting request.
The following are few ways to use the response class:
1) Using the forEach helper method
software.amazon.awssdk.services.devicefarm.paginators.ListUploadsPublisher publisher = client.listUploadsPaginator(request);
CompletableFuture<Void> future = publisher.forEach(res -> { // Do something with the response });
future.get();
2) Using a custom subscriber
software.amazon.awssdk.services.devicefarm.paginators.ListUploadsPublisher publisher = client.listUploadsPaginator(request);
publisher.subscribe(new Subscriber<software.amazon.awssdk.services.devicefarm.model.ListUploadsResponse>() {
public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
public void onNext(software.amazon.awssdk.services.devicefarm.model.ListUploadsResponse response) { //... };
});
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
Note: If you prefer to have control on service calls, use the
listUploads(software.amazon.awssdk.services.devicefarm.model.ListUploadsRequest)
operation.
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<PurchaseOfferingResponse> purchaseOffering(Consumer<PurchaseOfferingRequest.Builder> 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.Builder
avoiding the need
to create one manually via PurchaseOfferingRequest.builder()
purchaseOfferingRequest
- a Consumer
that will call methods on PurchaseOfferingRequest.Builder
.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<RenewOfferingResponse> renewOffering(Consumer<RenewOfferingRequest.Builder> 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.Builder
avoiding the need to
create one manually via RenewOfferingRequest.builder()
renewOfferingRequest
- a Consumer
that will call methods on RenewOfferingRequest.Builder
.default CompletableFuture<ScheduleRunResponse> scheduleRun(ScheduleRunRequest scheduleRunRequest)
Schedules a run.
scheduleRunRequest
- Represents a request to the schedule run operation.default CompletableFuture<ScheduleRunResponse> scheduleRun(Consumer<ScheduleRunRequest.Builder> scheduleRunRequest)
Schedules a run.
ScheduleRunRequest.Builder
avoiding the need to
create one manually via ScheduleRunRequest.builder()
scheduleRunRequest
- a Consumer
that will call methods on ScheduleRunRequest.Builder
.default CompletableFuture<StopRemoteAccessSessionResponse> stopRemoteAccessSession(StopRemoteAccessSessionRequest stopRemoteAccessSessionRequest)
Ends a specified remote access session.
stopRemoteAccessSessionRequest
- Represents the request to stop the remote access session.default CompletableFuture<StopRemoteAccessSessionResponse> stopRemoteAccessSession(Consumer<StopRemoteAccessSessionRequest.Builder> stopRemoteAccessSessionRequest)
Ends a specified remote access session.
StopRemoteAccessSessionRequest.Builder
avoiding
the need to create one manually via StopRemoteAccessSessionRequest.builder()
stopRemoteAccessSessionRequest
- a Consumer
that will call methods on StopRemoteAccessSessionRequest.Builder
.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<StopRunResponse> stopRun(Consumer<StopRunRequest.Builder> 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.Builder
avoiding the need to create
one manually via StopRunRequest.builder()
stopRunRequest
- a Consumer
that will call methods on StopRunRequest.Builder
.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<UpdateDevicePoolResponse> updateDevicePool(Consumer<UpdateDevicePoolRequest.Builder> 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.Builder
avoiding the need
to create one manually via UpdateDevicePoolRequest.builder()
updateDevicePoolRequest
- a Consumer
that will call methods on UpdateDevicePoolRequest.Builder
.default CompletableFuture<UpdateNetworkProfileResponse> updateNetworkProfile(UpdateNetworkProfileRequest updateNetworkProfileRequest)
Updates the network profile with specific settings.
updateNetworkProfileRequest
- default CompletableFuture<UpdateNetworkProfileResponse> updateNetworkProfile(Consumer<UpdateNetworkProfileRequest.Builder> updateNetworkProfileRequest)
Updates the network profile with specific settings.
UpdateNetworkProfileRequest.Builder
avoiding the
need to create one manually via UpdateNetworkProfileRequest.builder()
updateNetworkProfileRequest
- a Consumer
that will call methods on UpdateNetworkProfileRequest.Builder
.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.default CompletableFuture<UpdateProjectResponse> updateProject(Consumer<UpdateProjectRequest.Builder> updateProjectRequest)
Modifies the specified project name, given the project ARN and a new name.
UpdateProjectRequest.Builder
avoiding the need to
create one manually via UpdateProjectRequest.builder()
updateProjectRequest
- a Consumer
that will call methods on UpdateProjectRequest.Builder
.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.