Interface LicenseManagerAsyncClient

All Superinterfaces:
AutoCloseable, AwsClient, SdkAutoCloseable, SdkClient

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

License Manager makes it easier to manage licenses from software vendors across multiple Amazon Web Services accounts and on-premises servers.

  • Field Details

  • Method Details

    • acceptGrant

      default CompletableFuture<AcceptGrantResponse> acceptGrant(AcceptGrantRequest acceptGrantRequest)

      Accepts the specified grant.

      Parameters:
      acceptGrantRequest -
      Returns:
      A Java Future containing the result of the AcceptGrant 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.
      • ValidationException The provided input is not valid. Try your request again.
      • InvalidParameterValueException One or more parameter values are not valid.
      • AuthorizationException The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.
      • AccessDeniedException Access to resource denied.
      • RateLimitExceededException Too many requests have been submitted. Try again after a brief wait.
      • ResourceLimitExceededException Your resource limits have been exceeded.
      • ServerInternalException The server experienced an internal error. Try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LicenseManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • acceptGrant

      default CompletableFuture<AcceptGrantResponse> acceptGrant(Consumer<AcceptGrantRequest.Builder> acceptGrantRequest)

      Accepts the specified grant.


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

      Parameters:
      acceptGrantRequest - A Consumer that will call methods on AcceptGrantRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the AcceptGrant 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.
      • ValidationException The provided input is not valid. Try your request again.
      • InvalidParameterValueException One or more parameter values are not valid.
      • AuthorizationException The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.
      • AccessDeniedException Access to resource denied.
      • RateLimitExceededException Too many requests have been submitted. Try again after a brief wait.
      • ResourceLimitExceededException Your resource limits have been exceeded.
      • ServerInternalException The server experienced an internal error. Try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LicenseManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • checkInLicense

      default CompletableFuture<CheckInLicenseResponse> checkInLicense(CheckInLicenseRequest checkInLicenseRequest)

      Checks in the specified license. Check in a license when it is no longer in use.

      Parameters:
      checkInLicenseRequest -
      Returns:
      A Java Future containing the result of the CheckInLicense 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.
      • ValidationException The provided input is not valid. Try your request again.
      • InvalidParameterValueException One or more parameter values are not valid.
      • ResourceNotFoundException The resource cannot be found.
      • ConflictException There was a conflict processing the request. Try your request again.
      • AuthorizationException The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.
      • AccessDeniedException Access to resource denied.
      • RateLimitExceededException Too many requests have been submitted. Try again after a brief wait.
      • ServerInternalException The server experienced an internal error. Try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LicenseManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • checkInLicense

      default CompletableFuture<CheckInLicenseResponse> checkInLicense(Consumer<CheckInLicenseRequest.Builder> checkInLicenseRequest)

      Checks in the specified license. Check in a license when it is no longer in use.


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

      Parameters:
      checkInLicenseRequest - A Consumer that will call methods on CheckInLicenseRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CheckInLicense 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.
      • ValidationException The provided input is not valid. Try your request again.
      • InvalidParameterValueException One or more parameter values are not valid.
      • ResourceNotFoundException The resource cannot be found.
      • ConflictException There was a conflict processing the request. Try your request again.
      • AuthorizationException The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.
      • AccessDeniedException Access to resource denied.
      • RateLimitExceededException Too many requests have been submitted. Try again after a brief wait.
      • ServerInternalException The server experienced an internal error. Try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LicenseManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • checkoutBorrowLicense

      default CompletableFuture<CheckoutBorrowLicenseResponse> checkoutBorrowLicense(CheckoutBorrowLicenseRequest checkoutBorrowLicenseRequest)

      Checks out the specified license for offline use.

      Parameters:
      checkoutBorrowLicenseRequest -
      Returns:
      A Java Future containing the result of the CheckoutBorrowLicense 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.
      • ValidationException The provided input is not valid. Try your request again.
      • InvalidParameterValueException One or more parameter values are not valid.
      • ResourceNotFoundException The resource cannot be found.
      • NoEntitlementsAllowedException There are no entitlements found for this license, or the entitlement maximum count is reached.
      • EntitlementNotAllowedException The entitlement is not allowed.
      • UnsupportedDigitalSignatureMethodException The digital signature method is unsupported. Try your request again.
      • RedirectException This is not the correct Region for the resource. Try again.
      • AuthorizationException The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.
      • AccessDeniedException Access to resource denied.
      • RateLimitExceededException Too many requests have been submitted. Try again after a brief wait.
      • ServerInternalException The server experienced an internal error. Try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LicenseManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • checkoutBorrowLicense

      default CompletableFuture<CheckoutBorrowLicenseResponse> checkoutBorrowLicense(Consumer<CheckoutBorrowLicenseRequest.Builder> checkoutBorrowLicenseRequest)

      Checks out the specified license for offline use.


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

      Parameters:
      checkoutBorrowLicenseRequest - A Consumer that will call methods on CheckoutBorrowLicenseRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CheckoutBorrowLicense 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.
      • ValidationException The provided input is not valid. Try your request again.
      • InvalidParameterValueException One or more parameter values are not valid.
      • ResourceNotFoundException The resource cannot be found.
      • NoEntitlementsAllowedException There are no entitlements found for this license, or the entitlement maximum count is reached.
      • EntitlementNotAllowedException The entitlement is not allowed.
      • UnsupportedDigitalSignatureMethodException The digital signature method is unsupported. Try your request again.
      • RedirectException This is not the correct Region for the resource. Try again.
      • AuthorizationException The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.
      • AccessDeniedException Access to resource denied.
      • RateLimitExceededException Too many requests have been submitted. Try again after a brief wait.
      • ServerInternalException The server experienced an internal error. Try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LicenseManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • checkoutLicense

      default CompletableFuture<CheckoutLicenseResponse> checkoutLicense(CheckoutLicenseRequest checkoutLicenseRequest)

      Checks out the specified license.

      If the account that created the license is the same that is performing the check out, you must specify the account as the beneficiary.

      Parameters:
      checkoutLicenseRequest -
      Returns:
      A Java Future containing the result of the CheckoutLicense 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.
      • ValidationException The provided input is not valid. Try your request again.
      • InvalidParameterValueException One or more parameter values are not valid.
      • ResourceNotFoundException The resource cannot be found.
      • NoEntitlementsAllowedException There are no entitlements found for this license, or the entitlement maximum count is reached.
      • UnsupportedDigitalSignatureMethodException The digital signature method is unsupported. Try your request again.
      • RedirectException This is not the correct Region for the resource. Try again.
      • AuthorizationException The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.
      • AccessDeniedException Access to resource denied.
      • RateLimitExceededException Too many requests have been submitted. Try again after a brief wait.
      • ServerInternalException The server experienced an internal error. Try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LicenseManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • checkoutLicense

      default CompletableFuture<CheckoutLicenseResponse> checkoutLicense(Consumer<CheckoutLicenseRequest.Builder> checkoutLicenseRequest)

      Checks out the specified license.

      If the account that created the license is the same that is performing the check out, you must specify the account as the beneficiary.


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

      Parameters:
      checkoutLicenseRequest - A Consumer that will call methods on CheckoutLicenseRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CheckoutLicense 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.
      • ValidationException The provided input is not valid. Try your request again.
      • InvalidParameterValueException One or more parameter values are not valid.
      • ResourceNotFoundException The resource cannot be found.
      • NoEntitlementsAllowedException There are no entitlements found for this license, or the entitlement maximum count is reached.
      • UnsupportedDigitalSignatureMethodException The digital signature method is unsupported. Try your request again.
      • RedirectException This is not the correct Region for the resource. Try again.
      • AuthorizationException The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.
      • AccessDeniedException Access to resource denied.
      • RateLimitExceededException Too many requests have been submitted. Try again after a brief wait.
      • ServerInternalException The server experienced an internal error. Try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LicenseManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createGrant

      default CompletableFuture<CreateGrantResponse> createGrant(CreateGrantRequest createGrantRequest)

      Creates a grant for the specified license. A grant shares the use of license entitlements with a specific Amazon Web Services account, an organization, or an organizational unit (OU). For more information, see Granted licenses in License Manager in the License Manager User Guide.

      Parameters:
      createGrantRequest -
      Returns:
      A Java Future containing the result of the CreateGrant 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.
      • ValidationException The provided input is not valid. Try your request again.
      • InvalidParameterValueException One or more parameter values are not valid.
      • ResourceLimitExceededException Your resource limits have been exceeded.
      • ServerInternalException The server experienced an internal error. Try again.
      • AuthorizationException The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.
      • RateLimitExceededException Too many requests have been submitted. Try again after a brief wait.
      • AccessDeniedException Access to resource denied.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LicenseManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createGrant

      default CompletableFuture<CreateGrantResponse> createGrant(Consumer<CreateGrantRequest.Builder> createGrantRequest)

      Creates a grant for the specified license. A grant shares the use of license entitlements with a specific Amazon Web Services account, an organization, or an organizational unit (OU). For more information, see Granted licenses in License Manager in the License Manager User Guide.


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

      Parameters:
      createGrantRequest - A Consumer that will call methods on CreateGrantRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateGrant 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.
      • ValidationException The provided input is not valid. Try your request again.
      • InvalidParameterValueException One or more parameter values are not valid.
      • ResourceLimitExceededException Your resource limits have been exceeded.
      • ServerInternalException The server experienced an internal error. Try again.
      • AuthorizationException The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.
      • RateLimitExceededException Too many requests have been submitted. Try again after a brief wait.
      • AccessDeniedException Access to resource denied.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LicenseManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createGrantVersion

      default CompletableFuture<CreateGrantVersionResponse> createGrantVersion(CreateGrantVersionRequest createGrantVersionRequest)

      Creates a new version of the specified grant. For more information, see Granted licenses in License Manager in the License Manager User Guide.

      Parameters:
      createGrantVersionRequest -
      Returns:
      A Java Future containing the result of the CreateGrantVersion 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.
      • ValidationException The provided input is not valid. Try your request again.
      • InvalidParameterValueException One or more parameter values are not valid.
      • ResourceLimitExceededException Your resource limits have been exceeded.
      • ServerInternalException The server experienced an internal error. Try again.
      • AuthorizationException The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.
      • AccessDeniedException Access to resource denied.
      • RateLimitExceededException Too many requests have been submitted. Try again after a brief wait.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LicenseManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createGrantVersion

      default CompletableFuture<CreateGrantVersionResponse> createGrantVersion(Consumer<CreateGrantVersionRequest.Builder> createGrantVersionRequest)

      Creates a new version of the specified grant. For more information, see Granted licenses in License Manager in the License Manager User Guide.


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

      Parameters:
      createGrantVersionRequest - A Consumer that will call methods on CreateGrantVersionRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateGrantVersion 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.
      • ValidationException The provided input is not valid. Try your request again.
      • InvalidParameterValueException One or more parameter values are not valid.
      • ResourceLimitExceededException Your resource limits have been exceeded.
      • ServerInternalException The server experienced an internal error. Try again.
      • AuthorizationException The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.
      • AccessDeniedException Access to resource denied.
      • RateLimitExceededException Too many requests have been submitted. Try again after a brief wait.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LicenseManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createLicense

      default CompletableFuture<CreateLicenseResponse> createLicense(CreateLicenseRequest createLicenseRequest)

      Creates a license.

      Parameters:
      createLicenseRequest -
      Returns:
      A Java Future containing the result of the CreateLicense 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.
      • ValidationException The provided input is not valid. Try your request again.
      • InvalidParameterValueException One or more parameter values are not valid.
      • RedirectException This is not the correct Region for the resource. Try again.
      • AuthorizationException The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.
      • AccessDeniedException Access to resource denied.
      • RateLimitExceededException Too many requests have been submitted. Try again after a brief wait.
      • ServerInternalException The server experienced an internal error. Try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LicenseManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createLicense

      default CompletableFuture<CreateLicenseResponse> createLicense(Consumer<CreateLicenseRequest.Builder> createLicenseRequest)

      Creates a license.


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

      Parameters:
      createLicenseRequest - A Consumer that will call methods on CreateLicenseRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateLicense 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.
      • ValidationException The provided input is not valid. Try your request again.
      • InvalidParameterValueException One or more parameter values are not valid.
      • RedirectException This is not the correct Region for the resource. Try again.
      • AuthorizationException The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.
      • AccessDeniedException Access to resource denied.
      • RateLimitExceededException Too many requests have been submitted. Try again after a brief wait.
      • ServerInternalException The server experienced an internal error. Try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LicenseManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createLicenseConfiguration

      default CompletableFuture<CreateLicenseConfigurationResponse> createLicenseConfiguration(CreateLicenseConfigurationRequest createLicenseConfigurationRequest)

      Creates a license configuration.

      A license configuration is an abstraction of a customer license agreement that can be consumed and enforced by License Manager. Components include specifications for the license type (licensing by instance, socket, CPU, or vCPU), allowed tenancy (shared tenancy, Dedicated Instance, Dedicated Host, or all of these), license affinity to host (how long a license must be associated with a host), and the number of licenses purchased and used.

      Parameters:
      createLicenseConfigurationRequest -
      Returns:
      A Java Future containing the result of the CreateLicenseConfiguration 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.
      • InvalidParameterValueException One or more parameter values are not valid.
      • ServerInternalException The server experienced an internal error. Try again.
      • ResourceLimitExceededException Your resource limits have been exceeded.
      • AuthorizationException The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.
      • AccessDeniedException Access to resource denied.
      • RateLimitExceededException Too many requests have been submitted. Try again after a brief wait.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LicenseManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createLicenseConfiguration

      default CompletableFuture<CreateLicenseConfigurationResponse> createLicenseConfiguration(Consumer<CreateLicenseConfigurationRequest.Builder> createLicenseConfigurationRequest)

      Creates a license configuration.

      A license configuration is an abstraction of a customer license agreement that can be consumed and enforced by License Manager. Components include specifications for the license type (licensing by instance, socket, CPU, or vCPU), allowed tenancy (shared tenancy, Dedicated Instance, Dedicated Host, or all of these), license affinity to host (how long a license must be associated with a host), and the number of licenses purchased and used.


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

      Parameters:
      createLicenseConfigurationRequest - A Consumer that will call methods on CreateLicenseConfigurationRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateLicenseConfiguration 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.
      • InvalidParameterValueException One or more parameter values are not valid.
      • ServerInternalException The server experienced an internal error. Try again.
      • ResourceLimitExceededException Your resource limits have been exceeded.
      • AuthorizationException The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.
      • AccessDeniedException Access to resource denied.
      • RateLimitExceededException Too many requests have been submitted. Try again after a brief wait.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LicenseManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createLicenseConversionTaskForResource

      default CompletableFuture<CreateLicenseConversionTaskForResourceResponse> createLicenseConversionTaskForResource(CreateLicenseConversionTaskForResourceRequest createLicenseConversionTaskForResourceRequest)

      Creates a new license conversion task.

      Parameters:
      createLicenseConversionTaskForResourceRequest -
      Returns:
      A Java Future containing the result of the CreateLicenseConversionTaskForResource 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.
      • InvalidParameterValueException One or more parameter values are not valid.
      • ValidationException The provided input is not valid. Try your request again.
      • ServerInternalException The server experienced an internal error. Try again.
      • AuthorizationException The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.
      • AccessDeniedException Access to resource denied.
      • RateLimitExceededException Too many requests have been submitted. Try again after a brief wait.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LicenseManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createLicenseConversionTaskForResource

      default CompletableFuture<CreateLicenseConversionTaskForResourceResponse> createLicenseConversionTaskForResource(Consumer<CreateLicenseConversionTaskForResourceRequest.Builder> createLicenseConversionTaskForResourceRequest)

      Creates a new license conversion task.


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

      Parameters:
      createLicenseConversionTaskForResourceRequest - A Consumer that will call methods on CreateLicenseConversionTaskForResourceRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateLicenseConversionTaskForResource 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.
      • InvalidParameterValueException One or more parameter values are not valid.
      • ValidationException The provided input is not valid. Try your request again.
      • ServerInternalException The server experienced an internal error. Try again.
      • AuthorizationException The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.
      • AccessDeniedException Access to resource denied.
      • RateLimitExceededException Too many requests have been submitted. Try again after a brief wait.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LicenseManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createLicenseManagerReportGenerator

      default CompletableFuture<CreateLicenseManagerReportGeneratorResponse> createLicenseManagerReportGenerator(CreateLicenseManagerReportGeneratorRequest createLicenseManagerReportGeneratorRequest)

      Creates a report generator.

      Parameters:
      createLicenseManagerReportGeneratorRequest -
      Returns:
      A Java Future containing the result of the CreateLicenseManagerReportGenerator 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.
      • ValidationException The provided input is not valid. Try your request again.
      • InvalidParameterValueException One or more parameter values are not valid.
      • ResourceLimitExceededException Your resource limits have been exceeded.
      • ServerInternalException The server experienced an internal error. Try again.
      • AuthorizationException The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.
      • RateLimitExceededException Too many requests have been submitted. Try again after a brief wait.
      • AccessDeniedException Access to resource denied.
      • ResourceNotFoundException The resource cannot be found.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LicenseManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createLicenseManagerReportGenerator

      default CompletableFuture<CreateLicenseManagerReportGeneratorResponse> createLicenseManagerReportGenerator(Consumer<CreateLicenseManagerReportGeneratorRequest.Builder> createLicenseManagerReportGeneratorRequest)

      Creates a report generator.


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

      Parameters:
      createLicenseManagerReportGeneratorRequest - A Consumer that will call methods on CreateLicenseManagerReportGeneratorRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateLicenseManagerReportGenerator 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.
      • ValidationException The provided input is not valid. Try your request again.
      • InvalidParameterValueException One or more parameter values are not valid.
      • ResourceLimitExceededException Your resource limits have been exceeded.
      • ServerInternalException The server experienced an internal error. Try again.
      • AuthorizationException The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.
      • RateLimitExceededException Too many requests have been submitted. Try again after a brief wait.
      • AccessDeniedException Access to resource denied.
      • ResourceNotFoundException The resource cannot be found.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LicenseManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createLicenseVersion

      default CompletableFuture<CreateLicenseVersionResponse> createLicenseVersion(CreateLicenseVersionRequest createLicenseVersionRequest)

      Creates a new version of the specified license.

      Parameters:
      createLicenseVersionRequest -
      Returns:
      A Java Future containing the result of the CreateLicenseVersion 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.
      • ValidationException The provided input is not valid. Try your request again.
      • AccessDeniedException Access to resource denied.
      • ResourceNotFoundException The resource cannot be found.
      • RedirectException This is not the correct Region for the resource. Try again.
      • ConflictException There was a conflict processing the request. Try your request again.
      • ServerInternalException The server experienced an internal error. Try again.
      • AuthorizationException The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.
      • RateLimitExceededException Too many requests have been submitted. Try again after a brief wait.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LicenseManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createLicenseVersion

      default CompletableFuture<CreateLicenseVersionResponse> createLicenseVersion(Consumer<CreateLicenseVersionRequest.Builder> createLicenseVersionRequest)

      Creates a new version of the specified license.


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

      Parameters:
      createLicenseVersionRequest - A Consumer that will call methods on CreateLicenseVersionRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateLicenseVersion 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.
      • ValidationException The provided input is not valid. Try your request again.
      • AccessDeniedException Access to resource denied.
      • ResourceNotFoundException The resource cannot be found.
      • RedirectException This is not the correct Region for the resource. Try again.
      • ConflictException There was a conflict processing the request. Try your request again.
      • ServerInternalException The server experienced an internal error. Try again.
      • AuthorizationException The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.
      • RateLimitExceededException Too many requests have been submitted. Try again after a brief wait.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LicenseManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createToken

      default CompletableFuture<CreateTokenResponse> createToken(CreateTokenRequest createTokenRequest)

      Creates a long-lived token.

      A refresh token is a JWT token used to get an access token. With an access token, you can call AssumeRoleWithWebIdentity to get role credentials that you can use to call License Manager to manage the specified license.

      Parameters:
      createTokenRequest -
      Returns:
      A Java Future containing the result of the CreateToken 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.
      • ValidationException The provided input is not valid. Try your request again.
      • AuthorizationException The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.
      • AccessDeniedException Access to resource denied.
      • RateLimitExceededException Too many requests have been submitted. Try again after a brief wait.
      • ResourceLimitExceededException Your resource limits have been exceeded.
      • ServerInternalException The server experienced an internal error. Try again.
      • ResourceNotFoundException The resource cannot be found.
      • RedirectException This is not the correct Region for the resource. Try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LicenseManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • createToken

      default CompletableFuture<CreateTokenResponse> createToken(Consumer<CreateTokenRequest.Builder> createTokenRequest)

      Creates a long-lived token.

      A refresh token is a JWT token used to get an access token. With an access token, you can call AssumeRoleWithWebIdentity to get role credentials that you can use to call License Manager to manage the specified license.


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

      Parameters:
      createTokenRequest - A Consumer that will call methods on CreateTokenRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the CreateToken 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.
      • ValidationException The provided input is not valid. Try your request again.
      • AuthorizationException The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.
      • AccessDeniedException Access to resource denied.
      • RateLimitExceededException Too many requests have been submitted. Try again after a brief wait.
      • ResourceLimitExceededException Your resource limits have been exceeded.
      • ServerInternalException The server experienced an internal error. Try again.
      • ResourceNotFoundException The resource cannot be found.
      • RedirectException This is not the correct Region for the resource. Try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LicenseManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteGrant

      default CompletableFuture<DeleteGrantResponse> deleteGrant(DeleteGrantRequest deleteGrantRequest)

      Deletes the specified grant.

      Parameters:
      deleteGrantRequest -
      Returns:
      A Java Future containing the result of the DeleteGrant 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.
      • ValidationException The provided input is not valid. Try your request again.
      • InvalidParameterValueException One or more parameter values are not valid.
      • AuthorizationException The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.
      • AccessDeniedException Access to resource denied.
      • RateLimitExceededException Too many requests have been submitted. Try again after a brief wait.
      • ResourceLimitExceededException Your resource limits have been exceeded.
      • ServerInternalException The server experienced an internal error. Try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LicenseManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteGrant

      default CompletableFuture<DeleteGrantResponse> deleteGrant(Consumer<DeleteGrantRequest.Builder> deleteGrantRequest)

      Deletes the specified grant.


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

      Parameters:
      deleteGrantRequest - A Consumer that will call methods on DeleteGrantRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteGrant 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.
      • ValidationException The provided input is not valid. Try your request again.
      • InvalidParameterValueException One or more parameter values are not valid.
      • AuthorizationException The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.
      • AccessDeniedException Access to resource denied.
      • RateLimitExceededException Too many requests have been submitted. Try again after a brief wait.
      • ResourceLimitExceededException Your resource limits have been exceeded.
      • ServerInternalException The server experienced an internal error. Try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LicenseManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteLicense

      default CompletableFuture<DeleteLicenseResponse> deleteLicense(DeleteLicenseRequest deleteLicenseRequest)

      Deletes the specified license.

      Parameters:
      deleteLicenseRequest -
      Returns:
      A Java Future containing the result of the DeleteLicense 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.
      • ValidationException The provided input is not valid. Try your request again.
      • InvalidParameterValueException One or more parameter values are not valid.
      • RedirectException This is not the correct Region for the resource. Try again.
      • ConflictException There was a conflict processing the request. Try your request again.
      • ServerInternalException The server experienced an internal error. Try again.
      • AuthorizationException The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.
      • AccessDeniedException Access to resource denied.
      • RateLimitExceededException Too many requests have been submitted. Try again after a brief wait.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LicenseManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteLicense

      default CompletableFuture<DeleteLicenseResponse> deleteLicense(Consumer<DeleteLicenseRequest.Builder> deleteLicenseRequest)

      Deletes the specified license.


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

      Parameters:
      deleteLicenseRequest - A Consumer that will call methods on DeleteLicenseRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteLicense 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.
      • ValidationException The provided input is not valid. Try your request again.
      • InvalidParameterValueException One or more parameter values are not valid.
      • RedirectException This is not the correct Region for the resource. Try again.
      • ConflictException There was a conflict processing the request. Try your request again.
      • ServerInternalException The server experienced an internal error. Try again.
      • AuthorizationException The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.
      • AccessDeniedException Access to resource denied.
      • RateLimitExceededException Too many requests have been submitted. Try again after a brief wait.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LicenseManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteLicenseConfiguration

      default CompletableFuture<DeleteLicenseConfigurationResponse> deleteLicenseConfiguration(DeleteLicenseConfigurationRequest deleteLicenseConfigurationRequest)

      Deletes the specified license configuration.

      You cannot delete a license configuration that is in use.

      Parameters:
      deleteLicenseConfigurationRequest -
      Returns:
      A Java Future containing the result of the DeleteLicenseConfiguration 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.
      • InvalidParameterValueException One or more parameter values are not valid.
      • ServerInternalException The server experienced an internal error. Try again.
      • AuthorizationException The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.
      • AccessDeniedException Access to resource denied.
      • RateLimitExceededException Too many requests have been submitted. Try again after a brief wait.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LicenseManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteLicenseConfiguration

      default CompletableFuture<DeleteLicenseConfigurationResponse> deleteLicenseConfiguration(Consumer<DeleteLicenseConfigurationRequest.Builder> deleteLicenseConfigurationRequest)

      Deletes the specified license configuration.

      You cannot delete a license configuration that is in use.


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

      Parameters:
      deleteLicenseConfigurationRequest - A Consumer that will call methods on DeleteLicenseConfigurationRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteLicenseConfiguration 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.
      • InvalidParameterValueException One or more parameter values are not valid.
      • ServerInternalException The server experienced an internal error. Try again.
      • AuthorizationException The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.
      • AccessDeniedException Access to resource denied.
      • RateLimitExceededException Too many requests have been submitted. Try again after a brief wait.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LicenseManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteLicenseManagerReportGenerator

      default CompletableFuture<DeleteLicenseManagerReportGeneratorResponse> deleteLicenseManagerReportGenerator(DeleteLicenseManagerReportGeneratorRequest deleteLicenseManagerReportGeneratorRequest)

      Deletes the specified report generator.

      This action deletes the report generator, which stops it from generating future reports. The action cannot be reversed. It has no effect on the previous reports from this generator.

      Parameters:
      deleteLicenseManagerReportGeneratorRequest -
      Returns:
      A Java Future containing the result of the DeleteLicenseManagerReportGenerator 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.
      • ValidationException The provided input is not valid. Try your request again.
      • InvalidParameterValueException One or more parameter values are not valid.
      • ResourceLimitExceededException Your resource limits have been exceeded.
      • ServerInternalException The server experienced an internal error. Try again.
      • AuthorizationException The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.
      • RateLimitExceededException Too many requests have been submitted. Try again after a brief wait.
      • AccessDeniedException Access to resource denied.
      • ResourceNotFoundException The resource cannot be found.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LicenseManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteLicenseManagerReportGenerator

      default CompletableFuture<DeleteLicenseManagerReportGeneratorResponse> deleteLicenseManagerReportGenerator(Consumer<DeleteLicenseManagerReportGeneratorRequest.Builder> deleteLicenseManagerReportGeneratorRequest)

      Deletes the specified report generator.

      This action deletes the report generator, which stops it from generating future reports. The action cannot be reversed. It has no effect on the previous reports from this generator.


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

      Parameters:
      deleteLicenseManagerReportGeneratorRequest - A Consumer that will call methods on DeleteLicenseManagerReportGeneratorRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteLicenseManagerReportGenerator 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.
      • ValidationException The provided input is not valid. Try your request again.
      • InvalidParameterValueException One or more parameter values are not valid.
      • ResourceLimitExceededException Your resource limits have been exceeded.
      • ServerInternalException The server experienced an internal error. Try again.
      • AuthorizationException The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.
      • RateLimitExceededException Too many requests have been submitted. Try again after a brief wait.
      • AccessDeniedException Access to resource denied.
      • ResourceNotFoundException The resource cannot be found.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LicenseManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteToken

      default CompletableFuture<DeleteTokenResponse> deleteToken(DeleteTokenRequest deleteTokenRequest)

      Deletes the specified token. Must be called in the license home Region.

      Parameters:
      deleteTokenRequest -
      Returns:
      A Java Future containing the result of the DeleteToken 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.
      • ValidationException The provided input is not valid. Try your request again.
      • AuthorizationException The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.
      • AccessDeniedException Access to resource denied.
      • RateLimitExceededException Too many requests have been submitted. Try again after a brief wait.
      • ServerInternalException The server experienced an internal error. Try again.
      • ResourceNotFoundException The resource cannot be found.
      • RedirectException This is not the correct Region for the resource. Try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LicenseManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • deleteToken

      default CompletableFuture<DeleteTokenResponse> deleteToken(Consumer<DeleteTokenRequest.Builder> deleteTokenRequest)

      Deletes the specified token. Must be called in the license home Region.


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

      Parameters:
      deleteTokenRequest - A Consumer that will call methods on DeleteTokenRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the DeleteToken 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.
      • ValidationException The provided input is not valid. Try your request again.
      • AuthorizationException The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.
      • AccessDeniedException Access to resource denied.
      • RateLimitExceededException Too many requests have been submitted. Try again after a brief wait.
      • ServerInternalException The server experienced an internal error. Try again.
      • ResourceNotFoundException The resource cannot be found.
      • RedirectException This is not the correct Region for the resource. Try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LicenseManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • extendLicenseConsumption

      default CompletableFuture<ExtendLicenseConsumptionResponse> extendLicenseConsumption(ExtendLicenseConsumptionRequest extendLicenseConsumptionRequest)

      Extends the expiration date for license consumption.

      Parameters:
      extendLicenseConsumptionRequest -
      Returns:
      A Java Future containing the result of the ExtendLicenseConsumption 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.
      • ValidationException The provided input is not valid. Try your request again.
      • InvalidParameterValueException One or more parameter values are not valid.
      • AuthorizationException The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.
      • AccessDeniedException Access to resource denied.
      • RateLimitExceededException Too many requests have been submitted. Try again after a brief wait.
      • ServerInternalException The server experienced an internal error. Try again.
      • ResourceNotFoundException The resource cannot be found.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LicenseManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • extendLicenseConsumption

      default CompletableFuture<ExtendLicenseConsumptionResponse> extendLicenseConsumption(Consumer<ExtendLicenseConsumptionRequest.Builder> extendLicenseConsumptionRequest)

      Extends the expiration date for license consumption.


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

      Parameters:
      extendLicenseConsumptionRequest - A Consumer that will call methods on ExtendLicenseConsumptionRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ExtendLicenseConsumption 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.
      • ValidationException The provided input is not valid. Try your request again.
      • InvalidParameterValueException One or more parameter values are not valid.
      • AuthorizationException The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.
      • AccessDeniedException Access to resource denied.
      • RateLimitExceededException Too many requests have been submitted. Try again after a brief wait.
      • ServerInternalException The server experienced an internal error. Try again.
      • ResourceNotFoundException The resource cannot be found.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LicenseManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getAccessToken

      default CompletableFuture<GetAccessTokenResponse> getAccessToken(GetAccessTokenRequest getAccessTokenRequest)

      Gets a temporary access token to use with AssumeRoleWithWebIdentity. Access tokens are valid for one hour.

      Parameters:
      getAccessTokenRequest -
      Returns:
      A Java Future containing the result of the GetAccessToken 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.
      • ValidationException The provided input is not valid. Try your request again.
      • AuthorizationException The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.
      • AccessDeniedException Access to resource denied.
      • RateLimitExceededException Too many requests have been submitted. Try again after a brief wait.
      • ServerInternalException The server experienced an internal error. Try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LicenseManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getAccessToken

      default CompletableFuture<GetAccessTokenResponse> getAccessToken(Consumer<GetAccessTokenRequest.Builder> getAccessTokenRequest)

      Gets a temporary access token to use with AssumeRoleWithWebIdentity. Access tokens are valid for one hour.


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

      Parameters:
      getAccessTokenRequest - A Consumer that will call methods on GetAccessTokenRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetAccessToken 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.
      • ValidationException The provided input is not valid. Try your request again.
      • AuthorizationException The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.
      • AccessDeniedException Access to resource denied.
      • RateLimitExceededException Too many requests have been submitted. Try again after a brief wait.
      • ServerInternalException The server experienced an internal error. Try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LicenseManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getGrant

      default CompletableFuture<GetGrantResponse> getGrant(GetGrantRequest getGrantRequest)

      Gets detailed information about the specified grant.

      Parameters:
      getGrantRequest -
      Returns:
      A Java Future containing the result of the GetGrant 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.
      • ValidationException The provided input is not valid. Try your request again.
      • InvalidParameterValueException One or more parameter values are not valid.
      • ResourceLimitExceededException Your resource limits have been exceeded.
      • ServerInternalException The server experienced an internal error. Try again.
      • AuthorizationException The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.
      • AccessDeniedException Access to resource denied.
      • RateLimitExceededException Too many requests have been submitted. Try again after a brief wait.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LicenseManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getGrant

      Gets detailed information about the specified grant.


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

      Parameters:
      getGrantRequest - A Consumer that will call methods on GetGrantRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetGrant 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.
      • ValidationException The provided input is not valid. Try your request again.
      • InvalidParameterValueException One or more parameter values are not valid.
      • ResourceLimitExceededException Your resource limits have been exceeded.
      • ServerInternalException The server experienced an internal error. Try again.
      • AuthorizationException The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.
      • AccessDeniedException Access to resource denied.
      • RateLimitExceededException Too many requests have been submitted. Try again after a brief wait.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LicenseManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getLicense

      default CompletableFuture<GetLicenseResponse> getLicense(GetLicenseRequest getLicenseRequest)

      Gets detailed information about the specified license.

      Parameters:
      getLicenseRequest -
      Returns:
      A Java Future containing the result of the GetLicense 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.
      • ValidationException The provided input is not valid. Try your request again.
      • InvalidParameterValueException One or more parameter values are not valid.
      • AuthorizationException The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.
      • AccessDeniedException Access to resource denied.
      • RateLimitExceededException Too many requests have been submitted. Try again after a brief wait.
      • ServerInternalException The server experienced an internal error. Try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LicenseManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getLicense

      default CompletableFuture<GetLicenseResponse> getLicense(Consumer<GetLicenseRequest.Builder> getLicenseRequest)

      Gets detailed information about the specified license.


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

      Parameters:
      getLicenseRequest - A Consumer that will call methods on GetLicenseRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetLicense 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.
      • ValidationException The provided input is not valid. Try your request again.
      • InvalidParameterValueException One or more parameter values are not valid.
      • AuthorizationException The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.
      • AccessDeniedException Access to resource denied.
      • RateLimitExceededException Too many requests have been submitted. Try again after a brief wait.
      • ServerInternalException The server experienced an internal error. Try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LicenseManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getLicenseConfiguration

      default CompletableFuture<GetLicenseConfigurationResponse> getLicenseConfiguration(GetLicenseConfigurationRequest getLicenseConfigurationRequest)

      Gets detailed information about the specified license configuration.

      Parameters:
      getLicenseConfigurationRequest -
      Returns:
      A Java Future containing the result of the GetLicenseConfiguration 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.
      • InvalidParameterValueException One or more parameter values are not valid.
      • ServerInternalException The server experienced an internal error. Try again.
      • AuthorizationException The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.
      • AccessDeniedException Access to resource denied.
      • RateLimitExceededException Too many requests have been submitted. Try again after a brief wait.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LicenseManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getLicenseConfiguration

      default CompletableFuture<GetLicenseConfigurationResponse> getLicenseConfiguration(Consumer<GetLicenseConfigurationRequest.Builder> getLicenseConfigurationRequest)

      Gets detailed information about the specified license configuration.


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

      Parameters:
      getLicenseConfigurationRequest - A Consumer that will call methods on GetLicenseConfigurationRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetLicenseConfiguration 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.
      • InvalidParameterValueException One or more parameter values are not valid.
      • ServerInternalException The server experienced an internal error. Try again.
      • AuthorizationException The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.
      • AccessDeniedException Access to resource denied.
      • RateLimitExceededException Too many requests have been submitted. Try again after a brief wait.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LicenseManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getLicenseConversionTask

      default CompletableFuture<GetLicenseConversionTaskResponse> getLicenseConversionTask(GetLicenseConversionTaskRequest getLicenseConversionTaskRequest)

      Gets information about the specified license type conversion task.

      Parameters:
      getLicenseConversionTaskRequest -
      Returns:
      A Java Future containing the result of the GetLicenseConversionTask 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.
      • InvalidParameterValueException One or more parameter values are not valid.
      • ServerInternalException The server experienced an internal error. Try again.
      • AuthorizationException The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.
      • AccessDeniedException Access to resource denied.
      • RateLimitExceededException Too many requests have been submitted. Try again after a brief wait.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LicenseManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getLicenseConversionTask

      default CompletableFuture<GetLicenseConversionTaskResponse> getLicenseConversionTask(Consumer<GetLicenseConversionTaskRequest.Builder> getLicenseConversionTaskRequest)

      Gets information about the specified license type conversion task.


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

      Parameters:
      getLicenseConversionTaskRequest - A Consumer that will call methods on GetLicenseConversionTaskRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetLicenseConversionTask 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.
      • InvalidParameterValueException One or more parameter values are not valid.
      • ServerInternalException The server experienced an internal error. Try again.
      • AuthorizationException The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.
      • AccessDeniedException Access to resource denied.
      • RateLimitExceededException Too many requests have been submitted. Try again after a brief wait.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LicenseManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getLicenseManagerReportGenerator

      default CompletableFuture<GetLicenseManagerReportGeneratorResponse> getLicenseManagerReportGenerator(GetLicenseManagerReportGeneratorRequest getLicenseManagerReportGeneratorRequest)

      Gets information about the specified report generator.

      Parameters:
      getLicenseManagerReportGeneratorRequest -
      Returns:
      A Java Future containing the result of the GetLicenseManagerReportGenerator 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.
      • ValidationException The provided input is not valid. Try your request again.
      • InvalidParameterValueException One or more parameter values are not valid.
      • ResourceLimitExceededException Your resource limits have been exceeded.
      • ServerInternalException The server experienced an internal error. Try again.
      • AuthorizationException The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.
      • RateLimitExceededException Too many requests have been submitted. Try again after a brief wait.
      • AccessDeniedException Access to resource denied.
      • ResourceNotFoundException The resource cannot be found.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LicenseManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getLicenseManagerReportGenerator

      default CompletableFuture<GetLicenseManagerReportGeneratorResponse> getLicenseManagerReportGenerator(Consumer<GetLicenseManagerReportGeneratorRequest.Builder> getLicenseManagerReportGeneratorRequest)

      Gets information about the specified report generator.


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

      Parameters:
      getLicenseManagerReportGeneratorRequest - A Consumer that will call methods on GetLicenseManagerReportGeneratorRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetLicenseManagerReportGenerator 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.
      • ValidationException The provided input is not valid. Try your request again.
      • InvalidParameterValueException One or more parameter values are not valid.
      • ResourceLimitExceededException Your resource limits have been exceeded.
      • ServerInternalException The server experienced an internal error. Try again.
      • AuthorizationException The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.
      • RateLimitExceededException Too many requests have been submitted. Try again after a brief wait.
      • AccessDeniedException Access to resource denied.
      • ResourceNotFoundException The resource cannot be found.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LicenseManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getLicenseUsage

      default CompletableFuture<GetLicenseUsageResponse> getLicenseUsage(GetLicenseUsageRequest getLicenseUsageRequest)

      Gets detailed information about the usage of the specified license.

      Parameters:
      getLicenseUsageRequest -
      Returns:
      A Java Future containing the result of the GetLicenseUsage 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.
      • ValidationException The provided input is not valid. Try your request again.
      • InvalidParameterValueException One or more parameter values are not valid.
      • AuthorizationException The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.
      • AccessDeniedException Access to resource denied.
      • RateLimitExceededException Too many requests have been submitted. Try again after a brief wait.
      • ServerInternalException The server experienced an internal error. Try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LicenseManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getLicenseUsage

      default CompletableFuture<GetLicenseUsageResponse> getLicenseUsage(Consumer<GetLicenseUsageRequest.Builder> getLicenseUsageRequest)

      Gets detailed information about the usage of the specified license.


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

      Parameters:
      getLicenseUsageRequest - A Consumer that will call methods on GetLicenseUsageRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the GetLicenseUsage 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.
      • ValidationException The provided input is not valid. Try your request again.
      • InvalidParameterValueException One or more parameter values are not valid.
      • AuthorizationException The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.
      • AccessDeniedException Access to resource denied.
      • RateLimitExceededException Too many requests have been submitted. Try again after a brief wait.
      • ServerInternalException The server experienced an internal error. Try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LicenseManagerException 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)

      Gets the License Manager settings for the current Region.

      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.
      • ServerInternalException The server experienced an internal error. Try again.
      • AuthorizationException The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.
      • AccessDeniedException Access to resource denied.
      • RateLimitExceededException Too many requests have been submitted. Try again after a brief wait.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LicenseManagerException 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)

      Gets the License Manager settings for the current Region.


      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.
      • ServerInternalException The server experienced an internal error. Try again.
      • AuthorizationException The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.
      • AccessDeniedException Access to resource denied.
      • RateLimitExceededException Too many requests have been submitted. Try again after a brief wait.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LicenseManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • getServiceSettings

      default CompletableFuture<GetServiceSettingsResponse> getServiceSettings()

      Gets the License Manager settings for the current Region.

      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.
      • ServerInternalException The server experienced an internal error. Try again.
      • AuthorizationException The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.
      • AccessDeniedException Access to resource denied.
      • RateLimitExceededException Too many requests have been submitted. Try again after a brief wait.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LicenseManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAssociationsForLicenseConfiguration

      default CompletableFuture<ListAssociationsForLicenseConfigurationResponse> listAssociationsForLicenseConfiguration(ListAssociationsForLicenseConfigurationRequest listAssociationsForLicenseConfigurationRequest)

      Lists the resource associations for the specified license configuration.

      Resource associations need not consume licenses from a license configuration. For example, an AMI or a stopped instance might not consume a license (depending on the license rules).

      Parameters:
      listAssociationsForLicenseConfigurationRequest -
      Returns:
      A Java Future containing the result of the ListAssociationsForLicenseConfiguration 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.
      • InvalidParameterValueException One or more parameter values are not valid.
      • FilterLimitExceededException The request uses too many filters or too many filter values.
      • ServerInternalException The server experienced an internal error. Try again.
      • AuthorizationException The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.
      • AccessDeniedException Access to resource denied.
      • RateLimitExceededException Too many requests have been submitted. Try again after a brief wait.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LicenseManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listAssociationsForLicenseConfiguration

      default CompletableFuture<ListAssociationsForLicenseConfigurationResponse> listAssociationsForLicenseConfiguration(Consumer<ListAssociationsForLicenseConfigurationRequest.Builder> listAssociationsForLicenseConfigurationRequest)

      Lists the resource associations for the specified license configuration.

      Resource associations need not consume licenses from a license configuration. For example, an AMI or a stopped instance might not consume a license (depending on the license rules).


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

      Parameters:
      listAssociationsForLicenseConfigurationRequest - A Consumer that will call methods on ListAssociationsForLicenseConfigurationRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListAssociationsForLicenseConfiguration 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.
      • InvalidParameterValueException One or more parameter values are not valid.
      • FilterLimitExceededException The request uses too many filters or too many filter values.
      • ServerInternalException The server experienced an internal error. Try again.
      • AuthorizationException The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.
      • AccessDeniedException Access to resource denied.
      • RateLimitExceededException Too many requests have been submitted. Try again after a brief wait.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LicenseManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listDistributedGrants

      default CompletableFuture<ListDistributedGrantsResponse> listDistributedGrants(ListDistributedGrantsRequest listDistributedGrantsRequest)

      Lists the grants distributed for the specified license.

      Parameters:
      listDistributedGrantsRequest -
      Returns:
      A Java Future containing the result of the ListDistributedGrants 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.
      • ValidationException The provided input is not valid. Try your request again.
      • InvalidParameterValueException One or more parameter values are not valid.
      • ResourceLimitExceededException Your resource limits have been exceeded.
      • ServerInternalException The server experienced an internal error. Try again.
      • AuthorizationException The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.
      • AccessDeniedException Access to resource denied.
      • RateLimitExceededException Too many requests have been submitted. Try again after a brief wait.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LicenseManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listDistributedGrants

      default CompletableFuture<ListDistributedGrantsResponse> listDistributedGrants(Consumer<ListDistributedGrantsRequest.Builder> listDistributedGrantsRequest)

      Lists the grants distributed for the specified license.


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

      Parameters:
      listDistributedGrantsRequest - A Consumer that will call methods on ListDistributedGrantsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListDistributedGrants 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.
      • ValidationException The provided input is not valid. Try your request again.
      • InvalidParameterValueException One or more parameter values are not valid.
      • ResourceLimitExceededException Your resource limits have been exceeded.
      • ServerInternalException The server experienced an internal error. Try again.
      • AuthorizationException The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.
      • AccessDeniedException Access to resource denied.
      • RateLimitExceededException Too many requests have been submitted. Try again after a brief wait.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LicenseManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listFailuresForLicenseConfigurationOperations

      default CompletableFuture<ListFailuresForLicenseConfigurationOperationsResponse> listFailuresForLicenseConfigurationOperations(ListFailuresForLicenseConfigurationOperationsRequest listFailuresForLicenseConfigurationOperationsRequest)

      Lists the license configuration operations that failed.

      Parameters:
      listFailuresForLicenseConfigurationOperationsRequest -
      Returns:
      A Java Future containing the result of the ListFailuresForLicenseConfigurationOperations 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.
      • InvalidParameterValueException One or more parameter values are not valid.
      • ServerInternalException The server experienced an internal error. Try again.
      • AuthorizationException The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.
      • AccessDeniedException Access to resource denied.
      • RateLimitExceededException Too many requests have been submitted. Try again after a brief wait.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LicenseManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listFailuresForLicenseConfigurationOperations

      default CompletableFuture<ListFailuresForLicenseConfigurationOperationsResponse> listFailuresForLicenseConfigurationOperations(Consumer<ListFailuresForLicenseConfigurationOperationsRequest.Builder> listFailuresForLicenseConfigurationOperationsRequest)

      Lists the license configuration operations that failed.


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

      Parameters:
      listFailuresForLicenseConfigurationOperationsRequest - A Consumer that will call methods on ListFailuresForLicenseConfigurationOperationsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListFailuresForLicenseConfigurationOperations 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.
      • InvalidParameterValueException One or more parameter values are not valid.
      • ServerInternalException The server experienced an internal error. Try again.
      • AuthorizationException The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.
      • AccessDeniedException Access to resource denied.
      • RateLimitExceededException Too many requests have been submitted. Try again after a brief wait.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LicenseManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listLicenseConfigurations

      default CompletableFuture<ListLicenseConfigurationsResponse> listLicenseConfigurations(ListLicenseConfigurationsRequest listLicenseConfigurationsRequest)

      Lists the license configurations for your account.

      Parameters:
      listLicenseConfigurationsRequest -
      Returns:
      A Java Future containing the result of the ListLicenseConfigurations 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.
      • InvalidParameterValueException One or more parameter values are not valid.
      • ServerInternalException The server experienced an internal error. Try again.
      • FilterLimitExceededException The request uses too many filters or too many filter values.
      • AuthorizationException The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.
      • AccessDeniedException Access to resource denied.
      • RateLimitExceededException Too many requests have been submitted. Try again after a brief wait.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LicenseManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listLicenseConfigurations

      default CompletableFuture<ListLicenseConfigurationsResponse> listLicenseConfigurations(Consumer<ListLicenseConfigurationsRequest.Builder> listLicenseConfigurationsRequest)

      Lists the license configurations for your account.


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

      Parameters:
      listLicenseConfigurationsRequest - A Consumer that will call methods on ListLicenseConfigurationsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListLicenseConfigurations 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.
      • InvalidParameterValueException One or more parameter values are not valid.
      • ServerInternalException The server experienced an internal error. Try again.
      • FilterLimitExceededException The request uses too many filters or too many filter values.
      • AuthorizationException The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.
      • AccessDeniedException Access to resource denied.
      • RateLimitExceededException Too many requests have been submitted. Try again after a brief wait.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LicenseManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listLicenseConfigurations

      default CompletableFuture<ListLicenseConfigurationsResponse> listLicenseConfigurations()

      Lists the license configurations for your account.

      Returns:
      A Java Future containing the result of the ListLicenseConfigurations 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.
      • InvalidParameterValueException One or more parameter values are not valid.
      • ServerInternalException The server experienced an internal error. Try again.
      • FilterLimitExceededException The request uses too many filters or too many filter values.
      • AuthorizationException The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.
      • AccessDeniedException Access to resource denied.
      • RateLimitExceededException Too many requests have been submitted. Try again after a brief wait.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LicenseManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listLicenseConversionTasks

      default CompletableFuture<ListLicenseConversionTasksResponse> listLicenseConversionTasks(ListLicenseConversionTasksRequest listLicenseConversionTasksRequest)

      Lists the license type conversion tasks for your account.

      Parameters:
      listLicenseConversionTasksRequest -
      Returns:
      A Java Future containing the result of the ListLicenseConversionTasks 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.
      • InvalidParameterValueException One or more parameter values are not valid.
      • ServerInternalException The server experienced an internal error. Try again.
      • AuthorizationException The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.
      • AccessDeniedException Access to resource denied.
      • RateLimitExceededException Too many requests have been submitted. Try again after a brief wait.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LicenseManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listLicenseConversionTasks

      default CompletableFuture<ListLicenseConversionTasksResponse> listLicenseConversionTasks(Consumer<ListLicenseConversionTasksRequest.Builder> listLicenseConversionTasksRequest)

      Lists the license type conversion tasks for your account.


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

      Parameters:
      listLicenseConversionTasksRequest - A Consumer that will call methods on ListLicenseConversionTasksRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListLicenseConversionTasks 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.
      • InvalidParameterValueException One or more parameter values are not valid.
      • ServerInternalException The server experienced an internal error. Try again.
      • AuthorizationException The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.
      • AccessDeniedException Access to resource denied.
      • RateLimitExceededException Too many requests have been submitted. Try again after a brief wait.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LicenseManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listLicenseManagerReportGenerators

      default CompletableFuture<ListLicenseManagerReportGeneratorsResponse> listLicenseManagerReportGenerators(ListLicenseManagerReportGeneratorsRequest listLicenseManagerReportGeneratorsRequest)

      Lists the report generators for your account.

      Parameters:
      listLicenseManagerReportGeneratorsRequest -
      Returns:
      A Java Future containing the result of the ListLicenseManagerReportGenerators 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.
      • ValidationException The provided input is not valid. Try your request again.
      • InvalidParameterValueException One or more parameter values are not valid.
      • ResourceLimitExceededException Your resource limits have been exceeded.
      • ServerInternalException The server experienced an internal error. Try again.
      • AuthorizationException The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.
      • RateLimitExceededException Too many requests have been submitted. Try again after a brief wait.
      • AccessDeniedException Access to resource denied.
      • ResourceNotFoundException The resource cannot be found.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LicenseManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listLicenseManagerReportGenerators

      default CompletableFuture<ListLicenseManagerReportGeneratorsResponse> listLicenseManagerReportGenerators(Consumer<ListLicenseManagerReportGeneratorsRequest.Builder> listLicenseManagerReportGeneratorsRequest)

      Lists the report generators for your account.


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

      Parameters:
      listLicenseManagerReportGeneratorsRequest - A Consumer that will call methods on ListLicenseManagerReportGeneratorsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListLicenseManagerReportGenerators 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.
      • ValidationException The provided input is not valid. Try your request again.
      • InvalidParameterValueException One or more parameter values are not valid.
      • ResourceLimitExceededException Your resource limits have been exceeded.
      • ServerInternalException The server experienced an internal error. Try again.
      • AuthorizationException The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.
      • RateLimitExceededException Too many requests have been submitted. Try again after a brief wait.
      • AccessDeniedException Access to resource denied.
      • ResourceNotFoundException The resource cannot be found.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LicenseManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listLicenseSpecificationsForResource

      default CompletableFuture<ListLicenseSpecificationsForResourceResponse> listLicenseSpecificationsForResource(ListLicenseSpecificationsForResourceRequest listLicenseSpecificationsForResourceRequest)

      Describes the license configurations for the specified resource.

      Parameters:
      listLicenseSpecificationsForResourceRequest -
      Returns:
      A Java Future containing the result of the ListLicenseSpecificationsForResource 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.
      • InvalidParameterValueException One or more parameter values are not valid.
      • ServerInternalException The server experienced an internal error. Try again.
      • AuthorizationException The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.
      • AccessDeniedException Access to resource denied.
      • RateLimitExceededException Too many requests have been submitted. Try again after a brief wait.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LicenseManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listLicenseSpecificationsForResource

      default CompletableFuture<ListLicenseSpecificationsForResourceResponse> listLicenseSpecificationsForResource(Consumer<ListLicenseSpecificationsForResourceRequest.Builder> listLicenseSpecificationsForResourceRequest)

      Describes the license configurations for the specified resource.


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

      Parameters:
      listLicenseSpecificationsForResourceRequest - A Consumer that will call methods on ListLicenseSpecificationsForResourceRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListLicenseSpecificationsForResource 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.
      • InvalidParameterValueException One or more parameter values are not valid.
      • ServerInternalException The server experienced an internal error. Try again.
      • AuthorizationException The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.
      • AccessDeniedException Access to resource denied.
      • RateLimitExceededException Too many requests have been submitted. Try again after a brief wait.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LicenseManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listLicenseVersions

      default CompletableFuture<ListLicenseVersionsResponse> listLicenseVersions(ListLicenseVersionsRequest listLicenseVersionsRequest)

      Lists all versions of the specified license.

      Parameters:
      listLicenseVersionsRequest -
      Returns:
      A Java Future containing the result of the ListLicenseVersions 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.
      • InvalidParameterValueException One or more parameter values are not valid.
      • AuthorizationException The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.
      • AccessDeniedException Access to resource denied.
      • RateLimitExceededException Too many requests have been submitted. Try again after a brief wait.
      • ServerInternalException The server experienced an internal error. Try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LicenseManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listLicenseVersions

      default CompletableFuture<ListLicenseVersionsResponse> listLicenseVersions(Consumer<ListLicenseVersionsRequest.Builder> listLicenseVersionsRequest)

      Lists all versions of the specified license.


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

      Parameters:
      listLicenseVersionsRequest - A Consumer that will call methods on ListLicenseVersionsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListLicenseVersions 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.
      • InvalidParameterValueException One or more parameter values are not valid.
      • AuthorizationException The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.
      • AccessDeniedException Access to resource denied.
      • RateLimitExceededException Too many requests have been submitted. Try again after a brief wait.
      • ServerInternalException The server experienced an internal error. Try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LicenseManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listLicenses

      default CompletableFuture<ListLicensesResponse> listLicenses(ListLicensesRequest listLicensesRequest)

      Lists the licenses for your account.

      Parameters:
      listLicensesRequest -
      Returns:
      A Java Future containing the result of the ListLicenses 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.
      • ValidationException The provided input is not valid. Try your request again.
      • InvalidParameterValueException One or more parameter values are not valid.
      • AuthorizationException The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.
      • AccessDeniedException Access to resource denied.
      • RateLimitExceededException Too many requests have been submitted. Try again after a brief wait.
      • ServerInternalException The server experienced an internal error. Try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LicenseManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listLicenses

      default CompletableFuture<ListLicensesResponse> listLicenses(Consumer<ListLicensesRequest.Builder> listLicensesRequest)

      Lists the licenses for your account.


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

      Parameters:
      listLicensesRequest - A Consumer that will call methods on ListLicensesRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListLicenses 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.
      • ValidationException The provided input is not valid. Try your request again.
      • InvalidParameterValueException One or more parameter values are not valid.
      • AuthorizationException The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.
      • AccessDeniedException Access to resource denied.
      • RateLimitExceededException Too many requests have been submitted. Try again after a brief wait.
      • ServerInternalException The server experienced an internal error. Try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LicenseManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listReceivedGrants

      default CompletableFuture<ListReceivedGrantsResponse> listReceivedGrants(ListReceivedGrantsRequest listReceivedGrantsRequest)

      Lists grants that are received. Received grants are grants created while specifying the recipient as this Amazon Web Services account, your organization, or an organizational unit (OU) to which this member account belongs.

      Parameters:
      listReceivedGrantsRequest -
      Returns:
      A Java Future containing the result of the ListReceivedGrants 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.
      • ValidationException The provided input is not valid. Try your request again.
      • InvalidParameterValueException One or more parameter values are not valid.
      • ResourceLimitExceededException Your resource limits have been exceeded.
      • ServerInternalException The server experienced an internal error. Try again.
      • AuthorizationException The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.
      • AccessDeniedException Access to resource denied.
      • RateLimitExceededException Too many requests have been submitted. Try again after a brief wait.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LicenseManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listReceivedGrants

      default CompletableFuture<ListReceivedGrantsResponse> listReceivedGrants(Consumer<ListReceivedGrantsRequest.Builder> listReceivedGrantsRequest)

      Lists grants that are received. Received grants are grants created while specifying the recipient as this Amazon Web Services account, your organization, or an organizational unit (OU) to which this member account belongs.


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

      Parameters:
      listReceivedGrantsRequest - A Consumer that will call methods on ListReceivedGrantsRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListReceivedGrants 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.
      • ValidationException The provided input is not valid. Try your request again.
      • InvalidParameterValueException One or more parameter values are not valid.
      • ResourceLimitExceededException Your resource limits have been exceeded.
      • ServerInternalException The server experienced an internal error. Try again.
      • AuthorizationException The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.
      • AccessDeniedException Access to resource denied.
      • RateLimitExceededException Too many requests have been submitted. Try again after a brief wait.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LicenseManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listReceivedGrantsForOrganization

      default CompletableFuture<ListReceivedGrantsForOrganizationResponse> listReceivedGrantsForOrganization(ListReceivedGrantsForOrganizationRequest listReceivedGrantsForOrganizationRequest)

      Lists the grants received for all accounts in the organization.

      Parameters:
      listReceivedGrantsForOrganizationRequest -
      Returns:
      A Java Future containing the result of the ListReceivedGrantsForOrganization 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.
      • ValidationException The provided input is not valid. Try your request again.
      • InvalidParameterValueException One or more parameter values are not valid.
      • ResourceLimitExceededException Your resource limits have been exceeded.
      • ServerInternalException The server experienced an internal error. Try again.
      • AuthorizationException The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.
      • AccessDeniedException Access to resource denied.
      • RateLimitExceededException Too many requests have been submitted. Try again after a brief wait.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LicenseManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listReceivedGrantsForOrganization

      default CompletableFuture<ListReceivedGrantsForOrganizationResponse> listReceivedGrantsForOrganization(Consumer<ListReceivedGrantsForOrganizationRequest.Builder> listReceivedGrantsForOrganizationRequest)

      Lists the grants received for all accounts in the organization.


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

      Parameters:
      listReceivedGrantsForOrganizationRequest - A Consumer that will call methods on ListReceivedGrantsForOrganizationRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListReceivedGrantsForOrganization 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.
      • ValidationException The provided input is not valid. Try your request again.
      • InvalidParameterValueException One or more parameter values are not valid.
      • ResourceLimitExceededException Your resource limits have been exceeded.
      • ServerInternalException The server experienced an internal error. Try again.
      • AuthorizationException The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.
      • AccessDeniedException Access to resource denied.
      • RateLimitExceededException Too many requests have been submitted. Try again after a brief wait.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LicenseManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listReceivedLicenses

      default CompletableFuture<ListReceivedLicensesResponse> listReceivedLicenses(ListReceivedLicensesRequest listReceivedLicensesRequest)

      Lists received licenses.

      Parameters:
      listReceivedLicensesRequest -
      Returns:
      A Java Future containing the result of the ListReceivedLicenses 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.
      • ValidationException The provided input is not valid. Try your request again.
      • InvalidParameterValueException One or more parameter values are not valid.
      • ResourceLimitExceededException Your resource limits have been exceeded.
      • ServerInternalException The server experienced an internal error. Try again.
      • AuthorizationException The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.
      • AccessDeniedException Access to resource denied.
      • RateLimitExceededException Too many requests have been submitted. Try again after a brief wait.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LicenseManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listReceivedLicenses

      default CompletableFuture<ListReceivedLicensesResponse> listReceivedLicenses(Consumer<ListReceivedLicensesRequest.Builder> listReceivedLicensesRequest)

      Lists received licenses.


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

      Parameters:
      listReceivedLicensesRequest - A Consumer that will call methods on ListReceivedLicensesRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListReceivedLicenses 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.
      • ValidationException The provided input is not valid. Try your request again.
      • InvalidParameterValueException One or more parameter values are not valid.
      • ResourceLimitExceededException Your resource limits have been exceeded.
      • ServerInternalException The server experienced an internal error. Try again.
      • AuthorizationException The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.
      • AccessDeniedException Access to resource denied.
      • RateLimitExceededException Too many requests have been submitted. Try again after a brief wait.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LicenseManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listReceivedLicensesForOrganization

      default CompletableFuture<ListReceivedLicensesForOrganizationResponse> listReceivedLicensesForOrganization(ListReceivedLicensesForOrganizationRequest listReceivedLicensesForOrganizationRequest)

      Lists the licenses received for all accounts in the organization.

      Parameters:
      listReceivedLicensesForOrganizationRequest -
      Returns:
      A Java Future containing the result of the ListReceivedLicensesForOrganization 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.
      • ValidationException The provided input is not valid. Try your request again.
      • InvalidParameterValueException One or more parameter values are not valid.
      • ResourceLimitExceededException Your resource limits have been exceeded.
      • ServerInternalException The server experienced an internal error. Try again.
      • AuthorizationException The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.
      • AccessDeniedException Access to resource denied.
      • RateLimitExceededException Too many requests have been submitted. Try again after a brief wait.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LicenseManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listReceivedLicensesForOrganization

      default CompletableFuture<ListReceivedLicensesForOrganizationResponse> listReceivedLicensesForOrganization(Consumer<ListReceivedLicensesForOrganizationRequest.Builder> listReceivedLicensesForOrganizationRequest)

      Lists the licenses received for all accounts in the organization.


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

      Parameters:
      listReceivedLicensesForOrganizationRequest - A Consumer that will call methods on ListReceivedLicensesForOrganizationRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListReceivedLicensesForOrganization 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.
      • ValidationException The provided input is not valid. Try your request again.
      • InvalidParameterValueException One or more parameter values are not valid.
      • ResourceLimitExceededException Your resource limits have been exceeded.
      • ServerInternalException The server experienced an internal error. Try again.
      • AuthorizationException The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.
      • AccessDeniedException Access to resource denied.
      • RateLimitExceededException Too many requests have been submitted. Try again after a brief wait.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LicenseManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listResourceInventory

      default CompletableFuture<ListResourceInventoryResponse> listResourceInventory(ListResourceInventoryRequest listResourceInventoryRequest)

      Lists resources managed using Systems Manager inventory.

      Parameters:
      listResourceInventoryRequest -
      Returns:
      A Java Future containing the result of the ListResourceInventory 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.
      • InvalidParameterValueException One or more parameter values are not valid.
      • ServerInternalException The server experienced an internal error. Try again.
      • FilterLimitExceededException The request uses too many filters or too many filter values.
      • FailedDependencyException A dependency required to run the API is missing.
      • AuthorizationException The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.
      • AccessDeniedException Access to resource denied.
      • RateLimitExceededException Too many requests have been submitted. Try again after a brief wait.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LicenseManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listResourceInventory

      default CompletableFuture<ListResourceInventoryResponse> listResourceInventory(Consumer<ListResourceInventoryRequest.Builder> listResourceInventoryRequest)

      Lists resources managed using Systems Manager inventory.


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

      Parameters:
      listResourceInventoryRequest - A Consumer that will call methods on ListResourceInventoryRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListResourceInventory 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.
      • InvalidParameterValueException One or more parameter values are not valid.
      • ServerInternalException The server experienced an internal error. Try again.
      • FilterLimitExceededException The request uses too many filters or too many filter values.
      • FailedDependencyException A dependency required to run the API is missing.
      • AuthorizationException The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.
      • AccessDeniedException Access to resource denied.
      • RateLimitExceededException Too many requests have been submitted. Try again after a brief wait.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LicenseManagerException 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 for the specified license configuration.

      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.
      • InvalidParameterValueException One or more parameter values are not valid.
      • ServerInternalException The server experienced an internal error. Try again.
      • AuthorizationException The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.
      • AccessDeniedException Access to resource denied.
      • RateLimitExceededException Too many requests have been submitted. Try again after a brief wait.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LicenseManagerException 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 for the specified license configuration.


      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.
      • InvalidParameterValueException One or more parameter values are not valid.
      • ServerInternalException The server experienced an internal error. Try again.
      • AuthorizationException The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.
      • AccessDeniedException Access to resource denied.
      • RateLimitExceededException Too many requests have been submitted. Try again after a brief wait.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LicenseManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listTokens

      default CompletableFuture<ListTokensResponse> listTokens(ListTokensRequest listTokensRequest)

      Lists your tokens.

      Parameters:
      listTokensRequest -
      Returns:
      A Java Future containing the result of the ListTokens 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.
      • ValidationException The provided input is not valid. Try your request again.
      • AuthorizationException The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.
      • AccessDeniedException Access to resource denied.
      • RateLimitExceededException Too many requests have been submitted. Try again after a brief wait.
      • ServerInternalException The server experienced an internal error. Try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LicenseManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listTokens

      default CompletableFuture<ListTokensResponse> listTokens(Consumer<ListTokensRequest.Builder> listTokensRequest)

      Lists your tokens.


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

      Parameters:
      listTokensRequest - A Consumer that will call methods on ListTokensRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListTokens 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.
      • ValidationException The provided input is not valid. Try your request again.
      • AuthorizationException The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.
      • AccessDeniedException Access to resource denied.
      • RateLimitExceededException Too many requests have been submitted. Try again after a brief wait.
      • ServerInternalException The server experienced an internal error. Try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LicenseManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listUsageForLicenseConfiguration

      default CompletableFuture<ListUsageForLicenseConfigurationResponse> listUsageForLicenseConfiguration(ListUsageForLicenseConfigurationRequest listUsageForLicenseConfigurationRequest)

      Lists all license usage records for a license configuration, displaying license consumption details by resource at a selected point in time. Use this action to audit the current license consumption for any license inventory and configuration.

      Parameters:
      listUsageForLicenseConfigurationRequest -
      Returns:
      A Java Future containing the result of the ListUsageForLicenseConfiguration 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.
      • InvalidParameterValueException One or more parameter values are not valid.
      • FilterLimitExceededException The request uses too many filters or too many filter values.
      • ServerInternalException The server experienced an internal error. Try again.
      • AuthorizationException The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.
      • AccessDeniedException Access to resource denied.
      • RateLimitExceededException Too many requests have been submitted. Try again after a brief wait.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LicenseManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • listUsageForLicenseConfiguration

      default CompletableFuture<ListUsageForLicenseConfigurationResponse> listUsageForLicenseConfiguration(Consumer<ListUsageForLicenseConfigurationRequest.Builder> listUsageForLicenseConfigurationRequest)

      Lists all license usage records for a license configuration, displaying license consumption details by resource at a selected point in time. Use this action to audit the current license consumption for any license inventory and configuration.


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

      Parameters:
      listUsageForLicenseConfigurationRequest - A Consumer that will call methods on ListUsageForLicenseConfigurationRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the ListUsageForLicenseConfiguration 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.
      • InvalidParameterValueException One or more parameter values are not valid.
      • FilterLimitExceededException The request uses too many filters or too many filter values.
      • ServerInternalException The server experienced an internal error. Try again.
      • AuthorizationException The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.
      • AccessDeniedException Access to resource denied.
      • RateLimitExceededException Too many requests have been submitted. Try again after a brief wait.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LicenseManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • rejectGrant

      default CompletableFuture<RejectGrantResponse> rejectGrant(RejectGrantRequest rejectGrantRequest)

      Rejects the specified grant.

      Parameters:
      rejectGrantRequest -
      Returns:
      A Java Future containing the result of the RejectGrant 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.
      • ValidationException The provided input is not valid. Try your request again.
      • InvalidParameterValueException One or more parameter values are not valid.
      • AuthorizationException The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.
      • AccessDeniedException Access to resource denied.
      • RateLimitExceededException Too many requests have been submitted. Try again after a brief wait.
      • ResourceLimitExceededException Your resource limits have been exceeded.
      • ServerInternalException The server experienced an internal error. Try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LicenseManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • rejectGrant

      default CompletableFuture<RejectGrantResponse> rejectGrant(Consumer<RejectGrantRequest.Builder> rejectGrantRequest)

      Rejects the specified grant.


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

      Parameters:
      rejectGrantRequest - A Consumer that will call methods on RejectGrantRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the RejectGrant 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.
      • ValidationException The provided input is not valid. Try your request again.
      • InvalidParameterValueException One or more parameter values are not valid.
      • AuthorizationException The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.
      • AccessDeniedException Access to resource denied.
      • RateLimitExceededException Too many requests have been submitted. Try again after a brief wait.
      • ResourceLimitExceededException Your resource limits have been exceeded.
      • ServerInternalException The server experienced an internal error. Try again.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LicenseManagerException 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 the specified tags to the specified license configuration.

      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.
      • InvalidParameterValueException One or more parameter values are not valid.
      • ServerInternalException The server experienced an internal error. Try again.
      • AuthorizationException The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.
      • AccessDeniedException Access to resource denied.
      • RateLimitExceededException Too many requests have been submitted. Try again after a brief wait.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LicenseManagerException 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 the specified tags to the specified license configuration.


      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.
      • InvalidParameterValueException One or more parameter values are not valid.
      • ServerInternalException The server experienced an internal error. Try again.
      • AuthorizationException The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.
      • AccessDeniedException Access to resource denied.
      • RateLimitExceededException Too many requests have been submitted. Try again after a brief wait.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LicenseManagerException 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 the specified tags from the specified license configuration.

      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.
      • InvalidParameterValueException One or more parameter values are not valid.
      • ServerInternalException The server experienced an internal error. Try again.
      • AuthorizationException The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.
      • AccessDeniedException Access to resource denied.
      • RateLimitExceededException Too many requests have been submitted. Try again after a brief wait.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LicenseManagerException 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 the specified tags from the specified license configuration.


      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.
      • InvalidParameterValueException One or more parameter values are not valid.
      • ServerInternalException The server experienced an internal error. Try again.
      • AuthorizationException The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.
      • AccessDeniedException Access to resource denied.
      • RateLimitExceededException Too many requests have been submitted. Try again after a brief wait.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LicenseManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateLicenseConfiguration

      default CompletableFuture<UpdateLicenseConfigurationResponse> updateLicenseConfiguration(UpdateLicenseConfigurationRequest updateLicenseConfigurationRequest)

      Modifies the attributes of an existing license configuration.

      Parameters:
      updateLicenseConfigurationRequest -
      Returns:
      A Java Future containing the result of the UpdateLicenseConfiguration 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.
      • InvalidParameterValueException One or more parameter values are not valid.
      • ServerInternalException The server experienced an internal error. Try again.
      • AuthorizationException The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.
      • AccessDeniedException Access to resource denied.
      • RateLimitExceededException Too many requests have been submitted. Try again after a brief wait.
      • ResourceLimitExceededException Your resource limits have been exceeded.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LicenseManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateLicenseConfiguration

      default CompletableFuture<UpdateLicenseConfigurationResponse> updateLicenseConfiguration(Consumer<UpdateLicenseConfigurationRequest.Builder> updateLicenseConfigurationRequest)

      Modifies the attributes of an existing license configuration.


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

      Parameters:
      updateLicenseConfigurationRequest - A Consumer that will call methods on UpdateLicenseConfigurationRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateLicenseConfiguration 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.
      • InvalidParameterValueException One or more parameter values are not valid.
      • ServerInternalException The server experienced an internal error. Try again.
      • AuthorizationException The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.
      • AccessDeniedException Access to resource denied.
      • RateLimitExceededException Too many requests have been submitted. Try again after a brief wait.
      • ResourceLimitExceededException Your resource limits have been exceeded.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LicenseManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateLicenseManagerReportGenerator

      default CompletableFuture<UpdateLicenseManagerReportGeneratorResponse> updateLicenseManagerReportGenerator(UpdateLicenseManagerReportGeneratorRequest updateLicenseManagerReportGeneratorRequest)

      Updates a report generator.

      After you make changes to a report generator, it starts generating new reports within 60 minutes of being updated.

      Parameters:
      updateLicenseManagerReportGeneratorRequest -
      Returns:
      A Java Future containing the result of the UpdateLicenseManagerReportGenerator 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.
      • ValidationException The provided input is not valid. Try your request again.
      • InvalidParameterValueException One or more parameter values are not valid.
      • RateLimitExceededException Too many requests have been submitted. Try again after a brief wait.
      • ServerInternalException The server experienced an internal error. Try again.
      • AuthorizationException The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.
      • AccessDeniedException Access to resource denied.
      • ResourceNotFoundException The resource cannot be found.
      • ResourceLimitExceededException Your resource limits have been exceeded.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LicenseManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateLicenseManagerReportGenerator

      default CompletableFuture<UpdateLicenseManagerReportGeneratorResponse> updateLicenseManagerReportGenerator(Consumer<UpdateLicenseManagerReportGeneratorRequest.Builder> updateLicenseManagerReportGeneratorRequest)

      Updates a report generator.

      After you make changes to a report generator, it starts generating new reports within 60 minutes of being updated.


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

      Parameters:
      updateLicenseManagerReportGeneratorRequest - A Consumer that will call methods on UpdateLicenseManagerReportGeneratorRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateLicenseManagerReportGenerator 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.
      • ValidationException The provided input is not valid. Try your request again.
      • InvalidParameterValueException One or more parameter values are not valid.
      • RateLimitExceededException Too many requests have been submitted. Try again after a brief wait.
      • ServerInternalException The server experienced an internal error. Try again.
      • AuthorizationException The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.
      • AccessDeniedException Access to resource denied.
      • ResourceNotFoundException The resource cannot be found.
      • ResourceLimitExceededException Your resource limits have been exceeded.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LicenseManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateLicenseSpecificationsForResource

      default CompletableFuture<UpdateLicenseSpecificationsForResourceResponse> updateLicenseSpecificationsForResource(UpdateLicenseSpecificationsForResourceRequest updateLicenseSpecificationsForResourceRequest)

      Adds or removes the specified license configurations for the specified Amazon Web Services resource.

      You can update the license specifications of AMIs, instances, and hosts. You cannot update the license specifications for launch templates and CloudFormation templates, as they send license configurations to the operation that creates the resource.

      Parameters:
      updateLicenseSpecificationsForResourceRequest -
      Returns:
      A Java Future containing the result of the UpdateLicenseSpecificationsForResource 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.
      • InvalidParameterValueException One or more parameter values are not valid.
      • InvalidResourceStateException License Manager cannot allocate a license to a resource because of its state.

        For example, you cannot allocate a license to an instance in the process of shutting down.

      • LicenseUsageException You do not have enough licenses available to support a new resource launch.
      • ServerInternalException The server experienced an internal error. Try again.
      • AuthorizationException The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.
      • AccessDeniedException Access to resource denied.
      • RateLimitExceededException Too many requests have been submitted. Try again after a brief wait.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LicenseManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • updateLicenseSpecificationsForResource

      default CompletableFuture<UpdateLicenseSpecificationsForResourceResponse> updateLicenseSpecificationsForResource(Consumer<UpdateLicenseSpecificationsForResourceRequest.Builder> updateLicenseSpecificationsForResourceRequest)

      Adds or removes the specified license configurations for the specified Amazon Web Services resource.

      You can update the license specifications of AMIs, instances, and hosts. You cannot update the license specifications for launch templates and CloudFormation templates, as they send license configurations to the operation that creates the resource.


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

      Parameters:
      updateLicenseSpecificationsForResourceRequest - A Consumer that will call methods on UpdateLicenseSpecificationsForResourceRequest.Builder to create a request.
      Returns:
      A Java Future containing the result of the UpdateLicenseSpecificationsForResource 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.
      • InvalidParameterValueException One or more parameter values are not valid.
      • InvalidResourceStateException License Manager cannot allocate a license to a resource because of its state.

        For example, you cannot allocate a license to an instance in the process of shutting down.

      • LicenseUsageException You do not have enough licenses available to support a new resource launch.
      • ServerInternalException The server experienced an internal error. Try again.
      • AuthorizationException The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.
      • AccessDeniedException Access to resource denied.
      • RateLimitExceededException Too many requests have been submitted. Try again after a brief wait.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LicenseManagerException 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 License Manager settings for the current Region.

      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.
      • InvalidParameterValueException One or more parameter values are not valid.
      • ServerInternalException The server experienced an internal error. Try again.
      • AuthorizationException The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.
      • AccessDeniedException Access to resource denied.
      • RateLimitExceededException Too many requests have been submitted. Try again after a brief wait.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LicenseManagerException 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 License Manager settings for the current Region.


      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.
      • InvalidParameterValueException One or more parameter values are not valid.
      • ServerInternalException The server experienced an internal error. Try again.
      • AuthorizationException The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.
      • AccessDeniedException Access to resource denied.
      • RateLimitExceededException Too many requests have been submitted. Try again after a brief wait.
      • SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
      • SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
      • LicenseManagerException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
      See Also:
    • serviceClientConfiguration

      default LicenseManagerServiceClientConfiguration 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 LicenseManagerAsyncClient create()
      Create a LicenseManagerAsyncClient 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 LicenseManagerAsyncClient.