Interface CloudExtensionsAsyncClient

All Superinterfaces:
AutoCloseable, AwsClient, SdkAutoCloseable, SdkClient

@Generated("software.amazon.awssdk:codegen") @SdkPublicApi @ThreadSafe public interface CloudExtensionsAsyncClient extends AwsClient
Service client for accessing AWS Cloud Extensions 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.

AWS Cloud Extensions runs extensions on your hosts. An extension is a WebAssembly module that an AWS service publishes, and the Cloud Extensions Runtime runs it on a host and serves it to local clients. Use this API to find released extensions, add them to profiles as profile entries, and configure each entry's version policy, settings, approved capabilities, and authentication. A Cloud Extensions Runtime syncs one profile and runs that profile's entries.

  • Field Details

  • Method Details

    • createProfile

      default CompletableFuture<CreateProfileResponse> createProfile(CreateProfileRequest createProfileRequest)

      Creates a new profile. The profile name must be unique within the account.

      Parameters:
      createProfileRequest - The properties for the new profile.
      Returns:
      A Java Future containing the result of the CreateProfile 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.
      • ServiceQuotaExceededException The request would exceed a service quota for the account.
      • InternalServerException The service couldn't process the request because of an internal error. Retry with capped exponential backoff and jitter.
      • ConflictException The request conflicts with the current state of the resource.
      • AccessDeniedException The caller does not have permission to perform the operation.
      • ValidationException The request was malformed or contained invalid parameter values.
      • ThrottlingException The request rate exceeded a limit. Retry with capped exponential backoff and jitter.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudExtensionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createProfile

      default CompletableFuture<CreateProfileResponse> createProfile(Consumer<CreateProfileRequest.Builder> createProfileRequest)

      Creates a new profile. The profile name must be unique within the account.


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

      Parameters:
      createProfileRequest - A Consumer that will call methods on CreateProfileRequest.Builder to create a request. The properties for the new profile.
      Returns:
      A Java Future containing the result of the CreateProfile 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.
      • ServiceQuotaExceededException The request would exceed a service quota for the account.
      • InternalServerException The service couldn't process the request because of an internal error. Retry with capped exponential backoff and jitter.
      • ConflictException The request conflicts with the current state of the resource.
      • AccessDeniedException The caller does not have permission to perform the operation.
      • ValidationException The request was malformed or contained invalid parameter values.
      • ThrottlingException The request rate exceeded a limit. Retry with capped exponential backoff and jitter.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudExtensionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createProfileEntry

      default CompletableFuture<CreateProfileEntryResponse> createProfileEntry(CreateProfileEntryRequest createProfileEntryRequest)

      Creates a profile entry that binds an extension to a profile. The extension must exist and the profile must not already have an entry for that extension.

      Parameters:
      createProfileEntryRequest - The profile, extension, and configuration for the new entry.
      Returns:
      A Java Future containing the result of the CreateProfileEntry 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.
      • ServiceQuotaExceededException The request would exceed a service quota for the account.
      • InternalServerException The service couldn't process the request because of an internal error. Retry with capped exponential backoff and jitter.
      • ConflictException The request conflicts with the current state of the resource.
      • AccessDeniedException The caller does not have permission to perform the operation.
      • ValidationException The request was malformed or contained invalid parameter values.
      • ResourceNotFoundException The specified resource does not exist or the caller does not have permission to access it.
      • ThrottlingException The request rate exceeded a limit. Retry with capped exponential backoff and jitter.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudExtensionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createProfileEntry

      default CompletableFuture<CreateProfileEntryResponse> createProfileEntry(Consumer<CreateProfileEntryRequest.Builder> createProfileEntryRequest)

      Creates a profile entry that binds an extension to a profile. The extension must exist and the profile must not already have an entry for that extension.


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

      Parameters:
      createProfileEntryRequest - A Consumer that will call methods on CreateProfileEntryRequest.Builder to create a request. The profile, extension, and configuration for the new entry.
      Returns:
      A Java Future containing the result of the CreateProfileEntry 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.
      • ServiceQuotaExceededException The request would exceed a service quota for the account.
      • InternalServerException The service couldn't process the request because of an internal error. Retry with capped exponential backoff and jitter.
      • ConflictException The request conflicts with the current state of the resource.
      • AccessDeniedException The caller does not have permission to perform the operation.
      • ValidationException The request was malformed or contained invalid parameter values.
      • ResourceNotFoundException The specified resource does not exist or the caller does not have permission to access it.
      • ThrottlingException The request rate exceeded a limit. Retry with capped exponential backoff and jitter.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudExtensionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteProfile

      default CompletableFuture<DeleteProfileResponse> deleteProfile(DeleteProfileRequest deleteProfileRequest)

      Deletes a profile and its profile entries.

      Parameters:
      deleteProfileRequest - Identifies the profile to delete.
      Returns:
      A Java Future containing the result of the DeleteProfile 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.
      • InternalServerException The service couldn't process the request because of an internal error. Retry with capped exponential backoff and jitter.
      • ConflictException The request conflicts with the current state of the resource.
      • AccessDeniedException The caller does not have permission to perform the operation.
      • ValidationException The request was malformed or contained invalid parameter values.
      • ResourceNotFoundException The specified resource does not exist or the caller does not have permission to access it.
      • ThrottlingException The request rate exceeded a limit. Retry with capped exponential backoff and jitter.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudExtensionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteProfile

      default CompletableFuture<DeleteProfileResponse> deleteProfile(Consumer<DeleteProfileRequest.Builder> deleteProfileRequest)

      Deletes a profile and its profile entries.


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

      Parameters:
      deleteProfileRequest - A Consumer that will call methods on DeleteProfileRequest.Builder to create a request. Identifies the profile to delete.
      Returns:
      A Java Future containing the result of the DeleteProfile 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.
      • InternalServerException The service couldn't process the request because of an internal error. Retry with capped exponential backoff and jitter.
      • ConflictException The request conflicts with the current state of the resource.
      • AccessDeniedException The caller does not have permission to perform the operation.
      • ValidationException The request was malformed or contained invalid parameter values.
      • ResourceNotFoundException The specified resource does not exist or the caller does not have permission to access it.
      • ThrottlingException The request rate exceeded a limit. Retry with capped exponential backoff and jitter.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudExtensionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteProfileEntry

      default CompletableFuture<DeleteProfileEntryResponse> deleteProfileEntry(DeleteProfileEntryRequest deleteProfileEntryRequest)

      Removes a profile entry, unbinding the extension from the profile.

      Parameters:
      deleteProfileEntryRequest - Identifies the profile entry to delete.
      Returns:
      A Java Future containing the result of the DeleteProfileEntry 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.
      • InternalServerException The service couldn't process the request because of an internal error. Retry with capped exponential backoff and jitter.
      • ConflictException The request conflicts with the current state of the resource.
      • AccessDeniedException The caller does not have permission to perform the operation.
      • ValidationException The request was malformed or contained invalid parameter values.
      • ResourceNotFoundException The specified resource does not exist or the caller does not have permission to access it.
      • ThrottlingException The request rate exceeded a limit. Retry with capped exponential backoff and jitter.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudExtensionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteProfileEntry

      default CompletableFuture<DeleteProfileEntryResponse> deleteProfileEntry(Consumer<DeleteProfileEntryRequest.Builder> deleteProfileEntryRequest)

      Removes a profile entry, unbinding the extension from the profile.


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

      Parameters:
      deleteProfileEntryRequest - A Consumer that will call methods on DeleteProfileEntryRequest.Builder to create a request. Identifies the profile entry to delete.
      Returns:
      A Java Future containing the result of the DeleteProfileEntry 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.
      • InternalServerException The service couldn't process the request because of an internal error. Retry with capped exponential backoff and jitter.
      • ConflictException The request conflicts with the current state of the resource.
      • AccessDeniedException The caller does not have permission to perform the operation.
      • ValidationException The request was malformed or contained invalid parameter values.
      • ResourceNotFoundException The specified resource does not exist or the caller does not have permission to access it.
      • ThrottlingException The request rate exceeded a limit. Retry with capped exponential backoff and jitter.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudExtensionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getExtension

      default CompletableFuture<GetExtensionResponse> getExtension(GetExtensionRequest getExtensionRequest)

      Retrieves a released extension by its id. By default returns the latest version; use the version parameter to retrieve a specific release.

      Parameters:
      getExtensionRequest - Identifies the extension and optionally a specific version to retrieve.
      Returns:
      A Java Future containing the result of the GetExtension 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.
      • InternalServerException The service couldn't process the request because of an internal error. Retry with capped exponential backoff and jitter.
      • AccessDeniedException The caller does not have permission to perform the operation.
      • ValidationException The request was malformed or contained invalid parameter values.
      • ResourceNotFoundException The specified resource does not exist or the caller does not have permission to access it.
      • ThrottlingException The request rate exceeded a limit. Retry with capped exponential backoff and jitter.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudExtensionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getExtension

      default CompletableFuture<GetExtensionResponse> getExtension(Consumer<GetExtensionRequest.Builder> getExtensionRequest)

      Retrieves a released extension by its id. By default returns the latest version; use the version parameter to retrieve a specific release.


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

      Parameters:
      getExtensionRequest - A Consumer that will call methods on GetExtensionRequest.Builder to create a request. Identifies the extension and optionally a specific version to retrieve.
      Returns:
      A Java Future containing the result of the GetExtension 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.
      • InternalServerException The service couldn't process the request because of an internal error. Retry with capped exponential backoff and jitter.
      • AccessDeniedException The caller does not have permission to perform the operation.
      • ValidationException The request was malformed or contained invalid parameter values.
      • ResourceNotFoundException The specified resource does not exist or the caller does not have permission to access it.
      • ThrottlingException The request rate exceeded a limit. Retry with capped exponential backoff and jitter.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudExtensionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getProfile

      default CompletableFuture<GetProfileResponse> getProfile(GetProfileRequest getProfileRequest)

      Retrieves a profile by its identifier (id or name).

      Parameters:
      getProfileRequest - Identifies the profile to retrieve.
      Returns:
      A Java Future containing the result of the GetProfile 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.
      • InternalServerException The service couldn't process the request because of an internal error. Retry with capped exponential backoff and jitter.
      • AccessDeniedException The caller does not have permission to perform the operation.
      • ValidationException The request was malformed or contained invalid parameter values.
      • ResourceNotFoundException The specified resource does not exist or the caller does not have permission to access it.
      • ThrottlingException The request rate exceeded a limit. Retry with capped exponential backoff and jitter.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudExtensionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getProfile

      default CompletableFuture<GetProfileResponse> getProfile(Consumer<GetProfileRequest.Builder> getProfileRequest)

      Retrieves a profile by its identifier (id or name).


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

      Parameters:
      getProfileRequest - A Consumer that will call methods on GetProfileRequest.Builder to create a request. Identifies the profile to retrieve.
      Returns:
      A Java Future containing the result of the GetProfile 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.
      • InternalServerException The service couldn't process the request because of an internal error. Retry with capped exponential backoff and jitter.
      • AccessDeniedException The caller does not have permission to perform the operation.
      • ValidationException The request was malformed or contained invalid parameter values.
      • ResourceNotFoundException The specified resource does not exist or the caller does not have permission to access it.
      • ThrottlingException The request rate exceeded a limit. Retry with capped exponential backoff and jitter.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudExtensionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getProfileEntry

      default CompletableFuture<GetProfileEntryResponse> getProfileEntry(GetProfileEntryRequest getProfileEntryRequest)

      Retrieves a profile entry by its profile identifier and entry identifier.

      Parameters:
      getProfileEntryRequest - Identifies the profile entry to retrieve.
      Returns:
      A Java Future containing the result of the GetProfileEntry 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.
      • InternalServerException The service couldn't process the request because of an internal error. Retry with capped exponential backoff and jitter.
      • AccessDeniedException The caller does not have permission to perform the operation.
      • ValidationException The request was malformed or contained invalid parameter values.
      • ResourceNotFoundException The specified resource does not exist or the caller does not have permission to access it.
      • ThrottlingException The request rate exceeded a limit. Retry with capped exponential backoff and jitter.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudExtensionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getProfileEntry

      default CompletableFuture<GetProfileEntryResponse> getProfileEntry(Consumer<GetProfileEntryRequest.Builder> getProfileEntryRequest)

      Retrieves a profile entry by its profile identifier and entry identifier.


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

      Parameters:
      getProfileEntryRequest - A Consumer that will call methods on GetProfileEntryRequest.Builder to create a request. Identifies the profile entry to retrieve.
      Returns:
      A Java Future containing the result of the GetProfileEntry 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.
      • InternalServerException The service couldn't process the request because of an internal error. Retry with capped exponential backoff and jitter.
      • AccessDeniedException The caller does not have permission to perform the operation.
      • ValidationException The request was malformed or contained invalid parameter values.
      • ResourceNotFoundException The specified resource does not exist or the caller does not have permission to access it.
      • ThrottlingException The request rate exceeded a limit. Retry with capped exponential backoff and jitter.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudExtensionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listExtensionVersions

      default CompletableFuture<ListExtensionVersionsResponse> listExtensionVersions(ListExtensionVersionsRequest listExtensionVersionsRequest)

      Lists the released versions of an extension, newest first, optionally filtered by a version selector.

      Parameters:
      listExtensionVersionsRequest - The extension whose versions to list, with an optional filter and pagination parameters.
      Returns:
      A Java Future containing the result of the ListExtensionVersions 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.
      • InternalServerException The service couldn't process the request because of an internal error. Retry with capped exponential backoff and jitter.
      • AccessDeniedException The caller does not have permission to perform the operation.
      • ValidationException The request was malformed or contained invalid parameter values.
      • ResourceNotFoundException The specified resource does not exist or the caller does not have permission to access it.
      • ThrottlingException The request rate exceeded a limit. Retry with capped exponential backoff and jitter.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudExtensionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listExtensionVersions

      default CompletableFuture<ListExtensionVersionsResponse> listExtensionVersions(Consumer<ListExtensionVersionsRequest.Builder> listExtensionVersionsRequest)

      Lists the released versions of an extension, newest first, optionally filtered by a version selector.


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

      Parameters:
      listExtensionVersionsRequest - A Consumer that will call methods on ListExtensionVersionsRequest.Builder to create a request. The extension whose versions to list, with an optional filter and pagination parameters.
      Returns:
      A Java Future containing the result of the ListExtensionVersions 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.
      • InternalServerException The service couldn't process the request because of an internal error. Retry with capped exponential backoff and jitter.
      • AccessDeniedException The caller does not have permission to perform the operation.
      • ValidationException The request was malformed or contained invalid parameter values.
      • ResourceNotFoundException The specified resource does not exist or the caller does not have permission to access it.
      • ThrottlingException The request rate exceeded a limit. Retry with capped exponential backoff and jitter.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudExtensionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listExtensionVersionsPaginator

      default ListExtensionVersionsPublisher listExtensionVersionsPaginator(ListExtensionVersionsRequest listExtensionVersionsRequest)

      This is a variant of listExtensionVersions(software.amazon.awssdk.services.cloudextensions.model.ListExtensionVersionsRequest) 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.cloudextensions.paginators.ListExtensionVersionsPublisher publisher = client.listExtensionVersionsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.cloudextensions.paginators.ListExtensionVersionsPublisher publisher = client.listExtensionVersionsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.cloudextensions.model.ListExtensionVersionsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.cloudextensions.model.ListExtensionVersionsResponse 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 maxResults 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 listExtensionVersions(software.amazon.awssdk.services.cloudextensions.model.ListExtensionVersionsRequest) operation.

      Parameters:
      listExtensionVersionsRequest - The extension whose versions to list, with an optional filter and pagination parameters.
      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.
      • InternalServerException The service couldn't process the request because of an internal error. Retry with capped exponential backoff and jitter.
      • AccessDeniedException The caller does not have permission to perform the operation.
      • ValidationException The request was malformed or contained invalid parameter values.
      • ResourceNotFoundException The specified resource does not exist or the caller does not have permission to access it.
      • ThrottlingException The request rate exceeded a limit. Retry with capped exponential backoff and jitter.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudExtensionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listExtensionVersionsPaginator

      default ListExtensionVersionsPublisher listExtensionVersionsPaginator(Consumer<ListExtensionVersionsRequest.Builder> listExtensionVersionsRequest)

      This is a variant of listExtensionVersions(software.amazon.awssdk.services.cloudextensions.model.ListExtensionVersionsRequest) 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.cloudextensions.paginators.ListExtensionVersionsPublisher publisher = client.listExtensionVersionsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.cloudextensions.paginators.ListExtensionVersionsPublisher publisher = client.listExtensionVersionsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.cloudextensions.model.ListExtensionVersionsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.cloudextensions.model.ListExtensionVersionsResponse 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 maxResults 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 listExtensionVersions(software.amazon.awssdk.services.cloudextensions.model.ListExtensionVersionsRequest) operation.


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

      Parameters:
      listExtensionVersionsRequest - A Consumer that will call methods on ListExtensionVersionsRequest.Builder to create a request. The extension whose versions to list, with an optional filter and pagination parameters.
      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.
      • InternalServerException The service couldn't process the request because of an internal error. Retry with capped exponential backoff and jitter.
      • AccessDeniedException The caller does not have permission to perform the operation.
      • ValidationException The request was malformed or contained invalid parameter values.
      • ResourceNotFoundException The specified resource does not exist or the caller does not have permission to access it.
      • ThrottlingException The request rate exceeded a limit. Retry with capped exponential backoff and jitter.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudExtensionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listExtensions

      default CompletableFuture<ListExtensionsResponse> listExtensions(ListExtensionsRequest listExtensionsRequest)

      Lists released extensions. Returns the latest version of each extension.

      Parameters:
      listExtensionsRequest - Pagination parameters.
      Returns:
      A Java Future containing the result of the ListExtensions 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.
      • InternalServerException The service couldn't process the request because of an internal error. Retry with capped exponential backoff and jitter.
      • AccessDeniedException The caller does not have permission to perform the operation.
      • ValidationException The request was malformed or contained invalid parameter values.
      • ThrottlingException The request rate exceeded a limit. Retry with capped exponential backoff and jitter.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudExtensionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listExtensions

      default CompletableFuture<ListExtensionsResponse> listExtensions(Consumer<ListExtensionsRequest.Builder> listExtensionsRequest)

      Lists released extensions. Returns the latest version of each extension.


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

      Parameters:
      listExtensionsRequest - A Consumer that will call methods on ListExtensionsRequest.Builder to create a request. Pagination parameters.
      Returns:
      A Java Future containing the result of the ListExtensions 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.
      • InternalServerException The service couldn't process the request because of an internal error. Retry with capped exponential backoff and jitter.
      • AccessDeniedException The caller does not have permission to perform the operation.
      • ValidationException The request was malformed or contained invalid parameter values.
      • ThrottlingException The request rate exceeded a limit. Retry with capped exponential backoff and jitter.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudExtensionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listExtensionsPaginator

      default ListExtensionsPublisher listExtensionsPaginator(ListExtensionsRequest listExtensionsRequest)

      This is a variant of listExtensions(software.amazon.awssdk.services.cloudextensions.model.ListExtensionsRequest) 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.cloudextensions.paginators.ListExtensionsPublisher publisher = client.listExtensionsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.cloudextensions.paginators.ListExtensionsPublisher publisher = client.listExtensionsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.cloudextensions.model.ListExtensionsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.cloudextensions.model.ListExtensionsResponse 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 maxResults 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 listExtensions(software.amazon.awssdk.services.cloudextensions.model.ListExtensionsRequest) operation.

      Parameters:
      listExtensionsRequest - Pagination parameters.
      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.
      • InternalServerException The service couldn't process the request because of an internal error. Retry with capped exponential backoff and jitter.
      • AccessDeniedException The caller does not have permission to perform the operation.
      • ValidationException The request was malformed or contained invalid parameter values.
      • ThrottlingException The request rate exceeded a limit. Retry with capped exponential backoff and jitter.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudExtensionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listExtensionsPaginator

      default ListExtensionsPublisher listExtensionsPaginator(Consumer<ListExtensionsRequest.Builder> listExtensionsRequest)

      This is a variant of listExtensions(software.amazon.awssdk.services.cloudextensions.model.ListExtensionsRequest) 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.cloudextensions.paginators.ListExtensionsPublisher publisher = client.listExtensionsPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.cloudextensions.paginators.ListExtensionsPublisher publisher = client.listExtensionsPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.cloudextensions.model.ListExtensionsResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.cloudextensions.model.ListExtensionsResponse 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 maxResults 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 listExtensions(software.amazon.awssdk.services.cloudextensions.model.ListExtensionsRequest) operation.


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

      Parameters:
      listExtensionsRequest - A Consumer that will call methods on ListExtensionsRequest.Builder to create a request. Pagination parameters.
      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.
      • InternalServerException The service couldn't process the request because of an internal error. Retry with capped exponential backoff and jitter.
      • AccessDeniedException The caller does not have permission to perform the operation.
      • ValidationException The request was malformed or contained invalid parameter values.
      • ThrottlingException The request rate exceeded a limit. Retry with capped exponential backoff and jitter.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudExtensionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listProfileEntries

      default CompletableFuture<ListProfileEntriesResponse> listProfileEntries(ListProfileEntriesRequest listProfileEntriesRequest)

      Lists profile entries for a given profile.

      Parameters:
      listProfileEntriesRequest - The profile whose entries to list, with pagination parameters.
      Returns:
      A Java Future containing the result of the ListProfileEntries 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.
      • InternalServerException The service couldn't process the request because of an internal error. Retry with capped exponential backoff and jitter.
      • AccessDeniedException The caller does not have permission to perform the operation.
      • ValidationException The request was malformed or contained invalid parameter values.
      • ResourceNotFoundException The specified resource does not exist or the caller does not have permission to access it.
      • ThrottlingException The request rate exceeded a limit. Retry with capped exponential backoff and jitter.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudExtensionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listProfileEntries

      default CompletableFuture<ListProfileEntriesResponse> listProfileEntries(Consumer<ListProfileEntriesRequest.Builder> listProfileEntriesRequest)

      Lists profile entries for a given profile.


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

      Parameters:
      listProfileEntriesRequest - A Consumer that will call methods on ListProfileEntriesRequest.Builder to create a request. The profile whose entries to list, with pagination parameters.
      Returns:
      A Java Future containing the result of the ListProfileEntries 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.
      • InternalServerException The service couldn't process the request because of an internal error. Retry with capped exponential backoff and jitter.
      • AccessDeniedException The caller does not have permission to perform the operation.
      • ValidationException The request was malformed or contained invalid parameter values.
      • ResourceNotFoundException The specified resource does not exist or the caller does not have permission to access it.
      • ThrottlingException The request rate exceeded a limit. Retry with capped exponential backoff and jitter.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudExtensionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listProfileEntriesPaginator

      default ListProfileEntriesPublisher listProfileEntriesPaginator(ListProfileEntriesRequest listProfileEntriesRequest)

      This is a variant of listProfileEntries(software.amazon.awssdk.services.cloudextensions.model.ListProfileEntriesRequest) 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.cloudextensions.paginators.ListProfileEntriesPublisher publisher = client.listProfileEntriesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.cloudextensions.paginators.ListProfileEntriesPublisher publisher = client.listProfileEntriesPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.cloudextensions.model.ListProfileEntriesResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.cloudextensions.model.ListProfileEntriesResponse 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 maxResults 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 listProfileEntries(software.amazon.awssdk.services.cloudextensions.model.ListProfileEntriesRequest) operation.

      Parameters:
      listProfileEntriesRequest - The profile whose entries to list, with pagination parameters.
      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.
      • InternalServerException The service couldn't process the request because of an internal error. Retry with capped exponential backoff and jitter.
      • AccessDeniedException The caller does not have permission to perform the operation.
      • ValidationException The request was malformed or contained invalid parameter values.
      • ResourceNotFoundException The specified resource does not exist or the caller does not have permission to access it.
      • ThrottlingException The request rate exceeded a limit. Retry with capped exponential backoff and jitter.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudExtensionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listProfileEntriesPaginator

      default ListProfileEntriesPublisher listProfileEntriesPaginator(Consumer<ListProfileEntriesRequest.Builder> listProfileEntriesRequest)

      This is a variant of listProfileEntries(software.amazon.awssdk.services.cloudextensions.model.ListProfileEntriesRequest) 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.cloudextensions.paginators.ListProfileEntriesPublisher publisher = client.listProfileEntriesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.cloudextensions.paginators.ListProfileEntriesPublisher publisher = client.listProfileEntriesPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.cloudextensions.model.ListProfileEntriesResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.cloudextensions.model.ListProfileEntriesResponse 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 maxResults 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 listProfileEntries(software.amazon.awssdk.services.cloudextensions.model.ListProfileEntriesRequest) operation.


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

      Parameters:
      listProfileEntriesRequest - A Consumer that will call methods on ListProfileEntriesRequest.Builder to create a request. The profile whose entries to list, with pagination parameters.
      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.
      • InternalServerException The service couldn't process the request because of an internal error. Retry with capped exponential backoff and jitter.
      • AccessDeniedException The caller does not have permission to perform the operation.
      • ValidationException The request was malformed or contained invalid parameter values.
      • ResourceNotFoundException The specified resource does not exist or the caller does not have permission to access it.
      • ThrottlingException The request rate exceeded a limit. Retry with capped exponential backoff and jitter.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudExtensionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listProfiles

      default CompletableFuture<ListProfilesResponse> listProfiles(ListProfilesRequest listProfilesRequest)

      Lists profiles in the account, optionally filtered by name.

      Parameters:
      listProfilesRequest - Optional filters and pagination parameters.
      Returns:
      A Java Future containing the result of the ListProfiles 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.
      • InternalServerException The service couldn't process the request because of an internal error. Retry with capped exponential backoff and jitter.
      • AccessDeniedException The caller does not have permission to perform the operation.
      • ValidationException The request was malformed or contained invalid parameter values.
      • ThrottlingException The request rate exceeded a limit. Retry with capped exponential backoff and jitter.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudExtensionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listProfiles

      default CompletableFuture<ListProfilesResponse> listProfiles(Consumer<ListProfilesRequest.Builder> listProfilesRequest)

      Lists profiles in the account, optionally filtered by name.


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

      Parameters:
      listProfilesRequest - A Consumer that will call methods on ListProfilesRequest.Builder to create a request. Optional filters and pagination parameters.
      Returns:
      A Java Future containing the result of the ListProfiles 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.
      • InternalServerException The service couldn't process the request because of an internal error. Retry with capped exponential backoff and jitter.
      • AccessDeniedException The caller does not have permission to perform the operation.
      • ValidationException The request was malformed or contained invalid parameter values.
      • ThrottlingException The request rate exceeded a limit. Retry with capped exponential backoff and jitter.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudExtensionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listProfilesPaginator

      default ListProfilesPublisher listProfilesPaginator(ListProfilesRequest listProfilesRequest)

      This is a variant of listProfiles(software.amazon.awssdk.services.cloudextensions.model.ListProfilesRequest) 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.cloudextensions.paginators.ListProfilesPublisher publisher = client.listProfilesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.cloudextensions.paginators.ListProfilesPublisher publisher = client.listProfilesPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.cloudextensions.model.ListProfilesResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.cloudextensions.model.ListProfilesResponse 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 maxResults 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 listProfiles(software.amazon.awssdk.services.cloudextensions.model.ListProfilesRequest) operation.

      Parameters:
      listProfilesRequest - Optional filters and pagination parameters.
      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.
      • InternalServerException The service couldn't process the request because of an internal error. Retry with capped exponential backoff and jitter.
      • AccessDeniedException The caller does not have permission to perform the operation.
      • ValidationException The request was malformed or contained invalid parameter values.
      • ThrottlingException The request rate exceeded a limit. Retry with capped exponential backoff and jitter.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudExtensionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listProfilesPaginator

      default ListProfilesPublisher listProfilesPaginator(Consumer<ListProfilesRequest.Builder> listProfilesRequest)

      This is a variant of listProfiles(software.amazon.awssdk.services.cloudextensions.model.ListProfilesRequest) 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.cloudextensions.paginators.ListProfilesPublisher publisher = client.listProfilesPaginator(request);
       CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response });
       future.get();
       
       
      2) Using a custom subscriber
       
       software.amazon.awssdk.services.cloudextensions.paginators.ListProfilesPublisher publisher = client.listProfilesPaginator(request);
       publisher.subscribe(new Subscriber<software.amazon.awssdk.services.cloudextensions.model.ListProfilesResponse>() {
       
       public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
       
       
       public void onNext(software.amazon.awssdk.services.cloudextensions.model.ListProfilesResponse 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 maxResults 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 listProfiles(software.amazon.awssdk.services.cloudextensions.model.ListProfilesRequest) operation.


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

      Parameters:
      listProfilesRequest - A Consumer that will call methods on ListProfilesRequest.Builder to create a request. Optional filters and pagination parameters.
      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.
      • InternalServerException The service couldn't process the request because of an internal error. Retry with capped exponential backoff and jitter.
      • AccessDeniedException The caller does not have permission to perform the operation.
      • ValidationException The request was malformed or contained invalid parameter values.
      • ThrottlingException The request rate exceeded a limit. Retry with capped exponential backoff and jitter.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudExtensionsException 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)

      Lists the tags on a profile or profile entry.

      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.
      • InternalServerException The service couldn't process the request because of an internal error. Retry with capped exponential backoff and jitter.
      • AccessDeniedException The caller does not have permission to perform the operation.
      • ValidationException The request was malformed or contained invalid parameter values.
      • ResourceNotFoundException The specified resource does not exist or the caller does not have permission to access it.
      • ThrottlingException The request rate exceeded a limit. Retry with capped exponential backoff and jitter.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudExtensionsException 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)

      Lists the tags on a profile or profile entry.


      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.
      • InternalServerException The service couldn't process the request because of an internal error. Retry with capped exponential backoff and jitter.
      • AccessDeniedException The caller does not have permission to perform the operation.
      • ValidationException The request was malformed or contained invalid parameter values.
      • ResourceNotFoundException The specified resource does not exist or the caller does not have permission to access it.
      • ThrottlingException The request rate exceeded a limit. Retry with capped exponential backoff and jitter.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudExtensionsException 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)

      Adds tags to a profile or profile entry. A tag whose key the resource already has replaces that tag's value.

      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.
      • InternalServerException The service couldn't process the request because of an internal error. Retry with capped exponential backoff and jitter.
      • AccessDeniedException The caller does not have permission to perform the operation.
      • ValidationException The request was malformed or contained invalid parameter values.
      • ResourceNotFoundException The specified resource does not exist or the caller does not have permission to access it.
      • ThrottlingException The request rate exceeded a limit. Retry with capped exponential backoff and jitter.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudExtensionsException 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)

      Adds tags to a profile or profile entry. A tag whose key the resource already has replaces that tag's value.


      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.
      • InternalServerException The service couldn't process the request because of an internal error. Retry with capped exponential backoff and jitter.
      • AccessDeniedException The caller does not have permission to perform the operation.
      • ValidationException The request was malformed or contained invalid parameter values.
      • ResourceNotFoundException The specified resource does not exist or the caller does not have permission to access it.
      • ThrottlingException The request rate exceeded a limit. Retry with capped exponential backoff and jitter.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudExtensionsException 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)

      Removes tags from a profile or profile entry.

      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.
      • InternalServerException The service couldn't process the request because of an internal error. Retry with capped exponential backoff and jitter.
      • AccessDeniedException The caller does not have permission to perform the operation.
      • ValidationException The request was malformed or contained invalid parameter values.
      • ResourceNotFoundException The specified resource does not exist or the caller does not have permission to access it.
      • ThrottlingException The request rate exceeded a limit. Retry with capped exponential backoff and jitter.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudExtensionsException 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)

      Removes tags from a profile or profile entry.


      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.
      • InternalServerException The service couldn't process the request because of an internal error. Retry with capped exponential backoff and jitter.
      • AccessDeniedException The caller does not have permission to perform the operation.
      • ValidationException The request was malformed or contained invalid parameter values.
      • ResourceNotFoundException The specified resource does not exist or the caller does not have permission to access it.
      • ThrottlingException The request rate exceeded a limit. Retry with capped exponential backoff and jitter.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudExtensionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateProfile

      default CompletableFuture<UpdateProfileResponse> updateProfile(UpdateProfileRequest updateProfileRequest)

      Updates a profile's mutable properties. Only provided fields are changed; omitted fields remain unchanged.

      Parameters:
      updateProfileRequest - The identifier of the profile to update and the fields to change.
      Returns:
      A Java Future containing the result of the UpdateProfile 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.
      • InternalServerException The service couldn't process the request because of an internal error. Retry with capped exponential backoff and jitter.
      • ConflictException The request conflicts with the current state of the resource.
      • AccessDeniedException The caller does not have permission to perform the operation.
      • ValidationException The request was malformed or contained invalid parameter values.
      • ResourceNotFoundException The specified resource does not exist or the caller does not have permission to access it.
      • ThrottlingException The request rate exceeded a limit. Retry with capped exponential backoff and jitter.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudExtensionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateProfile

      default CompletableFuture<UpdateProfileResponse> updateProfile(Consumer<UpdateProfileRequest.Builder> updateProfileRequest)

      Updates a profile's mutable properties. Only provided fields are changed; omitted fields remain unchanged.


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

      Parameters:
      updateProfileRequest - A Consumer that will call methods on UpdateProfileRequest.Builder to create a request. The identifier of the profile to update and the fields to change.
      Returns:
      A Java Future containing the result of the UpdateProfile 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.
      • InternalServerException The service couldn't process the request because of an internal error. Retry with capped exponential backoff and jitter.
      • ConflictException The request conflicts with the current state of the resource.
      • AccessDeniedException The caller does not have permission to perform the operation.
      • ValidationException The request was malformed or contained invalid parameter values.
      • ResourceNotFoundException The specified resource does not exist or the caller does not have permission to access it.
      • ThrottlingException The request rate exceeded a limit. Retry with capped exponential backoff and jitter.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudExtensionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateProfileEntry

      default CompletableFuture<UpdateProfileEntryResponse> updateProfileEntry(UpdateProfileEntryRequest updateProfileEntryRequest)

      Updates a profile entry's configuration. Only provided fields are changed; omitted fields remain unchanged.

      Parameters:
      updateProfileEntryRequest - The identifier of the profile entry to update and the fields to change.
      Returns:
      A Java Future containing the result of the UpdateProfileEntry 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.
      • InternalServerException The service couldn't process the request because of an internal error. Retry with capped exponential backoff and jitter.
      • ConflictException The request conflicts with the current state of the resource.
      • AccessDeniedException The caller does not have permission to perform the operation.
      • ValidationException The request was malformed or contained invalid parameter values.
      • ResourceNotFoundException The specified resource does not exist or the caller does not have permission to access it.
      • ThrottlingException The request rate exceeded a limit. Retry with capped exponential backoff and jitter.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudExtensionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateProfileEntry

      default CompletableFuture<UpdateProfileEntryResponse> updateProfileEntry(Consumer<UpdateProfileEntryRequest.Builder> updateProfileEntryRequest)

      Updates a profile entry's configuration. Only provided fields are changed; omitted fields remain unchanged.


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

      Parameters:
      updateProfileEntryRequest - A Consumer that will call methods on UpdateProfileEntryRequest.Builder to create a request. The identifier of the profile entry to update and the fields to change.
      Returns:
      A Java Future containing the result of the UpdateProfileEntry 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.
      • InternalServerException The service couldn't process the request because of an internal error. Retry with capped exponential backoff and jitter.
      • ConflictException The request conflicts with the current state of the resource.
      • AccessDeniedException The caller does not have permission to perform the operation.
      • ValidationException The request was malformed or contained invalid parameter values.
      • ResourceNotFoundException The specified resource does not exist or the caller does not have permission to access it.
      • ThrottlingException The request rate exceeded a limit. Retry with capped exponential backoff and jitter.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • CloudExtensionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • serviceClientConfiguration

      default CloudExtensionsServiceClientConfiguration 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 CloudExtensionsAsyncClient create()
      Create a CloudExtensionsAsyncClient with the region loaded from the DefaultAwsRegionProviderChain and credentials loaded from the DefaultCredentialsProvider.
    • builder

      Create a builder that can be used to configure and create a CloudExtensionsAsyncClient.