Interface LicenseManagerLinuxSubscriptionsAsyncClient

All Superinterfaces:
AutoCloseable, AwsClient, SdkAutoCloseable, SdkClient

@Generated("software.amazon.awssdk:codegen") @ThreadSafe public interface LicenseManagerLinuxSubscriptionsAsyncClient extends AwsClient
Service client for accessing AWS License Manager Linux Subscriptions 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.

With License Manager, you can discover and track your commercial Linux subscriptions on running Amazon EC2 instances.

  • Field Details

  • Method Details

    • deregisterSubscriptionProvider

      default CompletableFuture<DeregisterSubscriptionProviderResponse> deregisterSubscriptionProvider(DeregisterSubscriptionProviderRequest deregisterSubscriptionProviderRequest)

      Remove a third-party subscription provider from the Bring Your Own License (BYOL) subscriptions registered to your account.

      Parameters:
      deregisterSubscriptionProviderRequest -
      Returns:
      A Java Future containing the result of the DeregisterSubscriptionProvider 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 An exception occurred with the service.
      • ResourceNotFoundException Unable to find the requested Amazon Web Services resource.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The provided input is not valid. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LicenseManagerLinuxSubscriptionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deregisterSubscriptionProvider

      default CompletableFuture<DeregisterSubscriptionProviderResponse> deregisterSubscriptionProvider(Consumer<DeregisterSubscriptionProviderRequest.Builder> deregisterSubscriptionProviderRequest)

      Remove a third-party subscription provider from the Bring Your Own License (BYOL) subscriptions registered to your account.


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

      Parameters:
      deregisterSubscriptionProviderRequest - A Consumer that will call methods on DeregisterSubscriptionProviderRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeregisterSubscriptionProvider 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 An exception occurred with the service.
      • ResourceNotFoundException Unable to find the requested Amazon Web Services resource.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The provided input is not valid. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LicenseManagerLinuxSubscriptionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getRegisteredSubscriptionProvider

      default CompletableFuture<GetRegisteredSubscriptionProviderResponse> getRegisteredSubscriptionProvider(GetRegisteredSubscriptionProviderRequest getRegisteredSubscriptionProviderRequest)

      Get details for a Bring Your Own License (BYOL) subscription that's registered to your account.

      Parameters:
      getRegisteredSubscriptionProviderRequest -
      Returns:
      A Java Future containing the result of the GetRegisteredSubscriptionProvider 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 An exception occurred with the service.
      • ResourceNotFoundException Unable to find the requested Amazon Web Services resource.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The provided input is not valid. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LicenseManagerLinuxSubscriptionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getRegisteredSubscriptionProvider

      default CompletableFuture<GetRegisteredSubscriptionProviderResponse> getRegisteredSubscriptionProvider(Consumer<GetRegisteredSubscriptionProviderRequest.Builder> getRegisteredSubscriptionProviderRequest)

      Get details for a Bring Your Own License (BYOL) subscription that's registered to your account.


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

      Parameters:
      getRegisteredSubscriptionProviderRequest - A Consumer that will call methods on GetRegisteredSubscriptionProviderRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetRegisteredSubscriptionProvider 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 An exception occurred with the service.
      • ResourceNotFoundException Unable to find the requested Amazon Web Services resource.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The provided input is not valid. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LicenseManagerLinuxSubscriptionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getServiceSettings

      default CompletableFuture<GetServiceSettingsResponse> getServiceSettings(GetServiceSettingsRequest getServiceSettingsRequest)

      Lists the Linux subscriptions service settings for your account.

      Parameters:
      getServiceSettingsRequest -
      Returns:
      A Java Future containing the result of the GetServiceSettings 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 An exception occurred with the service.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The provided input is not valid. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LicenseManagerLinuxSubscriptionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getServiceSettings

      default CompletableFuture<GetServiceSettingsResponse> getServiceSettings(Consumer<GetServiceSettingsRequest.Builder> getServiceSettingsRequest)

      Lists the Linux subscriptions service settings for your account.


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

      Parameters:
      getServiceSettingsRequest - A Consumer that will call methods on GetServiceSettingsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetServiceSettings 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 An exception occurred with the service.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The provided input is not valid. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LicenseManagerLinuxSubscriptionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listLinuxSubscriptionInstances

      default CompletableFuture<ListLinuxSubscriptionInstancesResponse> listLinuxSubscriptionInstances(ListLinuxSubscriptionInstancesRequest listLinuxSubscriptionInstancesRequest)

      Lists the running Amazon EC2 instances that were discovered with commercial Linux subscriptions.

      Parameters:
      listLinuxSubscriptionInstancesRequest - NextToken length limit is half of ddb accepted limit. Increase this limit if parameters in request increases.
      Returns:
      A Java Future containing the result of the ListLinuxSubscriptionInstances 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 An exception occurred with the service.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The provided input is not valid. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LicenseManagerLinuxSubscriptionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listLinuxSubscriptionInstances

      default CompletableFuture<ListLinuxSubscriptionInstancesResponse> listLinuxSubscriptionInstances(Consumer<ListLinuxSubscriptionInstancesRequest.Builder> listLinuxSubscriptionInstancesRequest)

      Lists the running Amazon EC2 instances that were discovered with commercial Linux subscriptions.


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

      Parameters:
      listLinuxSubscriptionInstancesRequest - A Consumer that will call methods on ListLinuxSubscriptionInstancesRequest.Builder to create a request. NextToken length limit is half of ddb accepted limit. Increase this limit if parameters in request increases.
      Returns:
      A Java Future containing the result of the ListLinuxSubscriptionInstances 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 An exception occurred with the service.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The provided input is not valid. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LicenseManagerLinuxSubscriptionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listLinuxSubscriptionInstancesPaginator

      default ListLinuxSubscriptionInstancesPublisher listLinuxSubscriptionInstancesPaginator(ListLinuxSubscriptionInstancesRequest listLinuxSubscriptionInstancesRequest)

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

      Parameters:
      listLinuxSubscriptionInstancesRequest - NextToken length limit is half of ddb accepted limit. Increase this limit if parameters in request increases.
      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 An exception occurred with the service.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The provided input is not valid. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LicenseManagerLinuxSubscriptionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listLinuxSubscriptionInstancesPaginator

      default ListLinuxSubscriptionInstancesPublisher listLinuxSubscriptionInstancesPaginator(Consumer<ListLinuxSubscriptionInstancesRequest.Builder> listLinuxSubscriptionInstancesRequest)

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


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

      Parameters:
      listLinuxSubscriptionInstancesRequest - A Consumer that will call methods on ListLinuxSubscriptionInstancesRequest.Builder to create a request. NextToken length limit is half of ddb accepted limit. Increase this limit if parameters in request increases.
      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 An exception occurred with the service.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The provided input is not valid. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LicenseManagerLinuxSubscriptionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listLinuxSubscriptions

      default CompletableFuture<ListLinuxSubscriptionsResponse> listLinuxSubscriptions(ListLinuxSubscriptionsRequest listLinuxSubscriptionsRequest)

      Lists the Linux subscriptions that have been discovered. If you have linked your organization, the returned results will include data aggregated across your accounts in Organizations.

      Parameters:
      listLinuxSubscriptionsRequest - NextToken length limit is half of ddb accepted limit. Increase this limit if parameters in request increases.
      Returns:
      A Java Future containing the result of the ListLinuxSubscriptions 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 An exception occurred with the service.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The provided input is not valid. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LicenseManagerLinuxSubscriptionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listLinuxSubscriptions

      default CompletableFuture<ListLinuxSubscriptionsResponse> listLinuxSubscriptions(Consumer<ListLinuxSubscriptionsRequest.Builder> listLinuxSubscriptionsRequest)

      Lists the Linux subscriptions that have been discovered. If you have linked your organization, the returned results will include data aggregated across your accounts in Organizations.


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

      Parameters:
      listLinuxSubscriptionsRequest - A Consumer that will call methods on ListLinuxSubscriptionsRequest.Builder to create a request. NextToken length limit is half of ddb accepted limit. Increase this limit if parameters in request increases.
      Returns:
      A Java Future containing the result of the ListLinuxSubscriptions 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 An exception occurred with the service.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The provided input is not valid. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LicenseManagerLinuxSubscriptionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listLinuxSubscriptionsPaginator

      default ListLinuxSubscriptionsPublisher listLinuxSubscriptionsPaginator(ListLinuxSubscriptionsRequest listLinuxSubscriptionsRequest)

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

      Parameters:
      listLinuxSubscriptionsRequest - NextToken length limit is half of ddb accepted limit. Increase this limit if parameters in request increases.
      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 An exception occurred with the service.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The provided input is not valid. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LicenseManagerLinuxSubscriptionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listLinuxSubscriptionsPaginator

      default ListLinuxSubscriptionsPublisher listLinuxSubscriptionsPaginator(Consumer<ListLinuxSubscriptionsRequest.Builder> listLinuxSubscriptionsRequest)

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


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

      Parameters:
      listLinuxSubscriptionsRequest - A Consumer that will call methods on ListLinuxSubscriptionsRequest.Builder to create a request. NextToken length limit is half of ddb accepted limit. Increase this limit if parameters in request increases.
      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 An exception occurred with the service.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The provided input is not valid. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LicenseManagerLinuxSubscriptionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listRegisteredSubscriptionProviders

      default CompletableFuture<ListRegisteredSubscriptionProvidersResponse> listRegisteredSubscriptionProviders(ListRegisteredSubscriptionProvidersRequest listRegisteredSubscriptionProvidersRequest)

      List Bring Your Own License (BYOL) subscription registration resources for your account.

      Parameters:
      listRegisteredSubscriptionProvidersRequest -
      Returns:
      A Java Future containing the result of the ListRegisteredSubscriptionProviders 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 An exception occurred with the service.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The provided input is not valid. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LicenseManagerLinuxSubscriptionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listRegisteredSubscriptionProviders

      default CompletableFuture<ListRegisteredSubscriptionProvidersResponse> listRegisteredSubscriptionProviders(Consumer<ListRegisteredSubscriptionProvidersRequest.Builder> listRegisteredSubscriptionProvidersRequest)

      List Bring Your Own License (BYOL) subscription registration resources for your account.


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

      Parameters:
      listRegisteredSubscriptionProvidersRequest - A Consumer that will call methods on ListRegisteredSubscriptionProvidersRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListRegisteredSubscriptionProviders 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 An exception occurred with the service.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The provided input is not valid. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LicenseManagerLinuxSubscriptionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listRegisteredSubscriptionProvidersPaginator

      default ListRegisteredSubscriptionProvidersPublisher listRegisteredSubscriptionProvidersPaginator(ListRegisteredSubscriptionProvidersRequest listRegisteredSubscriptionProvidersRequest)

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

      Parameters:
      listRegisteredSubscriptionProvidersRequest -
      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 An exception occurred with the service.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The provided input is not valid. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LicenseManagerLinuxSubscriptionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listRegisteredSubscriptionProvidersPaginator

      default ListRegisteredSubscriptionProvidersPublisher listRegisteredSubscriptionProvidersPaginator(Consumer<ListRegisteredSubscriptionProvidersRequest.Builder> listRegisteredSubscriptionProvidersRequest)

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


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

      Parameters:
      listRegisteredSubscriptionProvidersRequest - A Consumer that will call methods on ListRegisteredSubscriptionProvidersRequest.Builder to create a request.
      Returns:
      A custom publisher that can be subscribed to request a stream of response pages.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InternalServerException An exception occurred with the service.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The provided input is not valid. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LicenseManagerLinuxSubscriptionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listTagsForResource

      default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)

      List the metadata tags that are assigned to the specified Amazon Web Services resource.

      Parameters:
      listTagsForResourceRequest -
      Returns:
      A Java Future containing the result of the ListTagsForResource operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InternalServerException An exception occurred with the service.
      • ResourceNotFoundException Unable to find the requested Amazon Web Services resource.
      • ValidationException The provided input is not valid. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LicenseManagerLinuxSubscriptionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listTagsForResource

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

      List the metadata tags that are assigned to the specified Amazon Web Services resource.


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

      Parameters:
      listTagsForResourceRequest - A Consumer that will call methods on ListTagsForResourceRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListTagsForResource operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InternalServerException An exception occurred with the service.
      • ResourceNotFoundException Unable to find the requested Amazon Web Services resource.
      • ValidationException The provided input is not valid. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LicenseManagerLinuxSubscriptionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • registerSubscriptionProvider

      default CompletableFuture<RegisterSubscriptionProviderResponse> registerSubscriptionProvider(RegisterSubscriptionProviderRequest registerSubscriptionProviderRequest)

      Register the supported third-party subscription provider for your Bring Your Own License (BYOL) subscription.

      Parameters:
      registerSubscriptionProviderRequest -
      Returns:
      A Java Future containing the result of the RegisterSubscriptionProvider 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 An exception occurred with the service.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The provided input is not valid. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LicenseManagerLinuxSubscriptionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • registerSubscriptionProvider

      default CompletableFuture<RegisterSubscriptionProviderResponse> registerSubscriptionProvider(Consumer<RegisterSubscriptionProviderRequest.Builder> registerSubscriptionProviderRequest)

      Register the supported third-party subscription provider for your Bring Your Own License (BYOL) subscription.


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

      Parameters:
      registerSubscriptionProviderRequest - A Consumer that will call methods on RegisterSubscriptionProviderRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the RegisterSubscriptionProvider 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 An exception occurred with the service.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The provided input is not valid. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LicenseManagerLinuxSubscriptionsException 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)

      Add metadata tags to the specified Amazon Web Services resource.

      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 An exception occurred with the service.
      • ResourceNotFoundException Unable to find the requested Amazon Web Services resource.
      • ValidationException The provided input is not valid. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LicenseManagerLinuxSubscriptionsException 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)

      Add metadata tags to the specified Amazon Web Services resource.


      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 An exception occurred with the service.
      • ResourceNotFoundException Unable to find the requested Amazon Web Services resource.
      • ValidationException The provided input is not valid. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LicenseManagerLinuxSubscriptionsException 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)

      Remove one or more metadata tag from the specified Amazon Web Services resource.

      Parameters:
      untagResourceRequest -
      Returns:
      A Java Future containing the result of the UntagResource operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InternalServerException An exception occurred with the service.
      • ResourceNotFoundException Unable to find the requested Amazon Web Services resource.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LicenseManagerLinuxSubscriptionsException 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)

      Remove one or more metadata tag from the specified Amazon Web Services resource.


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

      Parameters:
      untagResourceRequest - A Consumer that will call methods on UntagResourceRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UntagResource operation returned by the service.
      The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invoke Throwable.getCause() to retrieve the underlying exception.
      • InternalServerException An exception occurred with the service.
      • ResourceNotFoundException Unable to find the requested Amazon Web Services resource.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LicenseManagerLinuxSubscriptionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateServiceSettings

      default CompletableFuture<UpdateServiceSettingsResponse> updateServiceSettings(UpdateServiceSettingsRequest updateServiceSettingsRequest)

      Updates the service settings for Linux subscriptions.

      Parameters:
      updateServiceSettingsRequest -
      Returns:
      A Java Future containing the result of the UpdateServiceSettings 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 An exception occurred with the service.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The provided input is not valid. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LicenseManagerLinuxSubscriptionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateServiceSettings

      default CompletableFuture<UpdateServiceSettingsResponse> updateServiceSettings(Consumer<UpdateServiceSettingsRequest.Builder> updateServiceSettingsRequest)

      Updates the service settings for Linux subscriptions.


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

      Parameters:
      updateServiceSettingsRequest - A Consumer that will call methods on UpdateServiceSettingsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateServiceSettings 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 An exception occurred with the service.
      • ThrottlingException The request was denied due to request throttling.
      • ValidationException The provided input is not valid. Try your request again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LicenseManagerLinuxSubscriptionsException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • serviceClientConfiguration

      default LicenseManagerLinuxSubscriptionsServiceClientConfiguration 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

      Create a LicenseManagerLinuxSubscriptionsAsyncClient 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 LicenseManagerLinuxSubscriptionsAsyncClient.