Interface LicenseManagerAsyncClient
- All Superinterfaces:
AutoCloseable
,AwsClient
,SdkAutoCloseable
,SdkClient
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 Summary
Modifier and TypeFieldDescriptionstatic final String
Value for looking up the service's metadata from theServiceMetadataProvider
.static final String
-
Method Summary
Modifier and TypeMethodDescriptiondefault CompletableFuture
<AcceptGrantResponse> acceptGrant
(Consumer<AcceptGrantRequest.Builder> acceptGrantRequest) Accepts the specified grant.default CompletableFuture
<AcceptGrantResponse> acceptGrant
(AcceptGrantRequest acceptGrantRequest) Accepts the specified grant.builder()
Create a builder that can be used to configure and create aLicenseManagerAsyncClient
.default CompletableFuture
<CheckInLicenseResponse> checkInLicense
(Consumer<CheckInLicenseRequest.Builder> checkInLicenseRequest) Checks in the specified license.default CompletableFuture
<CheckInLicenseResponse> checkInLicense
(CheckInLicenseRequest checkInLicenseRequest) Checks in the specified license.checkoutBorrowLicense
(Consumer<CheckoutBorrowLicenseRequest.Builder> checkoutBorrowLicenseRequest) Checks out the specified license for offline use.checkoutBorrowLicense
(CheckoutBorrowLicenseRequest checkoutBorrowLicenseRequest) Checks out the specified license for offline use.default CompletableFuture
<CheckoutLicenseResponse> checkoutLicense
(Consumer<CheckoutLicenseRequest.Builder> checkoutLicenseRequest) Checks out the specified license.default CompletableFuture
<CheckoutLicenseResponse> checkoutLicense
(CheckoutLicenseRequest checkoutLicenseRequest) Checks out the specified license.static LicenseManagerAsyncClient
create()
Create aLicenseManagerAsyncClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
.default CompletableFuture
<CreateGrantResponse> createGrant
(Consumer<CreateGrantRequest.Builder> createGrantRequest) Creates a grant for the specified license.default CompletableFuture
<CreateGrantResponse> createGrant
(CreateGrantRequest createGrantRequest) Creates a grant for the specified license.createGrantVersion
(Consumer<CreateGrantVersionRequest.Builder> createGrantVersionRequest) Creates a new version of the specified grant.createGrantVersion
(CreateGrantVersionRequest createGrantVersionRequest) Creates a new version of the specified grant.default CompletableFuture
<CreateLicenseResponse> createLicense
(Consumer<CreateLicenseRequest.Builder> createLicenseRequest) Creates a license.default CompletableFuture
<CreateLicenseResponse> createLicense
(CreateLicenseRequest createLicenseRequest) Creates a license.createLicenseConfiguration
(Consumer<CreateLicenseConfigurationRequest.Builder> createLicenseConfigurationRequest) Creates a license configuration.createLicenseConfiguration
(CreateLicenseConfigurationRequest createLicenseConfigurationRequest) Creates a license configuration.createLicenseConversionTaskForResource
(Consumer<CreateLicenseConversionTaskForResourceRequest.Builder> createLicenseConversionTaskForResourceRequest) Creates a new license conversion task.createLicenseConversionTaskForResource
(CreateLicenseConversionTaskForResourceRequest createLicenseConversionTaskForResourceRequest) Creates a new license conversion task.createLicenseManagerReportGenerator
(Consumer<CreateLicenseManagerReportGeneratorRequest.Builder> createLicenseManagerReportGeneratorRequest) Creates a report generator.createLicenseManagerReportGenerator
(CreateLicenseManagerReportGeneratorRequest createLicenseManagerReportGeneratorRequest) Creates a report generator.createLicenseVersion
(Consumer<CreateLicenseVersionRequest.Builder> createLicenseVersionRequest) Creates a new version of the specified license.createLicenseVersion
(CreateLicenseVersionRequest createLicenseVersionRequest) Creates a new version of the specified license.default CompletableFuture
<CreateTokenResponse> createToken
(Consumer<CreateTokenRequest.Builder> createTokenRequest) Creates a long-lived token.default CompletableFuture
<CreateTokenResponse> createToken
(CreateTokenRequest createTokenRequest) Creates a long-lived token.default CompletableFuture
<DeleteGrantResponse> deleteGrant
(Consumer<DeleteGrantRequest.Builder> deleteGrantRequest) Deletes the specified grant.default CompletableFuture
<DeleteGrantResponse> deleteGrant
(DeleteGrantRequest deleteGrantRequest) Deletes the specified grant.default CompletableFuture
<DeleteLicenseResponse> deleteLicense
(Consumer<DeleteLicenseRequest.Builder> deleteLicenseRequest) Deletes the specified license.default CompletableFuture
<DeleteLicenseResponse> deleteLicense
(DeleteLicenseRequest deleteLicenseRequest) Deletes the specified license.deleteLicenseConfiguration
(Consumer<DeleteLicenseConfigurationRequest.Builder> deleteLicenseConfigurationRequest) Deletes the specified license configuration.deleteLicenseConfiguration
(DeleteLicenseConfigurationRequest deleteLicenseConfigurationRequest) Deletes the specified license configuration.deleteLicenseManagerReportGenerator
(Consumer<DeleteLicenseManagerReportGeneratorRequest.Builder> deleteLicenseManagerReportGeneratorRequest) Deletes the specified report generator.deleteLicenseManagerReportGenerator
(DeleteLicenseManagerReportGeneratorRequest deleteLicenseManagerReportGeneratorRequest) Deletes the specified report generator.default CompletableFuture
<DeleteTokenResponse> deleteToken
(Consumer<DeleteTokenRequest.Builder> deleteTokenRequest) Deletes the specified token.default CompletableFuture
<DeleteTokenResponse> deleteToken
(DeleteTokenRequest deleteTokenRequest) Deletes the specified token.extendLicenseConsumption
(Consumer<ExtendLicenseConsumptionRequest.Builder> extendLicenseConsumptionRequest) Extends the expiration date for license consumption.extendLicenseConsumption
(ExtendLicenseConsumptionRequest extendLicenseConsumptionRequest) Extends the expiration date for license consumption.default CompletableFuture
<GetAccessTokenResponse> getAccessToken
(Consumer<GetAccessTokenRequest.Builder> getAccessTokenRequest) Gets a temporary access token to use with AssumeRoleWithWebIdentity.default CompletableFuture
<GetAccessTokenResponse> getAccessToken
(GetAccessTokenRequest getAccessTokenRequest) Gets a temporary access token to use with AssumeRoleWithWebIdentity.default CompletableFuture
<GetGrantResponse> getGrant
(Consumer<GetGrantRequest.Builder> getGrantRequest) Gets detailed information about the specified grant.default CompletableFuture
<GetGrantResponse> getGrant
(GetGrantRequest getGrantRequest) Gets detailed information about the specified grant.default CompletableFuture
<GetLicenseResponse> getLicense
(Consumer<GetLicenseRequest.Builder> getLicenseRequest) Gets detailed information about the specified license.default CompletableFuture
<GetLicenseResponse> getLicense
(GetLicenseRequest getLicenseRequest) Gets detailed information about the specified license.getLicenseConfiguration
(Consumer<GetLicenseConfigurationRequest.Builder> getLicenseConfigurationRequest) Gets detailed information about the specified license configuration.getLicenseConfiguration
(GetLicenseConfigurationRequest getLicenseConfigurationRequest) Gets detailed information about the specified license configuration.getLicenseConversionTask
(Consumer<GetLicenseConversionTaskRequest.Builder> getLicenseConversionTaskRequest) Gets information about the specified license type conversion task.getLicenseConversionTask
(GetLicenseConversionTaskRequest getLicenseConversionTaskRequest) Gets information about the specified license type conversion task.getLicenseManagerReportGenerator
(Consumer<GetLicenseManagerReportGeneratorRequest.Builder> getLicenseManagerReportGeneratorRequest) Gets information about the specified report generator.getLicenseManagerReportGenerator
(GetLicenseManagerReportGeneratorRequest getLicenseManagerReportGeneratorRequest) Gets information about the specified report generator.default CompletableFuture
<GetLicenseUsageResponse> getLicenseUsage
(Consumer<GetLicenseUsageRequest.Builder> getLicenseUsageRequest) Gets detailed information about the usage of the specified license.default CompletableFuture
<GetLicenseUsageResponse> getLicenseUsage
(GetLicenseUsageRequest getLicenseUsageRequest) Gets detailed information about the usage of the specified license.Gets the License Manager settings for the current Region.getServiceSettings
(Consumer<GetServiceSettingsRequest.Builder> getServiceSettingsRequest) Gets the License Manager settings for the current Region.getServiceSettings
(GetServiceSettingsRequest getServiceSettingsRequest) Gets the License Manager settings for the current Region.listAssociationsForLicenseConfiguration
(Consumer<ListAssociationsForLicenseConfigurationRequest.Builder> listAssociationsForLicenseConfigurationRequest) Lists the resource associations for the specified license configuration.listAssociationsForLicenseConfiguration
(ListAssociationsForLicenseConfigurationRequest listAssociationsForLicenseConfigurationRequest) Lists the resource associations for the specified license configuration.listDistributedGrants
(Consumer<ListDistributedGrantsRequest.Builder> listDistributedGrantsRequest) Lists the grants distributed for the specified license.listDistributedGrants
(ListDistributedGrantsRequest listDistributedGrantsRequest) Lists the grants distributed for the specified license.listFailuresForLicenseConfigurationOperations
(Consumer<ListFailuresForLicenseConfigurationOperationsRequest.Builder> listFailuresForLicenseConfigurationOperationsRequest) Lists the license configuration operations that failed.listFailuresForLicenseConfigurationOperations
(ListFailuresForLicenseConfigurationOperationsRequest listFailuresForLicenseConfigurationOperationsRequest) Lists the license configuration operations that failed.Lists the license configurations for your account.listLicenseConfigurations
(Consumer<ListLicenseConfigurationsRequest.Builder> listLicenseConfigurationsRequest) Lists the license configurations for your account.listLicenseConfigurations
(ListLicenseConfigurationsRequest listLicenseConfigurationsRequest) Lists the license configurations for your account.listLicenseConversionTasks
(Consumer<ListLicenseConversionTasksRequest.Builder> listLicenseConversionTasksRequest) Lists the license type conversion tasks for your account.listLicenseConversionTasks
(ListLicenseConversionTasksRequest listLicenseConversionTasksRequest) Lists the license type conversion tasks for your account.listLicenseManagerReportGenerators
(Consumer<ListLicenseManagerReportGeneratorsRequest.Builder> listLicenseManagerReportGeneratorsRequest) Lists the report generators for your account.listLicenseManagerReportGenerators
(ListLicenseManagerReportGeneratorsRequest listLicenseManagerReportGeneratorsRequest) Lists the report generators for your account.default CompletableFuture
<ListLicensesResponse> listLicenses
(Consumer<ListLicensesRequest.Builder> listLicensesRequest) Lists the licenses for your account.default CompletableFuture
<ListLicensesResponse> listLicenses
(ListLicensesRequest listLicensesRequest) Lists the licenses for your account.listLicenseSpecificationsForResource
(Consumer<ListLicenseSpecificationsForResourceRequest.Builder> listLicenseSpecificationsForResourceRequest) Describes the license configurations for the specified resource.listLicenseSpecificationsForResource
(ListLicenseSpecificationsForResourceRequest listLicenseSpecificationsForResourceRequest) Describes the license configurations for the specified resource.listLicenseVersions
(Consumer<ListLicenseVersionsRequest.Builder> listLicenseVersionsRequest) Lists all versions of the specified license.listLicenseVersions
(ListLicenseVersionsRequest listLicenseVersionsRequest) Lists all versions of the specified license.listReceivedGrants
(Consumer<ListReceivedGrantsRequest.Builder> listReceivedGrantsRequest) Lists grants that are received.listReceivedGrants
(ListReceivedGrantsRequest listReceivedGrantsRequest) Lists grants that are received.listReceivedGrantsForOrganization
(Consumer<ListReceivedGrantsForOrganizationRequest.Builder> listReceivedGrantsForOrganizationRequest) Lists the grants received for all accounts in the organization.listReceivedGrantsForOrganization
(ListReceivedGrantsForOrganizationRequest listReceivedGrantsForOrganizationRequest) Lists the grants received for all accounts in the organization.listReceivedLicenses
(Consumer<ListReceivedLicensesRequest.Builder> listReceivedLicensesRequest) Lists received licenses.listReceivedLicenses
(ListReceivedLicensesRequest listReceivedLicensesRequest) Lists received licenses.listReceivedLicensesForOrganization
(Consumer<ListReceivedLicensesForOrganizationRequest.Builder> listReceivedLicensesForOrganizationRequest) Lists the licenses received for all accounts in the organization.listReceivedLicensesForOrganization
(ListReceivedLicensesForOrganizationRequest listReceivedLicensesForOrganizationRequest) Lists the licenses received for all accounts in the organization.listResourceInventory
(Consumer<ListResourceInventoryRequest.Builder> listResourceInventoryRequest) Lists resources managed using Systems Manager inventory.listResourceInventory
(ListResourceInventoryRequest listResourceInventoryRequest) Lists resources managed using Systems Manager inventory.listTagsForResource
(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Lists the tags for the specified license configuration.listTagsForResource
(ListTagsForResourceRequest listTagsForResourceRequest) Lists the tags for the specified license configuration.default CompletableFuture
<ListTokensResponse> listTokens
(Consumer<ListTokensRequest.Builder> listTokensRequest) Lists your tokens.default CompletableFuture
<ListTokensResponse> listTokens
(ListTokensRequest listTokensRequest) Lists your tokens.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.listUsageForLicenseConfiguration
(ListUsageForLicenseConfigurationRequest listUsageForLicenseConfigurationRequest) Lists all license usage records for a license configuration, displaying license consumption details by resource at a selected point in time.default CompletableFuture
<RejectGrantResponse> rejectGrant
(Consumer<RejectGrantRequest.Builder> rejectGrantRequest) Rejects the specified grant.default CompletableFuture
<RejectGrantResponse> rejectGrant
(RejectGrantRequest rejectGrantRequest) Rejects the specified grant.The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationdefault CompletableFuture
<TagResourceResponse> tagResource
(Consumer<TagResourceRequest.Builder> tagResourceRequest) Adds the specified tags to the specified license configuration.default CompletableFuture
<TagResourceResponse> tagResource
(TagResourceRequest tagResourceRequest) Adds the specified tags to the specified license configuration.default CompletableFuture
<UntagResourceResponse> untagResource
(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Removes the specified tags from the specified license configuration.default CompletableFuture
<UntagResourceResponse> untagResource
(UntagResourceRequest untagResourceRequest) Removes the specified tags from the specified license configuration.updateLicenseConfiguration
(Consumer<UpdateLicenseConfigurationRequest.Builder> updateLicenseConfigurationRequest) Modifies the attributes of an existing license configuration.updateLicenseConfiguration
(UpdateLicenseConfigurationRequest updateLicenseConfigurationRequest) Modifies the attributes of an existing license configuration.updateLicenseManagerReportGenerator
(Consumer<UpdateLicenseManagerReportGeneratorRequest.Builder> updateLicenseManagerReportGeneratorRequest) Updates a report generator.updateLicenseManagerReportGenerator
(UpdateLicenseManagerReportGeneratorRequest updateLicenseManagerReportGeneratorRequest) Updates a report generator.updateLicenseSpecificationsForResource
(Consumer<UpdateLicenseSpecificationsForResourceRequest.Builder> updateLicenseSpecificationsForResourceRequest) Adds or removes the specified license configurations for the specified Amazon Web Services resource.updateLicenseSpecificationsForResource
(UpdateLicenseSpecificationsForResourceRequest updateLicenseSpecificationsForResourceRequest) Adds or removes the specified license configurations for the specified Amazon Web Services resource.updateServiceSettings
(Consumer<UpdateServiceSettingsRequest.Builder> updateServiceSettingsRequest) Updates License Manager settings for the current Region.updateServiceSettings
(UpdateServiceSettingsRequest updateServiceSettingsRequest) Updates License Manager settings for the current Region.Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
close
Methods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
Field Details
-
SERVICE_NAME
- See Also:
-
SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider
.- See Also:
-
-
Method Details
-
acceptGrant
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 invokeThrowable.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 viaAcceptGrantRequest.builder()
- Parameters:
acceptGrantRequest
- AConsumer
that will call methods onAcceptGrantRequest.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 invokeThrowable.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 invokeThrowable.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 viaCheckInLicenseRequest.builder()
- Parameters:
checkInLicenseRequest
- AConsumer
that will call methods onCheckInLicenseRequest.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 invokeThrowable.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 invokeThrowable.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 viaCheckoutBorrowLicenseRequest.builder()
- Parameters:
checkoutBorrowLicenseRequest
- AConsumer
that will call methods onCheckoutBorrowLicenseRequest.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 invokeThrowable.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 invokeThrowable.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 viaCheckoutLicenseRequest.builder()
- Parameters:
checkoutLicenseRequest
- AConsumer
that will call methods onCheckoutLicenseRequest.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 invokeThrowable.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
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 invokeThrowable.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 viaCreateGrantRequest.builder()
- Parameters:
createGrantRequest
- AConsumer
that will call methods onCreateGrantRequest.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 invokeThrowable.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 invokeThrowable.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 viaCreateGrantVersionRequest.builder()
- Parameters:
createGrantVersionRequest
- AConsumer
that will call methods onCreateGrantVersionRequest.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 invokeThrowable.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 invokeThrowable.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 viaCreateLicenseRequest.builder()
- Parameters:
createLicenseRequest
- AConsumer
that will call methods onCreateLicenseRequest.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 invokeThrowable.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 invokeThrowable.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 viaCreateLicenseConfigurationRequest.builder()
- Parameters:
createLicenseConfigurationRequest
- AConsumer
that will call methods onCreateLicenseConfigurationRequest.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 invokeThrowable.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 invokeThrowable.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 viaCreateLicenseConversionTaskForResourceRequest.builder()
- Parameters:
createLicenseConversionTaskForResourceRequest
- AConsumer
that will call methods onCreateLicenseConversionTaskForResourceRequest.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 invokeThrowable.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 invokeThrowable.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 viaCreateLicenseManagerReportGeneratorRequest.builder()
- Parameters:
createLicenseManagerReportGeneratorRequest
- AConsumer
that will call methods onCreateLicenseManagerReportGeneratorRequest.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 invokeThrowable.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 invokeThrowable.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 viaCreateLicenseVersionRequest.builder()
- Parameters:
createLicenseVersionRequest
- AConsumer
that will call methods onCreateLicenseVersionRequest.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 invokeThrowable.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
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 invokeThrowable.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 viaCreateTokenRequest.builder()
- Parameters:
createTokenRequest
- AConsumer
that will call methods onCreateTokenRequest.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 invokeThrowable.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
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 invokeThrowable.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 viaDeleteGrantRequest.builder()
- Parameters:
deleteGrantRequest
- AConsumer
that will call methods onDeleteGrantRequest.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 invokeThrowable.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 invokeThrowable.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 viaDeleteLicenseRequest.builder()
- Parameters:
deleteLicenseRequest
- AConsumer
that will call methods onDeleteLicenseRequest.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 invokeThrowable.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 invokeThrowable.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 viaDeleteLicenseConfigurationRequest.builder()
- Parameters:
deleteLicenseConfigurationRequest
- AConsumer
that will call methods onDeleteLicenseConfigurationRequest.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 invokeThrowable.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 invokeThrowable.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 viaDeleteLicenseManagerReportGeneratorRequest.builder()
- Parameters:
deleteLicenseManagerReportGeneratorRequest
- AConsumer
that will call methods onDeleteLicenseManagerReportGeneratorRequest.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 invokeThrowable.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
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 invokeThrowable.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 viaDeleteTokenRequest.builder()
- Parameters:
deleteTokenRequest
- AConsumer
that will call methods onDeleteTokenRequest.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 invokeThrowable.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 invokeThrowable.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 viaExtendLicenseConsumptionRequest.builder()
- Parameters:
extendLicenseConsumptionRequest
- AConsumer
that will call methods onExtendLicenseConsumptionRequest.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 invokeThrowable.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 invokeThrowable.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 viaGetAccessTokenRequest.builder()
- Parameters:
getAccessTokenRequest
- AConsumer
that will call methods onGetAccessTokenRequest.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 invokeThrowable.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
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 invokeThrowable.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
default CompletableFuture<GetGrantResponse> getGrant(Consumer<GetGrantRequest.Builder> getGrantRequest) 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 viaGetGrantRequest.builder()
- Parameters:
getGrantRequest
- AConsumer
that will call methods onGetGrantRequest.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 invokeThrowable.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
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 invokeThrowable.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 viaGetLicenseRequest.builder()
- Parameters:
getLicenseRequest
- AConsumer
that will call methods onGetLicenseRequest.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 invokeThrowable.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 invokeThrowable.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 viaGetLicenseConfigurationRequest.builder()
- Parameters:
getLicenseConfigurationRequest
- AConsumer
that will call methods onGetLicenseConfigurationRequest.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 invokeThrowable.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 invokeThrowable.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 viaGetLicenseConversionTaskRequest.builder()
- Parameters:
getLicenseConversionTaskRequest
- AConsumer
that will call methods onGetLicenseConversionTaskRequest.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 invokeThrowable.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 invokeThrowable.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 viaGetLicenseManagerReportGeneratorRequest.builder()
- Parameters:
getLicenseManagerReportGeneratorRequest
- AConsumer
that will call methods onGetLicenseManagerReportGeneratorRequest.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 invokeThrowable.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 invokeThrowable.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 viaGetLicenseUsageRequest.builder()
- Parameters:
getLicenseUsageRequest
- AConsumer
that will call methods onGetLicenseUsageRequest.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 invokeThrowable.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 invokeThrowable.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 viaGetServiceSettingsRequest.builder()
- Parameters:
getServiceSettingsRequest
- AConsumer
that will call methods onGetServiceSettingsRequest.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 invokeThrowable.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
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 invokeThrowable.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 invokeThrowable.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 viaListAssociationsForLicenseConfigurationRequest.builder()
- Parameters:
listAssociationsForLicenseConfigurationRequest
- AConsumer
that will call methods onListAssociationsForLicenseConfigurationRequest.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 invokeThrowable.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 invokeThrowable.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 viaListDistributedGrantsRequest.builder()
- Parameters:
listDistributedGrantsRequest
- AConsumer
that will call methods onListDistributedGrantsRequest.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 invokeThrowable.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 invokeThrowable.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 viaListFailuresForLicenseConfigurationOperationsRequest.builder()
- Parameters:
listFailuresForLicenseConfigurationOperationsRequest
- AConsumer
that will call methods onListFailuresForLicenseConfigurationOperationsRequest.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 invokeThrowable.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 invokeThrowable.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 viaListLicenseConfigurationsRequest.builder()
- Parameters:
listLicenseConfigurationsRequest
- AConsumer
that will call methods onListLicenseConfigurationsRequest.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 invokeThrowable.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
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 invokeThrowable.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 invokeThrowable.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 viaListLicenseConversionTasksRequest.builder()
- Parameters:
listLicenseConversionTasksRequest
- AConsumer
that will call methods onListLicenseConversionTasksRequest.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 invokeThrowable.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 invokeThrowable.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 viaListLicenseManagerReportGeneratorsRequest.builder()
- Parameters:
listLicenseManagerReportGeneratorsRequest
- AConsumer
that will call methods onListLicenseManagerReportGeneratorsRequest.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 invokeThrowable.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 invokeThrowable.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 viaListLicenseSpecificationsForResourceRequest.builder()
- Parameters:
listLicenseSpecificationsForResourceRequest
- AConsumer
that will call methods onListLicenseSpecificationsForResourceRequest.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 invokeThrowable.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 invokeThrowable.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 viaListLicenseVersionsRequest.builder()
- Parameters:
listLicenseVersionsRequest
- AConsumer
that will call methods onListLicenseVersionsRequest.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 invokeThrowable.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 invokeThrowable.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 viaListLicensesRequest.builder()
- Parameters:
listLicensesRequest
- AConsumer
that will call methods onListLicensesRequest.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 invokeThrowable.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 invokeThrowable.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 viaListReceivedGrantsRequest.builder()
- Parameters:
listReceivedGrantsRequest
- AConsumer
that will call methods onListReceivedGrantsRequest.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 invokeThrowable.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 invokeThrowable.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 viaListReceivedGrantsForOrganizationRequest.builder()
- Parameters:
listReceivedGrantsForOrganizationRequest
- AConsumer
that will call methods onListReceivedGrantsForOrganizationRequest.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 invokeThrowable.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 invokeThrowable.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 viaListReceivedLicensesRequest.builder()
- Parameters:
listReceivedLicensesRequest
- AConsumer
that will call methods onListReceivedLicensesRequest.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 invokeThrowable.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 invokeThrowable.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 viaListReceivedLicensesForOrganizationRequest.builder()
- Parameters:
listReceivedLicensesForOrganizationRequest
- AConsumer
that will call methods onListReceivedLicensesForOrganizationRequest.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 invokeThrowable.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 invokeThrowable.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 viaListResourceInventoryRequest.builder()
- Parameters:
listResourceInventoryRequest
- AConsumer
that will call methods onListResourceInventoryRequest.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 invokeThrowable.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 invokeThrowable.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 viaListTagsForResourceRequest.builder()
- Parameters:
listTagsForResourceRequest
- AConsumer
that will call methods onListTagsForResourceRequest.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 invokeThrowable.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
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 invokeThrowable.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 viaListTokensRequest.builder()
- Parameters:
listTokensRequest
- AConsumer
that will call methods onListTokensRequest.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 invokeThrowable.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 invokeThrowable.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 viaListUsageForLicenseConfigurationRequest.builder()
- Parameters:
listUsageForLicenseConfigurationRequest
- AConsumer
that will call methods onListUsageForLicenseConfigurationRequest.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 invokeThrowable.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
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 invokeThrowable.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 viaRejectGrantRequest.builder()
- Parameters:
rejectGrantRequest
- AConsumer
that will call methods onRejectGrantRequest.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 invokeThrowable.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
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 invokeThrowable.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 viaTagResourceRequest.builder()
- Parameters:
tagResourceRequest
- AConsumer
that will call methods onTagResourceRequest.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 invokeThrowable.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 invokeThrowable.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 viaUntagResourceRequest.builder()
- Parameters:
untagResourceRequest
- AConsumer
that will call methods onUntagResourceRequest.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 invokeThrowable.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 invokeThrowable.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 viaUpdateLicenseConfigurationRequest.builder()
- Parameters:
updateLicenseConfigurationRequest
- AConsumer
that will call methods onUpdateLicenseConfigurationRequest.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 invokeThrowable.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 invokeThrowable.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 viaUpdateLicenseManagerReportGeneratorRequest.builder()
- Parameters:
updateLicenseManagerReportGeneratorRequest
- AConsumer
that will call methods onUpdateLicenseManagerReportGeneratorRequest.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 invokeThrowable.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 invokeThrowable.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 viaUpdateLicenseSpecificationsForResourceRequest.builder()
- Parameters:
updateLicenseSpecificationsForResourceRequest
- AConsumer
that will call methods onUpdateLicenseSpecificationsForResourceRequest.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 invokeThrowable.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 invokeThrowable.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 viaUpdateServiceSettingsRequest.builder()
- Parameters:
updateServiceSettingsRequest
- AConsumer
that will call methods onUpdateServiceSettingsRequest.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 invokeThrowable.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
Description copied from interface:SdkClient
The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfiguration
in interfaceAwsClient
- Specified by:
serviceClientConfiguration
in interfaceSdkClient
- Returns:
- SdkServiceClientConfiguration
-
create
Create aLicenseManagerAsyncClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
. -
builder
Create a builder that can be used to configure and create aLicenseManagerAsyncClient
.
-