Interface DeviceFarmAsyncClient

All Superinterfaces:
AutoCloseable, AwsClient, SdkAutoCloseable, SdkClient

@Generated("software.amazon.awssdk:codegen") @ThreadSafe public interface DeviceFarmAsyncClient extends AwsClient
Service client for accessing AWS Device Farm asynchronously. This can be created using the static builder() method.The asynchronous client performs non-blocking I/O when configured with any SdkAsyncHttpClient supported in the SDK. However, full non-blocking is not guaranteed as the async client may perform blocking calls in some cases such as credentials retrieval and endpoint discovery as part of the async API call.

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.

  • Field Details

  • Method Details

    • createDevicePool

      default CompletableFuture<CreateDevicePoolResponse> createDevicePool(CreateDevicePoolRequest createDevicePoolRequest)

      Creates a device pool.

      Parameters:
      createDevicePoolRequest - Represents a request to the create device pool operation.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • createDevicePool

      default CompletableFuture<CreateDevicePoolResponse> createDevicePool(Consumer<CreateDevicePoolRequest.Builder> createDevicePoolRequest)

      Creates a device pool.


      This is a convenience which creates an instance of the CreateDevicePoolRequest.Builder avoiding the need to create one manually via CreateDevicePoolRequest.builder()

      Parameters:
      createDevicePoolRequest - A Consumer that will call methods on CreateDevicePoolRequest.Builder to create a request. Represents a request to the create device pool operation.
      Returns:
      A Java Future containing the result of the CreateDevicePool operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • createInstanceProfile

      default CompletableFuture<CreateInstanceProfileResponse> createInstanceProfile(CreateInstanceProfileRequest createInstanceProfileRequest)

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

      Parameters:
      createInstanceProfileRequest -
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • createInstanceProfile

      default CompletableFuture<CreateInstanceProfileResponse> createInstanceProfile(Consumer<CreateInstanceProfileRequest.Builder> createInstanceProfileRequest)

      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 CreateInstanceProfileRequest.Builder avoiding the need to create one manually via CreateInstanceProfileRequest.builder()

      Parameters:
      createInstanceProfileRequest - A Consumer that will call methods on CreateInstanceProfileRequest.Builder to create a request.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • createNetworkProfile

      default CompletableFuture<CreateNetworkProfileResponse> createNetworkProfile(CreateNetworkProfileRequest createNetworkProfileRequest)

      Creates a network profile.

      Parameters:
      createNetworkProfileRequest -
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • createNetworkProfile

      default CompletableFuture<CreateNetworkProfileResponse> createNetworkProfile(Consumer<CreateNetworkProfileRequest.Builder> createNetworkProfileRequest)

      Creates a network profile.


      This is a convenience which creates an instance of the CreateNetworkProfileRequest.Builder avoiding the need to create one manually via CreateNetworkProfileRequest.builder()

      Parameters:
      createNetworkProfileRequest - A Consumer that will call methods on CreateNetworkProfileRequest.Builder to create a request.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • createProject

      default CompletableFuture<CreateProjectResponse> createProject(CreateProjectRequest createProjectRequest)

      Creates a project.

      Parameters:
      createProjectRequest - Represents a request to the create project operation.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • createProject

      default CompletableFuture<CreateProjectResponse> createProject(Consumer<CreateProjectRequest.Builder> createProjectRequest)

      Creates a project.


      This is a convenience which creates an instance of the CreateProjectRequest.Builder avoiding the need to create one manually via CreateProjectRequest.builder()

      Parameters:
      createProjectRequest - A Consumer that will call methods on CreateProjectRequest.Builder to create a request. Represents a request to the create project operation.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • createRemoteAccessSession

      default CompletableFuture<CreateRemoteAccessSessionResponse> createRemoteAccessSession(CreateRemoteAccessSessionRequest createRemoteAccessSessionRequest)

      Specifies and starts a remote access session.

      Parameters:
      createRemoteAccessSessionRequest - Creates and submits a request to start a remote access session.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • createRemoteAccessSession

      default CompletableFuture<CreateRemoteAccessSessionResponse> createRemoteAccessSession(Consumer<CreateRemoteAccessSessionRequest.Builder> createRemoteAccessSessionRequest)

      Specifies and starts a remote access session.


      This is a convenience which creates an instance of the CreateRemoteAccessSessionRequest.Builder avoiding the need to create one manually via CreateRemoteAccessSessionRequest.builder()

      Parameters:
      createRemoteAccessSessionRequest - A Consumer that will call methods on CreateRemoteAccessSessionRequest.Builder to create a request. Creates and submits a request to start a remote access session.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • createTestGridProject

      default CompletableFuture<CreateTestGridProjectResponse> createTestGridProject(CreateTestGridProjectRequest createTestGridProjectRequest)

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

      Parameters:
      createTestGridProjectRequest -
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ArgumentException An invalid argument was specified.
      • LimitExceededException A limit was exceeded.
      • InternalServiceException An internal exception was raised in the service. Contact aws-devicefarm-support@amazon.com 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.
      See Also:
    • createTestGridProject

      default CompletableFuture<CreateTestGridProjectResponse> createTestGridProject(Consumer<CreateTestGridProjectRequest.Builder> createTestGridProjectRequest)

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


      This is a convenience which creates an instance of the CreateTestGridProjectRequest.Builder avoiding the need to create one manually via CreateTestGridProjectRequest.builder()

      Parameters:
      createTestGridProjectRequest - A Consumer that will call methods on CreateTestGridProjectRequest.Builder to create a request.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ArgumentException An invalid argument was specified.
      • LimitExceededException A limit was exceeded.
      • InternalServiceException An internal exception was raised in the service. Contact aws-devicefarm-support@amazon.com 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.
      See Also:
    • createTestGridUrl

      default CompletableFuture<CreateTestGridUrlResponse> createTestGridUrl(CreateTestGridUrlRequest createTestGridUrlRequest)

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

      Parameters:
      createTestGridUrlRequest -
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • NotFoundException The specified entity was not found.
      • ArgumentException An invalid argument was specified.
      • InternalServiceException An internal exception was raised in the service. Contact aws-devicefarm-support@amazon.com 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.
      See Also:
    • createTestGridUrl

      default CompletableFuture<CreateTestGridUrlResponse> createTestGridUrl(Consumer<CreateTestGridUrlRequest.Builder> createTestGridUrlRequest)

      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 CreateTestGridUrlRequest.Builder avoiding the need to create one manually via CreateTestGridUrlRequest.builder()

      Parameters:
      createTestGridUrlRequest - A Consumer that will call methods on CreateTestGridUrlRequest.Builder to create a request.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • NotFoundException The specified entity was not found.
      • ArgumentException An invalid argument was specified.
      • InternalServiceException An internal exception was raised in the service. Contact aws-devicefarm-support@amazon.com 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.
      See Also:
    • createUpload

      default CompletableFuture<CreateUploadResponse> createUpload(CreateUploadRequest createUploadRequest)

      Uploads an app or test scripts.

      Parameters:
      createUploadRequest - Represents a request to the create upload operation.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • createUpload

      default CompletableFuture<CreateUploadResponse> createUpload(Consumer<CreateUploadRequest.Builder> createUploadRequest)

      Uploads an app or test scripts.


      This is a convenience which creates an instance of the CreateUploadRequest.Builder avoiding the need to create one manually via CreateUploadRequest.builder()

      Parameters:
      createUploadRequest - A Consumer that will call methods on CreateUploadRequest.Builder to create a request. Represents a request to the create upload operation.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • createVPCEConfiguration

      default CompletableFuture<CreateVpceConfigurationResponse> createVPCEConfiguration(CreateVpceConfigurationRequest createVpceConfigurationRequest)

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

      Parameters:
      createVpceConfigurationRequest -
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • createVPCEConfiguration

      default CompletableFuture<CreateVpceConfigurationResponse> createVPCEConfiguration(Consumer<CreateVpceConfigurationRequest.Builder> createVpceConfigurationRequest)

      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 CreateVpceConfigurationRequest.Builder avoiding the need to create one manually via CreateVpceConfigurationRequest.builder()

      Parameters:
      createVpceConfigurationRequest - A Consumer that will call methods on CreateVpceConfigurationRequest.Builder to create a request.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • deleteDevicePool

      default CompletableFuture<DeleteDevicePoolResponse> deleteDevicePool(DeleteDevicePoolRequest deleteDevicePoolRequest)

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

      Parameters:
      deleteDevicePoolRequest - Represents a request to the delete device pool operation.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • deleteDevicePool

      default CompletableFuture<DeleteDevicePoolResponse> deleteDevicePool(Consumer<DeleteDevicePoolRequest.Builder> deleteDevicePoolRequest)

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


      This is a convenience which creates an instance of the DeleteDevicePoolRequest.Builder avoiding the need to create one manually via DeleteDevicePoolRequest.builder()

      Parameters:
      deleteDevicePoolRequest - A Consumer that will call methods on DeleteDevicePoolRequest.Builder to create a request. Represents a request to the delete device pool operation.
      Returns:
      A Java Future containing the result of the DeleteDevicePool operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • deleteInstanceProfile

      default CompletableFuture<DeleteInstanceProfileResponse> deleteInstanceProfile(DeleteInstanceProfileRequest deleteInstanceProfileRequest)

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

      Parameters:
      deleteInstanceProfileRequest -
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • deleteInstanceProfile

      default CompletableFuture<DeleteInstanceProfileResponse> deleteInstanceProfile(Consumer<DeleteInstanceProfileRequest.Builder> deleteInstanceProfileRequest)

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


      This is a convenience which creates an instance of the DeleteInstanceProfileRequest.Builder avoiding the need to create one manually via DeleteInstanceProfileRequest.builder()

      Parameters:
      deleteInstanceProfileRequest - A Consumer that will call methods on DeleteInstanceProfileRequest.Builder to create a request.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • deleteNetworkProfile

      default CompletableFuture<DeleteNetworkProfileResponse> deleteNetworkProfile(DeleteNetworkProfileRequest deleteNetworkProfileRequest)

      Deletes a network profile.

      Parameters:
      deleteNetworkProfileRequest -
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • deleteNetworkProfile

      default CompletableFuture<DeleteNetworkProfileResponse> deleteNetworkProfile(Consumer<DeleteNetworkProfileRequest.Builder> deleteNetworkProfileRequest)

      Deletes a network profile.


      This is a convenience which creates an instance of the DeleteNetworkProfileRequest.Builder avoiding the need to create one manually via DeleteNetworkProfileRequest.builder()

      Parameters:
      deleteNetworkProfileRequest - A Consumer that will call methods on DeleteNetworkProfileRequest.Builder to create a request.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • deleteProject

      default CompletableFuture<DeleteProjectResponse> deleteProject(DeleteProjectRequest deleteProjectRequest)

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

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

      Parameters:
      deleteProjectRequest - Represents a request to the delete project operation.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • deleteProject

      default CompletableFuture<DeleteProjectResponse> deleteProject(Consumer<DeleteProjectRequest.Builder> deleteProjectRequest)

      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 DeleteProjectRequest.Builder avoiding the need to create one manually via DeleteProjectRequest.builder()

      Parameters:
      deleteProjectRequest - A Consumer that will call methods on DeleteProjectRequest.Builder to create a request. Represents a request to the delete project operation.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • deleteRemoteAccessSession

      default CompletableFuture<DeleteRemoteAccessSessionResponse> deleteRemoteAccessSession(DeleteRemoteAccessSessionRequest deleteRemoteAccessSessionRequest)

      Deletes a completed remote access session and its results.

      Parameters:
      deleteRemoteAccessSessionRequest - Represents the request to delete the specified remote access session.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • deleteRemoteAccessSession

      default CompletableFuture<DeleteRemoteAccessSessionResponse> deleteRemoteAccessSession(Consumer<DeleteRemoteAccessSessionRequest.Builder> deleteRemoteAccessSessionRequest)

      Deletes a completed remote access session and its results.


      This is a convenience which creates an instance of the DeleteRemoteAccessSessionRequest.Builder avoiding the need to create one manually via DeleteRemoteAccessSessionRequest.builder()

      Parameters:
      deleteRemoteAccessSessionRequest - A Consumer that will call methods on DeleteRemoteAccessSessionRequest.Builder to create a request. Represents the request to delete the specified remote access session.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • deleteRun

      default CompletableFuture<DeleteRunResponse> deleteRun(DeleteRunRequest deleteRunRequest)

      Deletes the run, given the run ARN.

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

      Parameters:
      deleteRunRequest - Represents a request to the delete run operation.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • deleteRun

      default CompletableFuture<DeleteRunResponse> deleteRun(Consumer<DeleteRunRequest.Builder> deleteRunRequest)

      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 DeleteRunRequest.Builder avoiding the need to create one manually via DeleteRunRequest.builder()

      Parameters:
      deleteRunRequest - A Consumer that will call methods on DeleteRunRequest.Builder to create a request. Represents a request to the delete run operation.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • deleteTestGridProject

      default CompletableFuture<DeleteTestGridProjectResponse> deleteTestGridProject(DeleteTestGridProjectRequest deleteTestGridProjectRequest)

      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.

      Parameters:
      deleteTestGridProjectRequest -
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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 aws-devicefarm-support@amazon.com 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.
      See Also:
    • deleteTestGridProject

      default CompletableFuture<DeleteTestGridProjectResponse> deleteTestGridProject(Consumer<DeleteTestGridProjectRequest.Builder> deleteTestGridProjectRequest)

      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 DeleteTestGridProjectRequest.Builder avoiding the need to create one manually via DeleteTestGridProjectRequest.builder()

      Parameters:
      deleteTestGridProjectRequest - A Consumer that will call methods on DeleteTestGridProjectRequest.Builder to create a request.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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 aws-devicefarm-support@amazon.com 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.
      See Also:
    • deleteUpload

      default CompletableFuture<DeleteUploadResponse> deleteUpload(DeleteUploadRequest deleteUploadRequest)

      Deletes an upload given the upload ARN.

      Parameters:
      deleteUploadRequest - Represents a request to the delete upload operation.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • deleteUpload

      default CompletableFuture<DeleteUploadResponse> deleteUpload(Consumer<DeleteUploadRequest.Builder> deleteUploadRequest)

      Deletes an upload given the upload ARN.


      This is a convenience which creates an instance of the DeleteUploadRequest.Builder avoiding the need to create one manually via DeleteUploadRequest.builder()

      Parameters:
      deleteUploadRequest - A Consumer that will call methods on DeleteUploadRequest.Builder to create a request. Represents a request to the delete upload operation.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • deleteVPCEConfiguration

      default CompletableFuture<DeleteVpceConfigurationResponse> deleteVPCEConfiguration(DeleteVpceConfigurationRequest deleteVpceConfigurationRequest)

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

      Parameters:
      deleteVpceConfigurationRequest -
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • deleteVPCEConfiguration

      default CompletableFuture<DeleteVpceConfigurationResponse> deleteVPCEConfiguration(Consumer<DeleteVpceConfigurationRequest.Builder> deleteVpceConfigurationRequest)

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


      This is a convenience which creates an instance of the DeleteVpceConfigurationRequest.Builder avoiding the need to create one manually via DeleteVpceConfigurationRequest.builder()

      Parameters:
      deleteVpceConfigurationRequest - A Consumer that will call methods on DeleteVpceConfigurationRequest.Builder to create a request.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • getAccountSettings

      default CompletableFuture<GetAccountSettingsResponse> getAccountSettings(GetAccountSettingsRequest getAccountSettingsRequest)

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

      Parameters:
      getAccountSettingsRequest - Represents the request sent to retrieve the account settings.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • getAccountSettings

      default CompletableFuture<GetAccountSettingsResponse> getAccountSettings(Consumer<GetAccountSettingsRequest.Builder> getAccountSettingsRequest)

      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 GetAccountSettingsRequest.Builder avoiding the need to create one manually via GetAccountSettingsRequest.builder()

      Parameters:
      getAccountSettingsRequest - A Consumer that will call methods on GetAccountSettingsRequest.Builder to create a request. Represents the request sent to retrieve the account settings.
      Returns:
      A Java Future containing the result of the GetAccountSettings operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • getAccountSettings

      default CompletableFuture<GetAccountSettingsResponse> getAccountSettings()

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

      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • getDevice

      default CompletableFuture<GetDeviceResponse> getDevice(GetDeviceRequest getDeviceRequest)

      Gets information about a unique device type.

      Parameters:
      getDeviceRequest - Represents a request to the get device request.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • getDevice

      default CompletableFuture<GetDeviceResponse> getDevice(Consumer<GetDeviceRequest.Builder> getDeviceRequest)

      Gets information about a unique device type.


      This is a convenience which creates an instance of the GetDeviceRequest.Builder avoiding the need to create one manually via GetDeviceRequest.builder()

      Parameters:
      getDeviceRequest - A Consumer that will call methods on GetDeviceRequest.Builder to create a request. Represents a request to the get device request.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • getDeviceInstance

      default CompletableFuture<GetDeviceInstanceResponse> getDeviceInstance(GetDeviceInstanceRequest getDeviceInstanceRequest)

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

      Parameters:
      getDeviceInstanceRequest -
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • getDeviceInstance

      default CompletableFuture<GetDeviceInstanceResponse> getDeviceInstance(Consumer<GetDeviceInstanceRequest.Builder> getDeviceInstanceRequest)

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


      This is a convenience which creates an instance of the GetDeviceInstanceRequest.Builder avoiding the need to create one manually via GetDeviceInstanceRequest.builder()

      Parameters:
      getDeviceInstanceRequest - A Consumer that will call methods on GetDeviceInstanceRequest.Builder to create a request.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • getDevicePool

      default CompletableFuture<GetDevicePoolResponse> getDevicePool(GetDevicePoolRequest getDevicePoolRequest)

      Gets information about a device pool.

      Parameters:
      getDevicePoolRequest - Represents a request to the get device pool operation.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • getDevicePool

      default CompletableFuture<GetDevicePoolResponse> getDevicePool(Consumer<GetDevicePoolRequest.Builder> getDevicePoolRequest)

      Gets information about a device pool.


      This is a convenience which creates an instance of the GetDevicePoolRequest.Builder avoiding the need to create one manually via GetDevicePoolRequest.builder()

      Parameters:
      getDevicePoolRequest - A Consumer that will call methods on GetDevicePoolRequest.Builder to create a request. Represents a request to the get device pool operation.
      Returns:
      A Java Future containing the result of the GetDevicePool operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • getDevicePoolCompatibility

      default CompletableFuture<GetDevicePoolCompatibilityResponse> getDevicePoolCompatibility(GetDevicePoolCompatibilityRequest getDevicePoolCompatibilityRequest)

      Gets information about compatibility with a device pool.

      Parameters:
      getDevicePoolCompatibilityRequest - Represents a request to the get device pool compatibility operation.
      Returns:
      A Java Future containing the result of the GetDevicePoolCompatibility operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • getDevicePoolCompatibility

      default CompletableFuture<GetDevicePoolCompatibilityResponse> getDevicePoolCompatibility(Consumer<GetDevicePoolCompatibilityRequest.Builder> getDevicePoolCompatibilityRequest)

      Gets information about compatibility with a device pool.


      This is a convenience which creates an instance of the GetDevicePoolCompatibilityRequest.Builder avoiding the need to create one manually via GetDevicePoolCompatibilityRequest.builder()

      Parameters:
      getDevicePoolCompatibilityRequest - A Consumer that will call methods on GetDevicePoolCompatibilityRequest.Builder to create a request. Represents a request to the get device pool compatibility operation.
      Returns:
      A Java Future containing the result of the GetDevicePoolCompatibility operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • getInstanceProfile

      default CompletableFuture<GetInstanceProfileResponse> getInstanceProfile(GetInstanceProfileRequest getInstanceProfileRequest)

      Returns information about the specified instance profile.

      Parameters:
      getInstanceProfileRequest -
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • getInstanceProfile

      default CompletableFuture<GetInstanceProfileResponse> getInstanceProfile(Consumer<GetInstanceProfileRequest.Builder> getInstanceProfileRequest)

      Returns information about the specified instance profile.


      This is a convenience which creates an instance of the GetInstanceProfileRequest.Builder avoiding the need to create one manually via GetInstanceProfileRequest.builder()

      Parameters:
      getInstanceProfileRequest - A Consumer that will call methods on GetInstanceProfileRequest.Builder to create a request.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • getJob

      default CompletableFuture<GetJobResponse> getJob(GetJobRequest getJobRequest)

      Gets information about a job.

      Parameters:
      getJobRequest - Represents a request to the get job operation.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • getJob

      Gets information about a job.


      This is a convenience which creates an instance of the GetJobRequest.Builder avoiding the need to create one manually via GetJobRequest.builder()

      Parameters:
      getJobRequest - A Consumer that will call methods on GetJobRequest.Builder to create a request. Represents a request to the get job operation.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • getNetworkProfile

      default CompletableFuture<GetNetworkProfileResponse> getNetworkProfile(GetNetworkProfileRequest getNetworkProfileRequest)

      Returns information about a network profile.

      Parameters:
      getNetworkProfileRequest -
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • getNetworkProfile

      default CompletableFuture<GetNetworkProfileResponse> getNetworkProfile(Consumer<GetNetworkProfileRequest.Builder> getNetworkProfileRequest)

      Returns information about a network profile.


      This is a convenience which creates an instance of the GetNetworkProfileRequest.Builder avoiding the need to create one manually via GetNetworkProfileRequest.builder()

      Parameters:
      getNetworkProfileRequest - A Consumer that will call methods on GetNetworkProfileRequest.Builder to create a request.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • getOfferingStatus

      default CompletableFuture<GetOfferingStatusResponse> getOfferingStatus(GetOfferingStatusRequest getOfferingStatusRequest)

      Gets the current status and future status of all offerings purchased by an AWS account. The response indicates how many offerings are currently available and the offerings that will be available in the next period. The API returns a NotEligible error if the user is not permitted to invoke the operation. If you must be able to invoke this operation, contact aws-devicefarm-support@amazon.com.

      Parameters:
      getOfferingStatusRequest - Represents the request to retrieve the offering status for the specified customer or account.
      Returns:
      A Java Future containing the result of the GetOfferingStatus operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • getOfferingStatus

      default CompletableFuture<GetOfferingStatusResponse> getOfferingStatus(Consumer<GetOfferingStatusRequest.Builder> getOfferingStatusRequest)

      Gets the current status and future status of all offerings purchased by an AWS account. The response indicates how many offerings are currently available and the offerings that will be available in the next period. The API returns a NotEligible error if the user is not permitted to invoke the operation. If you must be able to invoke this operation, contact aws-devicefarm-support@amazon.com.


      This is a convenience which creates an instance of the GetOfferingStatusRequest.Builder avoiding the need to create one manually via GetOfferingStatusRequest.builder()

      Parameters:
      getOfferingStatusRequest - A Consumer that will call methods on GetOfferingStatusRequest.Builder to create a request. Represents the request to retrieve the offering status for the specified customer or account.
      Returns:
      A Java Future containing the result of the GetOfferingStatus operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • getOfferingStatus

      default CompletableFuture<GetOfferingStatusResponse> getOfferingStatus()

      Gets the current status and future status of all offerings purchased by an AWS account. The response indicates how many offerings are currently available and the offerings that will be available in the next period. The API returns a NotEligible error if the user is not permitted to invoke the operation. If you must be able to invoke this operation, contact aws-devicefarm-support@amazon.com.

      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • getOfferingStatusPaginator

      default GetOfferingStatusPublisher getOfferingStatusPaginator()

      This is a variant of getOfferingStatus(software.amazon.awssdk.services.devicefarm.model.GetOfferingStatusRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.devicefarm.paginators.GetOfferingStatusPublisher publisher = client.getOfferingStatusPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.devicefarm.paginators.GetOfferingStatusPublisher publisher = client.getOfferingStatusPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.devicefarm.model.GetOfferingStatusResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.devicefarm.model.GetOfferingStatusResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 getOfferingStatus(software.amazon.awssdk.services.devicefarm.model.GetOfferingStatusRequest) operation.

      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • getOfferingStatusPaginator

      default GetOfferingStatusPublisher getOfferingStatusPaginator(GetOfferingStatusRequest getOfferingStatusRequest)

      This is a variant of getOfferingStatus(software.amazon.awssdk.services.devicefarm.model.GetOfferingStatusRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.devicefarm.paginators.GetOfferingStatusPublisher publisher = client.getOfferingStatusPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.devicefarm.paginators.GetOfferingStatusPublisher publisher = client.getOfferingStatusPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.devicefarm.model.GetOfferingStatusResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.devicefarm.model.GetOfferingStatusResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 getOfferingStatus(software.amazon.awssdk.services.devicefarm.model.GetOfferingStatusRequest) operation.

      Parameters:
      getOfferingStatusRequest - Represents the request to retrieve the offering status for the specified customer or account.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • getOfferingStatusPaginator

      default GetOfferingStatusPublisher getOfferingStatusPaginator(Consumer<GetOfferingStatusRequest.Builder> getOfferingStatusRequest)

      This is a variant of getOfferingStatus(software.amazon.awssdk.services.devicefarm.model.GetOfferingStatusRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.devicefarm.paginators.GetOfferingStatusPublisher publisher = client.getOfferingStatusPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.devicefarm.paginators.GetOfferingStatusPublisher publisher = client.getOfferingStatusPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.devicefarm.model.GetOfferingStatusResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.devicefarm.model.GetOfferingStatusResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 getOfferingStatus(software.amazon.awssdk.services.devicefarm.model.GetOfferingStatusRequest) operation.


      This is a convenience which creates an instance of the GetOfferingStatusRequest.Builder avoiding the need to create one manually via GetOfferingStatusRequest.builder()

      Parameters:
      getOfferingStatusRequest - A Consumer that will call methods on GetOfferingStatusRequest.Builder to create a request. Represents the request to retrieve the offering status for the specified customer or account.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • getProject

      default CompletableFuture<GetProjectResponse> getProject(GetProjectRequest getProjectRequest)

      Gets information about a project.

      Parameters:
      getProjectRequest - Represents a request to the get project operation.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • getProject

      default CompletableFuture<GetProjectResponse> getProject(Consumer<GetProjectRequest.Builder> getProjectRequest)

      Gets information about a project.


      This is a convenience which creates an instance of the GetProjectRequest.Builder avoiding the need to create one manually via GetProjectRequest.builder()

      Parameters:
      getProjectRequest - A Consumer that will call methods on GetProjectRequest.Builder to create a request. Represents a request to the get project operation.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • getRemoteAccessSession

      default CompletableFuture<GetRemoteAccessSessionResponse> getRemoteAccessSession(GetRemoteAccessSessionRequest getRemoteAccessSessionRequest)

      Returns a link to a currently running remote access session.

      Parameters:
      getRemoteAccessSessionRequest - Represents the request to get information about the specified remote access session.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • getRemoteAccessSession

      default CompletableFuture<GetRemoteAccessSessionResponse> getRemoteAccessSession(Consumer<GetRemoteAccessSessionRequest.Builder> getRemoteAccessSessionRequest)

      Returns a link to a currently running remote access session.


      This is a convenience which creates an instance of the GetRemoteAccessSessionRequest.Builder avoiding the need to create one manually via GetRemoteAccessSessionRequest.builder()

      Parameters:
      getRemoteAccessSessionRequest - A Consumer that will call methods on GetRemoteAccessSessionRequest.Builder to create a request. Represents the request to get information about the specified remote access session.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • getRun

      default CompletableFuture<GetRunResponse> getRun(GetRunRequest getRunRequest)

      Gets information about a run.

      Parameters:
      getRunRequest - Represents a request to the get run operation.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • getRun

      Gets information about a run.


      This is a convenience which creates an instance of the GetRunRequest.Builder avoiding the need to create one manually via GetRunRequest.builder()

      Parameters:
      getRunRequest - A Consumer that will call methods on GetRunRequest.Builder to create a request. Represents a request to the get run operation.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • getSuite

      default CompletableFuture<GetSuiteResponse> getSuite(GetSuiteRequest getSuiteRequest)

      Gets information about a suite.

      Parameters:
      getSuiteRequest - Represents a request to the get suite operation.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • getSuite

      Gets information about a suite.


      This is a convenience which creates an instance of the GetSuiteRequest.Builder avoiding the need to create one manually via GetSuiteRequest.builder()

      Parameters:
      getSuiteRequest - A Consumer that will call methods on GetSuiteRequest.Builder to create a request. Represents a request to the get suite operation.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • getTest

      default CompletableFuture<GetTestResponse> getTest(GetTestRequest getTestRequest)

      Gets information about a test.

      Parameters:
      getTestRequest - Represents a request to the get test operation.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • getTest

      Gets information about a test.


      This is a convenience which creates an instance of the GetTestRequest.Builder avoiding the need to create one manually via GetTestRequest.builder()

      Parameters:
      getTestRequest - A Consumer that will call methods on GetTestRequest.Builder to create a request. Represents a request to the get test operation.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • getTestGridProject

      default CompletableFuture<GetTestGridProjectResponse> getTestGridProject(GetTestGridProjectRequest getTestGridProjectRequest)

      Retrieves information about a Selenium testing project.

      Parameters:
      getTestGridProjectRequest -
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • NotFoundException The specified entity was not found.
      • ArgumentException An invalid argument was specified.
      • InternalServiceException An internal exception was raised in the service. Contact aws-devicefarm-support@amazon.com 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.
      See Also:
    • getTestGridProject

      default CompletableFuture<GetTestGridProjectResponse> getTestGridProject(Consumer<GetTestGridProjectRequest.Builder> getTestGridProjectRequest)

      Retrieves information about a Selenium testing project.


      This is a convenience which creates an instance of the GetTestGridProjectRequest.Builder avoiding the need to create one manually via GetTestGridProjectRequest.builder()

      Parameters:
      getTestGridProjectRequest - A Consumer that will call methods on GetTestGridProjectRequest.Builder to create a request.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • NotFoundException The specified entity was not found.
      • ArgumentException An invalid argument was specified.
      • InternalServiceException An internal exception was raised in the service. Contact aws-devicefarm-support@amazon.com 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.
      See Also:
    • getTestGridSession

      default CompletableFuture<GetTestGridSessionResponse> getTestGridSession(GetTestGridSessionRequest getTestGridSessionRequest)

      A session is an instance of a browser created through a RemoteWebDriver with the URL from CreateTestGridUrlResultinvalid input: '&#36'url. You can use the following to look up sessions:

      Parameters:
      getTestGridSessionRequest -
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • NotFoundException The specified entity was not found.
      • ArgumentException An invalid argument was specified.
      • InternalServiceException An internal exception was raised in the service. Contact aws-devicefarm-support@amazon.com 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.
      See Also:
    • getTestGridSession

      default CompletableFuture<GetTestGridSessionResponse> getTestGridSession(Consumer<GetTestGridSessionRequest.Builder> getTestGridSessionRequest)

      A session is an instance of a browser created through a RemoteWebDriver with the URL from CreateTestGridUrlResultinvalid input: '&#36'url. You can use the following to look up sessions:


      This is a convenience which creates an instance of the GetTestGridSessionRequest.Builder avoiding the need to create one manually via GetTestGridSessionRequest.builder()

      Parameters:
      getTestGridSessionRequest - A Consumer that will call methods on GetTestGridSessionRequest.Builder to create a request.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • NotFoundException The specified entity was not found.
      • ArgumentException An invalid argument was specified.
      • InternalServiceException An internal exception was raised in the service. Contact aws-devicefarm-support@amazon.com 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.
      See Also:
    • getUpload

      default CompletableFuture<GetUploadResponse> getUpload(GetUploadRequest getUploadRequest)

      Gets information about an upload.

      Parameters:
      getUploadRequest - Represents a request to the get upload operation.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • getUpload

      default CompletableFuture<GetUploadResponse> getUpload(Consumer<GetUploadRequest.Builder> getUploadRequest)

      Gets information about an upload.


      This is a convenience which creates an instance of the GetUploadRequest.Builder avoiding the need to create one manually via GetUploadRequest.builder()

      Parameters:
      getUploadRequest - A Consumer that will call methods on GetUploadRequest.Builder to create a request. Represents a request to the get upload operation.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • getVPCEConfiguration

      default CompletableFuture<GetVpceConfigurationResponse> getVPCEConfiguration(GetVpceConfigurationRequest getVpceConfigurationRequest)

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

      Parameters:
      getVpceConfigurationRequest -
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • getVPCEConfiguration

      default CompletableFuture<GetVpceConfigurationResponse> getVPCEConfiguration(Consumer<GetVpceConfigurationRequest.Builder> getVpceConfigurationRequest)

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


      This is a convenience which creates an instance of the GetVpceConfigurationRequest.Builder avoiding the need to create one manually via GetVpceConfigurationRequest.builder()

      Parameters:
      getVpceConfigurationRequest - A Consumer that will call methods on GetVpceConfigurationRequest.Builder to create a request.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • installToRemoteAccessSession

      default CompletableFuture<InstallToRemoteAccessSessionResponse> installToRemoteAccessSession(InstallToRemoteAccessSessionRequest installToRemoteAccessSessionRequest)

      Installs an application to the device in a remote access session. For Android applications, the file must be in .apk format. For iOS applications, the file must be in .ipa format.

      Parameters:
      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.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • installToRemoteAccessSession

      default CompletableFuture<InstallToRemoteAccessSessionResponse> installToRemoteAccessSession(Consumer<InstallToRemoteAccessSessionRequest.Builder> installToRemoteAccessSessionRequest)

      Installs an application to the device in a remote access session. For Android applications, the file must be in .apk format. For iOS applications, the file must be in .ipa format.


      This is a convenience which creates an instance of the InstallToRemoteAccessSessionRequest.Builder avoiding the need to create one manually via InstallToRemoteAccessSessionRequest.builder()

      Parameters:
      installToRemoteAccessSessionRequest - A Consumer that will call methods on 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.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • listArtifacts

      default CompletableFuture<ListArtifactsResponse> listArtifacts(ListArtifactsRequest listArtifactsRequest)

      Gets information about artifacts.

      Parameters:
      listArtifactsRequest - Represents a request to the list artifacts operation.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • listArtifacts

      default CompletableFuture<ListArtifactsResponse> listArtifacts(Consumer<ListArtifactsRequest.Builder> listArtifactsRequest)

      Gets information about artifacts.


      This is a convenience which creates an instance of the ListArtifactsRequest.Builder avoiding the need to create one manually via ListArtifactsRequest.builder()

      Parameters:
      listArtifactsRequest - A Consumer that will call methods on ListArtifactsRequest.Builder to create a request. Represents a request to the list artifacts operation.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • listArtifactsPaginator

      default ListArtifactsPublisher listArtifactsPaginator(ListArtifactsRequest listArtifactsRequest)

      This is a variant of listArtifacts(software.amazon.awssdk.services.devicefarm.model.ListArtifactsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.devicefarm.paginators.ListArtifactsPublisher publisher = client.listArtifactsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.devicefarm.paginators.ListArtifactsPublisher publisher = client.listArtifactsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.devicefarm.model.ListArtifactsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.devicefarm.model.ListArtifactsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 listArtifacts(software.amazon.awssdk.services.devicefarm.model.ListArtifactsRequest) operation.

      Parameters:
      listArtifactsRequest - Represents a request to the list artifacts operation.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • listArtifactsPaginator

      default ListArtifactsPublisher listArtifactsPaginator(Consumer<ListArtifactsRequest.Builder> listArtifactsRequest)

      This is a variant of listArtifacts(software.amazon.awssdk.services.devicefarm.model.ListArtifactsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.devicefarm.paginators.ListArtifactsPublisher publisher = client.listArtifactsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.devicefarm.paginators.ListArtifactsPublisher publisher = client.listArtifactsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.devicefarm.model.ListArtifactsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.devicefarm.model.ListArtifactsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 listArtifacts(software.amazon.awssdk.services.devicefarm.model.ListArtifactsRequest) operation.


      This is a convenience which creates an instance of the ListArtifactsRequest.Builder avoiding the need to create one manually via ListArtifactsRequest.builder()

      Parameters:
      listArtifactsRequest - A Consumer that will call methods on ListArtifactsRequest.Builder to create a request. Represents a request to the list artifacts operation.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • listDeviceInstances

      default CompletableFuture<ListDeviceInstancesResponse> listDeviceInstances(ListDeviceInstancesRequest listDeviceInstancesRequest)

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

      Parameters:
      listDeviceInstancesRequest -
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • listDeviceInstances

      default CompletableFuture<ListDeviceInstancesResponse> listDeviceInstances(Consumer<ListDeviceInstancesRequest.Builder> listDeviceInstancesRequest)

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


      This is a convenience which creates an instance of the ListDeviceInstancesRequest.Builder avoiding the need to create one manually via ListDeviceInstancesRequest.builder()

      Parameters:
      listDeviceInstancesRequest - A Consumer that will call methods on ListDeviceInstancesRequest.Builder to create a request.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • listDeviceInstances

      default CompletableFuture<ListDeviceInstancesResponse> listDeviceInstances()

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

      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • listDevicePools

      default CompletableFuture<ListDevicePoolsResponse> listDevicePools(ListDevicePoolsRequest listDevicePoolsRequest)

      Gets information about device pools.

      Parameters:
      listDevicePoolsRequest - Represents the result of a list device pools request.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • listDevicePools

      default CompletableFuture<ListDevicePoolsResponse> listDevicePools(Consumer<ListDevicePoolsRequest.Builder> listDevicePoolsRequest)

      Gets information about device pools.


      This is a convenience which creates an instance of the ListDevicePoolsRequest.Builder avoiding the need to create one manually via ListDevicePoolsRequest.builder()

      Parameters:
      listDevicePoolsRequest - A Consumer that will call methods on ListDevicePoolsRequest.Builder to create a request. Represents the result of a list device pools request.
      Returns:
      A Java Future containing the result of the ListDevicePools operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • listDevicePoolsPaginator

      default ListDevicePoolsPublisher listDevicePoolsPaginator(ListDevicePoolsRequest listDevicePoolsRequest)

      This is a variant of listDevicePools(software.amazon.awssdk.services.devicefarm.model.ListDevicePoolsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.devicefarm.paginators.ListDevicePoolsPublisher publisher = client.listDevicePoolsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.devicefarm.paginators.ListDevicePoolsPublisher publisher = client.listDevicePoolsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.devicefarm.model.ListDevicePoolsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.devicefarm.model.ListDevicePoolsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 listDevicePools(software.amazon.awssdk.services.devicefarm.model.ListDevicePoolsRequest) operation.

      Parameters:
      listDevicePoolsRequest - Represents the result of a list device pools request.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • listDevicePoolsPaginator

      default ListDevicePoolsPublisher listDevicePoolsPaginator(Consumer<ListDevicePoolsRequest.Builder> listDevicePoolsRequest)

      This is a variant of listDevicePools(software.amazon.awssdk.services.devicefarm.model.ListDevicePoolsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.devicefarm.paginators.ListDevicePoolsPublisher publisher = client.listDevicePoolsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.devicefarm.paginators.ListDevicePoolsPublisher publisher = client.listDevicePoolsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.devicefarm.model.ListDevicePoolsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.devicefarm.model.ListDevicePoolsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 listDevicePools(software.amazon.awssdk.services.devicefarm.model.ListDevicePoolsRequest) operation.


      This is a convenience which creates an instance of the ListDevicePoolsRequest.Builder avoiding the need to create one manually via ListDevicePoolsRequest.builder()

      Parameters:
      listDevicePoolsRequest - A Consumer that will call methods on ListDevicePoolsRequest.Builder to create a request. Represents the result of a list device pools request.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • listDevices

      default CompletableFuture<ListDevicesResponse> listDevices(ListDevicesRequest listDevicesRequest)

      Gets information about unique device types.

      Parameters:
      listDevicesRequest - Represents the result of a list devices request.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • listDevices

      default CompletableFuture<ListDevicesResponse> listDevices(Consumer<ListDevicesRequest.Builder> listDevicesRequest)

      Gets information about unique device types.


      This is a convenience which creates an instance of the ListDevicesRequest.Builder avoiding the need to create one manually via ListDevicesRequest.builder()

      Parameters:
      listDevicesRequest - A Consumer that will call methods on ListDevicesRequest.Builder to create a request. Represents the result of a list devices request.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • listDevices

      default CompletableFuture<ListDevicesResponse> listDevices()

      Gets information about unique device types.

      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • listDevicesPaginator

      default ListDevicesPublisher listDevicesPaginator()

      This is a variant of listDevices(software.amazon.awssdk.services.devicefarm.model.ListDevicesRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.devicefarm.paginators.ListDevicesPublisher publisher = client.listDevicesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.devicefarm.paginators.ListDevicesPublisher publisher = client.listDevicesPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.devicefarm.model.ListDevicesResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.devicefarm.model.ListDevicesResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 listDevices(software.amazon.awssdk.services.devicefarm.model.ListDevicesRequest) operation.

      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • listDevicesPaginator

      default ListDevicesPublisher listDevicesPaginator(ListDevicesRequest listDevicesRequest)

      This is a variant of listDevices(software.amazon.awssdk.services.devicefarm.model.ListDevicesRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.devicefarm.paginators.ListDevicesPublisher publisher = client.listDevicesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.devicefarm.paginators.ListDevicesPublisher publisher = client.listDevicesPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.devicefarm.model.ListDevicesResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.devicefarm.model.ListDevicesResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 listDevices(software.amazon.awssdk.services.devicefarm.model.ListDevicesRequest) operation.

      Parameters:
      listDevicesRequest - Represents the result of a list devices request.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • listDevicesPaginator

      default ListDevicesPublisher listDevicesPaginator(Consumer<ListDevicesRequest.Builder> listDevicesRequest)

      This is a variant of listDevices(software.amazon.awssdk.services.devicefarm.model.ListDevicesRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.devicefarm.paginators.ListDevicesPublisher publisher = client.listDevicesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.devicefarm.paginators.ListDevicesPublisher publisher = client.listDevicesPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.devicefarm.model.ListDevicesResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.devicefarm.model.ListDevicesResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 listDevices(software.amazon.awssdk.services.devicefarm.model.ListDevicesRequest) operation.


      This is a convenience which creates an instance of the ListDevicesRequest.Builder avoiding the need to create one manually via ListDevicesRequest.builder()

      Parameters:
      listDevicesRequest - A Consumer that will call methods on ListDevicesRequest.Builder to create a request. Represents the result of a list devices request.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • listInstanceProfiles

      default CompletableFuture<ListInstanceProfilesResponse> listInstanceProfiles(ListInstanceProfilesRequest listInstanceProfilesRequest)

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

      Parameters:
      listInstanceProfilesRequest -
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • listInstanceProfiles

      default CompletableFuture<ListInstanceProfilesResponse> listInstanceProfiles(Consumer<ListInstanceProfilesRequest.Builder> listInstanceProfilesRequest)

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


      This is a convenience which creates an instance of the ListInstanceProfilesRequest.Builder avoiding the need to create one manually via ListInstanceProfilesRequest.builder()

      Parameters:
      listInstanceProfilesRequest - A Consumer that will call methods on ListInstanceProfilesRequest.Builder to create a request.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • listInstanceProfiles

      default CompletableFuture<ListInstanceProfilesResponse> listInstanceProfiles()

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

      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • listJobs

      default CompletableFuture<ListJobsResponse> listJobs(ListJobsRequest listJobsRequest)

      Gets information about jobs for a given test run.

      Parameters:
      listJobsRequest - Represents a request to the list jobs operation.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • listJobs

      Gets information about jobs for a given test run.


      This is a convenience which creates an instance of the ListJobsRequest.Builder avoiding the need to create one manually via ListJobsRequest.builder()

      Parameters:
      listJobsRequest - A Consumer that will call methods on ListJobsRequest.Builder to create a request. Represents a request to the list jobs operation.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • listJobsPaginator

      default ListJobsPublisher listJobsPaginator(ListJobsRequest listJobsRequest)

      This is a variant of listJobs(software.amazon.awssdk.services.devicefarm.model.ListJobsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.devicefarm.paginators.ListJobsPublisher publisher = client.listJobsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.devicefarm.paginators.ListJobsPublisher publisher = client.listJobsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.devicefarm.model.ListJobsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.devicefarm.model.ListJobsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 listJobs(software.amazon.awssdk.services.devicefarm.model.ListJobsRequest) operation.

      Parameters:
      listJobsRequest - Represents a request to the list jobs operation.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • listJobsPaginator

      default ListJobsPublisher listJobsPaginator(Consumer<ListJobsRequest.Builder> listJobsRequest)

      This is a variant of listJobs(software.amazon.awssdk.services.devicefarm.model.ListJobsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.devicefarm.paginators.ListJobsPublisher publisher = client.listJobsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.devicefarm.paginators.ListJobsPublisher publisher = client.listJobsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.devicefarm.model.ListJobsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.devicefarm.model.ListJobsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 listJobs(software.amazon.awssdk.services.devicefarm.model.ListJobsRequest) operation.


      This is a convenience which creates an instance of the ListJobsRequest.Builder avoiding the need to create one manually via ListJobsRequest.builder()

      Parameters:
      listJobsRequest - A Consumer that will call methods on ListJobsRequest.Builder to create a request. Represents a request to the list jobs operation.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • listNetworkProfiles

      default CompletableFuture<ListNetworkProfilesResponse> listNetworkProfiles(ListNetworkProfilesRequest listNetworkProfilesRequest)

      Returns the list of available network profiles.

      Parameters:
      listNetworkProfilesRequest -
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • listNetworkProfiles

      default CompletableFuture<ListNetworkProfilesResponse> listNetworkProfiles(Consumer<ListNetworkProfilesRequest.Builder> listNetworkProfilesRequest)

      Returns the list of available network profiles.


      This is a convenience which creates an instance of the ListNetworkProfilesRequest.Builder avoiding the need to create one manually via ListNetworkProfilesRequest.builder()

      Parameters:
      listNetworkProfilesRequest - A Consumer that will call methods on ListNetworkProfilesRequest.Builder to create a request.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • listOfferingPromotions

      default CompletableFuture<ListOfferingPromotionsResponse> listOfferingPromotions(ListOfferingPromotionsRequest listOfferingPromotionsRequest)

      Returns a list of offering promotions. Each offering promotion record contains the ID and description of the promotion. The API returns a NotEligible error if the caller is not permitted to invoke the operation. Contact aws-devicefarm-support@amazon.com if you must be able to invoke this operation.

      Parameters:
      listOfferingPromotionsRequest -
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • listOfferingPromotions

      default CompletableFuture<ListOfferingPromotionsResponse> listOfferingPromotions(Consumer<ListOfferingPromotionsRequest.Builder> listOfferingPromotionsRequest)

      Returns a list of offering promotions. Each offering promotion record contains the ID and description of the promotion. The API returns a NotEligible error if the caller is not permitted to invoke the operation. Contact aws-devicefarm-support@amazon.com if you must be able to invoke this operation.


      This is a convenience which creates an instance of the ListOfferingPromotionsRequest.Builder avoiding the need to create one manually via ListOfferingPromotionsRequest.builder()

      Parameters:
      listOfferingPromotionsRequest - A Consumer that will call methods on ListOfferingPromotionsRequest.Builder to create a request.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • listOfferingPromotions

      default CompletableFuture<ListOfferingPromotionsResponse> listOfferingPromotions()

      Returns a list of offering promotions. Each offering promotion record contains the ID and description of the promotion. The API returns a NotEligible error if the caller is not permitted to invoke the operation. Contact aws-devicefarm-support@amazon.com if you must be able to invoke this operation.

      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • listOfferingTransactions

      default CompletableFuture<ListOfferingTransactionsResponse> listOfferingTransactions(ListOfferingTransactionsRequest listOfferingTransactionsRequest)

      Returns a list of all historical purchases, renewals, and system renewal transactions for an AWS account. The list is paginated and ordered by a descending timestamp (most recent transactions are first). The API returns a NotEligible error if the user is not permitted to invoke the operation. If you must be able to invoke this operation, contact aws-devicefarm-support@amazon.com.

      Parameters:
      listOfferingTransactionsRequest - Represents the request to list the offering transaction history.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • listOfferingTransactions

      default CompletableFuture<ListOfferingTransactionsResponse> listOfferingTransactions(Consumer<ListOfferingTransactionsRequest.Builder> listOfferingTransactionsRequest)

      Returns a list of all historical purchases, renewals, and system renewal transactions for an AWS account. The list is paginated and ordered by a descending timestamp (most recent transactions are first). The API returns a NotEligible error if the user is not permitted to invoke the operation. If you must be able to invoke this operation, contact aws-devicefarm-support@amazon.com.


      This is a convenience which creates an instance of the ListOfferingTransactionsRequest.Builder avoiding the need to create one manually via ListOfferingTransactionsRequest.builder()

      Parameters:
      listOfferingTransactionsRequest - A Consumer that will call methods on ListOfferingTransactionsRequest.Builder to create a request. Represents the request to list the offering transaction history.
      Returns:
      A Java Future containing the result of the ListOfferingTransactions operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • listOfferingTransactions

      default CompletableFuture<ListOfferingTransactionsResponse> listOfferingTransactions()

      Returns a list of all historical purchases, renewals, and system renewal transactions for an AWS account. The list is paginated and ordered by a descending timestamp (most recent transactions are first). The API returns a NotEligible error if the user is not permitted to invoke the operation. If you must be able to invoke this operation, contact aws-devicefarm-support@amazon.com.

      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • listOfferingTransactionsPaginator

      default ListOfferingTransactionsPublisher listOfferingTransactionsPaginator()

      This is a variant of listOfferingTransactions(software.amazon.awssdk.services.devicefarm.model.ListOfferingTransactionsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.devicefarm.paginators.ListOfferingTransactionsPublisher publisher = client.listOfferingTransactionsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.devicefarm.paginators.ListOfferingTransactionsPublisher publisher = client.listOfferingTransactionsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.devicefarm.model.ListOfferingTransactionsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.devicefarm.model.ListOfferingTransactionsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 listOfferingTransactions(software.amazon.awssdk.services.devicefarm.model.ListOfferingTransactionsRequest) operation.

      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • listOfferingTransactionsPaginator

      default ListOfferingTransactionsPublisher listOfferingTransactionsPaginator(ListOfferingTransactionsRequest listOfferingTransactionsRequest)

      This is a variant of listOfferingTransactions(software.amazon.awssdk.services.devicefarm.model.ListOfferingTransactionsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.devicefarm.paginators.ListOfferingTransactionsPublisher publisher = client.listOfferingTransactionsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.devicefarm.paginators.ListOfferingTransactionsPublisher publisher = client.listOfferingTransactionsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.devicefarm.model.ListOfferingTransactionsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.devicefarm.model.ListOfferingTransactionsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 listOfferingTransactions(software.amazon.awssdk.services.devicefarm.model.ListOfferingTransactionsRequest) operation.

      Parameters:
      listOfferingTransactionsRequest - Represents the request to list the offering transaction history.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • listOfferingTransactionsPaginator

      default ListOfferingTransactionsPublisher listOfferingTransactionsPaginator(Consumer<ListOfferingTransactionsRequest.Builder> listOfferingTransactionsRequest)

      This is a variant of listOfferingTransactions(software.amazon.awssdk.services.devicefarm.model.ListOfferingTransactionsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.devicefarm.paginators.ListOfferingTransactionsPublisher publisher = client.listOfferingTransactionsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.devicefarm.paginators.ListOfferingTransactionsPublisher publisher = client.listOfferingTransactionsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.devicefarm.model.ListOfferingTransactionsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.devicefarm.model.ListOfferingTransactionsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 listOfferingTransactions(software.amazon.awssdk.services.devicefarm.model.ListOfferingTransactionsRequest) operation.


      This is a convenience which creates an instance of the ListOfferingTransactionsRequest.Builder avoiding the need to create one manually via ListOfferingTransactionsRequest.builder()

      Parameters:
      listOfferingTransactionsRequest - A Consumer that will call methods on ListOfferingTransactionsRequest.Builder to create a request. Represents the request to list the offering transaction history.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • listOfferings

      default CompletableFuture<ListOfferingsResponse> listOfferings(ListOfferingsRequest listOfferingsRequest)

      Returns a list of products or offerings that the user can manage through the API. Each offering record indicates the recurring price per unit and the frequency for that offering. The API returns a NotEligible error if the user is not permitted to invoke the operation. If you must be able to invoke this operation, contact aws-devicefarm-support@amazon.com.

      Parameters:
      listOfferingsRequest - Represents the request to list all offerings.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • listOfferings

      default CompletableFuture<ListOfferingsResponse> listOfferings(Consumer<ListOfferingsRequest.Builder> listOfferingsRequest)

      Returns a list of products or offerings that the user can manage through the API. Each offering record indicates the recurring price per unit and the frequency for that offering. The API returns a NotEligible error if the user is not permitted to invoke the operation. If you must be able to invoke this operation, contact aws-devicefarm-support@amazon.com.


      This is a convenience which creates an instance of the ListOfferingsRequest.Builder avoiding the need to create one manually via ListOfferingsRequest.builder()

      Parameters:
      listOfferingsRequest - A Consumer that will call methods on ListOfferingsRequest.Builder to create a request. Represents the request to list all offerings.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • listOfferings

      default CompletableFuture<ListOfferingsResponse> listOfferings()

      Returns a list of products or offerings that the user can manage through the API. Each offering record indicates the recurring price per unit and the frequency for that offering. The API returns a NotEligible error if the user is not permitted to invoke the operation. If you must be able to invoke this operation, contact aws-devicefarm-support@amazon.com.

      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • listOfferingsPaginator

      default ListOfferingsPublisher listOfferingsPaginator()

      This is a variant of listOfferings(software.amazon.awssdk.services.devicefarm.model.ListOfferingsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.devicefarm.paginators.ListOfferingsPublisher publisher = client.listOfferingsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.devicefarm.paginators.ListOfferingsPublisher publisher = client.listOfferingsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.devicefarm.model.ListOfferingsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.devicefarm.model.ListOfferingsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 listOfferings(software.amazon.awssdk.services.devicefarm.model.ListOfferingsRequest) operation.

      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • listOfferingsPaginator

      default ListOfferingsPublisher listOfferingsPaginator(ListOfferingsRequest listOfferingsRequest)

      This is a variant of listOfferings(software.amazon.awssdk.services.devicefarm.model.ListOfferingsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.devicefarm.paginators.ListOfferingsPublisher publisher = client.listOfferingsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.devicefarm.paginators.ListOfferingsPublisher publisher = client.listOfferingsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.devicefarm.model.ListOfferingsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.devicefarm.model.ListOfferingsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 listOfferings(software.amazon.awssdk.services.devicefarm.model.ListOfferingsRequest) operation.

      Parameters:
      listOfferingsRequest - Represents the request to list all offerings.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • listOfferingsPaginator

      default ListOfferingsPublisher listOfferingsPaginator(Consumer<ListOfferingsRequest.Builder> listOfferingsRequest)

      This is a variant of listOfferings(software.amazon.awssdk.services.devicefarm.model.ListOfferingsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.devicefarm.paginators.ListOfferingsPublisher publisher = client.listOfferingsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.devicefarm.paginators.ListOfferingsPublisher publisher = client.listOfferingsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.devicefarm.model.ListOfferingsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.devicefarm.model.ListOfferingsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 listOfferings(software.amazon.awssdk.services.devicefarm.model.ListOfferingsRequest) operation.


      This is a convenience which creates an instance of the ListOfferingsRequest.Builder avoiding the need to create one manually via ListOfferingsRequest.builder()

      Parameters:
      listOfferingsRequest - A Consumer that will call methods on ListOfferingsRequest.Builder to create a request. Represents the request to list all offerings.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • listProjects

      default CompletableFuture<ListProjectsResponse> listProjects(ListProjectsRequest listProjectsRequest)

      Gets information about projects.

      Parameters:
      listProjectsRequest - Represents a request to the list projects operation.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • listProjects

      default CompletableFuture<ListProjectsResponse> listProjects(Consumer<ListProjectsRequest.Builder> listProjectsRequest)

      Gets information about projects.


      This is a convenience which creates an instance of the ListProjectsRequest.Builder avoiding the need to create one manually via ListProjectsRequest.builder()

      Parameters:
      listProjectsRequest - A Consumer that will call methods on ListProjectsRequest.Builder to create a request. Represents a request to the list projects operation.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • listProjects

      default CompletableFuture<ListProjectsResponse> listProjects()

      Gets information about projects.

      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • listProjectsPaginator

      default ListProjectsPublisher listProjectsPaginator()

      This is a variant of listProjects(software.amazon.awssdk.services.devicefarm.model.ListProjectsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.devicefarm.paginators.ListProjectsPublisher publisher = client.listProjectsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.devicefarm.paginators.ListProjectsPublisher publisher = client.listProjectsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.devicefarm.model.ListProjectsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.devicefarm.model.ListProjectsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 listProjects(software.amazon.awssdk.services.devicefarm.model.ListProjectsRequest) operation.

      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • listProjectsPaginator

      default ListProjectsPublisher listProjectsPaginator(ListProjectsRequest listProjectsRequest)

      This is a variant of listProjects(software.amazon.awssdk.services.devicefarm.model.ListProjectsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.devicefarm.paginators.ListProjectsPublisher publisher = client.listProjectsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.devicefarm.paginators.ListProjectsPublisher publisher = client.listProjectsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.devicefarm.model.ListProjectsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.devicefarm.model.ListProjectsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 listProjects(software.amazon.awssdk.services.devicefarm.model.ListProjectsRequest) operation.

      Parameters:
      listProjectsRequest - Represents a request to the list projects operation.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • listProjectsPaginator

      default ListProjectsPublisher listProjectsPaginator(Consumer<ListProjectsRequest.Builder> listProjectsRequest)

      This is a variant of listProjects(software.amazon.awssdk.services.devicefarm.model.ListProjectsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.devicefarm.paginators.ListProjectsPublisher publisher = client.listProjectsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.devicefarm.paginators.ListProjectsPublisher publisher = client.listProjectsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.devicefarm.model.ListProjectsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.devicefarm.model.ListProjectsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 listProjects(software.amazon.awssdk.services.devicefarm.model.ListProjectsRequest) operation.


      This is a convenience which creates an instance of the ListProjectsRequest.Builder avoiding the need to create one manually via ListProjectsRequest.builder()

      Parameters:
      listProjectsRequest - A Consumer that will call methods on ListProjectsRequest.Builder to create a request. Represents a request to the list projects operation.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • listRemoteAccessSessions

      default CompletableFuture<ListRemoteAccessSessionsResponse> listRemoteAccessSessions(ListRemoteAccessSessionsRequest listRemoteAccessSessionsRequest)

      Returns a list of all currently running remote access sessions.

      Parameters:
      listRemoteAccessSessionsRequest - Represents the request to return information about the remote access session.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • listRemoteAccessSessions

      default CompletableFuture<ListRemoteAccessSessionsResponse> listRemoteAccessSessions(Consumer<ListRemoteAccessSessionsRequest.Builder> listRemoteAccessSessionsRequest)

      Returns a list of all currently running remote access sessions.


      This is a convenience which creates an instance of the ListRemoteAccessSessionsRequest.Builder avoiding the need to create one manually via ListRemoteAccessSessionsRequest.builder()

      Parameters:
      listRemoteAccessSessionsRequest - A Consumer that will call methods on ListRemoteAccessSessionsRequest.Builder to create a request. Represents the request to return information about the remote access session.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • listRuns

      default CompletableFuture<ListRunsResponse> listRuns(ListRunsRequest listRunsRequest)

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

      Parameters:
      listRunsRequest - Represents a request to the list runs operation.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • listRuns

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


      This is a convenience which creates an instance of the ListRunsRequest.Builder avoiding the need to create one manually via ListRunsRequest.builder()

      Parameters:
      listRunsRequest - A Consumer that will call methods on ListRunsRequest.Builder to create a request. Represents a request to the list runs operation.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • listRunsPaginator

      default ListRunsPublisher listRunsPaginator(ListRunsRequest listRunsRequest)

      This is a variant of listRuns(software.amazon.awssdk.services.devicefarm.model.ListRunsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.devicefarm.paginators.ListRunsPublisher publisher = client.listRunsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.devicefarm.paginators.ListRunsPublisher publisher = client.listRunsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.devicefarm.model.ListRunsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.devicefarm.model.ListRunsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 listRuns(software.amazon.awssdk.services.devicefarm.model.ListRunsRequest) operation.

      Parameters:
      listRunsRequest - Represents a request to the list runs operation.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • listRunsPaginator

      default ListRunsPublisher listRunsPaginator(Consumer<ListRunsRequest.Builder> listRunsRequest)

      This is a variant of listRuns(software.amazon.awssdk.services.devicefarm.model.ListRunsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.devicefarm.paginators.ListRunsPublisher publisher = client.listRunsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.devicefarm.paginators.ListRunsPublisher publisher = client.listRunsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.devicefarm.model.ListRunsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.devicefarm.model.ListRunsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 listRuns(software.amazon.awssdk.services.devicefarm.model.ListRunsRequest) operation.


      This is a convenience which creates an instance of the ListRunsRequest.Builder avoiding the need to create one manually via ListRunsRequest.builder()

      Parameters:
      listRunsRequest - A Consumer that will call methods on ListRunsRequest.Builder to create a request. Represents a request to the list runs operation.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • listSamples

      default CompletableFuture<ListSamplesResponse> listSamples(ListSamplesRequest listSamplesRequest)

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

      Parameters:
      listSamplesRequest - Represents a request to the list samples operation.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • listSamples

      default CompletableFuture<ListSamplesResponse> listSamples(Consumer<ListSamplesRequest.Builder> listSamplesRequest)

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


      This is a convenience which creates an instance of the ListSamplesRequest.Builder avoiding the need to create one manually via ListSamplesRequest.builder()

      Parameters:
      listSamplesRequest - A Consumer that will call methods on ListSamplesRequest.Builder to create a request. Represents a request to the list samples operation.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • listSamplesPaginator

      default ListSamplesPublisher listSamplesPaginator(ListSamplesRequest listSamplesRequest)

      This is a variant of listSamples(software.amazon.awssdk.services.devicefarm.model.ListSamplesRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.devicefarm.paginators.ListSamplesPublisher publisher = client.listSamplesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.devicefarm.paginators.ListSamplesPublisher publisher = client.listSamplesPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.devicefarm.model.ListSamplesResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.devicefarm.model.ListSamplesResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 listSamples(software.amazon.awssdk.services.devicefarm.model.ListSamplesRequest) operation.

      Parameters:
      listSamplesRequest - Represents a request to the list samples operation.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • listSamplesPaginator

      default ListSamplesPublisher listSamplesPaginator(Consumer<ListSamplesRequest.Builder> listSamplesRequest)

      This is a variant of listSamples(software.amazon.awssdk.services.devicefarm.model.ListSamplesRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.devicefarm.paginators.ListSamplesPublisher publisher = client.listSamplesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.devicefarm.paginators.ListSamplesPublisher publisher = client.listSamplesPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.devicefarm.model.ListSamplesResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.devicefarm.model.ListSamplesResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 listSamples(software.amazon.awssdk.services.devicefarm.model.ListSamplesRequest) operation.


      This is a convenience which creates an instance of the ListSamplesRequest.Builder avoiding the need to create one manually via ListSamplesRequest.builder()

      Parameters:
      listSamplesRequest - A Consumer that will call methods on ListSamplesRequest.Builder to create a request. Represents a request to the list samples operation.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • listSuites

      default CompletableFuture<ListSuitesResponse> listSuites(ListSuitesRequest listSuitesRequest)

      Gets information about test suites for a given job.

      Parameters:
      listSuitesRequest - Represents a request to the list suites operation.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • listSuites

      default CompletableFuture<ListSuitesResponse> listSuites(Consumer<ListSuitesRequest.Builder> listSuitesRequest)

      Gets information about test suites for a given job.


      This is a convenience which creates an instance of the ListSuitesRequest.Builder avoiding the need to create one manually via ListSuitesRequest.builder()

      Parameters:
      listSuitesRequest - A Consumer that will call methods on ListSuitesRequest.Builder to create a request. Represents a request to the list suites operation.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • listSuitesPaginator

      default ListSuitesPublisher listSuitesPaginator(ListSuitesRequest listSuitesRequest)

      This is a variant of listSuites(software.amazon.awssdk.services.devicefarm.model.ListSuitesRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.devicefarm.paginators.ListSuitesPublisher publisher = client.listSuitesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.devicefarm.paginators.ListSuitesPublisher publisher = client.listSuitesPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.devicefarm.model.ListSuitesResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.devicefarm.model.ListSuitesResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 listSuites(software.amazon.awssdk.services.devicefarm.model.ListSuitesRequest) operation.

      Parameters:
      listSuitesRequest - Represents a request to the list suites operation.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • listSuitesPaginator

      default ListSuitesPublisher listSuitesPaginator(Consumer<ListSuitesRequest.Builder> listSuitesRequest)

      This is a variant of listSuites(software.amazon.awssdk.services.devicefarm.model.ListSuitesRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.devicefarm.paginators.ListSuitesPublisher publisher = client.listSuitesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.devicefarm.paginators.ListSuitesPublisher publisher = client.listSuitesPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.devicefarm.model.ListSuitesResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.devicefarm.model.ListSuitesResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 listSuites(software.amazon.awssdk.services.devicefarm.model.ListSuitesRequest) operation.


      This is a convenience which creates an instance of the ListSuitesRequest.Builder avoiding the need to create one manually via ListSuitesRequest.builder()

      Parameters:
      listSuitesRequest - A Consumer that will call methods on ListSuitesRequest.Builder to create a request. Represents a request to the list suites operation.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • listTagsForResource

      default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)

      List the tags for an AWS Device Farm resource.

      Parameters:
      listTagsForResourceRequest -
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • listTagsForResource

      default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest)

      List the tags for an AWS Device Farm resource.


      This is a convenience which creates an instance of the ListTagsForResourceRequest.Builder avoiding the need to create one manually via ListTagsForResourceRequest.builder()

      Parameters:
      listTagsForResourceRequest - A Consumer that will call methods on ListTagsForResourceRequest.Builder to create a request.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • listTestGridProjects

      default CompletableFuture<ListTestGridProjectsResponse> listTestGridProjects(ListTestGridProjectsRequest listTestGridProjectsRequest)

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

      Parameters:
      listTestGridProjectsRequest -
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ArgumentException An invalid argument was specified.
      • InternalServiceException An internal exception was raised in the service. Contact aws-devicefarm-support@amazon.com 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.
      See Also:
    • listTestGridProjects

      default CompletableFuture<ListTestGridProjectsResponse> listTestGridProjects(Consumer<ListTestGridProjectsRequest.Builder> listTestGridProjectsRequest)

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


      This is a convenience which creates an instance of the ListTestGridProjectsRequest.Builder avoiding the need to create one manually via ListTestGridProjectsRequest.builder()

      Parameters:
      listTestGridProjectsRequest - A Consumer that will call methods on ListTestGridProjectsRequest.Builder to create a request.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ArgumentException An invalid argument was specified.
      • InternalServiceException An internal exception was raised in the service. Contact aws-devicefarm-support@amazon.com 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.
      See Also:
    • listTestGridProjectsPaginator

      default ListTestGridProjectsPublisher listTestGridProjectsPaginator(ListTestGridProjectsRequest listTestGridProjectsRequest)

      This is a variant of 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 Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.devicefarm.paginators.ListTestGridProjectsPublisher publisher = client.listTestGridProjectsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.devicefarm.paginators.ListTestGridProjectsPublisher publisher = client.listTestGridProjectsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.devicefarm.model.ListTestGridProjectsResponse>() {
       
       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 listTestGridProjects(software.amazon.awssdk.services.devicefarm.model.ListTestGridProjectsRequest) operation.

      Parameters:
      listTestGridProjectsRequest -
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ArgumentException An invalid argument was specified.
      • InternalServiceException An internal exception was raised in the service. Contact aws-devicefarm-support@amazon.com 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.
      See Also:
    • listTestGridProjectsPaginator

      default ListTestGridProjectsPublisher listTestGridProjectsPaginator(Consumer<ListTestGridProjectsRequest.Builder> listTestGridProjectsRequest)

      This is a variant of 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 Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.devicefarm.paginators.ListTestGridProjectsPublisher publisher = client.listTestGridProjectsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.devicefarm.paginators.ListTestGridProjectsPublisher publisher = client.listTestGridProjectsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.devicefarm.model.ListTestGridProjectsResponse>() {
       
       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 listTestGridProjects(software.amazon.awssdk.services.devicefarm.model.ListTestGridProjectsRequest) operation.


      This is a convenience which creates an instance of the ListTestGridProjectsRequest.Builder avoiding the need to create one manually via ListTestGridProjectsRequest.builder()

      Parameters:
      listTestGridProjectsRequest - A Consumer that will call methods on ListTestGridProjectsRequest.Builder to create a request.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • ArgumentException An invalid argument was specified.
      • InternalServiceException An internal exception was raised in the service. Contact aws-devicefarm-support@amazon.com 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.
      See Also:
    • listTestGridSessionActions

      default CompletableFuture<ListTestGridSessionActionsResponse> listTestGridSessionActions(ListTestGridSessionActionsRequest listTestGridSessionActionsRequest)

      Returns a list of the actions taken in a TestGridSession.

      Parameters:
      listTestGridSessionActionsRequest -
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • NotFoundException The specified entity was not found.
      • ArgumentException An invalid argument was specified.
      • InternalServiceException An internal exception was raised in the service. Contact aws-devicefarm-support@amazon.com 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.
      See Also:
    • listTestGridSessionActions

      default CompletableFuture<ListTestGridSessionActionsResponse> listTestGridSessionActions(Consumer<ListTestGridSessionActionsRequest.Builder> listTestGridSessionActionsRequest)

      Returns a list of the actions taken in a TestGridSession.


      This is a convenience which creates an instance of the ListTestGridSessionActionsRequest.Builder avoiding the need to create one manually via ListTestGridSessionActionsRequest.builder()

      Parameters:
      listTestGridSessionActionsRequest - A Consumer that will call methods on ListTestGridSessionActionsRequest.Builder to create a request.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • NotFoundException The specified entity was not found.
      • ArgumentException An invalid argument was specified.
      • InternalServiceException An internal exception was raised in the service. Contact aws-devicefarm-support@amazon.com 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.
      See Also:
    • listTestGridSessionActionsPaginator

      default ListTestGridSessionActionsPublisher listTestGridSessionActionsPaginator(ListTestGridSessionActionsRequest listTestGridSessionActionsRequest)

      This is a variant of 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 Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.devicefarm.paginators.ListTestGridSessionActionsPublisher publisher = client.listTestGridSessionActionsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.devicefarm.paginators.ListTestGridSessionActionsPublisher publisher = client.listTestGridSessionActionsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.devicefarm.model.ListTestGridSessionActionsResponse>() {
       
       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 listTestGridSessionActions(software.amazon.awssdk.services.devicefarm.model.ListTestGridSessionActionsRequest) operation.

      Parameters:
      listTestGridSessionActionsRequest -
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • NotFoundException The specified entity was not found.
      • ArgumentException An invalid argument was specified.
      • InternalServiceException An internal exception was raised in the service. Contact aws-devicefarm-support@amazon.com 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.
      See Also:
    • listTestGridSessionActionsPaginator

      default ListTestGridSessionActionsPublisher listTestGridSessionActionsPaginator(Consumer<ListTestGridSessionActionsRequest.Builder> listTestGridSessionActionsRequest)

      This is a variant of 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 Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.devicefarm.paginators.ListTestGridSessionActionsPublisher publisher = client.listTestGridSessionActionsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.devicefarm.paginators.ListTestGridSessionActionsPublisher publisher = client.listTestGridSessionActionsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.devicefarm.model.ListTestGridSessionActionsResponse>() {
       
       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 listTestGridSessionActions(software.amazon.awssdk.services.devicefarm.model.ListTestGridSessionActionsRequest) operation.


      This is a convenience which creates an instance of the ListTestGridSessionActionsRequest.Builder avoiding the need to create one manually via ListTestGridSessionActionsRequest.builder()

      Parameters:
      listTestGridSessionActionsRequest - A Consumer that will call methods on ListTestGridSessionActionsRequest.Builder to create a request.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • NotFoundException The specified entity was not found.
      • ArgumentException An invalid argument was specified.
      • InternalServiceException An internal exception was raised in the service. Contact aws-devicefarm-support@amazon.com 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.
      See Also:
    • listTestGridSessionArtifacts

      default CompletableFuture<ListTestGridSessionArtifactsResponse> listTestGridSessionArtifacts(ListTestGridSessionArtifactsRequest listTestGridSessionArtifactsRequest)

      Retrieves a list of artifacts created during the session.

      Parameters:
      listTestGridSessionArtifactsRequest -
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • NotFoundException The specified entity was not found.
      • ArgumentException An invalid argument was specified.
      • InternalServiceException An internal exception was raised in the service. Contact aws-devicefarm-support@amazon.com 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.
      See Also:
    • listTestGridSessionArtifacts

      default CompletableFuture<ListTestGridSessionArtifactsResponse> listTestGridSessionArtifacts(Consumer<ListTestGridSessionArtifactsRequest.Builder> listTestGridSessionArtifactsRequest)

      Retrieves a list of artifacts created during the session.


      This is a convenience which creates an instance of the ListTestGridSessionArtifactsRequest.Builder avoiding the need to create one manually via ListTestGridSessionArtifactsRequest.builder()

      Parameters:
      listTestGridSessionArtifactsRequest - A Consumer that will call methods on ListTestGridSessionArtifactsRequest.Builder to create a request.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • NotFoundException The specified entity was not found.
      • ArgumentException An invalid argument was specified.
      • InternalServiceException An internal exception was raised in the service. Contact aws-devicefarm-support@amazon.com 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.
      See Also:
    • listTestGridSessionArtifactsPaginator

      default ListTestGridSessionArtifactsPublisher listTestGridSessionArtifactsPaginator(ListTestGridSessionArtifactsRequest listTestGridSessionArtifactsRequest)

      This is a variant of 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 Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.devicefarm.paginators.ListTestGridSessionArtifactsPublisher publisher = client.listTestGridSessionArtifactsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.devicefarm.paginators.ListTestGridSessionArtifactsPublisher publisher = client.listTestGridSessionArtifactsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.devicefarm.model.ListTestGridSessionArtifactsResponse>() {
       
       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 listTestGridSessionArtifacts(software.amazon.awssdk.services.devicefarm.model.ListTestGridSessionArtifactsRequest) operation.

      Parameters:
      listTestGridSessionArtifactsRequest -
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • NotFoundException The specified entity was not found.
      • ArgumentException An invalid argument was specified.
      • InternalServiceException An internal exception was raised in the service. Contact aws-devicefarm-support@amazon.com 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.
      See Also:
    • listTestGridSessionArtifactsPaginator

      default ListTestGridSessionArtifactsPublisher listTestGridSessionArtifactsPaginator(Consumer<ListTestGridSessionArtifactsRequest.Builder> listTestGridSessionArtifactsRequest)

      This is a variant of 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 Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.devicefarm.paginators.ListTestGridSessionArtifactsPublisher publisher = client.listTestGridSessionArtifactsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.devicefarm.paginators.ListTestGridSessionArtifactsPublisher publisher = client.listTestGridSessionArtifactsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.devicefarm.model.ListTestGridSessionArtifactsResponse>() {
       
       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 listTestGridSessionArtifacts(software.amazon.awssdk.services.devicefarm.model.ListTestGridSessionArtifactsRequest) operation.


      This is a convenience which creates an instance of the ListTestGridSessionArtifactsRequest.Builder avoiding the need to create one manually via ListTestGridSessionArtifactsRequest.builder()

      Parameters:
      listTestGridSessionArtifactsRequest - A Consumer that will call methods on ListTestGridSessionArtifactsRequest.Builder to create a request.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • NotFoundException The specified entity was not found.
      • ArgumentException An invalid argument was specified.
      • InternalServiceException An internal exception was raised in the service. Contact aws-devicefarm-support@amazon.com 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.
      See Also:
    • listTestGridSessions

      default CompletableFuture<ListTestGridSessionsResponse> listTestGridSessions(ListTestGridSessionsRequest listTestGridSessionsRequest)

      Retrieves a list of sessions for a TestGridProject.

      Parameters:
      listTestGridSessionsRequest -
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • NotFoundException The specified entity was not found.
      • ArgumentException An invalid argument was specified.
      • InternalServiceException An internal exception was raised in the service. Contact aws-devicefarm-support@amazon.com 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.
      See Also:
    • listTestGridSessions

      default CompletableFuture<ListTestGridSessionsResponse> listTestGridSessions(Consumer<ListTestGridSessionsRequest.Builder> listTestGridSessionsRequest)

      Retrieves a list of sessions for a TestGridProject.


      This is a convenience which creates an instance of the ListTestGridSessionsRequest.Builder avoiding the need to create one manually via ListTestGridSessionsRequest.builder()

      Parameters:
      listTestGridSessionsRequest - A Consumer that will call methods on ListTestGridSessionsRequest.Builder to create a request.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • NotFoundException The specified entity was not found.
      • ArgumentException An invalid argument was specified.
      • InternalServiceException An internal exception was raised in the service. Contact aws-devicefarm-support@amazon.com 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.
      See Also:
    • listTestGridSessionsPaginator

      default ListTestGridSessionsPublisher listTestGridSessionsPaginator(ListTestGridSessionsRequest listTestGridSessionsRequest)

      This is a variant of 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 Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.devicefarm.paginators.ListTestGridSessionsPublisher publisher = client.listTestGridSessionsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.devicefarm.paginators.ListTestGridSessionsPublisher publisher = client.listTestGridSessionsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.devicefarm.model.ListTestGridSessionsResponse>() {
       
       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 listTestGridSessions(software.amazon.awssdk.services.devicefarm.model.ListTestGridSessionsRequest) operation.

      Parameters:
      listTestGridSessionsRequest -
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • NotFoundException The specified entity was not found.
      • ArgumentException An invalid argument was specified.
      • InternalServiceException An internal exception was raised in the service. Contact aws-devicefarm-support@amazon.com 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.
      See Also:
    • listTestGridSessionsPaginator

      default ListTestGridSessionsPublisher listTestGridSessionsPaginator(Consumer<ListTestGridSessionsRequest.Builder> listTestGridSessionsRequest)

      This is a variant of 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 Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.devicefarm.paginators.ListTestGridSessionsPublisher publisher = client.listTestGridSessionsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.devicefarm.paginators.ListTestGridSessionsPublisher publisher = client.listTestGridSessionsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.devicefarm.model.ListTestGridSessionsResponse>() {
       
       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 listTestGridSessions(software.amazon.awssdk.services.devicefarm.model.ListTestGridSessionsRequest) operation.


      This is a convenience which creates an instance of the ListTestGridSessionsRequest.Builder avoiding the need to create one manually via ListTestGridSessionsRequest.builder()

      Parameters:
      listTestGridSessionsRequest - A Consumer that will call methods on ListTestGridSessionsRequest.Builder to create a request.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • NotFoundException The specified entity was not found.
      • ArgumentException An invalid argument was specified.
      • InternalServiceException An internal exception was raised in the service. Contact aws-devicefarm-support@amazon.com 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.
      See Also:
    • listTests

      default CompletableFuture<ListTestsResponse> listTests(ListTestsRequest listTestsRequest)

      Gets information about tests in a given test suite.

      Parameters:
      listTestsRequest - Represents a request to the list tests operation.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • listTests

      default CompletableFuture<ListTestsResponse> listTests(Consumer<ListTestsRequest.Builder> listTestsRequest)

      Gets information about tests in a given test suite.


      This is a convenience which creates an instance of the ListTestsRequest.Builder avoiding the need to create one manually via ListTestsRequest.builder()

      Parameters:
      listTestsRequest - A Consumer that will call methods on ListTestsRequest.Builder to create a request. Represents a request to the list tests operation.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • listTestsPaginator

      default ListTestsPublisher listTestsPaginator(ListTestsRequest listTestsRequest)

      This is a variant of listTests(software.amazon.awssdk.services.devicefarm.model.ListTestsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.devicefarm.paginators.ListTestsPublisher publisher = client.listTestsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.devicefarm.paginators.ListTestsPublisher publisher = client.listTestsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.devicefarm.model.ListTestsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.devicefarm.model.ListTestsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 listTests(software.amazon.awssdk.services.devicefarm.model.ListTestsRequest) operation.

      Parameters:
      listTestsRequest - Represents a request to the list tests operation.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • listTestsPaginator

      default ListTestsPublisher listTestsPaginator(Consumer<ListTestsRequest.Builder> listTestsRequest)

      This is a variant of listTests(software.amazon.awssdk.services.devicefarm.model.ListTestsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.devicefarm.paginators.ListTestsPublisher publisher = client.listTestsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.devicefarm.paginators.ListTestsPublisher publisher = client.listTestsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.devicefarm.model.ListTestsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.devicefarm.model.ListTestsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 listTests(software.amazon.awssdk.services.devicefarm.model.ListTestsRequest) operation.


      This is a convenience which creates an instance of the ListTestsRequest.Builder avoiding the need to create one manually via ListTestsRequest.builder()

      Parameters:
      listTestsRequest - A Consumer that will call methods on ListTestsRequest.Builder to create a request. Represents a request to the list tests operation.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • listUniqueProblems

      default CompletableFuture<ListUniqueProblemsResponse> listUniqueProblems(ListUniqueProblemsRequest listUniqueProblemsRequest)

      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.

      Parameters:
      listUniqueProblemsRequest - Represents a request to the list unique problems operation.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • listUniqueProblems

      default CompletableFuture<ListUniqueProblemsResponse> listUniqueProblems(Consumer<ListUniqueProblemsRequest.Builder> listUniqueProblemsRequest)

      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 ListUniqueProblemsRequest.Builder avoiding the need to create one manually via ListUniqueProblemsRequest.builder()

      Parameters:
      listUniqueProblemsRequest - A Consumer that will call methods on ListUniqueProblemsRequest.Builder to create a request. Represents a request to the list unique problems operation.
      Returns:
      A Java Future containing the result of the ListUniqueProblems operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • listUniqueProblemsPaginator

      default ListUniqueProblemsPublisher listUniqueProblemsPaginator(ListUniqueProblemsRequest listUniqueProblemsRequest)

      This is a variant of listUniqueProblems(software.amazon.awssdk.services.devicefarm.model.ListUniqueProblemsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.devicefarm.paginators.ListUniqueProblemsPublisher publisher = client.listUniqueProblemsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.devicefarm.paginators.ListUniqueProblemsPublisher publisher = client.listUniqueProblemsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.devicefarm.model.ListUniqueProblemsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.devicefarm.model.ListUniqueProblemsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 listUniqueProblems(software.amazon.awssdk.services.devicefarm.model.ListUniqueProblemsRequest) operation.

      Parameters:
      listUniqueProblemsRequest - Represents a request to the list unique problems operation.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • listUniqueProblemsPaginator

      default ListUniqueProblemsPublisher listUniqueProblemsPaginator(Consumer<ListUniqueProblemsRequest.Builder> listUniqueProblemsRequest)

      This is a variant of listUniqueProblems(software.amazon.awssdk.services.devicefarm.model.ListUniqueProblemsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.devicefarm.paginators.ListUniqueProblemsPublisher publisher = client.listUniqueProblemsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.devicefarm.paginators.ListUniqueProblemsPublisher publisher = client.listUniqueProblemsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.devicefarm.model.ListUniqueProblemsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.devicefarm.model.ListUniqueProblemsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 listUniqueProblems(software.amazon.awssdk.services.devicefarm.model.ListUniqueProblemsRequest) operation.


      This is a convenience which creates an instance of the ListUniqueProblemsRequest.Builder avoiding the need to create one manually via ListUniqueProblemsRequest.builder()

      Parameters:
      listUniqueProblemsRequest - A Consumer that will call methods on ListUniqueProblemsRequest.Builder to create a request. Represents a request to the list unique problems operation.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • listUploads

      default CompletableFuture<ListUploadsResponse> listUploads(ListUploadsRequest listUploadsRequest)

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

      Parameters:
      listUploadsRequest - Represents a request to the list uploads operation.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • listUploads

      default CompletableFuture<ListUploadsResponse> listUploads(Consumer<ListUploadsRequest.Builder> listUploadsRequest)

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


      This is a convenience which creates an instance of the ListUploadsRequest.Builder avoiding the need to create one manually via ListUploadsRequest.builder()

      Parameters:
      listUploadsRequest - A Consumer that will call methods on ListUploadsRequest.Builder to create a request. Represents a request to the list uploads operation.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • listUploadsPaginator

      default ListUploadsPublisher listUploadsPaginator(ListUploadsRequest listUploadsRequest)

      This is a variant of listUploads(software.amazon.awssdk.services.devicefarm.model.ListUploadsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.devicefarm.paginators.ListUploadsPublisher publisher = client.listUploadsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.devicefarm.paginators.ListUploadsPublisher publisher = client.listUploadsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.devicefarm.model.ListUploadsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.devicefarm.model.ListUploadsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 listUploads(software.amazon.awssdk.services.devicefarm.model.ListUploadsRequest) operation.

      Parameters:
      listUploadsRequest - Represents a request to the list uploads operation.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • listUploadsPaginator

      default ListUploadsPublisher listUploadsPaginator(Consumer<ListUploadsRequest.Builder> listUploadsRequest)

      This is a variant of listUploads(software.amazon.awssdk.services.devicefarm.model.ListUploadsRequest) operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.

      When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a new Subscription i.e., a new contract to stream data from the starting request.

      The following are few ways to use the response class:

      1) Using the subscribe helper method
       
       software.amazon.awssdk.services.devicefarm.paginators.ListUploadsPublisher publisher = client.listUploadsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.devicefarm.paginators.ListUploadsPublisher publisher = client.listUploadsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.devicefarm.model.ListUploadsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.devicefarm.model.ListUploadsResponse response) { //... };
       });
       
      As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.

      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 listUploads(software.amazon.awssdk.services.devicefarm.model.ListUploadsRequest) operation.


      This is a convenience which creates an instance of the ListUploadsRequest.Builder avoiding the need to create one manually via ListUploadsRequest.builder()

      Parameters:
      listUploadsRequest - A Consumer that will call methods on ListUploadsRequest.Builder to create a request. Represents a request to the list uploads operation.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • listVPCEConfigurations

      default CompletableFuture<ListVpceConfigurationsResponse> listVPCEConfigurations(ListVpceConfigurationsRequest listVpceConfigurationsRequest)

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

      Parameters:
      listVpceConfigurationsRequest -
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • listVPCEConfigurations

      default CompletableFuture<ListVpceConfigurationsResponse> listVPCEConfigurations(Consumer<ListVpceConfigurationsRequest.Builder> listVpceConfigurationsRequest)

      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 ListVpceConfigurationsRequest.Builder avoiding the need to create one manually via ListVpceConfigurationsRequest.builder()

      Parameters:
      listVpceConfigurationsRequest - A Consumer that will call methods on ListVpceConfigurationsRequest.Builder to create a request.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • purchaseOffering

      default CompletableFuture<PurchaseOfferingResponse> purchaseOffering(PurchaseOfferingRequest purchaseOfferingRequest)

      Immediately purchases offerings for an AWS account. Offerings renew with the latest total purchased quantity for an offering, unless the renewal was overridden. The API returns a NotEligible error if the user is not permitted to invoke the operation. If you must be able to invoke this operation, contact aws-devicefarm-support@amazon.com.

      Parameters:
      purchaseOfferingRequest - Represents a request for a purchase offering.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • purchaseOffering

      default CompletableFuture<PurchaseOfferingResponse> purchaseOffering(Consumer<PurchaseOfferingRequest.Builder> purchaseOfferingRequest)

      Immediately purchases offerings for an AWS account. Offerings renew with the latest total purchased quantity for an offering, unless the renewal was overridden. The API returns a NotEligible error if the user is not permitted to invoke the operation. If you must be able to invoke this operation, contact aws-devicefarm-support@amazon.com.


      This is a convenience which creates an instance of the PurchaseOfferingRequest.Builder avoiding the need to create one manually via PurchaseOfferingRequest.builder()

      Parameters:
      purchaseOfferingRequest - A Consumer that will call methods on PurchaseOfferingRequest.Builder to create a request. Represents a request for a purchase offering.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • renewOffering

      default CompletableFuture<RenewOfferingResponse> renewOffering(RenewOfferingRequest renewOfferingRequest)

      Explicitly sets the quantity of devices to renew for an offering, starting from the effectiveDate of the next period. The API returns a NotEligible error if the user is not permitted to invoke the operation. If you must be able to invoke this operation, contact aws-devicefarm-support@amazon.com.

      Parameters:
      renewOfferingRequest - A request that represents an offering renewal.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • renewOffering

      default CompletableFuture<RenewOfferingResponse> renewOffering(Consumer<RenewOfferingRequest.Builder> renewOfferingRequest)

      Explicitly sets the quantity of devices to renew for an offering, starting from the effectiveDate of the next period. The API returns a NotEligible error if the user is not permitted to invoke the operation. If you must be able to invoke this operation, contact aws-devicefarm-support@amazon.com.


      This is a convenience which creates an instance of the RenewOfferingRequest.Builder avoiding the need to create one manually via RenewOfferingRequest.builder()

      Parameters:
      renewOfferingRequest - A Consumer that will call methods on RenewOfferingRequest.Builder to create a request. A request that represents an offering renewal.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • scheduleRun

      default CompletableFuture<ScheduleRunResponse> scheduleRun(ScheduleRunRequest scheduleRunRequest)

      Schedules a run.

      Parameters:
      scheduleRunRequest - Represents a request to the schedule run operation.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • scheduleRun

      default CompletableFuture<ScheduleRunResponse> scheduleRun(Consumer<ScheduleRunRequest.Builder> scheduleRunRequest)

      Schedules a run.


      This is a convenience which creates an instance of the ScheduleRunRequest.Builder avoiding the need to create one manually via ScheduleRunRequest.builder()

      Parameters:
      scheduleRunRequest - A Consumer that will call methods on ScheduleRunRequest.Builder to create a request. Represents a request to the schedule run operation.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • stopJob

      default CompletableFuture<StopJobResponse> stopJob(StopJobRequest stopJobRequest)

      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.

      Parameters:
      stopJobRequest -
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • stopJob

      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 StopJobRequest.Builder avoiding the need to create one manually via StopJobRequest.builder()

      Parameters:
      stopJobRequest - A Consumer that will call methods on StopJobRequest.Builder to create a request.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • stopRemoteAccessSession

      default CompletableFuture<StopRemoteAccessSessionResponse> stopRemoteAccessSession(StopRemoteAccessSessionRequest stopRemoteAccessSessionRequest)

      Ends a specified remote access session.

      Parameters:
      stopRemoteAccessSessionRequest - Represents the request to stop the remote access session.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • stopRemoteAccessSession

      default CompletableFuture<StopRemoteAccessSessionResponse> stopRemoteAccessSession(Consumer<StopRemoteAccessSessionRequest.Builder> stopRemoteAccessSessionRequest)

      Ends a specified remote access session.


      This is a convenience which creates an instance of the StopRemoteAccessSessionRequest.Builder avoiding the need to create one manually via StopRemoteAccessSessionRequest.builder()

      Parameters:
      stopRemoteAccessSessionRequest - A Consumer that will call methods on StopRemoteAccessSessionRequest.Builder to create a request. Represents the request to stop the remote access session.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • stopRun

      default CompletableFuture<StopRunResponse> stopRun(StopRunRequest stopRunRequest)

      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.

      Parameters:
      stopRunRequest - Represents the request to stop a specific run.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • stopRun

      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 StopRunRequest.Builder avoiding the need to create one manually via StopRunRequest.builder()

      Parameters:
      stopRunRequest - A Consumer that will call methods on StopRunRequest.Builder to create a request. Represents the request to stop a specific run.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • tagResource

      default CompletableFuture<TagResourceResponse> tagResource(TagResourceRequest tagResourceRequest)

      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.

      Parameters:
      tagResourceRequest -
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • tagResource

      default CompletableFuture<TagResourceResponse> tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest)

      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 TagResourceRequest.Builder avoiding the need to create one manually via TagResourceRequest.builder()

      Parameters:
      tagResourceRequest - A Consumer that will call methods on TagResourceRequest.Builder to create a request.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • untagResource

      default CompletableFuture<UntagResourceResponse> untagResource(UntagResourceRequest untagResourceRequest)

      Deletes the specified tags from a resource.

      Parameters:
      untagResourceRequest -
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • untagResource

      default CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest)

      Deletes the specified tags from a resource.


      This is a convenience which creates an instance of the UntagResourceRequest.Builder avoiding the need to create one manually via UntagResourceRequest.builder()

      Parameters:
      untagResourceRequest - A Consumer that will call methods on UntagResourceRequest.Builder to create a request.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • updateDeviceInstance

      default CompletableFuture<UpdateDeviceInstanceResponse> updateDeviceInstance(UpdateDeviceInstanceRequest updateDeviceInstanceRequest)

      Updates information about a private device instance.

      Parameters:
      updateDeviceInstanceRequest -
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • updateDeviceInstance

      default CompletableFuture<UpdateDeviceInstanceResponse> updateDeviceInstance(Consumer<UpdateDeviceInstanceRequest.Builder> updateDeviceInstanceRequest)

      Updates information about a private device instance.


      This is a convenience which creates an instance of the UpdateDeviceInstanceRequest.Builder avoiding the need to create one manually via UpdateDeviceInstanceRequest.builder()

      Parameters:
      updateDeviceInstanceRequest - A Consumer that will call methods on UpdateDeviceInstanceRequest.Builder to create a request.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • updateDevicePool

      default CompletableFuture<UpdateDevicePoolResponse> updateDevicePool(UpdateDevicePoolRequest updateDevicePoolRequest)

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

      Parameters:
      updateDevicePoolRequest - Represents a request to the update device pool operation.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • updateDevicePool

      default CompletableFuture<UpdateDevicePoolResponse> updateDevicePool(Consumer<UpdateDevicePoolRequest.Builder> updateDevicePoolRequest)

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


      This is a convenience which creates an instance of the UpdateDevicePoolRequest.Builder avoiding the need to create one manually via UpdateDevicePoolRequest.builder()

      Parameters:
      updateDevicePoolRequest - A Consumer that will call methods on UpdateDevicePoolRequest.Builder to create a request. Represents a request to the update device pool operation.
      Returns:
      A Java Future containing the result of the UpdateDevicePool operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • updateInstanceProfile

      default CompletableFuture<UpdateInstanceProfileResponse> updateInstanceProfile(UpdateInstanceProfileRequest updateInstanceProfileRequest)

      Updates information about an existing private device instance profile.

      Parameters:
      updateInstanceProfileRequest -
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • updateInstanceProfile

      default CompletableFuture<UpdateInstanceProfileResponse> updateInstanceProfile(Consumer<UpdateInstanceProfileRequest.Builder> updateInstanceProfileRequest)

      Updates information about an existing private device instance profile.


      This is a convenience which creates an instance of the UpdateInstanceProfileRequest.Builder avoiding the need to create one manually via UpdateInstanceProfileRequest.builder()

      Parameters:
      updateInstanceProfileRequest - A Consumer that will call methods on UpdateInstanceProfileRequest.Builder to create a request.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • updateNetworkProfile

      default CompletableFuture<UpdateNetworkProfileResponse> updateNetworkProfile(UpdateNetworkProfileRequest updateNetworkProfileRequest)

      Updates the network profile.

      Parameters:
      updateNetworkProfileRequest -
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • updateNetworkProfile

      default CompletableFuture<UpdateNetworkProfileResponse> updateNetworkProfile(Consumer<UpdateNetworkProfileRequest.Builder> updateNetworkProfileRequest)

      Updates the network profile.


      This is a convenience which creates an instance of the UpdateNetworkProfileRequest.Builder avoiding the need to create one manually via UpdateNetworkProfileRequest.builder()

      Parameters:
      updateNetworkProfileRequest - A Consumer that will call methods on UpdateNetworkProfileRequest.Builder to create a request.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • updateProject

      default CompletableFuture<UpdateProjectResponse> updateProject(UpdateProjectRequest updateProjectRequest)

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

      Parameters:
      updateProjectRequest - Represents a request to the update project operation.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • updateProject

      default CompletableFuture<UpdateProjectResponse> updateProject(Consumer<UpdateProjectRequest.Builder> updateProjectRequest)

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


      This is a convenience which creates an instance of the UpdateProjectRequest.Builder avoiding the need to create one manually via UpdateProjectRequest.builder()

      Parameters:
      updateProjectRequest - A Consumer that will call methods on UpdateProjectRequest.Builder to create a request. Represents a request to the update project operation.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • updateTestGridProject

      default CompletableFuture<UpdateTestGridProjectResponse> updateTestGridProject(UpdateTestGridProjectRequest updateTestGridProjectRequest)

      Change details of a project.

      Parameters:
      updateTestGridProjectRequest -
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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 aws-devicefarm-support@amazon.com 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.
      See Also:
    • updateTestGridProject

      default CompletableFuture<UpdateTestGridProjectResponse> updateTestGridProject(Consumer<UpdateTestGridProjectRequest.Builder> updateTestGridProjectRequest)

      Change details of a project.


      This is a convenience which creates an instance of the UpdateTestGridProjectRequest.Builder avoiding the need to create one manually via UpdateTestGridProjectRequest.builder()

      Parameters:
      updateTestGridProjectRequest - A Consumer that will call methods on UpdateTestGridProjectRequest.Builder to create a request.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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 aws-devicefarm-support@amazon.com 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.
      See Also:
    • updateUpload

      default CompletableFuture<UpdateUploadResponse> updateUpload(UpdateUploadRequest updateUploadRequest)

      Updates an uploaded test spec.

      Parameters:
      updateUploadRequest -
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • updateUpload

      default CompletableFuture<UpdateUploadResponse> updateUpload(Consumer<UpdateUploadRequest.Builder> updateUploadRequest)

      Updates an uploaded test spec.


      This is a convenience which creates an instance of the UpdateUploadRequest.Builder avoiding the need to create one manually via UpdateUploadRequest.builder()

      Parameters:
      updateUploadRequest - A Consumer that will call methods on UpdateUploadRequest.Builder to create a request.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • updateVPCEConfiguration

      default CompletableFuture<UpdateVpceConfigurationResponse> updateVPCEConfiguration(UpdateVpceConfigurationRequest updateVpceConfigurationRequest)

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

      Parameters:
      updateVpceConfigurationRequest -
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • updateVPCEConfiguration

      default CompletableFuture<UpdateVpceConfigurationResponse> updateVPCEConfiguration(Consumer<UpdateVpceConfigurationRequest.Builder> updateVpceConfigurationRequest)

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


      This is a convenience which creates an instance of the UpdateVpceConfigurationRequest.Builder avoiding the need to create one manually via UpdateVpceConfigurationRequest.builder()

      Parameters:
      updateVpceConfigurationRequest - A Consumer that will call methods on UpdateVpceConfigurationRequest.Builder to create a request.
      Returns:
      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. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • 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.
      See Also:
    • serviceClientConfiguration

      default DeviceFarmServiceClientConfiguration serviceClientConfiguration()
      Description copied from interface: SdkClient
      The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration
      Specified by:
      serviceClientConfiguration in interface AwsClient
      Specified by:
      serviceClientConfiguration in interface SdkClient
      Returns:
      SdkServiceClientConfiguration
    • create

      static DeviceFarmAsyncClient create()
      Create a DeviceFarmAsyncClient with the region loaded from the DefaultAwsRegionProviderChain and credentials loaded from the DefaultCredentialsProvider.
    • builder

      static DeviceFarmAsyncClientBuilder builder()
      Create a builder that can be used to configure and create a DeviceFarmAsyncClient.