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
FieldsModifier and TypeFieldDescriptionstatic final StringValue 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 LicenseManagerAsyncClientcreate()Create aLicenseManagerAsyncClientwith the region loaded from theDefaultAwsRegionProviderChainand 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
closeMethods 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.Builderavoiding the need to create one manually viaAcceptGrantRequest.builder()- Parameters:
acceptGrantRequest- AConsumerthat will call methods onAcceptGrantRequest.Builderto 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.Builderavoiding the need to create one manually viaCheckInLicenseRequest.builder()- Parameters:
checkInLicenseRequest- AConsumerthat will call methods onCheckInLicenseRequest.Builderto 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.Builderavoiding the need to create one manually viaCheckoutBorrowLicenseRequest.builder()- Parameters:
checkoutBorrowLicenseRequest- AConsumerthat will call methods onCheckoutBorrowLicenseRequest.Builderto 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.Builderavoiding the need to create one manually viaCheckoutLicenseRequest.builder()- Parameters:
checkoutLicenseRequest- AConsumerthat will call methods onCheckoutLicenseRequest.Builderto 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.Builderavoiding the need to create one manually viaCreateGrantRequest.builder()- Parameters:
createGrantRequest- AConsumerthat will call methods onCreateGrantRequest.Builderto 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.Builderavoiding the need to create one manually viaCreateGrantVersionRequest.builder()- Parameters:
createGrantVersionRequest- AConsumerthat will call methods onCreateGrantVersionRequest.Builderto 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.Builderavoiding the need to create one manually viaCreateLicenseRequest.builder()- Parameters:
createLicenseRequest- AConsumerthat will call methods onCreateLicenseRequest.Builderto 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.Builderavoiding the need to create one manually viaCreateLicenseConfigurationRequest.builder()- Parameters:
createLicenseConfigurationRequest- AConsumerthat will call methods onCreateLicenseConfigurationRequest.Builderto 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.Builderavoiding the need to create one manually viaCreateLicenseConversionTaskForResourceRequest.builder()- Parameters:
createLicenseConversionTaskForResourceRequest- AConsumerthat will call methods onCreateLicenseConversionTaskForResourceRequest.Builderto 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.Builderavoiding the need to create one manually viaCreateLicenseManagerReportGeneratorRequest.builder()- Parameters:
createLicenseManagerReportGeneratorRequest- AConsumerthat will call methods onCreateLicenseManagerReportGeneratorRequest.Builderto 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.Builderavoiding the need to create one manually viaCreateLicenseVersionRequest.builder()- Parameters:
createLicenseVersionRequest- AConsumerthat will call methods onCreateLicenseVersionRequest.Builderto 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.Builderavoiding the need to create one manually viaCreateTokenRequest.builder()- Parameters:
createTokenRequest- AConsumerthat will call methods onCreateTokenRequest.Builderto 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.Builderavoiding the need to create one manually viaDeleteGrantRequest.builder()- Parameters:
deleteGrantRequest- AConsumerthat will call methods onDeleteGrantRequest.Builderto 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.Builderavoiding the need to create one manually viaDeleteLicenseRequest.builder()- Parameters:
deleteLicenseRequest- AConsumerthat will call methods onDeleteLicenseRequest.Builderto 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.Builderavoiding the need to create one manually viaDeleteLicenseConfigurationRequest.builder()- Parameters:
deleteLicenseConfigurationRequest- AConsumerthat will call methods onDeleteLicenseConfigurationRequest.Builderto 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.Builderavoiding the need to create one manually viaDeleteLicenseManagerReportGeneratorRequest.builder()- Parameters:
deleteLicenseManagerReportGeneratorRequest- AConsumerthat will call methods onDeleteLicenseManagerReportGeneratorRequest.Builderto 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.Builderavoiding the need to create one manually viaDeleteTokenRequest.builder()- Parameters:
deleteTokenRequest- AConsumerthat will call methods onDeleteTokenRequest.Builderto 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.Builderavoiding the need to create one manually viaExtendLicenseConsumptionRequest.builder()- Parameters:
extendLicenseConsumptionRequest- AConsumerthat will call methods onExtendLicenseConsumptionRequest.Builderto 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.Builderavoiding the need to create one manually viaGetAccessTokenRequest.builder()- Parameters:
getAccessTokenRequest- AConsumerthat will call methods onGetAccessTokenRequest.Builderto 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.Builderavoiding the need to create one manually viaGetGrantRequest.builder()- Parameters:
getGrantRequest- AConsumerthat will call methods onGetGrantRequest.Builderto 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.Builderavoiding the need to create one manually viaGetLicenseRequest.builder()- Parameters:
getLicenseRequest- AConsumerthat will call methods onGetLicenseRequest.Builderto 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.Builderavoiding the need to create one manually viaGetLicenseConfigurationRequest.builder()- Parameters:
getLicenseConfigurationRequest- AConsumerthat will call methods onGetLicenseConfigurationRequest.Builderto 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.Builderavoiding the need to create one manually viaGetLicenseConversionTaskRequest.builder()- Parameters:
getLicenseConversionTaskRequest- AConsumerthat will call methods onGetLicenseConversionTaskRequest.Builderto 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.Builderavoiding the need to create one manually viaGetLicenseManagerReportGeneratorRequest.builder()- Parameters:
getLicenseManagerReportGeneratorRequest- AConsumerthat will call methods onGetLicenseManagerReportGeneratorRequest.Builderto 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.Builderavoiding the need to create one manually viaGetLicenseUsageRequest.builder()- Parameters:
getLicenseUsageRequest- AConsumerthat will call methods onGetLicenseUsageRequest.Builderto 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.Builderavoiding the need to create one manually viaGetServiceSettingsRequest.builder()- Parameters:
getServiceSettingsRequest- AConsumerthat will call methods onGetServiceSettingsRequest.Builderto 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.Builderavoiding the need to create one manually viaListAssociationsForLicenseConfigurationRequest.builder()- Parameters:
listAssociationsForLicenseConfigurationRequest- AConsumerthat will call methods onListAssociationsForLicenseConfigurationRequest.Builderto 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.Builderavoiding the need to create one manually viaListDistributedGrantsRequest.builder()- Parameters:
listDistributedGrantsRequest- AConsumerthat will call methods onListDistributedGrantsRequest.Builderto 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.Builderavoiding the need to create one manually viaListFailuresForLicenseConfigurationOperationsRequest.builder()- Parameters:
listFailuresForLicenseConfigurationOperationsRequest- AConsumerthat will call methods onListFailuresForLicenseConfigurationOperationsRequest.Builderto 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.Builderavoiding the need to create one manually viaListLicenseConfigurationsRequest.builder()- Parameters:
listLicenseConfigurationsRequest- AConsumerthat will call methods onListLicenseConfigurationsRequest.Builderto 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.Builderavoiding the need to create one manually viaListLicenseConversionTasksRequest.builder()- Parameters:
listLicenseConversionTasksRequest- AConsumerthat will call methods onListLicenseConversionTasksRequest.Builderto 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.Builderavoiding the need to create one manually viaListLicenseManagerReportGeneratorsRequest.builder()- Parameters:
listLicenseManagerReportGeneratorsRequest- AConsumerthat will call methods onListLicenseManagerReportGeneratorsRequest.Builderto 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.Builderavoiding the need to create one manually viaListLicenseSpecificationsForResourceRequest.builder()- Parameters:
listLicenseSpecificationsForResourceRequest- AConsumerthat will call methods onListLicenseSpecificationsForResourceRequest.Builderto 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.Builderavoiding the need to create one manually viaListLicenseVersionsRequest.builder()- Parameters:
listLicenseVersionsRequest- AConsumerthat will call methods onListLicenseVersionsRequest.Builderto 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.Builderavoiding the need to create one manually viaListLicensesRequest.builder()- Parameters:
listLicensesRequest- AConsumerthat will call methods onListLicensesRequest.Builderto 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.Builderavoiding the need to create one manually viaListReceivedGrantsRequest.builder()- Parameters:
listReceivedGrantsRequest- AConsumerthat will call methods onListReceivedGrantsRequest.Builderto 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.Builderavoiding the need to create one manually viaListReceivedGrantsForOrganizationRequest.builder()- Parameters:
listReceivedGrantsForOrganizationRequest- AConsumerthat will call methods onListReceivedGrantsForOrganizationRequest.Builderto 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.Builderavoiding the need to create one manually viaListReceivedLicensesRequest.builder()- Parameters:
listReceivedLicensesRequest- AConsumerthat will call methods onListReceivedLicensesRequest.Builderto 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.Builderavoiding the need to create one manually viaListReceivedLicensesForOrganizationRequest.builder()- Parameters:
listReceivedLicensesForOrganizationRequest- AConsumerthat will call methods onListReceivedLicensesForOrganizationRequest.Builderto 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.Builderavoiding the need to create one manually viaListResourceInventoryRequest.builder()- Parameters:
listResourceInventoryRequest- AConsumerthat will call methods onListResourceInventoryRequest.Builderto 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.Builderavoiding the need to create one manually viaListTagsForResourceRequest.builder()- Parameters:
listTagsForResourceRequest- AConsumerthat will call methods onListTagsForResourceRequest.Builderto 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.Builderavoiding the need to create one manually viaListTokensRequest.builder()- Parameters:
listTokensRequest- AConsumerthat will call methods onListTokensRequest.Builderto 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.Builderavoiding the need to create one manually viaListUsageForLicenseConfigurationRequest.builder()- Parameters:
listUsageForLicenseConfigurationRequest- AConsumerthat will call methods onListUsageForLicenseConfigurationRequest.Builderto 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.Builderavoiding the need to create one manually viaRejectGrantRequest.builder()- Parameters:
rejectGrantRequest- AConsumerthat will call methods onRejectGrantRequest.Builderto 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.Builderavoiding the need to create one manually viaTagResourceRequest.builder()- Parameters:
tagResourceRequest- AConsumerthat will call methods onTagResourceRequest.Builderto 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.Builderavoiding the need to create one manually viaUntagResourceRequest.builder()- Parameters:
untagResourceRequest- AConsumerthat will call methods onUntagResourceRequest.Builderto 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.Builderavoiding the need to create one manually viaUpdateLicenseConfigurationRequest.builder()- Parameters:
updateLicenseConfigurationRequest- AConsumerthat will call methods onUpdateLicenseConfigurationRequest.Builderto 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.Builderavoiding the need to create one manually viaUpdateLicenseManagerReportGeneratorRequest.builder()- Parameters:
updateLicenseManagerReportGeneratorRequest- AConsumerthat will call methods onUpdateLicenseManagerReportGeneratorRequest.Builderto 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.Builderavoiding the need to create one manually viaUpdateLicenseSpecificationsForResourceRequest.builder()- Parameters:
updateLicenseSpecificationsForResourceRequest- AConsumerthat will call methods onUpdateLicenseSpecificationsForResourceRequest.Builderto 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.Builderavoiding the need to create one manually viaUpdateServiceSettingsRequest.builder()- Parameters:
updateServiceSettingsRequest- AConsumerthat will call methods onUpdateServiceSettingsRequest.Builderto 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:SdkClientThe SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient- Returns:
- SdkServiceClientConfiguration
-
create
Create aLicenseManagerAsyncClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider. -
builder
Create a builder that can be used to configure and create aLicenseManagerAsyncClient.
-