All Downloads are FREE. Search and download functionalities are using the official Maven repository.

software.amazon.awssdk.services.devicefarm.DeviceFarmAsyncClient Maven / Gradle / Ivy

Go to download

The AWS Java SDK for AWS Device Farm module holds the client classes that are used for communicating with AWS Device Farm

There is a newer version: 2.29.39
Show newest version
/*
 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
 * 
 * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
 * the License. A copy of the License is located at
 * 
 * http://aws.amazon.com/apache2.0
 * 
 * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
 * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
 * and limitations under the License.
 */

package software.amazon.awssdk.services.devicefarm;

import java.util.concurrent.CompletableFuture;
import java.util.function.Consumer;
import software.amazon.awssdk.annotations.Generated;
import software.amazon.awssdk.annotations.SdkPublicApi;
import software.amazon.awssdk.annotations.ThreadSafe;
import software.amazon.awssdk.core.SdkClient;
import software.amazon.awssdk.services.devicefarm.model.CreateDevicePoolRequest;
import software.amazon.awssdk.services.devicefarm.model.CreateDevicePoolResponse;
import software.amazon.awssdk.services.devicefarm.model.CreateInstanceProfileRequest;
import software.amazon.awssdk.services.devicefarm.model.CreateInstanceProfileResponse;
import software.amazon.awssdk.services.devicefarm.model.CreateNetworkProfileRequest;
import software.amazon.awssdk.services.devicefarm.model.CreateNetworkProfileResponse;
import software.amazon.awssdk.services.devicefarm.model.CreateProjectRequest;
import software.amazon.awssdk.services.devicefarm.model.CreateProjectResponse;
import software.amazon.awssdk.services.devicefarm.model.CreateRemoteAccessSessionRequest;
import software.amazon.awssdk.services.devicefarm.model.CreateRemoteAccessSessionResponse;
import software.amazon.awssdk.services.devicefarm.model.CreateTestGridProjectRequest;
import software.amazon.awssdk.services.devicefarm.model.CreateTestGridProjectResponse;
import software.amazon.awssdk.services.devicefarm.model.CreateTestGridUrlRequest;
import software.amazon.awssdk.services.devicefarm.model.CreateTestGridUrlResponse;
import software.amazon.awssdk.services.devicefarm.model.CreateUploadRequest;
import software.amazon.awssdk.services.devicefarm.model.CreateUploadResponse;
import software.amazon.awssdk.services.devicefarm.model.CreateVpceConfigurationRequest;
import software.amazon.awssdk.services.devicefarm.model.CreateVpceConfigurationResponse;
import software.amazon.awssdk.services.devicefarm.model.DeleteDevicePoolRequest;
import software.amazon.awssdk.services.devicefarm.model.DeleteDevicePoolResponse;
import software.amazon.awssdk.services.devicefarm.model.DeleteInstanceProfileRequest;
import software.amazon.awssdk.services.devicefarm.model.DeleteInstanceProfileResponse;
import software.amazon.awssdk.services.devicefarm.model.DeleteNetworkProfileRequest;
import software.amazon.awssdk.services.devicefarm.model.DeleteNetworkProfileResponse;
import software.amazon.awssdk.services.devicefarm.model.DeleteProjectRequest;
import software.amazon.awssdk.services.devicefarm.model.DeleteProjectResponse;
import software.amazon.awssdk.services.devicefarm.model.DeleteRemoteAccessSessionRequest;
import software.amazon.awssdk.services.devicefarm.model.DeleteRemoteAccessSessionResponse;
import software.amazon.awssdk.services.devicefarm.model.DeleteRunRequest;
import software.amazon.awssdk.services.devicefarm.model.DeleteRunResponse;
import software.amazon.awssdk.services.devicefarm.model.DeleteTestGridProjectRequest;
import software.amazon.awssdk.services.devicefarm.model.DeleteTestGridProjectResponse;
import software.amazon.awssdk.services.devicefarm.model.DeleteUploadRequest;
import software.amazon.awssdk.services.devicefarm.model.DeleteUploadResponse;
import software.amazon.awssdk.services.devicefarm.model.DeleteVpceConfigurationRequest;
import software.amazon.awssdk.services.devicefarm.model.DeleteVpceConfigurationResponse;
import software.amazon.awssdk.services.devicefarm.model.GetAccountSettingsRequest;
import software.amazon.awssdk.services.devicefarm.model.GetAccountSettingsResponse;
import software.amazon.awssdk.services.devicefarm.model.GetDeviceInstanceRequest;
import software.amazon.awssdk.services.devicefarm.model.GetDeviceInstanceResponse;
import software.amazon.awssdk.services.devicefarm.model.GetDevicePoolCompatibilityRequest;
import software.amazon.awssdk.services.devicefarm.model.GetDevicePoolCompatibilityResponse;
import software.amazon.awssdk.services.devicefarm.model.GetDevicePoolRequest;
import software.amazon.awssdk.services.devicefarm.model.GetDevicePoolResponse;
import software.amazon.awssdk.services.devicefarm.model.GetDeviceRequest;
import software.amazon.awssdk.services.devicefarm.model.GetDeviceResponse;
import software.amazon.awssdk.services.devicefarm.model.GetInstanceProfileRequest;
import software.amazon.awssdk.services.devicefarm.model.GetInstanceProfileResponse;
import software.amazon.awssdk.services.devicefarm.model.GetJobRequest;
import software.amazon.awssdk.services.devicefarm.model.GetJobResponse;
import software.amazon.awssdk.services.devicefarm.model.GetNetworkProfileRequest;
import software.amazon.awssdk.services.devicefarm.model.GetNetworkProfileResponse;
import software.amazon.awssdk.services.devicefarm.model.GetOfferingStatusRequest;
import software.amazon.awssdk.services.devicefarm.model.GetOfferingStatusResponse;
import software.amazon.awssdk.services.devicefarm.model.GetProjectRequest;
import software.amazon.awssdk.services.devicefarm.model.GetProjectResponse;
import software.amazon.awssdk.services.devicefarm.model.GetRemoteAccessSessionRequest;
import software.amazon.awssdk.services.devicefarm.model.GetRemoteAccessSessionResponse;
import software.amazon.awssdk.services.devicefarm.model.GetRunRequest;
import software.amazon.awssdk.services.devicefarm.model.GetRunResponse;
import software.amazon.awssdk.services.devicefarm.model.GetSuiteRequest;
import software.amazon.awssdk.services.devicefarm.model.GetSuiteResponse;
import software.amazon.awssdk.services.devicefarm.model.GetTestGridProjectRequest;
import software.amazon.awssdk.services.devicefarm.model.GetTestGridProjectResponse;
import software.amazon.awssdk.services.devicefarm.model.GetTestGridSessionRequest;
import software.amazon.awssdk.services.devicefarm.model.GetTestGridSessionResponse;
import software.amazon.awssdk.services.devicefarm.model.GetTestRequest;
import software.amazon.awssdk.services.devicefarm.model.GetTestResponse;
import software.amazon.awssdk.services.devicefarm.model.GetUploadRequest;
import software.amazon.awssdk.services.devicefarm.model.GetUploadResponse;
import software.amazon.awssdk.services.devicefarm.model.GetVpceConfigurationRequest;
import software.amazon.awssdk.services.devicefarm.model.GetVpceConfigurationResponse;
import software.amazon.awssdk.services.devicefarm.model.InstallToRemoteAccessSessionRequest;
import software.amazon.awssdk.services.devicefarm.model.InstallToRemoteAccessSessionResponse;
import software.amazon.awssdk.services.devicefarm.model.ListArtifactsRequest;
import software.amazon.awssdk.services.devicefarm.model.ListArtifactsResponse;
import software.amazon.awssdk.services.devicefarm.model.ListDeviceInstancesRequest;
import software.amazon.awssdk.services.devicefarm.model.ListDeviceInstancesResponse;
import software.amazon.awssdk.services.devicefarm.model.ListDevicePoolsRequest;
import software.amazon.awssdk.services.devicefarm.model.ListDevicePoolsResponse;
import software.amazon.awssdk.services.devicefarm.model.ListDevicesRequest;
import software.amazon.awssdk.services.devicefarm.model.ListDevicesResponse;
import software.amazon.awssdk.services.devicefarm.model.ListInstanceProfilesRequest;
import software.amazon.awssdk.services.devicefarm.model.ListInstanceProfilesResponse;
import software.amazon.awssdk.services.devicefarm.model.ListJobsRequest;
import software.amazon.awssdk.services.devicefarm.model.ListJobsResponse;
import software.amazon.awssdk.services.devicefarm.model.ListNetworkProfilesRequest;
import software.amazon.awssdk.services.devicefarm.model.ListNetworkProfilesResponse;
import software.amazon.awssdk.services.devicefarm.model.ListOfferingPromotionsRequest;
import software.amazon.awssdk.services.devicefarm.model.ListOfferingPromotionsResponse;
import software.amazon.awssdk.services.devicefarm.model.ListOfferingTransactionsRequest;
import software.amazon.awssdk.services.devicefarm.model.ListOfferingTransactionsResponse;
import software.amazon.awssdk.services.devicefarm.model.ListOfferingsRequest;
import software.amazon.awssdk.services.devicefarm.model.ListOfferingsResponse;
import software.amazon.awssdk.services.devicefarm.model.ListProjectsRequest;
import software.amazon.awssdk.services.devicefarm.model.ListProjectsResponse;
import software.amazon.awssdk.services.devicefarm.model.ListRemoteAccessSessionsRequest;
import software.amazon.awssdk.services.devicefarm.model.ListRemoteAccessSessionsResponse;
import software.amazon.awssdk.services.devicefarm.model.ListRunsRequest;
import software.amazon.awssdk.services.devicefarm.model.ListRunsResponse;
import software.amazon.awssdk.services.devicefarm.model.ListSamplesRequest;
import software.amazon.awssdk.services.devicefarm.model.ListSamplesResponse;
import software.amazon.awssdk.services.devicefarm.model.ListSuitesRequest;
import software.amazon.awssdk.services.devicefarm.model.ListSuitesResponse;
import software.amazon.awssdk.services.devicefarm.model.ListTagsForResourceRequest;
import software.amazon.awssdk.services.devicefarm.model.ListTagsForResourceResponse;
import software.amazon.awssdk.services.devicefarm.model.ListTestGridProjectsRequest;
import software.amazon.awssdk.services.devicefarm.model.ListTestGridProjectsResponse;
import software.amazon.awssdk.services.devicefarm.model.ListTestGridSessionActionsRequest;
import software.amazon.awssdk.services.devicefarm.model.ListTestGridSessionActionsResponse;
import software.amazon.awssdk.services.devicefarm.model.ListTestGridSessionArtifactsRequest;
import software.amazon.awssdk.services.devicefarm.model.ListTestGridSessionArtifactsResponse;
import software.amazon.awssdk.services.devicefarm.model.ListTestGridSessionsRequest;
import software.amazon.awssdk.services.devicefarm.model.ListTestGridSessionsResponse;
import software.amazon.awssdk.services.devicefarm.model.ListTestsRequest;
import software.amazon.awssdk.services.devicefarm.model.ListTestsResponse;
import software.amazon.awssdk.services.devicefarm.model.ListUniqueProblemsRequest;
import software.amazon.awssdk.services.devicefarm.model.ListUniqueProblemsResponse;
import software.amazon.awssdk.services.devicefarm.model.ListUploadsRequest;
import software.amazon.awssdk.services.devicefarm.model.ListUploadsResponse;
import software.amazon.awssdk.services.devicefarm.model.ListVpceConfigurationsRequest;
import software.amazon.awssdk.services.devicefarm.model.ListVpceConfigurationsResponse;
import software.amazon.awssdk.services.devicefarm.model.PurchaseOfferingRequest;
import software.amazon.awssdk.services.devicefarm.model.PurchaseOfferingResponse;
import software.amazon.awssdk.services.devicefarm.model.RenewOfferingRequest;
import software.amazon.awssdk.services.devicefarm.model.RenewOfferingResponse;
import software.amazon.awssdk.services.devicefarm.model.ScheduleRunRequest;
import software.amazon.awssdk.services.devicefarm.model.ScheduleRunResponse;
import software.amazon.awssdk.services.devicefarm.model.StopJobRequest;
import software.amazon.awssdk.services.devicefarm.model.StopJobResponse;
import software.amazon.awssdk.services.devicefarm.model.StopRemoteAccessSessionRequest;
import software.amazon.awssdk.services.devicefarm.model.StopRemoteAccessSessionResponse;
import software.amazon.awssdk.services.devicefarm.model.StopRunRequest;
import software.amazon.awssdk.services.devicefarm.model.StopRunResponse;
import software.amazon.awssdk.services.devicefarm.model.TagResourceRequest;
import software.amazon.awssdk.services.devicefarm.model.TagResourceResponse;
import software.amazon.awssdk.services.devicefarm.model.UntagResourceRequest;
import software.amazon.awssdk.services.devicefarm.model.UntagResourceResponse;
import software.amazon.awssdk.services.devicefarm.model.UpdateDeviceInstanceRequest;
import software.amazon.awssdk.services.devicefarm.model.UpdateDeviceInstanceResponse;
import software.amazon.awssdk.services.devicefarm.model.UpdateDevicePoolRequest;
import software.amazon.awssdk.services.devicefarm.model.UpdateDevicePoolResponse;
import software.amazon.awssdk.services.devicefarm.model.UpdateInstanceProfileRequest;
import software.amazon.awssdk.services.devicefarm.model.UpdateInstanceProfileResponse;
import software.amazon.awssdk.services.devicefarm.model.UpdateNetworkProfileRequest;
import software.amazon.awssdk.services.devicefarm.model.UpdateNetworkProfileResponse;
import software.amazon.awssdk.services.devicefarm.model.UpdateProjectRequest;
import software.amazon.awssdk.services.devicefarm.model.UpdateProjectResponse;
import software.amazon.awssdk.services.devicefarm.model.UpdateTestGridProjectRequest;
import software.amazon.awssdk.services.devicefarm.model.UpdateTestGridProjectResponse;
import software.amazon.awssdk.services.devicefarm.model.UpdateUploadRequest;
import software.amazon.awssdk.services.devicefarm.model.UpdateUploadResponse;
import software.amazon.awssdk.services.devicefarm.model.UpdateVpceConfigurationRequest;
import software.amazon.awssdk.services.devicefarm.model.UpdateVpceConfigurationResponse;
import software.amazon.awssdk.services.devicefarm.paginators.GetOfferingStatusPublisher;
import software.amazon.awssdk.services.devicefarm.paginators.ListArtifactsPublisher;
import software.amazon.awssdk.services.devicefarm.paginators.ListDevicePoolsPublisher;
import software.amazon.awssdk.services.devicefarm.paginators.ListDevicesPublisher;
import software.amazon.awssdk.services.devicefarm.paginators.ListJobsPublisher;
import software.amazon.awssdk.services.devicefarm.paginators.ListOfferingTransactionsPublisher;
import software.amazon.awssdk.services.devicefarm.paginators.ListOfferingsPublisher;
import software.amazon.awssdk.services.devicefarm.paginators.ListProjectsPublisher;
import software.amazon.awssdk.services.devicefarm.paginators.ListRunsPublisher;
import software.amazon.awssdk.services.devicefarm.paginators.ListSamplesPublisher;
import software.amazon.awssdk.services.devicefarm.paginators.ListSuitesPublisher;
import software.amazon.awssdk.services.devicefarm.paginators.ListTestGridProjectsPublisher;
import software.amazon.awssdk.services.devicefarm.paginators.ListTestGridSessionActionsPublisher;
import software.amazon.awssdk.services.devicefarm.paginators.ListTestGridSessionArtifactsPublisher;
import software.amazon.awssdk.services.devicefarm.paginators.ListTestGridSessionsPublisher;
import software.amazon.awssdk.services.devicefarm.paginators.ListTestsPublisher;
import software.amazon.awssdk.services.devicefarm.paginators.ListUniqueProblemsPublisher;
import software.amazon.awssdk.services.devicefarm.paginators.ListUploadsPublisher;

/**
 * Service client for accessing AWS Device Farm asynchronously. This can be created using the static {@link #builder()}
 * method.
 *
 * 

* Welcome to the AWS Device Farm API documentation, which contains APIs for: *

*
    *
  • *

    * Testing on desktop browsers *

    *

    * Device Farm makes it possible for you to test your web applications on desktop browsers using Selenium. The APIs for * desktop browser testing contain TestGrid in their names. For more information, see Testing Web Applications on Selenium with Device * Farm. *

    *
  • *
  • *

    * Testing on real mobile devices *

    *

    * Device Farm makes it possible for you to test apps on physical phones, tablets, and other devices in the cloud. For * more information, see the Device Farm * Developer Guide. *

    *
  • *
*/ @Generated("software.amazon.awssdk:codegen") @SdkPublicApi @ThreadSafe public interface DeviceFarmAsyncClient extends SdkClient { String SERVICE_NAME = "devicefarm"; /** * Value for looking up the service's metadata from the * {@link software.amazon.awssdk.regions.ServiceMetadataProvider}. */ String SERVICE_METADATA_ID = "devicefarm"; /** * Create a {@link DeviceFarmAsyncClient} with the region loaded from the * {@link software.amazon.awssdk.regions.providers.DefaultAwsRegionProviderChain} and credentials loaded from the * {@link software.amazon.awssdk.auth.credentials.DefaultCredentialsProvider}. */ static DeviceFarmAsyncClient create() { return builder().build(); } /** * Create a builder that can be used to configure and create a {@link DeviceFarmAsyncClient}. */ static DeviceFarmAsyncClientBuilder builder() { return new DefaultDeviceFarmAsyncClientBuilder(); } /** *

* Creates a device pool. *

* * @param createDevicePoolRequest * Represents a request to the create device pool operation. * @return A Java Future containing the result of the CreateDevicePool operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.CreateDevicePool * @see AWS * API Documentation */ default CompletableFuture createDevicePool(CreateDevicePoolRequest createDevicePoolRequest) { throw new UnsupportedOperationException(); } /** *

* Creates a device pool. *

*
*

* This is a convenience which creates an instance of the {@link CreateDevicePoolRequest.Builder} avoiding the need * to create one manually via {@link CreateDevicePoolRequest#builder()} *

* * @param createDevicePoolRequest * A {@link Consumer} that will call methods on {@link CreateDevicePoolRequest.Builder} to create a request. * Represents a request to the create device pool operation. * @return A Java Future containing the result of the CreateDevicePool operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.CreateDevicePool * @see AWS * API Documentation */ default CompletableFuture createDevicePool( Consumer createDevicePoolRequest) { return createDevicePool(CreateDevicePoolRequest.builder().applyMutation(createDevicePoolRequest).build()); } /** *

* Creates a profile that can be applied to one or more private fleet device instances. *

* * @param createInstanceProfileRequest * @return A Java Future containing the result of the CreateInstanceProfile operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.CreateInstanceProfile * @see AWS API Documentation */ default CompletableFuture createInstanceProfile( CreateInstanceProfileRequest createInstanceProfileRequest) { throw new UnsupportedOperationException(); } /** *

* Creates a profile that can be applied to one or more private fleet device instances. *

*
*

* This is a convenience which creates an instance of the {@link CreateInstanceProfileRequest.Builder} avoiding the * need to create one manually via {@link CreateInstanceProfileRequest#builder()} *

* * @param createInstanceProfileRequest * A {@link Consumer} that will call methods on {@link CreateInstanceProfileRequest.Builder} to create a * request. * @return A Java Future containing the result of the CreateInstanceProfile operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.CreateInstanceProfile * @see AWS API Documentation */ default CompletableFuture createInstanceProfile( Consumer createInstanceProfileRequest) { return createInstanceProfile(CreateInstanceProfileRequest.builder().applyMutation(createInstanceProfileRequest).build()); } /** *

* Creates a network profile. *

* * @param createNetworkProfileRequest * @return A Java Future containing the result of the CreateNetworkProfile operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.CreateNetworkProfile * @see AWS API Documentation */ default CompletableFuture createNetworkProfile( CreateNetworkProfileRequest createNetworkProfileRequest) { throw new UnsupportedOperationException(); } /** *

* Creates a network profile. *

*
*

* This is a convenience which creates an instance of the {@link CreateNetworkProfileRequest.Builder} avoiding the * need to create one manually via {@link CreateNetworkProfileRequest#builder()} *

* * @param createNetworkProfileRequest * A {@link Consumer} that will call methods on {@link CreateNetworkProfileRequest.Builder} to create a * request. * @return A Java Future containing the result of the CreateNetworkProfile operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.CreateNetworkProfile * @see AWS API Documentation */ default CompletableFuture createNetworkProfile( Consumer createNetworkProfileRequest) { return createNetworkProfile(CreateNetworkProfileRequest.builder().applyMutation(createNetworkProfileRequest).build()); } /** *

* Creates a project. *

* * @param createProjectRequest * Represents a request to the create project operation. * @return A Java Future containing the result of the CreateProject operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • TagOperationException The operation was not successful. Try again.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.CreateProject * @see AWS API * Documentation */ default CompletableFuture createProject(CreateProjectRequest createProjectRequest) { throw new UnsupportedOperationException(); } /** *

* Creates a project. *

*
*

* This is a convenience which creates an instance of the {@link CreateProjectRequest.Builder} avoiding the need to * create one manually via {@link CreateProjectRequest#builder()} *

* * @param createProjectRequest * A {@link Consumer} that will call methods on {@link CreateProjectRequest.Builder} to create a request. * Represents a request to the create project operation. * @return A Java Future containing the result of the CreateProject operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • TagOperationException The operation was not successful. Try again.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.CreateProject * @see AWS API * Documentation */ default CompletableFuture createProject(Consumer createProjectRequest) { return createProject(CreateProjectRequest.builder().applyMutation(createProjectRequest).build()); } /** *

* Specifies and starts a remote access session. *

* * @param createRemoteAccessSessionRequest * Creates and submits a request to start a remote access session. * @return A Java Future containing the result of the CreateRemoteAccessSession operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.CreateRemoteAccessSession * @see AWS API Documentation */ default CompletableFuture createRemoteAccessSession( CreateRemoteAccessSessionRequest createRemoteAccessSessionRequest) { throw new UnsupportedOperationException(); } /** *

* Specifies and starts a remote access session. *

*
*

* This is a convenience which creates an instance of the {@link CreateRemoteAccessSessionRequest.Builder} avoiding * the need to create one manually via {@link CreateRemoteAccessSessionRequest#builder()} *

* * @param createRemoteAccessSessionRequest * A {@link Consumer} that will call methods on {@link CreateRemoteAccessSessionRequest.Builder} to create a * request. Creates and submits a request to start a remote access session. * @return A Java Future containing the result of the CreateRemoteAccessSession operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.CreateRemoteAccessSession * @see AWS API Documentation */ default CompletableFuture createRemoteAccessSession( Consumer createRemoteAccessSessionRequest) { return createRemoteAccessSession(CreateRemoteAccessSessionRequest.builder() .applyMutation(createRemoteAccessSessionRequest).build()); } /** *

* Creates a Selenium testing project. Projects are used to track TestGridSession instances. *

* * @param createTestGridProjectRequest * @return A Java Future containing the result of the CreateTestGridProject operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • InternalServiceException An internal exception was raised in the service. Contact [email protected] if you see this * error.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.CreateTestGridProject * @see AWS API Documentation */ default CompletableFuture createTestGridProject( CreateTestGridProjectRequest createTestGridProjectRequest) { throw new UnsupportedOperationException(); } /** *

* Creates a Selenium testing project. Projects are used to track TestGridSession instances. *

*
*

* This is a convenience which creates an instance of the {@link CreateTestGridProjectRequest.Builder} avoiding the * need to create one manually via {@link CreateTestGridProjectRequest#builder()} *

* * @param createTestGridProjectRequest * A {@link Consumer} that will call methods on {@link CreateTestGridProjectRequest.Builder} to create a * request. * @return A Java Future containing the result of the CreateTestGridProject operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • InternalServiceException An internal exception was raised in the service. Contact [email protected] if you see this * error.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.CreateTestGridProject * @see AWS API Documentation */ default CompletableFuture createTestGridProject( Consumer createTestGridProjectRequest) { return createTestGridProject(CreateTestGridProjectRequest.builder().applyMutation(createTestGridProjectRequest).build()); } /** *

* Creates a signed, short-term URL that can be passed to a Selenium RemoteWebDriver constructor. *

* * @param createTestGridUrlRequest * @return A Java Future containing the result of the CreateTestGridUrl operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • NotFoundException The specified entity was not found.
  • *
  • ArgumentException An invalid argument was specified.
  • *
  • InternalServiceException An internal exception was raised in the service. Contact [email protected] if you see this * error.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.CreateTestGridUrl * @see AWS * API Documentation */ default CompletableFuture createTestGridUrl(CreateTestGridUrlRequest createTestGridUrlRequest) { throw new UnsupportedOperationException(); } /** *

* Creates a signed, short-term URL that can be passed to a Selenium RemoteWebDriver constructor. *

*
*

* This is a convenience which creates an instance of the {@link CreateTestGridUrlRequest.Builder} avoiding the need * to create one manually via {@link CreateTestGridUrlRequest#builder()} *

* * @param createTestGridUrlRequest * A {@link Consumer} that will call methods on {@link CreateTestGridUrlRequest.Builder} to create a request. * @return A Java Future containing the result of the CreateTestGridUrl operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • NotFoundException The specified entity was not found.
  • *
  • ArgumentException An invalid argument was specified.
  • *
  • InternalServiceException An internal exception was raised in the service. Contact [email protected] if you see this * error.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.CreateTestGridUrl * @see AWS * API Documentation */ default CompletableFuture createTestGridUrl( Consumer createTestGridUrlRequest) { return createTestGridUrl(CreateTestGridUrlRequest.builder().applyMutation(createTestGridUrlRequest).build()); } /** *

* Uploads an app or test scripts. *

* * @param createUploadRequest * Represents a request to the create upload operation. * @return A Java Future containing the result of the CreateUpload operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.CreateUpload * @see AWS API * Documentation */ default CompletableFuture createUpload(CreateUploadRequest createUploadRequest) { throw new UnsupportedOperationException(); } /** *

* Uploads an app or test scripts. *

*
*

* This is a convenience which creates an instance of the {@link CreateUploadRequest.Builder} avoiding the need to * create one manually via {@link CreateUploadRequest#builder()} *

* * @param createUploadRequest * A {@link Consumer} that will call methods on {@link CreateUploadRequest.Builder} to create a request. * Represents a request to the create upload operation. * @return A Java Future containing the result of the CreateUpload operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.CreateUpload * @see AWS API * Documentation */ default CompletableFuture createUpload(Consumer createUploadRequest) { return createUpload(CreateUploadRequest.builder().applyMutation(createUploadRequest).build()); } /** *

* Creates a configuration record in Device Farm for your Amazon Virtual Private Cloud (VPC) endpoint. *

* * @param createVpceConfigurationRequest * @return A Java Future containing the result of the CreateVPCEConfiguration operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.CreateVPCEConfiguration * @see AWS API Documentation */ default CompletableFuture createVPCEConfiguration( CreateVpceConfigurationRequest createVpceConfigurationRequest) { throw new UnsupportedOperationException(); } /** *

* Creates a configuration record in Device Farm for your Amazon Virtual Private Cloud (VPC) endpoint. *

*
*

* This is a convenience which creates an instance of the {@link CreateVpceConfigurationRequest.Builder} avoiding * the need to create one manually via {@link CreateVpceConfigurationRequest#builder()} *

* * @param createVpceConfigurationRequest * A {@link Consumer} that will call methods on {@link CreateVPCEConfigurationRequest.Builder} to create a * request. * @return A Java Future containing the result of the CreateVPCEConfiguration operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.CreateVPCEConfiguration * @see AWS API Documentation */ default CompletableFuture createVPCEConfiguration( Consumer createVpceConfigurationRequest) { return createVPCEConfiguration(CreateVpceConfigurationRequest.builder().applyMutation(createVpceConfigurationRequest) .build()); } /** *

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

* * @param deleteDevicePoolRequest * Represents a request to the delete device pool operation. * @return A Java Future containing the result of the DeleteDevicePool operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.DeleteDevicePool * @see AWS * API Documentation */ default CompletableFuture deleteDevicePool(DeleteDevicePoolRequest deleteDevicePoolRequest) { throw new UnsupportedOperationException(); } /** *

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

*
*

* This is a convenience which creates an instance of the {@link DeleteDevicePoolRequest.Builder} avoiding the need * to create one manually via {@link DeleteDevicePoolRequest#builder()} *

* * @param deleteDevicePoolRequest * A {@link Consumer} that will call methods on {@link DeleteDevicePoolRequest.Builder} to create a request. * Represents a request to the delete device pool operation. * @return A Java Future containing the result of the DeleteDevicePool operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.DeleteDevicePool * @see AWS * API Documentation */ default CompletableFuture deleteDevicePool( Consumer deleteDevicePoolRequest) { return deleteDevicePool(DeleteDevicePoolRequest.builder().applyMutation(deleteDevicePoolRequest).build()); } /** *

* Deletes a profile that can be applied to one or more private device instances. *

* * @param deleteInstanceProfileRequest * @return A Java Future containing the result of the DeleteInstanceProfile operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.DeleteInstanceProfile * @see AWS API Documentation */ default CompletableFuture deleteInstanceProfile( DeleteInstanceProfileRequest deleteInstanceProfileRequest) { throw new UnsupportedOperationException(); } /** *

* Deletes a profile that can be applied to one or more private device instances. *

*
*

* This is a convenience which creates an instance of the {@link DeleteInstanceProfileRequest.Builder} avoiding the * need to create one manually via {@link DeleteInstanceProfileRequest#builder()} *

* * @param deleteInstanceProfileRequest * A {@link Consumer} that will call methods on {@link DeleteInstanceProfileRequest.Builder} to create a * request. * @return A Java Future containing the result of the DeleteInstanceProfile operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.DeleteInstanceProfile * @see AWS API Documentation */ default CompletableFuture deleteInstanceProfile( Consumer deleteInstanceProfileRequest) { return deleteInstanceProfile(DeleteInstanceProfileRequest.builder().applyMutation(deleteInstanceProfileRequest).build()); } /** *

* Deletes a network profile. *

* * @param deleteNetworkProfileRequest * @return A Java Future containing the result of the DeleteNetworkProfile operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.DeleteNetworkProfile * @see AWS API Documentation */ default CompletableFuture deleteNetworkProfile( DeleteNetworkProfileRequest deleteNetworkProfileRequest) { throw new UnsupportedOperationException(); } /** *

* Deletes a network profile. *

*
*

* This is a convenience which creates an instance of the {@link DeleteNetworkProfileRequest.Builder} avoiding the * need to create one manually via {@link DeleteNetworkProfileRequest#builder()} *

* * @param deleteNetworkProfileRequest * A {@link Consumer} that will call methods on {@link DeleteNetworkProfileRequest.Builder} to create a * request. * @return A Java Future containing the result of the DeleteNetworkProfile operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.DeleteNetworkProfile * @see AWS API Documentation */ default CompletableFuture deleteNetworkProfile( Consumer deleteNetworkProfileRequest) { return deleteNetworkProfile(DeleteNetworkProfileRequest.builder().applyMutation(deleteNetworkProfileRequest).build()); } /** *

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

*

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

* * @param deleteProjectRequest * Represents a request to the delete project operation. * @return A Java Future containing the result of the DeleteProject operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.DeleteProject * @see AWS API * Documentation */ default CompletableFuture deleteProject(DeleteProjectRequest deleteProjectRequest) { throw new UnsupportedOperationException(); } /** *

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

*

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

*
*

* This is a convenience which creates an instance of the {@link DeleteProjectRequest.Builder} avoiding the need to * create one manually via {@link DeleteProjectRequest#builder()} *

* * @param deleteProjectRequest * A {@link Consumer} that will call methods on {@link DeleteProjectRequest.Builder} to create a request. * Represents a request to the delete project operation. * @return A Java Future containing the result of the DeleteProject operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.DeleteProject * @see AWS API * Documentation */ default CompletableFuture deleteProject(Consumer deleteProjectRequest) { return deleteProject(DeleteProjectRequest.builder().applyMutation(deleteProjectRequest).build()); } /** *

* Deletes a completed remote access session and its results. *

* * @param deleteRemoteAccessSessionRequest * Represents the request to delete the specified remote access session. * @return A Java Future containing the result of the DeleteRemoteAccessSession operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.DeleteRemoteAccessSession * @see AWS API Documentation */ default CompletableFuture deleteRemoteAccessSession( DeleteRemoteAccessSessionRequest deleteRemoteAccessSessionRequest) { throw new UnsupportedOperationException(); } /** *

* Deletes a completed remote access session and its results. *

*
*

* This is a convenience which creates an instance of the {@link DeleteRemoteAccessSessionRequest.Builder} avoiding * the need to create one manually via {@link DeleteRemoteAccessSessionRequest#builder()} *

* * @param deleteRemoteAccessSessionRequest * A {@link Consumer} that will call methods on {@link DeleteRemoteAccessSessionRequest.Builder} to create a * request. Represents the request to delete the specified remote access session. * @return A Java Future containing the result of the DeleteRemoteAccessSession operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.DeleteRemoteAccessSession * @see AWS API Documentation */ default CompletableFuture deleteRemoteAccessSession( Consumer deleteRemoteAccessSessionRequest) { return deleteRemoteAccessSession(DeleteRemoteAccessSessionRequest.builder() .applyMutation(deleteRemoteAccessSessionRequest).build()); } /** *

* Deletes the run, given the run ARN. *

*

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

* * @param deleteRunRequest * Represents a request to the delete run operation. * @return A Java Future containing the result of the DeleteRun operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.DeleteRun * @see AWS API * Documentation */ default CompletableFuture deleteRun(DeleteRunRequest deleteRunRequest) { throw new UnsupportedOperationException(); } /** *

* Deletes the run, given the run ARN. *

*

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

*
*

* This is a convenience which creates an instance of the {@link DeleteRunRequest.Builder} avoiding the need to * create one manually via {@link DeleteRunRequest#builder()} *

* * @param deleteRunRequest * A {@link Consumer} that will call methods on {@link DeleteRunRequest.Builder} to create a request. * Represents a request to the delete run operation. * @return A Java Future containing the result of the DeleteRun operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.DeleteRun * @see AWS API * Documentation */ default CompletableFuture deleteRun(Consumer deleteRunRequest) { return deleteRun(DeleteRunRequest.builder().applyMutation(deleteRunRequest).build()); } /** *

* Deletes a Selenium testing project and all content generated under it. *

* *

* You cannot undo this operation. *

*
*

* You cannot delete a project if it has active sessions. *

*
* * @param deleteTestGridProjectRequest * @return A Java Future containing the result of the DeleteTestGridProject operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • NotFoundException The specified entity was not found.
  • *
  • ArgumentException An invalid argument was specified.
  • *
  • CannotDeleteException The requested object could not be deleted.
  • *
  • InternalServiceException An internal exception was raised in the service. Contact [email protected] if you see this * error.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.DeleteTestGridProject * @see AWS API Documentation */ default CompletableFuture deleteTestGridProject( DeleteTestGridProjectRequest deleteTestGridProjectRequest) { throw new UnsupportedOperationException(); } /** *

* Deletes a Selenium testing project and all content generated under it. *

* *

* You cannot undo this operation. *

*
*

* You cannot delete a project if it has active sessions. *

*

*

* This is a convenience which creates an instance of the {@link DeleteTestGridProjectRequest.Builder} avoiding the * need to create one manually via {@link DeleteTestGridProjectRequest#builder()} *

* * @param deleteTestGridProjectRequest * A {@link Consumer} that will call methods on {@link DeleteTestGridProjectRequest.Builder} to create a * request. * @return A Java Future containing the result of the DeleteTestGridProject operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • NotFoundException The specified entity was not found.
  • *
  • ArgumentException An invalid argument was specified.
  • *
  • CannotDeleteException The requested object could not be deleted.
  • *
  • InternalServiceException An internal exception was raised in the service. Contact [email protected] if you see this * error.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.DeleteTestGridProject * @see AWS API Documentation */ default CompletableFuture deleteTestGridProject( Consumer deleteTestGridProjectRequest) { return deleteTestGridProject(DeleteTestGridProjectRequest.builder().applyMutation(deleteTestGridProjectRequest).build()); } /** *

* Deletes an upload given the upload ARN. *

* * @param deleteUploadRequest * Represents a request to the delete upload operation. * @return A Java Future containing the result of the DeleteUpload operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.DeleteUpload * @see AWS API * Documentation */ default CompletableFuture deleteUpload(DeleteUploadRequest deleteUploadRequest) { throw new UnsupportedOperationException(); } /** *

* Deletes an upload given the upload ARN. *

*
*

* This is a convenience which creates an instance of the {@link DeleteUploadRequest.Builder} avoiding the need to * create one manually via {@link DeleteUploadRequest#builder()} *

* * @param deleteUploadRequest * A {@link Consumer} that will call methods on {@link DeleteUploadRequest.Builder} to create a request. * Represents a request to the delete upload operation. * @return A Java Future containing the result of the DeleteUpload operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.DeleteUpload * @see AWS API * Documentation */ default CompletableFuture deleteUpload(Consumer deleteUploadRequest) { return deleteUpload(DeleteUploadRequest.builder().applyMutation(deleteUploadRequest).build()); } /** *

* Deletes a configuration for your Amazon Virtual Private Cloud (VPC) endpoint. *

* * @param deleteVpceConfigurationRequest * @return A Java Future containing the result of the DeleteVPCEConfiguration operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • InvalidOperationException There was an error with the update request, or you do not have sufficient * permissions to update this VPC endpoint configuration.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.DeleteVPCEConfiguration * @see AWS API Documentation */ default CompletableFuture deleteVPCEConfiguration( DeleteVpceConfigurationRequest deleteVpceConfigurationRequest) { throw new UnsupportedOperationException(); } /** *

* Deletes a configuration for your Amazon Virtual Private Cloud (VPC) endpoint. *

*
*

* This is a convenience which creates an instance of the {@link DeleteVpceConfigurationRequest.Builder} avoiding * the need to create one manually via {@link DeleteVpceConfigurationRequest#builder()} *

* * @param deleteVpceConfigurationRequest * A {@link Consumer} that will call methods on {@link DeleteVPCEConfigurationRequest.Builder} to create a * request. * @return A Java Future containing the result of the DeleteVPCEConfiguration operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • InvalidOperationException There was an error with the update request, or you do not have sufficient * permissions to update this VPC endpoint configuration.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.DeleteVPCEConfiguration * @see AWS API Documentation */ default CompletableFuture deleteVPCEConfiguration( Consumer deleteVpceConfigurationRequest) { return deleteVPCEConfiguration(DeleteVpceConfigurationRequest.builder().applyMutation(deleteVpceConfigurationRequest) .build()); } /** *

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

* * @param getAccountSettingsRequest * Represents the request sent to retrieve the account settings. * @return A Java Future containing the result of the GetAccountSettings operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.GetAccountSettings * @see AWS * API Documentation */ default CompletableFuture getAccountSettings(GetAccountSettingsRequest getAccountSettingsRequest) { throw new UnsupportedOperationException(); } /** *

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

*
*

* This is a convenience which creates an instance of the {@link GetAccountSettingsRequest.Builder} avoiding the * need to create one manually via {@link GetAccountSettingsRequest#builder()} *

* * @param getAccountSettingsRequest * A {@link Consumer} that will call methods on {@link GetAccountSettingsRequest.Builder} to create a * request. Represents the request sent to retrieve the account settings. * @return A Java Future containing the result of the GetAccountSettings operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.GetAccountSettings * @see AWS * API Documentation */ default CompletableFuture getAccountSettings( Consumer getAccountSettingsRequest) { return getAccountSettings(GetAccountSettingsRequest.builder().applyMutation(getAccountSettingsRequest).build()); } /** *

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

* * @return A Java Future containing the result of the GetAccountSettings operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.GetAccountSettings * @see AWS * API Documentation */ default CompletableFuture getAccountSettings() { return getAccountSettings(GetAccountSettingsRequest.builder().build()); } /** *

* Gets information about a unique device type. *

* * @param getDeviceRequest * Represents a request to the get device request. * @return A Java Future containing the result of the GetDevice operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.GetDevice * @see AWS API * Documentation */ default CompletableFuture getDevice(GetDeviceRequest getDeviceRequest) { throw new UnsupportedOperationException(); } /** *

* Gets information about a unique device type. *

*
*

* This is a convenience which creates an instance of the {@link GetDeviceRequest.Builder} avoiding the need to * create one manually via {@link GetDeviceRequest#builder()} *

* * @param getDeviceRequest * A {@link Consumer} that will call methods on {@link GetDeviceRequest.Builder} to create a request. * Represents a request to the get device request. * @return A Java Future containing the result of the GetDevice operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.GetDevice * @see AWS API * Documentation */ default CompletableFuture getDevice(Consumer getDeviceRequest) { return getDevice(GetDeviceRequest.builder().applyMutation(getDeviceRequest).build()); } /** *

* Returns information about a device instance that belongs to a private device fleet. *

* * @param getDeviceInstanceRequest * @return A Java Future containing the result of the GetDeviceInstance operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.GetDeviceInstance * @see AWS * API Documentation */ default CompletableFuture getDeviceInstance(GetDeviceInstanceRequest getDeviceInstanceRequest) { throw new UnsupportedOperationException(); } /** *

* Returns information about a device instance that belongs to a private device fleet. *

*
*

* This is a convenience which creates an instance of the {@link GetDeviceInstanceRequest.Builder} avoiding the need * to create one manually via {@link GetDeviceInstanceRequest#builder()} *

* * @param getDeviceInstanceRequest * A {@link Consumer} that will call methods on {@link GetDeviceInstanceRequest.Builder} to create a request. * @return A Java Future containing the result of the GetDeviceInstance operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.GetDeviceInstance * @see AWS * API Documentation */ default CompletableFuture getDeviceInstance( Consumer getDeviceInstanceRequest) { return getDeviceInstance(GetDeviceInstanceRequest.builder().applyMutation(getDeviceInstanceRequest).build()); } /** *

* Gets information about a device pool. *

* * @param getDevicePoolRequest * Represents a request to the get device pool operation. * @return A Java Future containing the result of the GetDevicePool operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.GetDevicePool * @see AWS API * Documentation */ default CompletableFuture getDevicePool(GetDevicePoolRequest getDevicePoolRequest) { throw new UnsupportedOperationException(); } /** *

* Gets information about a device pool. *

*
*

* This is a convenience which creates an instance of the {@link GetDevicePoolRequest.Builder} avoiding the need to * create one manually via {@link GetDevicePoolRequest#builder()} *

* * @param getDevicePoolRequest * A {@link Consumer} that will call methods on {@link GetDevicePoolRequest.Builder} to create a request. * Represents a request to the get device pool operation. * @return A Java Future containing the result of the GetDevicePool operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.GetDevicePool * @see AWS API * Documentation */ default CompletableFuture getDevicePool(Consumer getDevicePoolRequest) { return getDevicePool(GetDevicePoolRequest.builder().applyMutation(getDevicePoolRequest).build()); } /** *

* Gets information about compatibility with a device pool. *

* * @param getDevicePoolCompatibilityRequest * Represents a request to the get device pool compatibility operation. * @return A Java Future containing the result of the GetDevicePoolCompatibility operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.GetDevicePoolCompatibility * @see AWS API Documentation */ default CompletableFuture getDevicePoolCompatibility( GetDevicePoolCompatibilityRequest getDevicePoolCompatibilityRequest) { throw new UnsupportedOperationException(); } /** *

* Gets information about compatibility with a device pool. *

*
*

* This is a convenience which creates an instance of the {@link GetDevicePoolCompatibilityRequest.Builder} avoiding * the need to create one manually via {@link GetDevicePoolCompatibilityRequest#builder()} *

* * @param getDevicePoolCompatibilityRequest * A {@link Consumer} that will call methods on {@link GetDevicePoolCompatibilityRequest.Builder} to create a * request. Represents a request to the get device pool compatibility operation. * @return A Java Future containing the result of the GetDevicePoolCompatibility operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.GetDevicePoolCompatibility * @see AWS API Documentation */ default CompletableFuture getDevicePoolCompatibility( Consumer getDevicePoolCompatibilityRequest) { return getDevicePoolCompatibility(GetDevicePoolCompatibilityRequest.builder() .applyMutation(getDevicePoolCompatibilityRequest).build()); } /** *

* Returns information about the specified instance profile. *

* * @param getInstanceProfileRequest * @return A Java Future containing the result of the GetInstanceProfile operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.GetInstanceProfile * @see AWS * API Documentation */ default CompletableFuture getInstanceProfile(GetInstanceProfileRequest getInstanceProfileRequest) { throw new UnsupportedOperationException(); } /** *

* Returns information about the specified instance profile. *

*
*

* This is a convenience which creates an instance of the {@link GetInstanceProfileRequest.Builder} avoiding the * need to create one manually via {@link GetInstanceProfileRequest#builder()} *

* * @param getInstanceProfileRequest * A {@link Consumer} that will call methods on {@link GetInstanceProfileRequest.Builder} to create a * request. * @return A Java Future containing the result of the GetInstanceProfile operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.GetInstanceProfile * @see AWS * API Documentation */ default CompletableFuture getInstanceProfile( Consumer getInstanceProfileRequest) { return getInstanceProfile(GetInstanceProfileRequest.builder().applyMutation(getInstanceProfileRequest).build()); } /** *

* Gets information about a job. *

* * @param getJobRequest * Represents a request to the get job operation. * @return A Java Future containing the result of the GetJob operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.GetJob * @see AWS API * Documentation */ default CompletableFuture getJob(GetJobRequest getJobRequest) { throw new UnsupportedOperationException(); } /** *

* Gets information about a job. *

*
*

* This is a convenience which creates an instance of the {@link GetJobRequest.Builder} avoiding the need to create * one manually via {@link GetJobRequest#builder()} *

* * @param getJobRequest * A {@link Consumer} that will call methods on {@link GetJobRequest.Builder} to create a request. Represents * a request to the get job operation. * @return A Java Future containing the result of the GetJob operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.GetJob * @see AWS API * Documentation */ default CompletableFuture getJob(Consumer getJobRequest) { return getJob(GetJobRequest.builder().applyMutation(getJobRequest).build()); } /** *

* Returns information about a network profile. *

* * @param getNetworkProfileRequest * @return A Java Future containing the result of the GetNetworkProfile operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.GetNetworkProfile * @see AWS * API Documentation */ default CompletableFuture getNetworkProfile(GetNetworkProfileRequest getNetworkProfileRequest) { throw new UnsupportedOperationException(); } /** *

* Returns information about a network profile. *

*
*

* This is a convenience which creates an instance of the {@link GetNetworkProfileRequest.Builder} avoiding the need * to create one manually via {@link GetNetworkProfileRequest#builder()} *

* * @param getNetworkProfileRequest * A {@link Consumer} that will call methods on {@link GetNetworkProfileRequest.Builder} to create a request. * @return A Java Future containing the result of the GetNetworkProfile operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.GetNetworkProfile * @see AWS * API Documentation */ default CompletableFuture getNetworkProfile( Consumer getNetworkProfileRequest) { return getNetworkProfile(GetNetworkProfileRequest.builder().applyMutation(getNetworkProfileRequest).build()); } /** *

* 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. If you must be * able to invoke this operation, contact [email protected]. *

* * @param getOfferingStatusRequest * Represents the request to retrieve the offering status for the specified customer or account. * @return A Java Future containing the result of the GetOfferingStatus operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • NotEligibleException Exception gets thrown when a user is not eligible to perform the specified * transaction.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.GetOfferingStatus * @see AWS * API Documentation */ default CompletableFuture getOfferingStatus(GetOfferingStatusRequest getOfferingStatusRequest) { throw new UnsupportedOperationException(); } /** *

* 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. If you must be * able to invoke this operation, contact [email protected]. *

*
*

* This is a convenience which creates an instance of the {@link GetOfferingStatusRequest.Builder} avoiding the need * to create one manually via {@link GetOfferingStatusRequest#builder()} *

* * @param getOfferingStatusRequest * A {@link Consumer} that will call methods on {@link GetOfferingStatusRequest.Builder} to create a request. * Represents the request to retrieve the offering status for the specified customer or account. * @return A Java Future containing the result of the GetOfferingStatus operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • NotEligibleException Exception gets thrown when a user is not eligible to perform the specified * transaction.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.GetOfferingStatus * @see AWS * API Documentation */ default CompletableFuture getOfferingStatus( Consumer getOfferingStatusRequest) { return getOfferingStatus(GetOfferingStatusRequest.builder().applyMutation(getOfferingStatusRequest).build()); } /** *

* 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. If you must be * able to invoke this operation, contact [email protected]. *

* * @return A Java Future containing the result of the GetOfferingStatus operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • NotEligibleException Exception gets thrown when a user is not eligible to perform the specified * transaction.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.GetOfferingStatus * @see AWS * API Documentation */ default CompletableFuture getOfferingStatus() { return getOfferingStatus(GetOfferingStatusRequest.builder().build()); } /** *

* 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. If you must be * able to invoke this operation, contact [email protected]. *

*
*

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.devicefarm.paginators.GetOfferingStatusPublisher publisher = client.getOfferingStatusPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.devicefarm.paginators.GetOfferingStatusPublisher publisher = client.getOfferingStatusPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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. *

* Please notice that the configuration of null won't limit the number of results you get with the paginator. It * only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #getOfferingStatus(software.amazon.awssdk.services.devicefarm.model.GetOfferingStatusRequest)} * operation. *

* * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • NotEligibleException Exception gets thrown when a user is not eligible to perform the specified * transaction.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.GetOfferingStatus * @see AWS * API Documentation */ default GetOfferingStatusPublisher getOfferingStatusPaginator() { return getOfferingStatusPaginator(GetOfferingStatusRequest.builder().build()); } /** *

* 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. If you must be * able to invoke this operation, contact [email protected]. *

*
*

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.devicefarm.paginators.GetOfferingStatusPublisher publisher = client.getOfferingStatusPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.devicefarm.paginators.GetOfferingStatusPublisher publisher = client.getOfferingStatusPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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. *

* Please notice that the configuration of null won't limit the number of results you get with the paginator. It * only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #getOfferingStatus(software.amazon.awssdk.services.devicefarm.model.GetOfferingStatusRequest)} * operation. *

* * @param getOfferingStatusRequest * Represents the request to retrieve the offering status for the specified customer or account. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • NotEligibleException Exception gets thrown when a user is not eligible to perform the specified * transaction.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.GetOfferingStatus * @see AWS * API Documentation */ default GetOfferingStatusPublisher getOfferingStatusPaginator(GetOfferingStatusRequest getOfferingStatusRequest) { throw new UnsupportedOperationException(); } /** *

* 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. If you must be * able to invoke this operation, contact [email protected]. *

*
*

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.devicefarm.paginators.GetOfferingStatusPublisher publisher = client.getOfferingStatusPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.devicefarm.paginators.GetOfferingStatusPublisher publisher = client.getOfferingStatusPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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. *

* Please notice that the configuration of null won't limit the number of results you get with the paginator. It * only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #getOfferingStatus(software.amazon.awssdk.services.devicefarm.model.GetOfferingStatusRequest)} * operation. *

*

* This is a convenience which creates an instance of the {@link GetOfferingStatusRequest.Builder} avoiding the need * to create one manually via {@link GetOfferingStatusRequest#builder()} *

* * @param getOfferingStatusRequest * A {@link Consumer} that will call methods on {@link GetOfferingStatusRequest.Builder} to create a request. * Represents the request to retrieve the offering status for the specified customer or account. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • NotEligibleException Exception gets thrown when a user is not eligible to perform the specified * transaction.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.GetOfferingStatus * @see AWS * API Documentation */ default GetOfferingStatusPublisher getOfferingStatusPaginator( Consumer getOfferingStatusRequest) { return getOfferingStatusPaginator(GetOfferingStatusRequest.builder().applyMutation(getOfferingStatusRequest).build()); } /** *

* Gets information about a project. *

* * @param getProjectRequest * Represents a request to the get project operation. * @return A Java Future containing the result of the GetProject operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.GetProject * @see AWS API * Documentation */ default CompletableFuture getProject(GetProjectRequest getProjectRequest) { throw new UnsupportedOperationException(); } /** *

* Gets information about a project. *

*
*

* This is a convenience which creates an instance of the {@link GetProjectRequest.Builder} avoiding the need to * create one manually via {@link GetProjectRequest#builder()} *

* * @param getProjectRequest * A {@link Consumer} that will call methods on {@link GetProjectRequest.Builder} to create a request. * Represents a request to the get project operation. * @return A Java Future containing the result of the GetProject operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.GetProject * @see AWS API * Documentation */ default CompletableFuture getProject(Consumer getProjectRequest) { return getProject(GetProjectRequest.builder().applyMutation(getProjectRequest).build()); } /** *

* Returns a link to a currently running remote access session. *

* * @param getRemoteAccessSessionRequest * Represents the request to get information about the specified remote access session. * @return A Java Future containing the result of the GetRemoteAccessSession operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.GetRemoteAccessSession * @see AWS API Documentation */ default CompletableFuture getRemoteAccessSession( GetRemoteAccessSessionRequest getRemoteAccessSessionRequest) { throw new UnsupportedOperationException(); } /** *

* Returns a link to a currently running remote access session. *

*
*

* This is a convenience which creates an instance of the {@link GetRemoteAccessSessionRequest.Builder} avoiding the * need to create one manually via {@link GetRemoteAccessSessionRequest#builder()} *

* * @param getRemoteAccessSessionRequest * A {@link Consumer} that will call methods on {@link GetRemoteAccessSessionRequest.Builder} to create a * request. Represents the request to get information about the specified remote access session. * @return A Java Future containing the result of the GetRemoteAccessSession operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.GetRemoteAccessSession * @see AWS API Documentation */ default CompletableFuture getRemoteAccessSession( Consumer getRemoteAccessSessionRequest) { return getRemoteAccessSession(GetRemoteAccessSessionRequest.builder().applyMutation(getRemoteAccessSessionRequest) .build()); } /** *

* Gets information about a run. *

* * @param getRunRequest * Represents a request to the get run operation. * @return A Java Future containing the result of the GetRun operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.GetRun * @see AWS API * Documentation */ default CompletableFuture getRun(GetRunRequest getRunRequest) { throw new UnsupportedOperationException(); } /** *

* Gets information about a run. *

*
*

* This is a convenience which creates an instance of the {@link GetRunRequest.Builder} avoiding the need to create * one manually via {@link GetRunRequest#builder()} *

* * @param getRunRequest * A {@link Consumer} that will call methods on {@link GetRunRequest.Builder} to create a request. Represents * a request to the get run operation. * @return A Java Future containing the result of the GetRun operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.GetRun * @see AWS API * Documentation */ default CompletableFuture getRun(Consumer getRunRequest) { return getRun(GetRunRequest.builder().applyMutation(getRunRequest).build()); } /** *

* Gets information about a suite. *

* * @param getSuiteRequest * Represents a request to the get suite operation. * @return A Java Future containing the result of the GetSuite operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.GetSuite * @see AWS API * Documentation */ default CompletableFuture getSuite(GetSuiteRequest getSuiteRequest) { throw new UnsupportedOperationException(); } /** *

* Gets information about a suite. *

*
*

* This is a convenience which creates an instance of the {@link GetSuiteRequest.Builder} avoiding the need to * create one manually via {@link GetSuiteRequest#builder()} *

* * @param getSuiteRequest * A {@link Consumer} that will call methods on {@link GetSuiteRequest.Builder} to create a request. * Represents a request to the get suite operation. * @return A Java Future containing the result of the GetSuite operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.GetSuite * @see AWS API * Documentation */ default CompletableFuture getSuite(Consumer getSuiteRequest) { return getSuite(GetSuiteRequest.builder().applyMutation(getSuiteRequest).build()); } /** *

* Gets information about a test. *

* * @param getTestRequest * Represents a request to the get test operation. * @return A Java Future containing the result of the GetTest operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.GetTest * @see AWS API * Documentation */ default CompletableFuture getTest(GetTestRequest getTestRequest) { throw new UnsupportedOperationException(); } /** *

* Gets information about a test. *

*
*

* This is a convenience which creates an instance of the {@link GetTestRequest.Builder} avoiding the need to create * one manually via {@link GetTestRequest#builder()} *

* * @param getTestRequest * A {@link Consumer} that will call methods on {@link GetTestRequest.Builder} to create a request. * Represents a request to the get test operation. * @return A Java Future containing the result of the GetTest operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.GetTest * @see AWS API * Documentation */ default CompletableFuture getTest(Consumer getTestRequest) { return getTest(GetTestRequest.builder().applyMutation(getTestRequest).build()); } /** *

* Retrieves information about a Selenium testing project. *

* * @param getTestGridProjectRequest * @return A Java Future containing the result of the GetTestGridProject operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • NotFoundException The specified entity was not found.
  • *
  • ArgumentException An invalid argument was specified.
  • *
  • InternalServiceException An internal exception was raised in the service. Contact [email protected] if you see this * error.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.GetTestGridProject * @see AWS * API Documentation */ default CompletableFuture getTestGridProject(GetTestGridProjectRequest getTestGridProjectRequest) { throw new UnsupportedOperationException(); } /** *

* Retrieves information about a Selenium testing project. *

*
*

* This is a convenience which creates an instance of the {@link GetTestGridProjectRequest.Builder} avoiding the * need to create one manually via {@link GetTestGridProjectRequest#builder()} *

* * @param getTestGridProjectRequest * A {@link Consumer} that will call methods on {@link GetTestGridProjectRequest.Builder} to create a * request. * @return A Java Future containing the result of the GetTestGridProject operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • NotFoundException The specified entity was not found.
  • *
  • ArgumentException An invalid argument was specified.
  • *
  • InternalServiceException An internal exception was raised in the service. Contact [email protected] if you see this * error.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.GetTestGridProject * @see AWS * API Documentation */ default CompletableFuture getTestGridProject( Consumer getTestGridProjectRequest) { return getTestGridProject(GetTestGridProjectRequest.builder().applyMutation(getTestGridProjectRequest).build()); } /** *

* A session is an instance of a browser created through a RemoteWebDriver with the URL from * CreateTestGridUrlResult$url. You can use the following to look up sessions: *

* *

* * @param getTestGridSessionRequest * @return A Java Future containing the result of the GetTestGridSession operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *

    *
  • NotFoundException The specified entity was not found.
  • ArgumentException An invalid argument * was specified.
  • InternalServiceException An internal exception was raised in the service. Contact * [email protected] if you see this * error.
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service * and client). Can be used for catch all scenarios.
  • SdkClientException If any client side error * occurs such as an IO related failure, failure to get credentials, etc.
  • DeviceFarmException Base * class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
  • *
* @sample DeviceFarmAsyncClient.GetTestGridSession * @see AWS * API Documentation */ default CompletableFuture getTestGridSession(GetTestGridSessionRequest getTestGridSessionRequest) { throw new UnsupportedOperationException(); } /** *

* A session is an instance of a browser created through a RemoteWebDriver with the URL from * CreateTestGridUrlResult$url. You can use the following to look up sessions: *

* *

*
*

* This is a convenience which creates an instance of the {@link GetTestGridSessionRequest.Builder} avoiding the * need to create one manually via {@link GetTestGridSessionRequest#builder()} *

* * @param getTestGridSessionRequest * A {@link Consumer} that will call methods on {@link GetTestGridSessionRequest.Builder} to create a * request. * @return A Java Future containing the result of the GetTestGridSession operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • NotFoundException The specified entity was not found.
  • *
  • ArgumentException An invalid argument was specified.
  • *
  • InternalServiceException An internal exception was raised in the service. Contact [email protected] if you see this * error.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.GetTestGridSession * @see AWS * API Documentation */ default CompletableFuture getTestGridSession( Consumer getTestGridSessionRequest) { return getTestGridSession(GetTestGridSessionRequest.builder().applyMutation(getTestGridSessionRequest).build()); } /** *

* Gets information about an upload. *

* * @param getUploadRequest * Represents a request to the get upload operation. * @return A Java Future containing the result of the GetUpload operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.GetUpload * @see AWS API * Documentation */ default CompletableFuture getUpload(GetUploadRequest getUploadRequest) { throw new UnsupportedOperationException(); } /** *

* Gets information about an upload. *

*
*

* This is a convenience which creates an instance of the {@link GetUploadRequest.Builder} avoiding the need to * create one manually via {@link GetUploadRequest#builder()} *

* * @param getUploadRequest * A {@link Consumer} that will call methods on {@link GetUploadRequest.Builder} to create a request. * Represents a request to the get upload operation. * @return A Java Future containing the result of the GetUpload operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.GetUpload * @see AWS API * Documentation */ default CompletableFuture getUpload(Consumer getUploadRequest) { return getUpload(GetUploadRequest.builder().applyMutation(getUploadRequest).build()); } /** *

* Returns information about the configuration settings for your Amazon Virtual Private Cloud (VPC) endpoint. *

* * @param getVpceConfigurationRequest * @return A Java Future containing the result of the GetVPCEConfiguration operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.GetVPCEConfiguration * @see AWS API Documentation */ default CompletableFuture getVPCEConfiguration( GetVpceConfigurationRequest getVpceConfigurationRequest) { throw new UnsupportedOperationException(); } /** *

* Returns information about the configuration settings for your Amazon Virtual Private Cloud (VPC) endpoint. *

*
*

* This is a convenience which creates an instance of the {@link GetVpceConfigurationRequest.Builder} avoiding the * need to create one manually via {@link GetVpceConfigurationRequest#builder()} *

* * @param getVpceConfigurationRequest * A {@link Consumer} that will call methods on {@link GetVPCEConfigurationRequest.Builder} to create a * request. * @return A Java Future containing the result of the GetVPCEConfiguration operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.GetVPCEConfiguration * @see AWS API Documentation */ default CompletableFuture getVPCEConfiguration( Consumer getVpceConfigurationRequest) { return getVPCEConfiguration(GetVpceConfigurationRequest.builder().applyMutation(getVpceConfigurationRequest).build()); } /** *

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

* * @param 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. * @return A Java Future containing the result of the InstallToRemoteAccessSession operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.InstallToRemoteAccessSession * @see AWS API Documentation */ default CompletableFuture installToRemoteAccessSession( InstallToRemoteAccessSessionRequest installToRemoteAccessSessionRequest) { throw new UnsupportedOperationException(); } /** *

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

*
*

* This is a convenience which creates an instance of the {@link InstallToRemoteAccessSessionRequest.Builder} * avoiding the need to create one manually via {@link InstallToRemoteAccessSessionRequest#builder()} *

* * @param installToRemoteAccessSessionRequest * A {@link Consumer} that will call methods on {@link InstallToRemoteAccessSessionRequest.Builder} to create * a request. 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. * @return A Java Future containing the result of the InstallToRemoteAccessSession operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.InstallToRemoteAccessSession * @see AWS API Documentation */ default CompletableFuture installToRemoteAccessSession( Consumer installToRemoteAccessSessionRequest) { return installToRemoteAccessSession(InstallToRemoteAccessSessionRequest.builder() .applyMutation(installToRemoteAccessSessionRequest).build()); } /** *

* Gets information about artifacts. *

* * @param listArtifactsRequest * Represents a request to the list artifacts operation. * @return A Java Future containing the result of the ListArtifacts operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.ListArtifacts * @see AWS API * Documentation */ default CompletableFuture listArtifacts(ListArtifactsRequest listArtifactsRequest) { throw new UnsupportedOperationException(); } /** *

* Gets information about artifacts. *

*
*

* This is a convenience which creates an instance of the {@link ListArtifactsRequest.Builder} avoiding the need to * create one manually via {@link ListArtifactsRequest#builder()} *

* * @param listArtifactsRequest * A {@link Consumer} that will call methods on {@link ListArtifactsRequest.Builder} to create a request. * Represents a request to the list artifacts operation. * @return A Java Future containing the result of the ListArtifacts operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.ListArtifacts * @see AWS API * Documentation */ default CompletableFuture listArtifacts(Consumer listArtifactsRequest) { return listArtifacts(ListArtifactsRequest.builder().applyMutation(listArtifactsRequest).build()); } /** *

* Gets information about artifacts. *

*
*

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.devicefarm.paginators.ListArtifactsPublisher publisher = client.listArtifactsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.devicefarm.paginators.ListArtifactsPublisher publisher = client.listArtifactsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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. *

* Please notice that the configuration of null won't limit the number of results you get with the paginator. It * only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listArtifacts(software.amazon.awssdk.services.devicefarm.model.ListArtifactsRequest)} operation. *

* * @param listArtifactsRequest * Represents a request to the list artifacts operation. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.ListArtifacts * @see AWS API * Documentation */ default ListArtifactsPublisher listArtifactsPaginator(ListArtifactsRequest listArtifactsRequest) { throw new UnsupportedOperationException(); } /** *

* Gets information about artifacts. *

*
*

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.devicefarm.paginators.ListArtifactsPublisher publisher = client.listArtifactsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.devicefarm.paginators.ListArtifactsPublisher publisher = client.listArtifactsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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. *

* Please notice that the configuration of null won't limit the number of results you get with the paginator. It * only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listArtifacts(software.amazon.awssdk.services.devicefarm.model.ListArtifactsRequest)} operation. *

*

* This is a convenience which creates an instance of the {@link ListArtifactsRequest.Builder} avoiding the need to * create one manually via {@link ListArtifactsRequest#builder()} *

* * @param listArtifactsRequest * A {@link Consumer} that will call methods on {@link ListArtifactsRequest.Builder} to create a request. * Represents a request to the list artifacts operation. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.ListArtifacts * @see AWS API * Documentation */ default ListArtifactsPublisher listArtifactsPaginator(Consumer listArtifactsRequest) { return listArtifactsPaginator(ListArtifactsRequest.builder().applyMutation(listArtifactsRequest).build()); } /** *

* Returns information about the private device instances associated with one or more AWS accounts. *

* * @param listDeviceInstancesRequest * @return A Java Future containing the result of the ListDeviceInstances operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.ListDeviceInstances * @see AWS API Documentation */ default CompletableFuture listDeviceInstances( ListDeviceInstancesRequest listDeviceInstancesRequest) { throw new UnsupportedOperationException(); } /** *

* Returns information about the private device instances associated with one or more AWS accounts. *

*
*

* This is a convenience which creates an instance of the {@link ListDeviceInstancesRequest.Builder} avoiding the * need to create one manually via {@link ListDeviceInstancesRequest#builder()} *

* * @param listDeviceInstancesRequest * A {@link Consumer} that will call methods on {@link ListDeviceInstancesRequest.Builder} to create a * request. * @return A Java Future containing the result of the ListDeviceInstances operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.ListDeviceInstances * @see AWS API Documentation */ default CompletableFuture listDeviceInstances( Consumer listDeviceInstancesRequest) { return listDeviceInstances(ListDeviceInstancesRequest.builder().applyMutation(listDeviceInstancesRequest).build()); } /** *

* Returns information about the private device instances associated with one or more AWS accounts. *

* * @return A Java Future containing the result of the ListDeviceInstances operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.ListDeviceInstances * @see AWS API Documentation */ default CompletableFuture listDeviceInstances() { return listDeviceInstances(ListDeviceInstancesRequest.builder().build()); } /** *

* Gets information about device pools. *

* * @param listDevicePoolsRequest * Represents the result of a list device pools request. * @return A Java Future containing the result of the ListDevicePools operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.ListDevicePools * @see AWS * API Documentation */ default CompletableFuture listDevicePools(ListDevicePoolsRequest listDevicePoolsRequest) { throw new UnsupportedOperationException(); } /** *

* Gets information about device pools. *

*
*

* This is a convenience which creates an instance of the {@link ListDevicePoolsRequest.Builder} avoiding the need * to create one manually via {@link ListDevicePoolsRequest#builder()} *

* * @param listDevicePoolsRequest * A {@link Consumer} that will call methods on {@link ListDevicePoolsRequest.Builder} to create a request. * Represents the result of a list device pools request. * @return A Java Future containing the result of the ListDevicePools operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.ListDevicePools * @see AWS * API Documentation */ default CompletableFuture listDevicePools( Consumer listDevicePoolsRequest) { return listDevicePools(ListDevicePoolsRequest.builder().applyMutation(listDevicePoolsRequest).build()); } /** *

* Gets information about device pools. *

*
*

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.devicefarm.paginators.ListDevicePoolsPublisher publisher = client.listDevicePoolsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.devicefarm.paginators.ListDevicePoolsPublisher publisher = client.listDevicePoolsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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. *

* Please notice that the configuration of null won't limit the number of results you get with the paginator. It * only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listDevicePools(software.amazon.awssdk.services.devicefarm.model.ListDevicePoolsRequest)} operation. *

* * @param listDevicePoolsRequest * Represents the result of a list device pools request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.ListDevicePools * @see AWS * API Documentation */ default ListDevicePoolsPublisher listDevicePoolsPaginator(ListDevicePoolsRequest listDevicePoolsRequest) { throw new UnsupportedOperationException(); } /** *

* Gets information about device pools. *

*
*

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.devicefarm.paginators.ListDevicePoolsPublisher publisher = client.listDevicePoolsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.devicefarm.paginators.ListDevicePoolsPublisher publisher = client.listDevicePoolsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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. *

* Please notice that the configuration of null won't limit the number of results you get with the paginator. It * only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listDevicePools(software.amazon.awssdk.services.devicefarm.model.ListDevicePoolsRequest)} operation. *

*

* This is a convenience which creates an instance of the {@link ListDevicePoolsRequest.Builder} avoiding the need * to create one manually via {@link ListDevicePoolsRequest#builder()} *

* * @param listDevicePoolsRequest * A {@link Consumer} that will call methods on {@link ListDevicePoolsRequest.Builder} to create a request. * Represents the result of a list device pools request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.ListDevicePools * @see AWS * API Documentation */ default ListDevicePoolsPublisher listDevicePoolsPaginator(Consumer listDevicePoolsRequest) { return listDevicePoolsPaginator(ListDevicePoolsRequest.builder().applyMutation(listDevicePoolsRequest).build()); } /** *

* Gets information about unique device types. *

* * @param listDevicesRequest * Represents the result of a list devices request. * @return A Java Future containing the result of the ListDevices operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.ListDevices * @see AWS API * Documentation */ default CompletableFuture listDevices(ListDevicesRequest listDevicesRequest) { throw new UnsupportedOperationException(); } /** *

* Gets information about unique device types. *

*
*

* This is a convenience which creates an instance of the {@link ListDevicesRequest.Builder} avoiding the need to * create one manually via {@link ListDevicesRequest#builder()} *

* * @param listDevicesRequest * A {@link Consumer} that will call methods on {@link ListDevicesRequest.Builder} to create a request. * Represents the result of a list devices request. * @return A Java Future containing the result of the ListDevices operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.ListDevices * @see AWS API * Documentation */ default CompletableFuture listDevices(Consumer listDevicesRequest) { return listDevices(ListDevicesRequest.builder().applyMutation(listDevicesRequest).build()); } /** *

* Gets information about unique device types. *

* * @return A Java Future containing the result of the ListDevices operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.ListDevices * @see AWS API * Documentation */ default CompletableFuture listDevices() { return listDevices(ListDevicesRequest.builder().build()); } /** *

* Gets information about unique device types. *

*
*

* This is a variant of {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.devicefarm.paginators.ListDevicesPublisher publisher = client.listDevicesPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.devicefarm.paginators.ListDevicesPublisher publisher = client.listDevicesPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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. *

* Please notice that the configuration of null won't limit the number of results you get with the paginator. It * only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listDevices(software.amazon.awssdk.services.devicefarm.model.ListDevicesRequest)} operation. *

* * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.ListDevices * @see AWS API * Documentation */ default ListDevicesPublisher listDevicesPaginator() { return listDevicesPaginator(ListDevicesRequest.builder().build()); } /** *

* Gets information about unique device types. *

*
*

* This is a variant of {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.devicefarm.paginators.ListDevicesPublisher publisher = client.listDevicesPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.devicefarm.paginators.ListDevicesPublisher publisher = client.listDevicesPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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. *

* Please notice that the configuration of null won't limit the number of results you get with the paginator. It * only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listDevices(software.amazon.awssdk.services.devicefarm.model.ListDevicesRequest)} operation. *

* * @param listDevicesRequest * Represents the result of a list devices request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.ListDevices * @see AWS API * Documentation */ default ListDevicesPublisher listDevicesPaginator(ListDevicesRequest listDevicesRequest) { throw new UnsupportedOperationException(); } /** *

* Gets information about unique device types. *

*
*

* This is a variant of {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.devicefarm.paginators.ListDevicesPublisher publisher = client.listDevicesPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.devicefarm.paginators.ListDevicesPublisher publisher = client.listDevicesPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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. *

* Please notice that the configuration of null won't limit the number of results you get with the paginator. It * only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listDevices(software.amazon.awssdk.services.devicefarm.model.ListDevicesRequest)} operation. *

*

* This is a convenience which creates an instance of the {@link ListDevicesRequest.Builder} avoiding the need to * create one manually via {@link ListDevicesRequest#builder()} *

* * @param listDevicesRequest * A {@link Consumer} that will call methods on {@link ListDevicesRequest.Builder} to create a request. * Represents the result of a list devices request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.ListDevices * @see AWS API * Documentation */ default ListDevicesPublisher listDevicesPaginator(Consumer listDevicesRequest) { return listDevicesPaginator(ListDevicesRequest.builder().applyMutation(listDevicesRequest).build()); } /** *

* Returns information about all the instance profiles in an AWS account. *

* * @param listInstanceProfilesRequest * @return A Java Future containing the result of the ListInstanceProfiles operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.ListInstanceProfiles * @see AWS API Documentation */ default CompletableFuture listInstanceProfiles( ListInstanceProfilesRequest listInstanceProfilesRequest) { throw new UnsupportedOperationException(); } /** *

* Returns information about all the instance profiles in an AWS account. *

*
*

* This is a convenience which creates an instance of the {@link ListInstanceProfilesRequest.Builder} avoiding the * need to create one manually via {@link ListInstanceProfilesRequest#builder()} *

* * @param listInstanceProfilesRequest * A {@link Consumer} that will call methods on {@link ListInstanceProfilesRequest.Builder} to create a * request. * @return A Java Future containing the result of the ListInstanceProfiles operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.ListInstanceProfiles * @see AWS API Documentation */ default CompletableFuture listInstanceProfiles( Consumer listInstanceProfilesRequest) { return listInstanceProfiles(ListInstanceProfilesRequest.builder().applyMutation(listInstanceProfilesRequest).build()); } /** *

* Returns information about all the instance profiles in an AWS account. *

* * @return A Java Future containing the result of the ListInstanceProfiles operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.ListInstanceProfiles * @see AWS API Documentation */ default CompletableFuture listInstanceProfiles() { return listInstanceProfiles(ListInstanceProfilesRequest.builder().build()); } /** *

* Gets information about jobs for a given test run. *

* * @param listJobsRequest * Represents a request to the list jobs operation. * @return A Java Future containing the result of the ListJobs operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.ListJobs * @see AWS API * Documentation */ default CompletableFuture listJobs(ListJobsRequest listJobsRequest) { throw new UnsupportedOperationException(); } /** *

* Gets information about jobs for a given test run. *

*
*

* This is a convenience which creates an instance of the {@link ListJobsRequest.Builder} avoiding the need to * create one manually via {@link ListJobsRequest#builder()} *

* * @param listJobsRequest * A {@link Consumer} that will call methods on {@link ListJobsRequest.Builder} to create a request. * Represents a request to the list jobs operation. * @return A Java Future containing the result of the ListJobs operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.ListJobs * @see AWS API * Documentation */ default CompletableFuture listJobs(Consumer listJobsRequest) { return listJobs(ListJobsRequest.builder().applyMutation(listJobsRequest).build()); } /** *

* Gets information about jobs for a given test run. *

*
*

* This is a variant of {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.devicefarm.paginators.ListJobsPublisher publisher = client.listJobsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.devicefarm.paginators.ListJobsPublisher publisher = client.listJobsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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. *

* Please notice that the configuration of null won't limit the number of results you get with the paginator. It * only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listJobs(software.amazon.awssdk.services.devicefarm.model.ListJobsRequest)} operation. *

* * @param listJobsRequest * Represents a request to the list jobs operation. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.ListJobs * @see AWS API * Documentation */ default ListJobsPublisher listJobsPaginator(ListJobsRequest listJobsRequest) { throw new UnsupportedOperationException(); } /** *

* Gets information about jobs for a given test run. *

*
*

* This is a variant of {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.devicefarm.paginators.ListJobsPublisher publisher = client.listJobsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.devicefarm.paginators.ListJobsPublisher publisher = client.listJobsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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. *

* Please notice that the configuration of null won't limit the number of results you get with the paginator. It * only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listJobs(software.amazon.awssdk.services.devicefarm.model.ListJobsRequest)} operation. *

*

* This is a convenience which creates an instance of the {@link ListJobsRequest.Builder} avoiding the need to * create one manually via {@link ListJobsRequest#builder()} *

* * @param listJobsRequest * A {@link Consumer} that will call methods on {@link ListJobsRequest.Builder} to create a request. * Represents a request to the list jobs operation. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.ListJobs * @see AWS API * Documentation */ default ListJobsPublisher listJobsPaginator(Consumer listJobsRequest) { return listJobsPaginator(ListJobsRequest.builder().applyMutation(listJobsRequest).build()); } /** *

* Returns the list of available network profiles. *

* * @param listNetworkProfilesRequest * @return A Java Future containing the result of the ListNetworkProfiles operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.ListNetworkProfiles * @see AWS API Documentation */ default CompletableFuture listNetworkProfiles( ListNetworkProfilesRequest listNetworkProfilesRequest) { throw new UnsupportedOperationException(); } /** *

* Returns the list of available network profiles. *

*
*

* This is a convenience which creates an instance of the {@link ListNetworkProfilesRequest.Builder} avoiding the * need to create one manually via {@link ListNetworkProfilesRequest#builder()} *

* * @param listNetworkProfilesRequest * A {@link Consumer} that will call methods on {@link ListNetworkProfilesRequest.Builder} to create a * request. * @return A Java Future containing the result of the ListNetworkProfiles operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.ListNetworkProfiles * @see AWS API Documentation */ default CompletableFuture listNetworkProfiles( Consumer listNetworkProfilesRequest) { return listNetworkProfiles(ListNetworkProfilesRequest.builder().applyMutation(listNetworkProfilesRequest).build()); } /** *

* 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 [email protected] if * you must be able to invoke this operation. *

* * @param listOfferingPromotionsRequest * @return A Java Future containing the result of the ListOfferingPromotions operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • NotEligibleException Exception gets thrown when a user is not eligible to perform the specified * transaction.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.ListOfferingPromotions * @see AWS API Documentation */ default CompletableFuture listOfferingPromotions( ListOfferingPromotionsRequest listOfferingPromotionsRequest) { throw new UnsupportedOperationException(); } /** *

* 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 [email protected] if * you must be able to invoke this operation. *

*
*

* This is a convenience which creates an instance of the {@link ListOfferingPromotionsRequest.Builder} avoiding the * need to create one manually via {@link ListOfferingPromotionsRequest#builder()} *

* * @param listOfferingPromotionsRequest * A {@link Consumer} that will call methods on {@link ListOfferingPromotionsRequest.Builder} to create a * request. * @return A Java Future containing the result of the ListOfferingPromotions operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • NotEligibleException Exception gets thrown when a user is not eligible to perform the specified * transaction.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.ListOfferingPromotions * @see AWS API Documentation */ default CompletableFuture listOfferingPromotions( Consumer listOfferingPromotionsRequest) { return listOfferingPromotions(ListOfferingPromotionsRequest.builder().applyMutation(listOfferingPromotionsRequest) .build()); } /** *

* 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 [email protected] if * you must be able to invoke this operation. *

* * @return A Java Future containing the result of the ListOfferingPromotions operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • NotEligibleException Exception gets thrown when a user is not eligible to perform the specified * transaction.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.ListOfferingPromotions * @see AWS API Documentation */ default CompletableFuture listOfferingPromotions() { return listOfferingPromotions(ListOfferingPromotionsRequest.builder().build()); } /** *

* 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. If you must be able to * invoke this operation, contact [email protected]. *

* * @param listOfferingTransactionsRequest * Represents the request to list the offering transaction history. * @return A Java Future containing the result of the ListOfferingTransactions operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • NotEligibleException Exception gets thrown when a user is not eligible to perform the specified * transaction.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.ListOfferingTransactions * @see AWS API Documentation */ default CompletableFuture listOfferingTransactions( ListOfferingTransactionsRequest listOfferingTransactionsRequest) { throw new UnsupportedOperationException(); } /** *

* 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. If you must be able to * invoke this operation, contact [email protected]. *

*
*

* This is a convenience which creates an instance of the {@link ListOfferingTransactionsRequest.Builder} avoiding * the need to create one manually via {@link ListOfferingTransactionsRequest#builder()} *

* * @param listOfferingTransactionsRequest * A {@link Consumer} that will call methods on {@link ListOfferingTransactionsRequest.Builder} to create a * request. Represents the request to list the offering transaction history. * @return A Java Future containing the result of the ListOfferingTransactions operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • NotEligibleException Exception gets thrown when a user is not eligible to perform the specified * transaction.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.ListOfferingTransactions * @see AWS API Documentation */ default CompletableFuture listOfferingTransactions( Consumer listOfferingTransactionsRequest) { return listOfferingTransactions(ListOfferingTransactionsRequest.builder().applyMutation(listOfferingTransactionsRequest) .build()); } /** *

* 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. If you must be able to * invoke this operation, contact [email protected]. *

* * @return A Java Future containing the result of the ListOfferingTransactions operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • NotEligibleException Exception gets thrown when a user is not eligible to perform the specified * transaction.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.ListOfferingTransactions * @see AWS API Documentation */ default CompletableFuture listOfferingTransactions() { return listOfferingTransactions(ListOfferingTransactionsRequest.builder().build()); } /** *

* 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. If you must be able to * invoke this operation, contact [email protected]. *

*
*

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.devicefarm.paginators.ListOfferingTransactionsPublisher publisher = client.listOfferingTransactionsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.devicefarm.paginators.ListOfferingTransactionsPublisher publisher = client.listOfferingTransactionsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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. *

* Please notice that the configuration of null won't limit the number of results you get with the paginator. It * only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listOfferingTransactions(software.amazon.awssdk.services.devicefarm.model.ListOfferingTransactionsRequest)} * operation. *

* * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • NotEligibleException Exception gets thrown when a user is not eligible to perform the specified * transaction.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.ListOfferingTransactions * @see AWS API Documentation */ default ListOfferingTransactionsPublisher listOfferingTransactionsPaginator() { return listOfferingTransactionsPaginator(ListOfferingTransactionsRequest.builder().build()); } /** *

* 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. If you must be able to * invoke this operation, contact [email protected]. *

*
*

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.devicefarm.paginators.ListOfferingTransactionsPublisher publisher = client.listOfferingTransactionsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.devicefarm.paginators.ListOfferingTransactionsPublisher publisher = client.listOfferingTransactionsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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. *

* Please notice that the configuration of null won't limit the number of results you get with the paginator. It * only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listOfferingTransactions(software.amazon.awssdk.services.devicefarm.model.ListOfferingTransactionsRequest)} * operation. *

* * @param listOfferingTransactionsRequest * Represents the request to list the offering transaction history. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • NotEligibleException Exception gets thrown when a user is not eligible to perform the specified * transaction.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.ListOfferingTransactions * @see AWS API Documentation */ default ListOfferingTransactionsPublisher listOfferingTransactionsPaginator( ListOfferingTransactionsRequest listOfferingTransactionsRequest) { throw new UnsupportedOperationException(); } /** *

* 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. If you must be able to * invoke this operation, contact [email protected]. *

*
*

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.devicefarm.paginators.ListOfferingTransactionsPublisher publisher = client.listOfferingTransactionsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.devicefarm.paginators.ListOfferingTransactionsPublisher publisher = client.listOfferingTransactionsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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. *

* Please notice that the configuration of null won't limit the number of results you get with the paginator. It * only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listOfferingTransactions(software.amazon.awssdk.services.devicefarm.model.ListOfferingTransactionsRequest)} * operation. *

*

* This is a convenience which creates an instance of the {@link ListOfferingTransactionsRequest.Builder} avoiding * the need to create one manually via {@link ListOfferingTransactionsRequest#builder()} *

* * @param listOfferingTransactionsRequest * A {@link Consumer} that will call methods on {@link ListOfferingTransactionsRequest.Builder} to create a * request. Represents the request to list the offering transaction history. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • NotEligibleException Exception gets thrown when a user is not eligible to perform the specified * transaction.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.ListOfferingTransactions * @see AWS API Documentation */ default ListOfferingTransactionsPublisher listOfferingTransactionsPaginator( Consumer listOfferingTransactionsRequest) { return listOfferingTransactionsPaginator(ListOfferingTransactionsRequest.builder() .applyMutation(listOfferingTransactionsRequest).build()); } /** *

* 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. If you must be able to invoke this operation, contact * [email protected]. *

* * @param listOfferingsRequest * Represents the request to list all offerings. * @return A Java Future containing the result of the ListOfferings operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • NotEligibleException Exception gets thrown when a user is not eligible to perform the specified * transaction.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.ListOfferings * @see AWS API * Documentation */ default CompletableFuture listOfferings(ListOfferingsRequest listOfferingsRequest) { throw new UnsupportedOperationException(); } /** *

* 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. If you must be able to invoke this operation, contact * [email protected]. *

*
*

* This is a convenience which creates an instance of the {@link ListOfferingsRequest.Builder} avoiding the need to * create one manually via {@link ListOfferingsRequest#builder()} *

* * @param listOfferingsRequest * A {@link Consumer} that will call methods on {@link ListOfferingsRequest.Builder} to create a request. * Represents the request to list all offerings. * @return A Java Future containing the result of the ListOfferings operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • NotEligibleException Exception gets thrown when a user is not eligible to perform the specified * transaction.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.ListOfferings * @see AWS API * Documentation */ default CompletableFuture listOfferings(Consumer listOfferingsRequest) { return listOfferings(ListOfferingsRequest.builder().applyMutation(listOfferingsRequest).build()); } /** *

* 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. If you must be able to invoke this operation, contact * [email protected]. *

* * @return A Java Future containing the result of the ListOfferings operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • NotEligibleException Exception gets thrown when a user is not eligible to perform the specified * transaction.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.ListOfferings * @see AWS API * Documentation */ default CompletableFuture listOfferings() { return listOfferings(ListOfferingsRequest.builder().build()); } /** *

* 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. If you must be able to invoke this operation, contact * [email protected]. *

*
*

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.devicefarm.paginators.ListOfferingsPublisher publisher = client.listOfferingsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.devicefarm.paginators.ListOfferingsPublisher publisher = client.listOfferingsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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. *

* Please notice that the configuration of null won't limit the number of results you get with the paginator. It * only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listOfferings(software.amazon.awssdk.services.devicefarm.model.ListOfferingsRequest)} operation. *

* * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • NotEligibleException Exception gets thrown when a user is not eligible to perform the specified * transaction.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.ListOfferings * @see AWS API * Documentation */ default ListOfferingsPublisher listOfferingsPaginator() { return listOfferingsPaginator(ListOfferingsRequest.builder().build()); } /** *

* 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. If you must be able to invoke this operation, contact * [email protected]. *

*
*

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.devicefarm.paginators.ListOfferingsPublisher publisher = client.listOfferingsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.devicefarm.paginators.ListOfferingsPublisher publisher = client.listOfferingsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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. *

* Please notice that the configuration of null won't limit the number of results you get with the paginator. It * only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listOfferings(software.amazon.awssdk.services.devicefarm.model.ListOfferingsRequest)} operation. *

* * @param listOfferingsRequest * Represents the request to list all offerings. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • NotEligibleException Exception gets thrown when a user is not eligible to perform the specified * transaction.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.ListOfferings * @see AWS API * Documentation */ default ListOfferingsPublisher listOfferingsPaginator(ListOfferingsRequest listOfferingsRequest) { throw new UnsupportedOperationException(); } /** *

* 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. If you must be able to invoke this operation, contact * [email protected]. *

*
*

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.devicefarm.paginators.ListOfferingsPublisher publisher = client.listOfferingsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.devicefarm.paginators.ListOfferingsPublisher publisher = client.listOfferingsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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. *

* Please notice that the configuration of null won't limit the number of results you get with the paginator. It * only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listOfferings(software.amazon.awssdk.services.devicefarm.model.ListOfferingsRequest)} operation. *

*

* This is a convenience which creates an instance of the {@link ListOfferingsRequest.Builder} avoiding the need to * create one manually via {@link ListOfferingsRequest#builder()} *

* * @param listOfferingsRequest * A {@link Consumer} that will call methods on {@link ListOfferingsRequest.Builder} to create a request. * Represents the request to list all offerings. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • NotEligibleException Exception gets thrown when a user is not eligible to perform the specified * transaction.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.ListOfferings * @see AWS API * Documentation */ default ListOfferingsPublisher listOfferingsPaginator(Consumer listOfferingsRequest) { return listOfferingsPaginator(ListOfferingsRequest.builder().applyMutation(listOfferingsRequest).build()); } /** *

* Gets information about projects. *

* * @param listProjectsRequest * Represents a request to the list projects operation. * @return A Java Future containing the result of the ListProjects operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.ListProjects * @see AWS API * Documentation */ default CompletableFuture listProjects(ListProjectsRequest listProjectsRequest) { throw new UnsupportedOperationException(); } /** *

* Gets information about projects. *

*
*

* This is a convenience which creates an instance of the {@link ListProjectsRequest.Builder} avoiding the need to * create one manually via {@link ListProjectsRequest#builder()} *

* * @param listProjectsRequest * A {@link Consumer} that will call methods on {@link ListProjectsRequest.Builder} to create a request. * Represents a request to the list projects operation. * @return A Java Future containing the result of the ListProjects operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.ListProjects * @see AWS API * Documentation */ default CompletableFuture listProjects(Consumer listProjectsRequest) { return listProjects(ListProjectsRequest.builder().applyMutation(listProjectsRequest).build()); } /** *

* Gets information about projects. *

* * @return A Java Future containing the result of the ListProjects operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.ListProjects * @see AWS API * Documentation */ default CompletableFuture listProjects() { return listProjects(ListProjectsRequest.builder().build()); } /** *

* Gets information about projects. *

*
*

* This is a variant of {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.devicefarm.paginators.ListProjectsPublisher publisher = client.listProjectsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.devicefarm.paginators.ListProjectsPublisher publisher = client.listProjectsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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. *

* Please notice that the configuration of null won't limit the number of results you get with the paginator. It * only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listProjects(software.amazon.awssdk.services.devicefarm.model.ListProjectsRequest)} operation. *

* * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.ListProjects * @see AWS API * Documentation */ default ListProjectsPublisher listProjectsPaginator() { return listProjectsPaginator(ListProjectsRequest.builder().build()); } /** *

* Gets information about projects. *

*
*

* This is a variant of {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.devicefarm.paginators.ListProjectsPublisher publisher = client.listProjectsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.devicefarm.paginators.ListProjectsPublisher publisher = client.listProjectsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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. *

* Please notice that the configuration of null won't limit the number of results you get with the paginator. It * only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listProjects(software.amazon.awssdk.services.devicefarm.model.ListProjectsRequest)} operation. *

* * @param listProjectsRequest * Represents a request to the list projects operation. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.ListProjects * @see AWS API * Documentation */ default ListProjectsPublisher listProjectsPaginator(ListProjectsRequest listProjectsRequest) { throw new UnsupportedOperationException(); } /** *

* Gets information about projects. *

*
*

* This is a variant of {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.devicefarm.paginators.ListProjectsPublisher publisher = client.listProjectsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.devicefarm.paginators.ListProjectsPublisher publisher = client.listProjectsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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. *

* Please notice that the configuration of null won't limit the number of results you get with the paginator. It * only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listProjects(software.amazon.awssdk.services.devicefarm.model.ListProjectsRequest)} operation. *

*

* This is a convenience which creates an instance of the {@link ListProjectsRequest.Builder} avoiding the need to * create one manually via {@link ListProjectsRequest#builder()} *

* * @param listProjectsRequest * A {@link Consumer} that will call methods on {@link ListProjectsRequest.Builder} to create a request. * Represents a request to the list projects operation. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.ListProjects * @see AWS API * Documentation */ default ListProjectsPublisher listProjectsPaginator(Consumer listProjectsRequest) { return listProjectsPaginator(ListProjectsRequest.builder().applyMutation(listProjectsRequest).build()); } /** *

* Returns a list of all currently running remote access sessions. *

* * @param listRemoteAccessSessionsRequest * Represents the request to return information about the remote access session. * @return A Java Future containing the result of the ListRemoteAccessSessions operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.ListRemoteAccessSessions * @see AWS API Documentation */ default CompletableFuture listRemoteAccessSessions( ListRemoteAccessSessionsRequest listRemoteAccessSessionsRequest) { throw new UnsupportedOperationException(); } /** *

* Returns a list of all currently running remote access sessions. *

*
*

* This is a convenience which creates an instance of the {@link ListRemoteAccessSessionsRequest.Builder} avoiding * the need to create one manually via {@link ListRemoteAccessSessionsRequest#builder()} *

* * @param listRemoteAccessSessionsRequest * A {@link Consumer} that will call methods on {@link ListRemoteAccessSessionsRequest.Builder} to create a * request. Represents the request to return information about the remote access session. * @return A Java Future containing the result of the ListRemoteAccessSessions operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.ListRemoteAccessSessions * @see AWS API Documentation */ default CompletableFuture listRemoteAccessSessions( Consumer listRemoteAccessSessionsRequest) { return listRemoteAccessSessions(ListRemoteAccessSessionsRequest.builder().applyMutation(listRemoteAccessSessionsRequest) .build()); } /** *

* Gets information about runs, given an AWS Device Farm project ARN. *

* * @param listRunsRequest * Represents a request to the list runs operation. * @return A Java Future containing the result of the ListRuns operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.ListRuns * @see AWS API * Documentation */ default CompletableFuture listRuns(ListRunsRequest listRunsRequest) { throw new UnsupportedOperationException(); } /** *

* Gets information about runs, given an AWS Device Farm project ARN. *

*
*

* This is a convenience which creates an instance of the {@link ListRunsRequest.Builder} avoiding the need to * create one manually via {@link ListRunsRequest#builder()} *

* * @param listRunsRequest * A {@link Consumer} that will call methods on {@link ListRunsRequest.Builder} to create a request. * Represents a request to the list runs operation. * @return A Java Future containing the result of the ListRuns operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.ListRuns * @see AWS API * Documentation */ default CompletableFuture listRuns(Consumer listRunsRequest) { return listRuns(ListRunsRequest.builder().applyMutation(listRunsRequest).build()); } /** *

* Gets information about runs, given an AWS Device Farm project ARN. *

*
*

* This is a variant of {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.devicefarm.paginators.ListRunsPublisher publisher = client.listRunsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.devicefarm.paginators.ListRunsPublisher publisher = client.listRunsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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. *

* Please notice that the configuration of null won't limit the number of results you get with the paginator. It * only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listRuns(software.amazon.awssdk.services.devicefarm.model.ListRunsRequest)} operation. *

* * @param listRunsRequest * Represents a request to the list runs operation. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.ListRuns * @see AWS API * Documentation */ default ListRunsPublisher listRunsPaginator(ListRunsRequest listRunsRequest) { throw new UnsupportedOperationException(); } /** *

* Gets information about runs, given an AWS Device Farm project ARN. *

*
*

* This is a variant of {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.devicefarm.paginators.ListRunsPublisher publisher = client.listRunsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.devicefarm.paginators.ListRunsPublisher publisher = client.listRunsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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. *

* Please notice that the configuration of null won't limit the number of results you get with the paginator. It * only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listRuns(software.amazon.awssdk.services.devicefarm.model.ListRunsRequest)} operation. *

*

* This is a convenience which creates an instance of the {@link ListRunsRequest.Builder} avoiding the need to * create one manually via {@link ListRunsRequest#builder()} *

* * @param listRunsRequest * A {@link Consumer} that will call methods on {@link ListRunsRequest.Builder} to create a request. * Represents a request to the list runs operation. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.ListRuns * @see AWS API * Documentation */ default ListRunsPublisher listRunsPaginator(Consumer listRunsRequest) { return listRunsPaginator(ListRunsRequest.builder().applyMutation(listRunsRequest).build()); } /** *

* Gets information about samples, given an AWS Device Farm job ARN. *

* * @param listSamplesRequest * Represents a request to the list samples operation. * @return A Java Future containing the result of the ListSamples operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.ListSamples * @see AWS API * Documentation */ default CompletableFuture listSamples(ListSamplesRequest listSamplesRequest) { throw new UnsupportedOperationException(); } /** *

* Gets information about samples, given an AWS Device Farm job ARN. *

*
*

* This is a convenience which creates an instance of the {@link ListSamplesRequest.Builder} avoiding the need to * create one manually via {@link ListSamplesRequest#builder()} *

* * @param listSamplesRequest * A {@link Consumer} that will call methods on {@link ListSamplesRequest.Builder} to create a request. * Represents a request to the list samples operation. * @return A Java Future containing the result of the ListSamples operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.ListSamples * @see AWS API * Documentation */ default CompletableFuture listSamples(Consumer listSamplesRequest) { return listSamples(ListSamplesRequest.builder().applyMutation(listSamplesRequest).build()); } /** *

* Gets information about samples, given an AWS Device Farm job ARN. *

*
*

* This is a variant of {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.devicefarm.paginators.ListSamplesPublisher publisher = client.listSamplesPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.devicefarm.paginators.ListSamplesPublisher publisher = client.listSamplesPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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. *

* Please notice that the configuration of null won't limit the number of results you get with the paginator. It * only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listSamples(software.amazon.awssdk.services.devicefarm.model.ListSamplesRequest)} operation. *

* * @param listSamplesRequest * Represents a request to the list samples operation. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.ListSamples * @see AWS API * Documentation */ default ListSamplesPublisher listSamplesPaginator(ListSamplesRequest listSamplesRequest) { throw new UnsupportedOperationException(); } /** *

* Gets information about samples, given an AWS Device Farm job ARN. *

*
*

* This is a variant of {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.devicefarm.paginators.ListSamplesPublisher publisher = client.listSamplesPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.devicefarm.paginators.ListSamplesPublisher publisher = client.listSamplesPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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. *

* Please notice that the configuration of null won't limit the number of results you get with the paginator. It * only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listSamples(software.amazon.awssdk.services.devicefarm.model.ListSamplesRequest)} operation. *

*

* This is a convenience which creates an instance of the {@link ListSamplesRequest.Builder} avoiding the need to * create one manually via {@link ListSamplesRequest#builder()} *

* * @param listSamplesRequest * A {@link Consumer} that will call methods on {@link ListSamplesRequest.Builder} to create a request. * Represents a request to the list samples operation. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.ListSamples * @see AWS API * Documentation */ default ListSamplesPublisher listSamplesPaginator(Consumer listSamplesRequest) { return listSamplesPaginator(ListSamplesRequest.builder().applyMutation(listSamplesRequest).build()); } /** *

* Gets information about test suites for a given job. *

* * @param listSuitesRequest * Represents a request to the list suites operation. * @return A Java Future containing the result of the ListSuites operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.ListSuites * @see AWS API * Documentation */ default CompletableFuture listSuites(ListSuitesRequest listSuitesRequest) { throw new UnsupportedOperationException(); } /** *

* Gets information about test suites for a given job. *

*
*

* This is a convenience which creates an instance of the {@link ListSuitesRequest.Builder} avoiding the need to * create one manually via {@link ListSuitesRequest#builder()} *

* * @param listSuitesRequest * A {@link Consumer} that will call methods on {@link ListSuitesRequest.Builder} to create a request. * Represents a request to the list suites operation. * @return A Java Future containing the result of the ListSuites operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.ListSuites * @see AWS API * Documentation */ default CompletableFuture listSuites(Consumer listSuitesRequest) { return listSuites(ListSuitesRequest.builder().applyMutation(listSuitesRequest).build()); } /** *

* Gets information about test suites for a given job. *

*
*

* This is a variant of {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.devicefarm.paginators.ListSuitesPublisher publisher = client.listSuitesPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.devicefarm.paginators.ListSuitesPublisher publisher = client.listSuitesPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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. *

* Please notice that the configuration of null won't limit the number of results you get with the paginator. It * only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listSuites(software.amazon.awssdk.services.devicefarm.model.ListSuitesRequest)} operation. *

* * @param listSuitesRequest * Represents a request to the list suites operation. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.ListSuites * @see AWS API * Documentation */ default ListSuitesPublisher listSuitesPaginator(ListSuitesRequest listSuitesRequest) { throw new UnsupportedOperationException(); } /** *

* Gets information about test suites for a given job. *

*
*

* This is a variant of {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.devicefarm.paginators.ListSuitesPublisher publisher = client.listSuitesPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.devicefarm.paginators.ListSuitesPublisher publisher = client.listSuitesPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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. *

* Please notice that the configuration of null won't limit the number of results you get with the paginator. It * only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listSuites(software.amazon.awssdk.services.devicefarm.model.ListSuitesRequest)} operation. *

*

* This is a convenience which creates an instance of the {@link ListSuitesRequest.Builder} avoiding the need to * create one manually via {@link ListSuitesRequest#builder()} *

* * @param listSuitesRequest * A {@link Consumer} that will call methods on {@link ListSuitesRequest.Builder} to create a request. * Represents a request to the list suites operation. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.ListSuites * @see AWS API * Documentation */ default ListSuitesPublisher listSuitesPaginator(Consumer listSuitesRequest) { return listSuitesPaginator(ListSuitesRequest.builder().applyMutation(listSuitesRequest).build()); } /** *

* List the tags for an AWS Device Farm resource. *

* * @param listTagsForResourceRequest * @return A Java Future containing the result of the ListTagsForResource operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • TagOperationException The operation was not successful. Try again.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.ListTagsForResource * @see AWS API Documentation */ default CompletableFuture listTagsForResource( ListTagsForResourceRequest listTagsForResourceRequest) { throw new UnsupportedOperationException(); } /** *

* List the tags for an AWS Device Farm resource. *

*
*

* This is a convenience which creates an instance of the {@link ListTagsForResourceRequest.Builder} avoiding the * need to create one manually via {@link ListTagsForResourceRequest#builder()} *

* * @param listTagsForResourceRequest * A {@link Consumer} that will call methods on {@link ListTagsForResourceRequest.Builder} to create a * request. * @return A Java Future containing the result of the ListTagsForResource operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • TagOperationException The operation was not successful. Try again.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.ListTagsForResource * @see AWS API Documentation */ default CompletableFuture listTagsForResource( Consumer listTagsForResourceRequest) { return listTagsForResource(ListTagsForResourceRequest.builder().applyMutation(listTagsForResourceRequest).build()); } /** *

* Gets a list of all Selenium testing projects in your account. *

* * @param listTestGridProjectsRequest * @return A Java Future containing the result of the ListTestGridProjects operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • InternalServiceException An internal exception was raised in the service. Contact [email protected] if you see this * error.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.ListTestGridProjects * @see AWS API Documentation */ default CompletableFuture listTestGridProjects( ListTestGridProjectsRequest listTestGridProjectsRequest) { throw new UnsupportedOperationException(); } /** *

* Gets a list of all Selenium testing projects in your account. *

*
*

* This is a convenience which creates an instance of the {@link ListTestGridProjectsRequest.Builder} avoiding the * need to create one manually via {@link ListTestGridProjectsRequest#builder()} *

* * @param listTestGridProjectsRequest * A {@link Consumer} that will call methods on {@link ListTestGridProjectsRequest.Builder} to create a * request. * @return A Java Future containing the result of the ListTestGridProjects operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • InternalServiceException An internal exception was raised in the service. Contact [email protected] if you see this * error.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.ListTestGridProjects * @see AWS API Documentation */ default CompletableFuture listTestGridProjects( Consumer listTestGridProjectsRequest) { return listTestGridProjects(ListTestGridProjectsRequest.builder().applyMutation(listTestGridProjectsRequest).build()); } /** *

* Gets a list of all Selenium testing projects in your account. *

*
*

* This is a variant of * {@link #listTestGridProjects(software.amazon.awssdk.services.devicefarm.model.ListTestGridProjectsRequest)} * 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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.devicefarm.paginators.ListTestGridProjectsPublisher publisher = client.listTestGridProjectsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.devicefarm.paginators.ListTestGridProjectsPublisher publisher = client.listTestGridProjectsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.devicefarm.model.ListTestGridProjectsResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of maxResult won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listTestGridProjects(software.amazon.awssdk.services.devicefarm.model.ListTestGridProjectsRequest)} * operation. *

* * @param listTestGridProjectsRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • InternalServiceException An internal exception was raised in the service. Contact [email protected] if you see this * error.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.ListTestGridProjects * @see AWS API Documentation */ default ListTestGridProjectsPublisher listTestGridProjectsPaginator(ListTestGridProjectsRequest listTestGridProjectsRequest) { throw new UnsupportedOperationException(); } /** *

* Gets a list of all Selenium testing projects in your account. *

*
*

* This is a variant of * {@link #listTestGridProjects(software.amazon.awssdk.services.devicefarm.model.ListTestGridProjectsRequest)} * 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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.devicefarm.paginators.ListTestGridProjectsPublisher publisher = client.listTestGridProjectsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.devicefarm.paginators.ListTestGridProjectsPublisher publisher = client.listTestGridProjectsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.devicefarm.model.ListTestGridProjectsResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of maxResult won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listTestGridProjects(software.amazon.awssdk.services.devicefarm.model.ListTestGridProjectsRequest)} * operation. *

*

* This is a convenience which creates an instance of the {@link ListTestGridProjectsRequest.Builder} avoiding the * need to create one manually via {@link ListTestGridProjectsRequest#builder()} *

* * @param listTestGridProjectsRequest * A {@link Consumer} that will call methods on {@link ListTestGridProjectsRequest.Builder} to create a * request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • InternalServiceException An internal exception was raised in the service. Contact [email protected] if you see this * error.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.ListTestGridProjects * @see AWS API Documentation */ default ListTestGridProjectsPublisher listTestGridProjectsPaginator( Consumer listTestGridProjectsRequest) { return listTestGridProjectsPaginator(ListTestGridProjectsRequest.builder().applyMutation(listTestGridProjectsRequest) .build()); } /** *

* Returns a list of the actions taken in a TestGridSession. *

* * @param listTestGridSessionActionsRequest * @return A Java Future containing the result of the ListTestGridSessionActions operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • NotFoundException The specified entity was not found.
  • *
  • ArgumentException An invalid argument was specified.
  • *
  • InternalServiceException An internal exception was raised in the service. Contact [email protected] if you see this * error.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.ListTestGridSessionActions * @see AWS API Documentation */ default CompletableFuture listTestGridSessionActions( ListTestGridSessionActionsRequest listTestGridSessionActionsRequest) { throw new UnsupportedOperationException(); } /** *

* Returns a list of the actions taken in a TestGridSession. *

*
*

* This is a convenience which creates an instance of the {@link ListTestGridSessionActionsRequest.Builder} avoiding * the need to create one manually via {@link ListTestGridSessionActionsRequest#builder()} *

* * @param listTestGridSessionActionsRequest * A {@link Consumer} that will call methods on {@link ListTestGridSessionActionsRequest.Builder} to create a * request. * @return A Java Future containing the result of the ListTestGridSessionActions operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • NotFoundException The specified entity was not found.
  • *
  • ArgumentException An invalid argument was specified.
  • *
  • InternalServiceException An internal exception was raised in the service. Contact [email protected] if you see this * error.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.ListTestGridSessionActions * @see AWS API Documentation */ default CompletableFuture listTestGridSessionActions( Consumer listTestGridSessionActionsRequest) { return listTestGridSessionActions(ListTestGridSessionActionsRequest.builder() .applyMutation(listTestGridSessionActionsRequest).build()); } /** *

* Returns a list of the actions taken in a TestGridSession. *

*
*

* This is a variant of * {@link #listTestGridSessionActions(software.amazon.awssdk.services.devicefarm.model.ListTestGridSessionActionsRequest)} * 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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.devicefarm.paginators.ListTestGridSessionActionsPublisher publisher = client.listTestGridSessionActionsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.devicefarm.paginators.ListTestGridSessionActionsPublisher publisher = client.listTestGridSessionActionsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.devicefarm.model.ListTestGridSessionActionsResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of maxResult won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listTestGridSessionActions(software.amazon.awssdk.services.devicefarm.model.ListTestGridSessionActionsRequest)} * operation. *

* * @param listTestGridSessionActionsRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • NotFoundException The specified entity was not found.
  • *
  • ArgumentException An invalid argument was specified.
  • *
  • InternalServiceException An internal exception was raised in the service. Contact [email protected] if you see this * error.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.ListTestGridSessionActions * @see AWS API Documentation */ default ListTestGridSessionActionsPublisher listTestGridSessionActionsPaginator( ListTestGridSessionActionsRequest listTestGridSessionActionsRequest) { throw new UnsupportedOperationException(); } /** *

* Returns a list of the actions taken in a TestGridSession. *

*
*

* This is a variant of * {@link #listTestGridSessionActions(software.amazon.awssdk.services.devicefarm.model.ListTestGridSessionActionsRequest)} * 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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.devicefarm.paginators.ListTestGridSessionActionsPublisher publisher = client.listTestGridSessionActionsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.devicefarm.paginators.ListTestGridSessionActionsPublisher publisher = client.listTestGridSessionActionsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.devicefarm.model.ListTestGridSessionActionsResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of maxResult won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listTestGridSessionActions(software.amazon.awssdk.services.devicefarm.model.ListTestGridSessionActionsRequest)} * operation. *

*

* This is a convenience which creates an instance of the {@link ListTestGridSessionActionsRequest.Builder} avoiding * the need to create one manually via {@link ListTestGridSessionActionsRequest#builder()} *

* * @param listTestGridSessionActionsRequest * A {@link Consumer} that will call methods on {@link ListTestGridSessionActionsRequest.Builder} to create a * request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • NotFoundException The specified entity was not found.
  • *
  • ArgumentException An invalid argument was specified.
  • *
  • InternalServiceException An internal exception was raised in the service. Contact [email protected] if you see this * error.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.ListTestGridSessionActions * @see AWS API Documentation */ default ListTestGridSessionActionsPublisher listTestGridSessionActionsPaginator( Consumer listTestGridSessionActionsRequest) { return listTestGridSessionActionsPaginator(ListTestGridSessionActionsRequest.builder() .applyMutation(listTestGridSessionActionsRequest).build()); } /** *

* Retrieves a list of artifacts created during the session. *

* * @param listTestGridSessionArtifactsRequest * @return A Java Future containing the result of the ListTestGridSessionArtifacts operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • NotFoundException The specified entity was not found.
  • *
  • ArgumentException An invalid argument was specified.
  • *
  • InternalServiceException An internal exception was raised in the service. Contact [email protected] if you see this * error.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.ListTestGridSessionArtifacts * @see AWS API Documentation */ default CompletableFuture listTestGridSessionArtifacts( ListTestGridSessionArtifactsRequest listTestGridSessionArtifactsRequest) { throw new UnsupportedOperationException(); } /** *

* Retrieves a list of artifacts created during the session. *

*
*

* This is a convenience which creates an instance of the {@link ListTestGridSessionArtifactsRequest.Builder} * avoiding the need to create one manually via {@link ListTestGridSessionArtifactsRequest#builder()} *

* * @param listTestGridSessionArtifactsRequest * A {@link Consumer} that will call methods on {@link ListTestGridSessionArtifactsRequest.Builder} to create * a request. * @return A Java Future containing the result of the ListTestGridSessionArtifacts operation returned by the * service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • NotFoundException The specified entity was not found.
  • *
  • ArgumentException An invalid argument was specified.
  • *
  • InternalServiceException An internal exception was raised in the service. Contact [email protected] if you see this * error.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.ListTestGridSessionArtifacts * @see AWS API Documentation */ default CompletableFuture listTestGridSessionArtifacts( Consumer listTestGridSessionArtifactsRequest) { return listTestGridSessionArtifacts(ListTestGridSessionArtifactsRequest.builder() .applyMutation(listTestGridSessionArtifactsRequest).build()); } /** *

* Retrieves a list of artifacts created during the session. *

*
*

* This is a variant of * {@link #listTestGridSessionArtifacts(software.amazon.awssdk.services.devicefarm.model.ListTestGridSessionArtifactsRequest)} * 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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.devicefarm.paginators.ListTestGridSessionArtifactsPublisher publisher = client.listTestGridSessionArtifactsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.devicefarm.paginators.ListTestGridSessionArtifactsPublisher publisher = client.listTestGridSessionArtifactsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.devicefarm.model.ListTestGridSessionArtifactsResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of maxResult won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listTestGridSessionArtifacts(software.amazon.awssdk.services.devicefarm.model.ListTestGridSessionArtifactsRequest)} * operation. *

* * @param listTestGridSessionArtifactsRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • NotFoundException The specified entity was not found.
  • *
  • ArgumentException An invalid argument was specified.
  • *
  • InternalServiceException An internal exception was raised in the service. Contact [email protected] if you see this * error.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.ListTestGridSessionArtifacts * @see AWS API Documentation */ default ListTestGridSessionArtifactsPublisher listTestGridSessionArtifactsPaginator( ListTestGridSessionArtifactsRequest listTestGridSessionArtifactsRequest) { throw new UnsupportedOperationException(); } /** *

* Retrieves a list of artifacts created during the session. *

*
*

* This is a variant of * {@link #listTestGridSessionArtifacts(software.amazon.awssdk.services.devicefarm.model.ListTestGridSessionArtifactsRequest)} * 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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.devicefarm.paginators.ListTestGridSessionArtifactsPublisher publisher = client.listTestGridSessionArtifactsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.devicefarm.paginators.ListTestGridSessionArtifactsPublisher publisher = client.listTestGridSessionArtifactsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.devicefarm.model.ListTestGridSessionArtifactsResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of maxResult won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listTestGridSessionArtifacts(software.amazon.awssdk.services.devicefarm.model.ListTestGridSessionArtifactsRequest)} * operation. *

*

* This is a convenience which creates an instance of the {@link ListTestGridSessionArtifactsRequest.Builder} * avoiding the need to create one manually via {@link ListTestGridSessionArtifactsRequest#builder()} *

* * @param listTestGridSessionArtifactsRequest * A {@link Consumer} that will call methods on {@link ListTestGridSessionArtifactsRequest.Builder} to create * a request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • NotFoundException The specified entity was not found.
  • *
  • ArgumentException An invalid argument was specified.
  • *
  • InternalServiceException An internal exception was raised in the service. Contact [email protected] if you see this * error.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.ListTestGridSessionArtifacts * @see AWS API Documentation */ default ListTestGridSessionArtifactsPublisher listTestGridSessionArtifactsPaginator( Consumer listTestGridSessionArtifactsRequest) { return listTestGridSessionArtifactsPaginator(ListTestGridSessionArtifactsRequest.builder() .applyMutation(listTestGridSessionArtifactsRequest).build()); } /** *

* Retrieves a list of sessions for a TestGridProject. *

* * @param listTestGridSessionsRequest * @return A Java Future containing the result of the ListTestGridSessions operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • NotFoundException The specified entity was not found.
  • *
  • ArgumentException An invalid argument was specified.
  • *
  • InternalServiceException An internal exception was raised in the service. Contact [email protected] if you see this * error.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.ListTestGridSessions * @see AWS API Documentation */ default CompletableFuture listTestGridSessions( ListTestGridSessionsRequest listTestGridSessionsRequest) { throw new UnsupportedOperationException(); } /** *

* Retrieves a list of sessions for a TestGridProject. *

*
*

* This is a convenience which creates an instance of the {@link ListTestGridSessionsRequest.Builder} avoiding the * need to create one manually via {@link ListTestGridSessionsRequest#builder()} *

* * @param listTestGridSessionsRequest * A {@link Consumer} that will call methods on {@link ListTestGridSessionsRequest.Builder} to create a * request. * @return A Java Future containing the result of the ListTestGridSessions operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • NotFoundException The specified entity was not found.
  • *
  • ArgumentException An invalid argument was specified.
  • *
  • InternalServiceException An internal exception was raised in the service. Contact [email protected] if you see this * error.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.ListTestGridSessions * @see AWS API Documentation */ default CompletableFuture listTestGridSessions( Consumer listTestGridSessionsRequest) { return listTestGridSessions(ListTestGridSessionsRequest.builder().applyMutation(listTestGridSessionsRequest).build()); } /** *

* Retrieves a list of sessions for a TestGridProject. *

*
*

* This is a variant of * {@link #listTestGridSessions(software.amazon.awssdk.services.devicefarm.model.ListTestGridSessionsRequest)} * 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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.devicefarm.paginators.ListTestGridSessionsPublisher publisher = client.listTestGridSessionsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.devicefarm.paginators.ListTestGridSessionsPublisher publisher = client.listTestGridSessionsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.devicefarm.model.ListTestGridSessionsResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of maxResult won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listTestGridSessions(software.amazon.awssdk.services.devicefarm.model.ListTestGridSessionsRequest)} * operation. *

* * @param listTestGridSessionsRequest * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • NotFoundException The specified entity was not found.
  • *
  • ArgumentException An invalid argument was specified.
  • *
  • InternalServiceException An internal exception was raised in the service. Contact [email protected] if you see this * error.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.ListTestGridSessions * @see AWS API Documentation */ default ListTestGridSessionsPublisher listTestGridSessionsPaginator(ListTestGridSessionsRequest listTestGridSessionsRequest) { throw new UnsupportedOperationException(); } /** *

* Retrieves a list of sessions for a TestGridProject. *

*
*

* This is a variant of * {@link #listTestGridSessions(software.amazon.awssdk.services.devicefarm.model.ListTestGridSessionsRequest)} * 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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.devicefarm.paginators.ListTestGridSessionsPublisher publisher = client.listTestGridSessionsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.devicefarm.paginators.ListTestGridSessionsPublisher publisher = client.listTestGridSessionsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
     * 
     * 
     * public void onNext(software.amazon.awssdk.services.devicefarm.model.ListTestGridSessionsResponse response) { //... };
     * });}
     * 
* * As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2. *

* Please notice that the configuration of maxResult won't limit the number of results you get with the * paginator. It only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listTestGridSessions(software.amazon.awssdk.services.devicefarm.model.ListTestGridSessionsRequest)} * operation. *

*

* This is a convenience which creates an instance of the {@link ListTestGridSessionsRequest.Builder} avoiding the * need to create one manually via {@link ListTestGridSessionsRequest#builder()} *

* * @param listTestGridSessionsRequest * A {@link Consumer} that will call methods on {@link ListTestGridSessionsRequest.Builder} to create a * request. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • NotFoundException The specified entity was not found.
  • *
  • ArgumentException An invalid argument was specified.
  • *
  • InternalServiceException An internal exception was raised in the service. Contact [email protected] if you see this * error.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.ListTestGridSessions * @see AWS API Documentation */ default ListTestGridSessionsPublisher listTestGridSessionsPaginator( Consumer listTestGridSessionsRequest) { return listTestGridSessionsPaginator(ListTestGridSessionsRequest.builder().applyMutation(listTestGridSessionsRequest) .build()); } /** *

* Gets information about tests in a given test suite. *

* * @param listTestsRequest * Represents a request to the list tests operation. * @return A Java Future containing the result of the ListTests operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.ListTests * @see AWS API * Documentation */ default CompletableFuture listTests(ListTestsRequest listTestsRequest) { throw new UnsupportedOperationException(); } /** *

* Gets information about tests in a given test suite. *

*
*

* This is a convenience which creates an instance of the {@link ListTestsRequest.Builder} avoiding the need to * create one manually via {@link ListTestsRequest#builder()} *

* * @param listTestsRequest * A {@link Consumer} that will call methods on {@link ListTestsRequest.Builder} to create a request. * Represents a request to the list tests operation. * @return A Java Future containing the result of the ListTests operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.ListTests * @see AWS API * Documentation */ default CompletableFuture listTests(Consumer listTestsRequest) { return listTests(ListTestsRequest.builder().applyMutation(listTestsRequest).build()); } /** *

* Gets information about tests in a given test suite. *

*
*

* This is a variant of {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.devicefarm.paginators.ListTestsPublisher publisher = client.listTestsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.devicefarm.paginators.ListTestsPublisher publisher = client.listTestsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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. *

* Please notice that the configuration of null won't limit the number of results you get with the paginator. It * only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listTests(software.amazon.awssdk.services.devicefarm.model.ListTestsRequest)} operation. *

* * @param listTestsRequest * Represents a request to the list tests operation. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.ListTests * @see AWS API * Documentation */ default ListTestsPublisher listTestsPaginator(ListTestsRequest listTestsRequest) { throw new UnsupportedOperationException(); } /** *

* Gets information about tests in a given test suite. *

*
*

* This is a variant of {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.devicefarm.paginators.ListTestsPublisher publisher = client.listTestsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.devicefarm.paginators.ListTestsPublisher publisher = client.listTestsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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. *

* Please notice that the configuration of null won't limit the number of results you get with the paginator. It * only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listTests(software.amazon.awssdk.services.devicefarm.model.ListTestsRequest)} operation. *

*

* This is a convenience which creates an instance of the {@link ListTestsRequest.Builder} avoiding the need to * create one manually via {@link ListTestsRequest#builder()} *

* * @param listTestsRequest * A {@link Consumer} that will call methods on {@link ListTestsRequest.Builder} to create a request. * Represents a request to the list tests operation. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.ListTests * @see AWS API * Documentation */ default ListTestsPublisher listTestsPaginator(Consumer listTestsRequest) { return listTestsPaginator(ListTestsRequest.builder().applyMutation(listTestsRequest).build()); } /** *

* Gets information about unique problems, such as exceptions or crashes. *

*

* Unique problems are defined as a single instance of an error across a run, job, or suite. For example, if a call * in your application consistently raises an exception (OutOfBoundsException in MyActivity.java:386), * ListUniqueProblems returns a single entry instead of many individual entries for that exception. *

* * @param listUniqueProblemsRequest * Represents a request to the list unique problems operation. * @return A Java Future containing the result of the ListUniqueProblems operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.ListUniqueProblems * @see AWS * API Documentation */ default CompletableFuture listUniqueProblems(ListUniqueProblemsRequest listUniqueProblemsRequest) { throw new UnsupportedOperationException(); } /** *

* Gets information about unique problems, such as exceptions or crashes. *

*

* Unique problems are defined as a single instance of an error across a run, job, or suite. For example, if a call * in your application consistently raises an exception (OutOfBoundsException in MyActivity.java:386), * ListUniqueProblems returns a single entry instead of many individual entries for that exception. *

*
*

* This is a convenience which creates an instance of the {@link ListUniqueProblemsRequest.Builder} avoiding the * need to create one manually via {@link ListUniqueProblemsRequest#builder()} *

* * @param listUniqueProblemsRequest * A {@link Consumer} that will call methods on {@link ListUniqueProblemsRequest.Builder} to create a * request. Represents a request to the list unique problems operation. * @return A Java Future containing the result of the ListUniqueProblems operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.ListUniqueProblems * @see AWS * API Documentation */ default CompletableFuture listUniqueProblems( Consumer listUniqueProblemsRequest) { return listUniqueProblems(ListUniqueProblemsRequest.builder().applyMutation(listUniqueProblemsRequest).build()); } /** *

* Gets information about unique problems, such as exceptions or crashes. *

*

* Unique problems are defined as a single instance of an error across a run, job, or suite. For example, if a call * in your application consistently raises an exception (OutOfBoundsException in MyActivity.java:386), * ListUniqueProblems returns a single entry instead of many individual entries for that exception. *

*
*

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.devicefarm.paginators.ListUniqueProblemsPublisher publisher = client.listUniqueProblemsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.devicefarm.paginators.ListUniqueProblemsPublisher publisher = client.listUniqueProblemsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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. *

* Please notice that the configuration of null won't limit the number of results you get with the paginator. It * only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listUniqueProblems(software.amazon.awssdk.services.devicefarm.model.ListUniqueProblemsRequest)} * operation. *

* * @param listUniqueProblemsRequest * Represents a request to the list unique problems operation. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.ListUniqueProblems * @see AWS * API Documentation */ default ListUniqueProblemsPublisher listUniqueProblemsPaginator(ListUniqueProblemsRequest listUniqueProblemsRequest) { throw new UnsupportedOperationException(); } /** *

* Gets information about unique problems, such as exceptions or crashes. *

*

* Unique problems are defined as a single instance of an error across a run, job, or suite. For example, if a call * in your application consistently raises an exception (OutOfBoundsException in MyActivity.java:386), * ListUniqueProblems returns a single entry instead of many individual entries for that exception. *

*
*

* This is a variant of * {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.devicefarm.paginators.ListUniqueProblemsPublisher publisher = client.listUniqueProblemsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.devicefarm.paginators.ListUniqueProblemsPublisher publisher = client.listUniqueProblemsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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. *

* Please notice that the configuration of null won't limit the number of results you get with the paginator. It * only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listUniqueProblems(software.amazon.awssdk.services.devicefarm.model.ListUniqueProblemsRequest)} * operation. *

*

* This is a convenience which creates an instance of the {@link ListUniqueProblemsRequest.Builder} avoiding the * need to create one manually via {@link ListUniqueProblemsRequest#builder()} *

* * @param listUniqueProblemsRequest * A {@link Consumer} that will call methods on {@link ListUniqueProblemsRequest.Builder} to create a * request. Represents a request to the list unique problems operation. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.ListUniqueProblems * @see AWS * API Documentation */ default ListUniqueProblemsPublisher listUniqueProblemsPaginator( Consumer listUniqueProblemsRequest) { return listUniqueProblemsPaginator(ListUniqueProblemsRequest.builder().applyMutation(listUniqueProblemsRequest).build()); } /** *

* Gets information about uploads, given an AWS Device Farm project ARN. *

* * @param listUploadsRequest * Represents a request to the list uploads operation. * @return A Java Future containing the result of the ListUploads operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.ListUploads * @see AWS API * Documentation */ default CompletableFuture listUploads(ListUploadsRequest listUploadsRequest) { throw new UnsupportedOperationException(); } /** *

* Gets information about uploads, given an AWS Device Farm project ARN. *

*
*

* This is a convenience which creates an instance of the {@link ListUploadsRequest.Builder} avoiding the need to * create one manually via {@link ListUploadsRequest#builder()} *

* * @param listUploadsRequest * A {@link Consumer} that will call methods on {@link ListUploadsRequest.Builder} to create a request. * Represents a request to the list uploads operation. * @return A Java Future containing the result of the ListUploads operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.ListUploads * @see AWS API * Documentation */ default CompletableFuture listUploads(Consumer listUploadsRequest) { return listUploads(ListUploadsRequest.builder().applyMutation(listUploadsRequest).build()); } /** *

* Gets information about uploads, given an AWS Device Farm project ARN. *

*
*

* This is a variant of {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.devicefarm.paginators.ListUploadsPublisher publisher = client.listUploadsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.devicefarm.paginators.ListUploadsPublisher publisher = client.listUploadsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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. *

* Please notice that the configuration of null won't limit the number of results you get with the paginator. It * only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listUploads(software.amazon.awssdk.services.devicefarm.model.ListUploadsRequest)} operation. *

* * @param listUploadsRequest * Represents a request to the list uploads operation. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.ListUploads * @see AWS API * Documentation */ default ListUploadsPublisher listUploadsPaginator(ListUploadsRequest listUploadsRequest) { throw new UnsupportedOperationException(); } /** *

* Gets information about uploads, given an AWS Device Farm project ARN. *

*
*

* This is a variant of {@link #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 * {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe * method will result in a new {@link org.reactivestreams.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 subscribe helper method * *
     * {@code
     * software.amazon.awssdk.services.devicefarm.paginators.ListUploadsPublisher publisher = client.listUploadsPaginator(request);
     * CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
     * future.get();
     * }
     * 
* * 2) Using a custom subscriber * *
     * {@code
     * software.amazon.awssdk.services.devicefarm.paginators.ListUploadsPublisher publisher = client.listUploadsPaginator(request);
     * publisher.subscribe(new Subscriber() {
     * 
     * 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. *

* Please notice that the configuration of null won't limit the number of results you get with the paginator. It * only limits the number of results in each page. *

*

* Note: If you prefer to have control on service calls, use the * {@link #listUploads(software.amazon.awssdk.services.devicefarm.model.ListUploadsRequest)} operation. *

*

* This is a convenience which creates an instance of the {@link ListUploadsRequest.Builder} avoiding the need to * create one manually via {@link ListUploadsRequest#builder()} *

* * @param listUploadsRequest * A {@link Consumer} that will call methods on {@link ListUploadsRequest.Builder} to create a request. * Represents a request to the list uploads operation. * @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.ListUploads * @see AWS API * Documentation */ default ListUploadsPublisher listUploadsPaginator(Consumer listUploadsRequest) { return listUploadsPaginator(ListUploadsRequest.builder().applyMutation(listUploadsRequest).build()); } /** *

* Returns information about all Amazon Virtual Private Cloud (VPC) endpoint configurations in the AWS account. *

* * @param listVpceConfigurationsRequest * @return A Java Future containing the result of the ListVPCEConfigurations operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.ListVPCEConfigurations * @see AWS API Documentation */ default CompletableFuture listVPCEConfigurations( ListVpceConfigurationsRequest listVpceConfigurationsRequest) { throw new UnsupportedOperationException(); } /** *

* Returns information about all Amazon Virtual Private Cloud (VPC) endpoint configurations in the AWS account. *

*
*

* This is a convenience which creates an instance of the {@link ListVpceConfigurationsRequest.Builder} avoiding the * need to create one manually via {@link ListVpceConfigurationsRequest#builder()} *

* * @param listVpceConfigurationsRequest * A {@link Consumer} that will call methods on {@link ListVPCEConfigurationsRequest.Builder} to create a * request. * @return A Java Future containing the result of the ListVPCEConfigurations operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.ListVPCEConfigurations * @see AWS API Documentation */ default CompletableFuture listVPCEConfigurations( Consumer listVpceConfigurationsRequest) { return listVPCEConfigurations(ListVpceConfigurationsRequest.builder().applyMutation(listVpceConfigurationsRequest) .build()); } /** *

* 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. If you must be able to invoke this operation, contact [email protected]. *

* * @param purchaseOfferingRequest * Represents a request for a purchase offering. * @return A Java Future containing the result of the PurchaseOffering operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • NotEligibleException Exception gets thrown when a user is not eligible to perform the specified * transaction.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.PurchaseOffering * @see AWS * API Documentation */ default CompletableFuture purchaseOffering(PurchaseOfferingRequest purchaseOfferingRequest) { throw new UnsupportedOperationException(); } /** *

* 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. If you must be able to invoke this operation, contact [email protected]. *

*
*

* This is a convenience which creates an instance of the {@link PurchaseOfferingRequest.Builder} avoiding the need * to create one manually via {@link PurchaseOfferingRequest#builder()} *

* * @param purchaseOfferingRequest * A {@link Consumer} that will call methods on {@link PurchaseOfferingRequest.Builder} to create a request. * Represents a request for a purchase offering. * @return A Java Future containing the result of the PurchaseOffering operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • NotEligibleException Exception gets thrown when a user is not eligible to perform the specified * transaction.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.PurchaseOffering * @see AWS * API Documentation */ default CompletableFuture purchaseOffering( Consumer purchaseOfferingRequest) { return purchaseOffering(PurchaseOfferingRequest.builder().applyMutation(purchaseOfferingRequest).build()); } /** *

* 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. If you must be able to invoke this operation, contact [email protected]. *

* * @param renewOfferingRequest * A request that represents an offering renewal. * @return A Java Future containing the result of the RenewOffering operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • NotEligibleException Exception gets thrown when a user is not eligible to perform the specified * transaction.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.RenewOffering * @see AWS API * Documentation */ default CompletableFuture renewOffering(RenewOfferingRequest renewOfferingRequest) { throw new UnsupportedOperationException(); } /** *

* 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. If you must be able to invoke this operation, contact [email protected]. *

*
*

* This is a convenience which creates an instance of the {@link RenewOfferingRequest.Builder} avoiding the need to * create one manually via {@link RenewOfferingRequest#builder()} *

* * @param renewOfferingRequest * A {@link Consumer} that will call methods on {@link RenewOfferingRequest.Builder} to create a request. A * request that represents an offering renewal. * @return A Java Future containing the result of the RenewOffering operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • NotEligibleException Exception gets thrown when a user is not eligible to perform the specified * transaction.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.RenewOffering * @see AWS API * Documentation */ default CompletableFuture renewOffering(Consumer renewOfferingRequest) { return renewOffering(RenewOfferingRequest.builder().applyMutation(renewOfferingRequest).build()); } /** *

* Schedules a run. *

* * @param scheduleRunRequest * Represents a request to the schedule run operation. * @return A Java Future containing the result of the ScheduleRun operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • IdempotencyException An entity with the same name already exists.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.ScheduleRun * @see AWS API * Documentation */ default CompletableFuture scheduleRun(ScheduleRunRequest scheduleRunRequest) { throw new UnsupportedOperationException(); } /** *

* Schedules a run. *

*
*

* This is a convenience which creates an instance of the {@link ScheduleRunRequest.Builder} avoiding the need to * create one manually via {@link ScheduleRunRequest#builder()} *

* * @param scheduleRunRequest * A {@link Consumer} that will call methods on {@link ScheduleRunRequest.Builder} to create a request. * Represents a request to the schedule run operation. * @return A Java Future containing the result of the ScheduleRun operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • IdempotencyException An entity with the same name already exists.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.ScheduleRun * @see AWS API * Documentation */ default CompletableFuture scheduleRun(Consumer scheduleRunRequest) { return scheduleRun(ScheduleRunRequest.builder().applyMutation(scheduleRunRequest).build()); } /** *

* Initiates a stop request for the current job. AWS Device Farm immediately stops the job on the device where tests * have not started. You are not billed for this device. On the device where tests have started, setup suite and * teardown suite tests run to completion on the device. You are billed for setup, teardown, and any tests that were * in progress or already completed. *

* * @param stopJobRequest * @return A Java Future containing the result of the StopJob operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.StopJob * @see AWS API * Documentation */ default CompletableFuture stopJob(StopJobRequest stopJobRequest) { throw new UnsupportedOperationException(); } /** *

* Initiates a stop request for the current job. AWS Device Farm immediately stops the job on the device where tests * have not started. You are not billed for this device. On the device where tests have started, setup suite and * teardown suite tests run to completion on the device. You are billed for setup, teardown, and any tests that were * in progress or already completed. *

*
*

* This is a convenience which creates an instance of the {@link StopJobRequest.Builder} avoiding the need to create * one manually via {@link StopJobRequest#builder()} *

* * @param stopJobRequest * A {@link Consumer} that will call methods on {@link StopJobRequest.Builder} to create a request. * @return A Java Future containing the result of the StopJob operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.StopJob * @see AWS API * Documentation */ default CompletableFuture stopJob(Consumer stopJobRequest) { return stopJob(StopJobRequest.builder().applyMutation(stopJobRequest).build()); } /** *

* Ends a specified remote access session. *

* * @param stopRemoteAccessSessionRequest * Represents the request to stop the remote access session. * @return A Java Future containing the result of the StopRemoteAccessSession operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.StopRemoteAccessSession * @see AWS API Documentation */ default CompletableFuture stopRemoteAccessSession( StopRemoteAccessSessionRequest stopRemoteAccessSessionRequest) { throw new UnsupportedOperationException(); } /** *

* Ends a specified remote access session. *

*
*

* This is a convenience which creates an instance of the {@link StopRemoteAccessSessionRequest.Builder} avoiding * the need to create one manually via {@link StopRemoteAccessSessionRequest#builder()} *

* * @param stopRemoteAccessSessionRequest * A {@link Consumer} that will call methods on {@link StopRemoteAccessSessionRequest.Builder} to create a * request. Represents the request to stop the remote access session. * @return A Java Future containing the result of the StopRemoteAccessSession operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.StopRemoteAccessSession * @see AWS API Documentation */ default CompletableFuture stopRemoteAccessSession( Consumer stopRemoteAccessSessionRequest) { return stopRemoteAccessSession(StopRemoteAccessSessionRequest.builder().applyMutation(stopRemoteAccessSessionRequest) .build()); } /** *

* Initiates a stop request for the current test run. AWS Device Farm immediately stops the run on devices where * tests have not started. You are not billed for these devices. On devices where tests have started executing, * setup suite and teardown suite tests run to completion on those devices. You are billed for setup, teardown, and * any tests that were in progress or already completed. *

* * @param stopRunRequest * Represents the request to stop a specific run. * @return A Java Future containing the result of the StopRun operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.StopRun * @see AWS API * Documentation */ default CompletableFuture stopRun(StopRunRequest stopRunRequest) { throw new UnsupportedOperationException(); } /** *

* Initiates a stop request for the current test run. AWS Device Farm immediately stops the run on devices where * tests have not started. You are not billed for these devices. On devices where tests have started executing, * setup suite and teardown suite tests run to completion on those devices. You are billed for setup, teardown, and * any tests that were in progress or already completed. *

*
*

* This is a convenience which creates an instance of the {@link StopRunRequest.Builder} avoiding the need to create * one manually via {@link StopRunRequest#builder()} *

* * @param stopRunRequest * A {@link Consumer} that will call methods on {@link StopRunRequest.Builder} to create a request. * Represents the request to stop a specific run. * @return A Java Future containing the result of the StopRun operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.StopRun * @see AWS API * Documentation */ default CompletableFuture stopRun(Consumer stopRunRequest) { return stopRun(StopRunRequest.builder().applyMutation(stopRunRequest).build()); } /** *

* Associates the specified tags to a resource with the specified resourceArn. If existing tags on a * resource are not specified in the request parameters, they are not changed. When a resource is deleted, the tags * associated with that resource are also deleted. *

* * @param tagResourceRequest * @return A Java Future containing the result of the TagResource operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • TagOperationException The operation was not successful. Try again.
  • *
  • TooManyTagsException The list of tags on the repository is over the limit. The maximum number of tags * that can be applied to a repository is 50.
  • *
  • TagPolicyException The request doesn't comply with the AWS Identity and Access Management (IAM) tag * policy. Correct your request and then retry it.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.TagResource * @see AWS API * Documentation */ default CompletableFuture tagResource(TagResourceRequest tagResourceRequest) { throw new UnsupportedOperationException(); } /** *

* Associates the specified tags to a resource with the specified resourceArn. If existing tags on a * resource are not specified in the request parameters, they are not changed. When a resource is deleted, the tags * associated with that resource are also deleted. *

*
*

* This is a convenience which creates an instance of the {@link TagResourceRequest.Builder} avoiding the need to * create one manually via {@link TagResourceRequest#builder()} *

* * @param tagResourceRequest * A {@link Consumer} that will call methods on {@link TagResourceRequest.Builder} to create a request. * @return A Java Future containing the result of the TagResource operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • TagOperationException The operation was not successful. Try again.
  • *
  • TooManyTagsException The list of tags on the repository is over the limit. The maximum number of tags * that can be applied to a repository is 50.
  • *
  • TagPolicyException The request doesn't comply with the AWS Identity and Access Management (IAM) tag * policy. Correct your request and then retry it.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.TagResource * @see AWS API * Documentation */ default CompletableFuture tagResource(Consumer tagResourceRequest) { return tagResource(TagResourceRequest.builder().applyMutation(tagResourceRequest).build()); } /** *

* Deletes the specified tags from a resource. *

* * @param untagResourceRequest * @return A Java Future containing the result of the UntagResource operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • TagOperationException The operation was not successful. Try again.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.UntagResource * @see AWS API * Documentation */ default CompletableFuture untagResource(UntagResourceRequest untagResourceRequest) { throw new UnsupportedOperationException(); } /** *

* Deletes the specified tags from a resource. *

*
*

* This is a convenience which creates an instance of the {@link UntagResourceRequest.Builder} avoiding the need to * create one manually via {@link UntagResourceRequest#builder()} *

* * @param untagResourceRequest * A {@link Consumer} that will call methods on {@link UntagResourceRequest.Builder} to create a request. * @return A Java Future containing the result of the UntagResource operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • TagOperationException The operation was not successful. Try again.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.UntagResource * @see AWS API * Documentation */ default CompletableFuture untagResource(Consumer untagResourceRequest) { return untagResource(UntagResourceRequest.builder().applyMutation(untagResourceRequest).build()); } /** *

* Updates information about a private device instance. *

* * @param updateDeviceInstanceRequest * @return A Java Future containing the result of the UpdateDeviceInstance operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.UpdateDeviceInstance * @see AWS API Documentation */ default CompletableFuture updateDeviceInstance( UpdateDeviceInstanceRequest updateDeviceInstanceRequest) { throw new UnsupportedOperationException(); } /** *

* Updates information about a private device instance. *

*
*

* This is a convenience which creates an instance of the {@link UpdateDeviceInstanceRequest.Builder} avoiding the * need to create one manually via {@link UpdateDeviceInstanceRequest#builder()} *

* * @param updateDeviceInstanceRequest * A {@link Consumer} that will call methods on {@link UpdateDeviceInstanceRequest.Builder} to create a * request. * @return A Java Future containing the result of the UpdateDeviceInstance operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.UpdateDeviceInstance * @see AWS API Documentation */ default CompletableFuture updateDeviceInstance( Consumer updateDeviceInstanceRequest) { return updateDeviceInstance(UpdateDeviceInstanceRequest.builder().applyMutation(updateDeviceInstanceRequest).build()); } /** *

* Modifies the name, description, and rules in a device pool given the attributes and the pool ARN. Rule updates * are all-or-nothing, meaning they can only be updated as a whole (or not at all). *

* * @param updateDevicePoolRequest * Represents a request to the update device pool operation. * @return A Java Future containing the result of the UpdateDevicePool operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.UpdateDevicePool * @see AWS * API Documentation */ default CompletableFuture updateDevicePool(UpdateDevicePoolRequest updateDevicePoolRequest) { throw new UnsupportedOperationException(); } /** *

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

*
*

* This is a convenience which creates an instance of the {@link UpdateDevicePoolRequest.Builder} avoiding the need * to create one manually via {@link UpdateDevicePoolRequest#builder()} *

* * @param updateDevicePoolRequest * A {@link Consumer} that will call methods on {@link UpdateDevicePoolRequest.Builder} to create a request. * Represents a request to the update device pool operation. * @return A Java Future containing the result of the UpdateDevicePool operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.UpdateDevicePool * @see AWS * API Documentation */ default CompletableFuture updateDevicePool( Consumer updateDevicePoolRequest) { return updateDevicePool(UpdateDevicePoolRequest.builder().applyMutation(updateDevicePoolRequest).build()); } /** *

* Updates information about an existing private device instance profile. *

* * @param updateInstanceProfileRequest * @return A Java Future containing the result of the UpdateInstanceProfile operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.UpdateInstanceProfile * @see AWS API Documentation */ default CompletableFuture updateInstanceProfile( UpdateInstanceProfileRequest updateInstanceProfileRequest) { throw new UnsupportedOperationException(); } /** *

* Updates information about an existing private device instance profile. *

*
*

* This is a convenience which creates an instance of the {@link UpdateInstanceProfileRequest.Builder} avoiding the * need to create one manually via {@link UpdateInstanceProfileRequest#builder()} *

* * @param updateInstanceProfileRequest * A {@link Consumer} that will call methods on {@link UpdateInstanceProfileRequest.Builder} to create a * request. * @return A Java Future containing the result of the UpdateInstanceProfile operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.UpdateInstanceProfile * @see AWS API Documentation */ default CompletableFuture updateInstanceProfile( Consumer updateInstanceProfileRequest) { return updateInstanceProfile(UpdateInstanceProfileRequest.builder().applyMutation(updateInstanceProfileRequest).build()); } /** *

* Updates the network profile. *

* * @param updateNetworkProfileRequest * @return A Java Future containing the result of the UpdateNetworkProfile operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.UpdateNetworkProfile * @see AWS API Documentation */ default CompletableFuture updateNetworkProfile( UpdateNetworkProfileRequest updateNetworkProfileRequest) { throw new UnsupportedOperationException(); } /** *

* Updates the network profile. *

*
*

* This is a convenience which creates an instance of the {@link UpdateNetworkProfileRequest.Builder} avoiding the * need to create one manually via {@link UpdateNetworkProfileRequest#builder()} *

* * @param updateNetworkProfileRequest * A {@link Consumer} that will call methods on {@link UpdateNetworkProfileRequest.Builder} to create a * request. * @return A Java Future containing the result of the UpdateNetworkProfile operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.UpdateNetworkProfile * @see AWS API Documentation */ default CompletableFuture updateNetworkProfile( Consumer updateNetworkProfileRequest) { return updateNetworkProfile(UpdateNetworkProfileRequest.builder().applyMutation(updateNetworkProfileRequest).build()); } /** *

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

* * @param updateProjectRequest * Represents a request to the update project operation. * @return A Java Future containing the result of the UpdateProject operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.UpdateProject * @see AWS API * Documentation */ default CompletableFuture updateProject(UpdateProjectRequest updateProjectRequest) { throw new UnsupportedOperationException(); } /** *

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

*
*

* This is a convenience which creates an instance of the {@link UpdateProjectRequest.Builder} avoiding the need to * create one manually via {@link UpdateProjectRequest#builder()} *

* * @param updateProjectRequest * A {@link Consumer} that will call methods on {@link UpdateProjectRequest.Builder} to create a request. * Represents a request to the update project operation. * @return A Java Future containing the result of the UpdateProject operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.UpdateProject * @see AWS API * Documentation */ default CompletableFuture updateProject(Consumer updateProjectRequest) { return updateProject(UpdateProjectRequest.builder().applyMutation(updateProjectRequest).build()); } /** *

* Change details of a project. *

* * @param updateTestGridProjectRequest * @return A Java Future containing the result of the UpdateTestGridProject operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • NotFoundException The specified entity was not found.
  • *
  • ArgumentException An invalid argument was specified.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • InternalServiceException An internal exception was raised in the service. Contact [email protected] if you see this * error.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.UpdateTestGridProject * @see AWS API Documentation */ default CompletableFuture updateTestGridProject( UpdateTestGridProjectRequest updateTestGridProjectRequest) { throw new UnsupportedOperationException(); } /** *

* Change details of a project. *

*
*

* This is a convenience which creates an instance of the {@link UpdateTestGridProjectRequest.Builder} avoiding the * need to create one manually via {@link UpdateTestGridProjectRequest#builder()} *

* * @param updateTestGridProjectRequest * A {@link Consumer} that will call methods on {@link UpdateTestGridProjectRequest.Builder} to create a * request. * @return A Java Future containing the result of the UpdateTestGridProject operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • NotFoundException The specified entity was not found.
  • *
  • ArgumentException An invalid argument was specified.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • InternalServiceException An internal exception was raised in the service. Contact [email protected] if you see this * error.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.UpdateTestGridProject * @see AWS API Documentation */ default CompletableFuture updateTestGridProject( Consumer updateTestGridProjectRequest) { return updateTestGridProject(UpdateTestGridProjectRequest.builder().applyMutation(updateTestGridProjectRequest).build()); } /** *

* Updates an uploaded test spec. *

* * @param updateUploadRequest * @return A Java Future containing the result of the UpdateUpload operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.UpdateUpload * @see AWS API * Documentation */ default CompletableFuture updateUpload(UpdateUploadRequest updateUploadRequest) { throw new UnsupportedOperationException(); } /** *

* Updates an uploaded test spec. *

*
*

* This is a convenience which creates an instance of the {@link UpdateUploadRequest.Builder} avoiding the need to * create one manually via {@link UpdateUploadRequest#builder()} *

* * @param updateUploadRequest * A {@link Consumer} that will call methods on {@link UpdateUploadRequest.Builder} to create a request. * @return A Java Future containing the result of the UpdateUpload operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • LimitExceededException A limit was exceeded.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.UpdateUpload * @see AWS API * Documentation */ default CompletableFuture updateUpload(Consumer updateUploadRequest) { return updateUpload(UpdateUploadRequest.builder().applyMutation(updateUploadRequest).build()); } /** *

* Updates information about an Amazon Virtual Private Cloud (VPC) endpoint configuration. *

* * @param updateVpceConfigurationRequest * @return A Java Future containing the result of the UpdateVPCEConfiguration operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • InvalidOperationException There was an error with the update request, or you do not have sufficient * permissions to update this VPC endpoint configuration.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.UpdateVPCEConfiguration * @see AWS API Documentation */ default CompletableFuture updateVPCEConfiguration( UpdateVpceConfigurationRequest updateVpceConfigurationRequest) { throw new UnsupportedOperationException(); } /** *

* Updates information about an Amazon Virtual Private Cloud (VPC) endpoint configuration. *

*
*

* This is a convenience which creates an instance of the {@link UpdateVpceConfigurationRequest.Builder} avoiding * the need to create one manually via {@link UpdateVpceConfigurationRequest#builder()} *

* * @param updateVpceConfigurationRequest * A {@link Consumer} that will call methods on {@link UpdateVPCEConfigurationRequest.Builder} to create a * request. * @return A Java Future containing the result of the UpdateVPCEConfiguration operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following * exceptions. *
    *
  • ArgumentException An invalid argument was specified.
  • *
  • NotFoundException The specified entity was not found.
  • *
  • ServiceAccountException There was a problem with the service account.
  • *
  • InvalidOperationException There was an error with the update request, or you do not have sufficient * permissions to update this VPC endpoint configuration.
  • *
  • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). * Can be used for catch all scenarios.
  • *
  • SdkClientException If any client side error occurs such as an IO related failure, failure to get * credentials, etc.
  • *
  • DeviceFarmException Base class for all service exceptions. Unknown exceptions will be thrown as an * instance of this type.
  • *
* @sample DeviceFarmAsyncClient.UpdateVPCEConfiguration * @see AWS API Documentation */ default CompletableFuture updateVPCEConfiguration( Consumer updateVpceConfigurationRequest) { return updateVPCEConfiguration(UpdateVpceConfigurationRequest.builder().applyMutation(updateVpceConfigurationRequest) .build()); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy