@Generated(value="software.amazon.awssdk:codegen") public interface LicenseManagerClient extends SdkClient
builder()
method.
AWS License Manager makes it easier to manage licenses from software vendors across multiple AWS accounts and on-premises servers.
Modifier and Type | Field and Description |
---|---|
static String |
SERVICE_METADATA_ID
Value for looking up the service's metadata from the
ServiceMetadataProvider . |
static String |
SERVICE_NAME |
Modifier and Type | Method and Description |
---|---|
default AcceptGrantResponse |
acceptGrant(AcceptGrantRequest acceptGrantRequest)
Accepts the specified grant.
|
default AcceptGrantResponse |
acceptGrant(Consumer<AcceptGrantRequest.Builder> acceptGrantRequest)
Accepts the specified grant.
|
static LicenseManagerClientBuilder |
builder()
Create a builder that can be used to configure and create a
LicenseManagerClient . |
default CheckInLicenseResponse |
checkInLicense(CheckInLicenseRequest checkInLicenseRequest)
Checks in the specified license.
|
default CheckInLicenseResponse |
checkInLicense(Consumer<CheckInLicenseRequest.Builder> checkInLicenseRequest)
Checks in the specified license.
|
default CheckoutBorrowLicenseResponse |
checkoutBorrowLicense(CheckoutBorrowLicenseRequest checkoutBorrowLicenseRequest)
Checks out the specified license for offline use.
|
default CheckoutBorrowLicenseResponse |
checkoutBorrowLicense(Consumer<CheckoutBorrowLicenseRequest.Builder> checkoutBorrowLicenseRequest)
Checks out the specified license for offline use.
|
default CheckoutLicenseResponse |
checkoutLicense(CheckoutLicenseRequest checkoutLicenseRequest)
Checks out the specified license.
|
default CheckoutLicenseResponse |
checkoutLicense(Consumer<CheckoutLicenseRequest.Builder> checkoutLicenseRequest)
Checks out the specified license.
|
static LicenseManagerClient |
create()
Create a
LicenseManagerClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider . |
default CreateGrantResponse |
createGrant(Consumer<CreateGrantRequest.Builder> createGrantRequest)
Creates a grant for the specified license.
|
default CreateGrantResponse |
createGrant(CreateGrantRequest createGrantRequest)
Creates a grant for the specified license.
|
default CreateGrantVersionResponse |
createGrantVersion(Consumer<CreateGrantVersionRequest.Builder> createGrantVersionRequest)
Creates a new version of the specified grant.
|
default CreateGrantVersionResponse |
createGrantVersion(CreateGrantVersionRequest createGrantVersionRequest)
Creates a new version of the specified grant.
|
default CreateLicenseResponse |
createLicense(Consumer<CreateLicenseRequest.Builder> createLicenseRequest)
Creates a license.
|
default CreateLicenseResponse |
createLicense(CreateLicenseRequest createLicenseRequest)
Creates a license.
|
default CreateLicenseConfigurationResponse |
createLicenseConfiguration(Consumer<CreateLicenseConfigurationRequest.Builder> createLicenseConfigurationRequest)
Creates a license configuration.
|
default CreateLicenseConfigurationResponse |
createLicenseConfiguration(CreateLicenseConfigurationRequest createLicenseConfigurationRequest)
Creates a license configuration.
|
default CreateLicenseVersionResponse |
createLicenseVersion(Consumer<CreateLicenseVersionRequest.Builder> createLicenseVersionRequest)
Creates a new version of the specified license.
|
default CreateLicenseVersionResponse |
createLicenseVersion(CreateLicenseVersionRequest createLicenseVersionRequest)
Creates a new version of the specified license.
|
default CreateTokenResponse |
createToken(Consumer<CreateTokenRequest.Builder> createTokenRequest)
Creates a long-lived token.
|
default CreateTokenResponse |
createToken(CreateTokenRequest createTokenRequest)
Creates a long-lived token.
|
default DeleteGrantResponse |
deleteGrant(Consumer<DeleteGrantRequest.Builder> deleteGrantRequest)
Deletes the specified grant.
|
default DeleteGrantResponse |
deleteGrant(DeleteGrantRequest deleteGrantRequest)
Deletes the specified grant.
|
default DeleteLicenseResponse |
deleteLicense(Consumer<DeleteLicenseRequest.Builder> deleteLicenseRequest)
Deletes the specified license.
|
default DeleteLicenseResponse |
deleteLicense(DeleteLicenseRequest deleteLicenseRequest)
Deletes the specified license.
|
default DeleteLicenseConfigurationResponse |
deleteLicenseConfiguration(Consumer<DeleteLicenseConfigurationRequest.Builder> deleteLicenseConfigurationRequest)
Deletes the specified license configuration.
|
default DeleteLicenseConfigurationResponse |
deleteLicenseConfiguration(DeleteLicenseConfigurationRequest deleteLicenseConfigurationRequest)
Deletes the specified license configuration.
|
default DeleteTokenResponse |
deleteToken(Consumer<DeleteTokenRequest.Builder> deleteTokenRequest)
Deletes the specified token.
|
default DeleteTokenResponse |
deleteToken(DeleteTokenRequest deleteTokenRequest)
Deletes the specified token.
|
default ExtendLicenseConsumptionResponse |
extendLicenseConsumption(Consumer<ExtendLicenseConsumptionRequest.Builder> extendLicenseConsumptionRequest)
Extends the expiration date for license consumption.
|
default ExtendLicenseConsumptionResponse |
extendLicenseConsumption(ExtendLicenseConsumptionRequest extendLicenseConsumptionRequest)
Extends the expiration date for license consumption.
|
default GetAccessTokenResponse |
getAccessToken(Consumer<GetAccessTokenRequest.Builder> getAccessTokenRequest)
Gets a temporary access token to use with AssumeRoleWithWebIdentity.
|
default GetAccessTokenResponse |
getAccessToken(GetAccessTokenRequest getAccessTokenRequest)
Gets a temporary access token to use with AssumeRoleWithWebIdentity.
|
default GetGrantResponse |
getGrant(Consumer<GetGrantRequest.Builder> getGrantRequest)
Gets detailed information about the specified grant.
|
default GetGrantResponse |
getGrant(GetGrantRequest getGrantRequest)
Gets detailed information about the specified grant.
|
default GetLicenseResponse |
getLicense(Consumer<GetLicenseRequest.Builder> getLicenseRequest)
Gets detailed information about the specified license.
|
default GetLicenseResponse |
getLicense(GetLicenseRequest getLicenseRequest)
Gets detailed information about the specified license.
|
default GetLicenseConfigurationResponse |
getLicenseConfiguration(Consumer<GetLicenseConfigurationRequest.Builder> getLicenseConfigurationRequest)
Gets detailed information about the specified license configuration.
|
default GetLicenseConfigurationResponse |
getLicenseConfiguration(GetLicenseConfigurationRequest getLicenseConfigurationRequest)
Gets detailed information about the specified license configuration.
|
default GetLicenseUsageResponse |
getLicenseUsage(Consumer<GetLicenseUsageRequest.Builder> getLicenseUsageRequest)
Gets detailed information about the usage of the specified license.
|
default GetLicenseUsageResponse |
getLicenseUsage(GetLicenseUsageRequest getLicenseUsageRequest)
Gets detailed information about the usage of the specified license.
|
default GetServiceSettingsResponse |
getServiceSettings()
Gets the License Manager settings for the current Region.
|
default GetServiceSettingsResponse |
getServiceSettings(Consumer<GetServiceSettingsRequest.Builder> getServiceSettingsRequest)
Gets the License Manager settings for the current Region.
|
default GetServiceSettingsResponse |
getServiceSettings(GetServiceSettingsRequest getServiceSettingsRequest)
Gets the License Manager settings for the current Region.
|
default ListAssociationsForLicenseConfigurationResponse |
listAssociationsForLicenseConfiguration(Consumer<ListAssociationsForLicenseConfigurationRequest.Builder> listAssociationsForLicenseConfigurationRequest)
Lists the resource associations for the specified license configuration.
|
default ListAssociationsForLicenseConfigurationResponse |
listAssociationsForLicenseConfiguration(ListAssociationsForLicenseConfigurationRequest listAssociationsForLicenseConfigurationRequest)
Lists the resource associations for the specified license configuration.
|
default ListDistributedGrantsResponse |
listDistributedGrants(Consumer<ListDistributedGrantsRequest.Builder> listDistributedGrantsRequest)
Lists the grants distributed for the specified license.
|
default ListDistributedGrantsResponse |
listDistributedGrants(ListDistributedGrantsRequest listDistributedGrantsRequest)
Lists the grants distributed for the specified license.
|
default ListFailuresForLicenseConfigurationOperationsResponse |
listFailuresForLicenseConfigurationOperations(Consumer<ListFailuresForLicenseConfigurationOperationsRequest.Builder> listFailuresForLicenseConfigurationOperationsRequest)
Lists the license configuration operations that failed.
|
default ListFailuresForLicenseConfigurationOperationsResponse |
listFailuresForLicenseConfigurationOperations(ListFailuresForLicenseConfigurationOperationsRequest listFailuresForLicenseConfigurationOperationsRequest)
Lists the license configuration operations that failed.
|
default ListLicenseConfigurationsResponse |
listLicenseConfigurations()
Lists the license configurations for your account.
|
default ListLicenseConfigurationsResponse |
listLicenseConfigurations(Consumer<ListLicenseConfigurationsRequest.Builder> listLicenseConfigurationsRequest)
Lists the license configurations for your account.
|
default ListLicenseConfigurationsResponse |
listLicenseConfigurations(ListLicenseConfigurationsRequest listLicenseConfigurationsRequest)
Lists the license configurations for your account.
|
default ListLicensesResponse |
listLicenses(Consumer<ListLicensesRequest.Builder> listLicensesRequest)
Lists the licenses for your account.
|
default ListLicensesResponse |
listLicenses(ListLicensesRequest listLicensesRequest)
Lists the licenses for your account.
|
default ListLicenseSpecificationsForResourceResponse |
listLicenseSpecificationsForResource(Consumer<ListLicenseSpecificationsForResourceRequest.Builder> listLicenseSpecificationsForResourceRequest)
Describes the license configurations for the specified resource.
|
default ListLicenseSpecificationsForResourceResponse |
listLicenseSpecificationsForResource(ListLicenseSpecificationsForResourceRequest listLicenseSpecificationsForResourceRequest)
Describes the license configurations for the specified resource.
|
default ListLicenseVersionsResponse |
listLicenseVersions(Consumer<ListLicenseVersionsRequest.Builder> listLicenseVersionsRequest)
Lists all versions of the specified license.
|
default ListLicenseVersionsResponse |
listLicenseVersions(ListLicenseVersionsRequest listLicenseVersionsRequest)
Lists all versions of the specified license.
|
default ListReceivedGrantsResponse |
listReceivedGrants(Consumer<ListReceivedGrantsRequest.Builder> listReceivedGrantsRequest)
Lists grants that are received but not accepted.
|
default ListReceivedGrantsResponse |
listReceivedGrants(ListReceivedGrantsRequest listReceivedGrantsRequest)
Lists grants that are received but not accepted.
|
default ListReceivedLicensesResponse |
listReceivedLicenses(Consumer<ListReceivedLicensesRequest.Builder> listReceivedLicensesRequest)
Lists received licenses.
|
default ListReceivedLicensesResponse |
listReceivedLicenses(ListReceivedLicensesRequest listReceivedLicensesRequest)
Lists received licenses.
|
default ListResourceInventoryResponse |
listResourceInventory(Consumer<ListResourceInventoryRequest.Builder> listResourceInventoryRequest)
Lists resources managed using Systems Manager inventory.
|
default ListResourceInventoryResponse |
listResourceInventory(ListResourceInventoryRequest listResourceInventoryRequest)
Lists resources managed using Systems Manager inventory.
|
default ListTagsForResourceResponse |
listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest)
Lists the tags for the specified license configuration.
|
default ListTagsForResourceResponse |
listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
Lists the tags for the specified license configuration.
|
default ListTokensResponse |
listTokens(Consumer<ListTokensRequest.Builder> listTokensRequest)
Lists your tokens.
|
default ListTokensResponse |
listTokens(ListTokensRequest listTokensRequest)
Lists your tokens.
|
default 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.
|
default 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.
|
default RejectGrantResponse |
rejectGrant(Consumer<RejectGrantRequest.Builder> rejectGrantRequest)
Rejects the specified grant.
|
default RejectGrantResponse |
rejectGrant(RejectGrantRequest rejectGrantRequest)
Rejects the specified grant.
|
static ServiceMetadata |
serviceMetadata() |
default TagResourceResponse |
tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest)
Adds the specified tags to the specified license configuration.
|
default TagResourceResponse |
tagResource(TagResourceRequest tagResourceRequest)
Adds the specified tags to the specified license configuration.
|
default UntagResourceResponse |
untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest)
Removes the specified tags from the specified license configuration.
|
default UntagResourceResponse |
untagResource(UntagResourceRequest untagResourceRequest)
Removes the specified tags from the specified license configuration.
|
default UpdateLicenseConfigurationResponse |
updateLicenseConfiguration(Consumer<UpdateLicenseConfigurationRequest.Builder> updateLicenseConfigurationRequest)
Modifies the attributes of an existing license configuration.
|
default UpdateLicenseConfigurationResponse |
updateLicenseConfiguration(UpdateLicenseConfigurationRequest updateLicenseConfigurationRequest)
Modifies the attributes of an existing license configuration.
|
default UpdateLicenseSpecificationsForResourceResponse |
updateLicenseSpecificationsForResource(Consumer<UpdateLicenseSpecificationsForResourceRequest.Builder> updateLicenseSpecificationsForResourceRequest)
Adds or removes the specified license configurations for the specified AWS resource.
|
default UpdateLicenseSpecificationsForResourceResponse |
updateLicenseSpecificationsForResource(UpdateLicenseSpecificationsForResourceRequest updateLicenseSpecificationsForResourceRequest)
Adds or removes the specified license configurations for the specified AWS resource.
|
default UpdateServiceSettingsResponse |
updateServiceSettings(Consumer<UpdateServiceSettingsRequest.Builder> updateServiceSettingsRequest)
Updates License Manager settings for the current Region.
|
default UpdateServiceSettingsResponse |
updateServiceSettings(UpdateServiceSettingsRequest updateServiceSettingsRequest)
Updates License Manager settings for the current Region.
|
serviceName
close
static final String SERVICE_NAME
static final String SERVICE_METADATA_ID
ServiceMetadataProvider
.static LicenseManagerClient create()
LicenseManagerClient
with the region loaded from the
DefaultAwsRegionProviderChain
and credentials loaded from the
DefaultCredentialsProvider
.static LicenseManagerClientBuilder builder()
LicenseManagerClient
.default AcceptGrantResponse acceptGrant(AcceptGrantRequest acceptGrantRequest) throws ValidationException, InvalidParameterValueException, AuthorizationException, AccessDeniedException, RateLimitExceededException, ResourceLimitExceededException, ServerInternalException, AwsServiceException, SdkClientException, LicenseManagerException
Accepts the specified grant.
acceptGrantRequest
- ValidationException
- The provided input is not valid. Try your request again.InvalidParameterValueException
- One or more parameter values are not valid.AuthorizationException
- The AWS user account does not have permission to perform the action. Check the 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.AwsServiceException
default AcceptGrantResponse acceptGrant(Consumer<AcceptGrantRequest.Builder> acceptGrantRequest) throws ValidationException, InvalidParameterValueException, AuthorizationException, AccessDeniedException, RateLimitExceededException, ResourceLimitExceededException, ServerInternalException, AwsServiceException, SdkClientException, LicenseManagerException
Accepts the specified grant.
This is a convenience which creates an instance of the AcceptGrantRequest.Builder
avoiding the need to
create one manually via AcceptGrantRequest.builder()
acceptGrantRequest
- A Consumer
that will call methods on AcceptGrantRequest.Builder
to create a request.ValidationException
- The provided input is not valid. Try your request again.InvalidParameterValueException
- One or more parameter values are not valid.AuthorizationException
- The AWS user account does not have permission to perform the action. Check the 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.AwsServiceException
default CheckInLicenseResponse checkInLicense(CheckInLicenseRequest checkInLicenseRequest) throws ValidationException, ResourceNotFoundException, ConflictException, AuthorizationException, AccessDeniedException, RateLimitExceededException, ServerInternalException, AwsServiceException, SdkClientException, LicenseManagerException
Checks in the specified license. Check in a license when it is no longer in use.
checkInLicenseRequest
- ValidationException
- The provided input is not valid. Try your request again.ResourceNotFoundException
- The resource cannot be found.ConflictException
- There was a conflict processing the request. Try your request again.AuthorizationException
- The AWS user account does not have permission to perform the action. Check the 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.AwsServiceException
default CheckInLicenseResponse checkInLicense(Consumer<CheckInLicenseRequest.Builder> checkInLicenseRequest) throws ValidationException, ResourceNotFoundException, ConflictException, AuthorizationException, AccessDeniedException, RateLimitExceededException, ServerInternalException, AwsServiceException, SdkClientException, LicenseManagerException
Checks in the specified license. Check in a license when it is no longer in use.
This is a convenience which creates an instance of the CheckInLicenseRequest.Builder
avoiding the need to
create one manually via CheckInLicenseRequest.builder()
checkInLicenseRequest
- A Consumer
that will call methods on CheckInLicenseRequest.Builder
to create a request.ValidationException
- The provided input is not valid. Try your request again.ResourceNotFoundException
- The resource cannot be found.ConflictException
- There was a conflict processing the request. Try your request again.AuthorizationException
- The AWS user account does not have permission to perform the action. Check the 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.AwsServiceException
default CheckoutBorrowLicenseResponse checkoutBorrowLicense(CheckoutBorrowLicenseRequest checkoutBorrowLicenseRequest) throws ValidationException, ResourceNotFoundException, NoEntitlementsAllowedException, EntitlementNotAllowedException, UnsupportedDigitalSignatureMethodException, RedirectException, AuthorizationException, AccessDeniedException, RateLimitExceededException, ServerInternalException, AwsServiceException, SdkClientException, LicenseManagerException
Checks out the specified license for offline use.
checkoutBorrowLicenseRequest
- ValidationException
- The provided input is not valid. Try your request again.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 AWS user account does not have permission to perform the action. Check the 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.AwsServiceException
default CheckoutBorrowLicenseResponse checkoutBorrowLicense(Consumer<CheckoutBorrowLicenseRequest.Builder> checkoutBorrowLicenseRequest) throws ValidationException, ResourceNotFoundException, NoEntitlementsAllowedException, EntitlementNotAllowedException, UnsupportedDigitalSignatureMethodException, RedirectException, AuthorizationException, AccessDeniedException, RateLimitExceededException, ServerInternalException, AwsServiceException, SdkClientException, LicenseManagerException
Checks out the specified license for offline use.
This is a convenience which creates an instance of the CheckoutBorrowLicenseRequest.Builder
avoiding the
need to create one manually via CheckoutBorrowLicenseRequest.builder()
checkoutBorrowLicenseRequest
- A Consumer
that will call methods on CheckoutBorrowLicenseRequest.Builder
to create a
request.ValidationException
- The provided input is not valid. Try your request again.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 AWS user account does not have permission to perform the action. Check the 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.AwsServiceException
default CheckoutLicenseResponse checkoutLicense(CheckoutLicenseRequest checkoutLicenseRequest) throws ValidationException, ResourceNotFoundException, NoEntitlementsAllowedException, UnsupportedDigitalSignatureMethodException, RedirectException, AuthorizationException, AccessDeniedException, RateLimitExceededException, ServerInternalException, AwsServiceException, SdkClientException, LicenseManagerException
Checks out the specified license.
checkoutLicenseRequest
- ValidationException
- The provided input is not valid. Try your request again.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 AWS user account does not have permission to perform the action. Check the 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.AwsServiceException
default CheckoutLicenseResponse checkoutLicense(Consumer<CheckoutLicenseRequest.Builder> checkoutLicenseRequest) throws ValidationException, ResourceNotFoundException, NoEntitlementsAllowedException, UnsupportedDigitalSignatureMethodException, RedirectException, AuthorizationException, AccessDeniedException, RateLimitExceededException, ServerInternalException, AwsServiceException, SdkClientException, LicenseManagerException
Checks out the specified license.
This is a convenience which creates an instance of the CheckoutLicenseRequest.Builder
avoiding the need
to create one manually via CheckoutLicenseRequest.builder()
checkoutLicenseRequest
- A Consumer
that will call methods on CheckoutLicenseRequest.Builder
to create a request.ValidationException
- The provided input is not valid. Try your request again.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 AWS user account does not have permission to perform the action. Check the 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.AwsServiceException
default CreateGrantResponse createGrant(CreateGrantRequest createGrantRequest) throws ValidationException, InvalidParameterValueException, ResourceLimitExceededException, ServerInternalException, AuthorizationException, RateLimitExceededException, AccessDeniedException, AwsServiceException, SdkClientException, LicenseManagerException
Creates a grant for the specified license. A grant shares the use of license entitlements with specific AWS accounts.
createGrantRequest
- 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 AWS 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.AwsServiceException
default CreateGrantResponse createGrant(Consumer<CreateGrantRequest.Builder> createGrantRequest) throws ValidationException, InvalidParameterValueException, ResourceLimitExceededException, ServerInternalException, AuthorizationException, RateLimitExceededException, AccessDeniedException, AwsServiceException, SdkClientException, LicenseManagerException
Creates a grant for the specified license. A grant shares the use of license entitlements with specific AWS accounts.
This is a convenience which creates an instance of the CreateGrantRequest.Builder
avoiding the need to
create one manually via CreateGrantRequest.builder()
createGrantRequest
- A Consumer
that will call methods on CreateGrantRequest.Builder
to create a request.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 AWS 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.AwsServiceException
default CreateGrantVersionResponse createGrantVersion(CreateGrantVersionRequest createGrantVersionRequest) throws ValidationException, InvalidParameterValueException, ResourceLimitExceededException, ServerInternalException, AuthorizationException, AccessDeniedException, RateLimitExceededException, AwsServiceException, SdkClientException, LicenseManagerException
Creates a new version of the specified grant.
createGrantVersionRequest
- 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 AWS user account does not have permission to perform the action. Check the 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.AwsServiceException
default CreateGrantVersionResponse createGrantVersion(Consumer<CreateGrantVersionRequest.Builder> createGrantVersionRequest) throws ValidationException, InvalidParameterValueException, ResourceLimitExceededException, ServerInternalException, AuthorizationException, AccessDeniedException, RateLimitExceededException, AwsServiceException, SdkClientException, LicenseManagerException
Creates a new version of the specified grant.
This is a convenience which creates an instance of the CreateGrantVersionRequest.Builder
avoiding the
need to create one manually via CreateGrantVersionRequest.builder()
createGrantVersionRequest
- A Consumer
that will call methods on CreateGrantVersionRequest.Builder
to create a
request.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 AWS user account does not have permission to perform the action. Check the 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.AwsServiceException
default CreateLicenseResponse createLicense(CreateLicenseRequest createLicenseRequest) throws ValidationException, InvalidParameterValueException, RedirectException, AuthorizationException, AccessDeniedException, RateLimitExceededException, ServerInternalException, AwsServiceException, SdkClientException, LicenseManagerException
Creates a license.
createLicenseRequest
- 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 AWS user account does not have permission to perform the action. Check the 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.AwsServiceException
default CreateLicenseResponse createLicense(Consumer<CreateLicenseRequest.Builder> createLicenseRequest) throws ValidationException, InvalidParameterValueException, RedirectException, AuthorizationException, AccessDeniedException, RateLimitExceededException, ServerInternalException, AwsServiceException, SdkClientException, LicenseManagerException
Creates a license.
This is a convenience which creates an instance of the CreateLicenseRequest.Builder
avoiding the need to
create one manually via CreateLicenseRequest.builder()
createLicenseRequest
- A Consumer
that will call methods on CreateLicenseRequest.Builder
to create a request.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 AWS user account does not have permission to perform the action. Check the 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.AwsServiceException
default CreateLicenseConfigurationResponse createLicenseConfiguration(CreateLicenseConfigurationRequest createLicenseConfigurationRequest) throws InvalidParameterValueException, ServerInternalException, ResourceLimitExceededException, AuthorizationException, AccessDeniedException, RateLimitExceededException, AwsServiceException, SdkClientException, LicenseManagerException
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.
createLicenseConfigurationRequest
- 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 AWS user account does not have permission to perform the action. Check the 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.AwsServiceException
default CreateLicenseConfigurationResponse createLicenseConfiguration(Consumer<CreateLicenseConfigurationRequest.Builder> createLicenseConfigurationRequest) throws InvalidParameterValueException, ServerInternalException, ResourceLimitExceededException, AuthorizationException, AccessDeniedException, RateLimitExceededException, AwsServiceException, SdkClientException, LicenseManagerException
Creates a license configuration.
A license configuration is an abstraction of a customer license agreement that can be consumed and enforced by License Manager. Components include specifications for the license type (licensing by instance, socket, CPU, or vCPU), allowed tenancy (shared tenancy, Dedicated Instance, Dedicated Host, or all of these), license affinity to host (how long a license must be associated with a host), and the number of licenses purchased and used.
This is a convenience which creates an instance of the CreateLicenseConfigurationRequest.Builder
avoiding
the need to create one manually via CreateLicenseConfigurationRequest.builder()
createLicenseConfigurationRequest
- A Consumer
that will call methods on CreateLicenseConfigurationRequest.Builder
to create a
request.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 AWS user account does not have permission to perform the action. Check the 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.AwsServiceException
default CreateLicenseVersionResponse createLicenseVersion(CreateLicenseVersionRequest createLicenseVersionRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, RedirectException, ConflictException, ServerInternalException, AuthorizationException, RateLimitExceededException, AwsServiceException, SdkClientException, LicenseManagerException
Creates a new version of the specified license.
createLicenseVersionRequest
- 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 AWS 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.AwsServiceException
default CreateLicenseVersionResponse createLicenseVersion(Consumer<CreateLicenseVersionRequest.Builder> createLicenseVersionRequest) throws ValidationException, AccessDeniedException, ResourceNotFoundException, RedirectException, ConflictException, ServerInternalException, AuthorizationException, RateLimitExceededException, AwsServiceException, SdkClientException, LicenseManagerException
Creates a new version of the specified license.
This is a convenience which creates an instance of the CreateLicenseVersionRequest.Builder
avoiding the
need to create one manually via CreateLicenseVersionRequest.builder()
createLicenseVersionRequest
- A Consumer
that will call methods on CreateLicenseVersionRequest.Builder
to create a
request.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 AWS 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.AwsServiceException
default CreateTokenResponse createToken(CreateTokenRequest createTokenRequest) throws ValidationException, AuthorizationException, AccessDeniedException, RateLimitExceededException, ResourceLimitExceededException, ServerInternalException, ResourceNotFoundException, RedirectException, AwsServiceException, SdkClientException, LicenseManagerException
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.
createTokenRequest
- ValidationException
- The provided input is not valid. Try your request again.AuthorizationException
- The AWS user account does not have permission to perform the action. Check the 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.AwsServiceException
default CreateTokenResponse createToken(Consumer<CreateTokenRequest.Builder> createTokenRequest) throws ValidationException, AuthorizationException, AccessDeniedException, RateLimitExceededException, ResourceLimitExceededException, ServerInternalException, ResourceNotFoundException, RedirectException, AwsServiceException, SdkClientException, LicenseManagerException
Creates a long-lived token.
A refresh token is a JWT token used to get an access token. With an access token, you can call AssumeRoleWithWebIdentity to get role credentials that you can use to call License Manager to manage the specified license.
This is a convenience which creates an instance of the CreateTokenRequest.Builder
avoiding the need to
create one manually via CreateTokenRequest.builder()
createTokenRequest
- A Consumer
that will call methods on CreateTokenRequest.Builder
to create a request.ValidationException
- The provided input is not valid. Try your request again.AuthorizationException
- The AWS user account does not have permission to perform the action. Check the 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.AwsServiceException
default DeleteGrantResponse deleteGrant(DeleteGrantRequest deleteGrantRequest) throws ValidationException, InvalidParameterValueException, AuthorizationException, AccessDeniedException, RateLimitExceededException, ResourceLimitExceededException, ServerInternalException, AwsServiceException, SdkClientException, LicenseManagerException
Deletes the specified grant.
deleteGrantRequest
- ValidationException
- The provided input is not valid. Try your request again.InvalidParameterValueException
- One or more parameter values are not valid.AuthorizationException
- The AWS user account does not have permission to perform the action. Check the 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.AwsServiceException
default DeleteGrantResponse deleteGrant(Consumer<DeleteGrantRequest.Builder> deleteGrantRequest) throws ValidationException, InvalidParameterValueException, AuthorizationException, AccessDeniedException, RateLimitExceededException, ResourceLimitExceededException, ServerInternalException, AwsServiceException, SdkClientException, LicenseManagerException
Deletes the specified grant.
This is a convenience which creates an instance of the DeleteGrantRequest.Builder
avoiding the need to
create one manually via DeleteGrantRequest.builder()
deleteGrantRequest
- A Consumer
that will call methods on DeleteGrantRequest.Builder
to create a request.ValidationException
- The provided input is not valid. Try your request again.InvalidParameterValueException
- One or more parameter values are not valid.AuthorizationException
- The AWS user account does not have permission to perform the action. Check the 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.AwsServiceException
default DeleteLicenseResponse deleteLicense(DeleteLicenseRequest deleteLicenseRequest) throws ValidationException, InvalidParameterValueException, RedirectException, ConflictException, ServerInternalException, AuthorizationException, AccessDeniedException, RateLimitExceededException, AwsServiceException, SdkClientException, LicenseManagerException
Deletes the specified license.
deleteLicenseRequest
- 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 AWS user account does not have permission to perform the action. Check the 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.AwsServiceException
default DeleteLicenseResponse deleteLicense(Consumer<DeleteLicenseRequest.Builder> deleteLicenseRequest) throws ValidationException, InvalidParameterValueException, RedirectException, ConflictException, ServerInternalException, AuthorizationException, AccessDeniedException, RateLimitExceededException, AwsServiceException, SdkClientException, LicenseManagerException
Deletes the specified license.
This is a convenience which creates an instance of the DeleteLicenseRequest.Builder
avoiding the need to
create one manually via DeleteLicenseRequest.builder()
deleteLicenseRequest
- A Consumer
that will call methods on DeleteLicenseRequest.Builder
to create a request.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 AWS user account does not have permission to perform the action. Check the 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.AwsServiceException
default DeleteLicenseConfigurationResponse deleteLicenseConfiguration(DeleteLicenseConfigurationRequest deleteLicenseConfigurationRequest) throws InvalidParameterValueException, ServerInternalException, AuthorizationException, AccessDeniedException, RateLimitExceededException, AwsServiceException, SdkClientException, LicenseManagerException
Deletes the specified license configuration.
You cannot delete a license configuration that is in use.
deleteLicenseConfigurationRequest
- InvalidParameterValueException
- One or more parameter values are not valid.ServerInternalException
- The server experienced an internal error. Try again.AuthorizationException
- The AWS user account does not have permission to perform the action. Check the 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.AwsServiceException
default DeleteLicenseConfigurationResponse deleteLicenseConfiguration(Consumer<DeleteLicenseConfigurationRequest.Builder> deleteLicenseConfigurationRequest) throws InvalidParameterValueException, ServerInternalException, AuthorizationException, AccessDeniedException, RateLimitExceededException, AwsServiceException, SdkClientException, LicenseManagerException
Deletes the specified license configuration.
You cannot delete a license configuration that is in use.
This is a convenience which creates an instance of the DeleteLicenseConfigurationRequest.Builder
avoiding
the need to create one manually via DeleteLicenseConfigurationRequest.builder()
deleteLicenseConfigurationRequest
- A Consumer
that will call methods on DeleteLicenseConfigurationRequest.Builder
to create a
request.InvalidParameterValueException
- One or more parameter values are not valid.ServerInternalException
- The server experienced an internal error. Try again.AuthorizationException
- The AWS user account does not have permission to perform the action. Check the 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.AwsServiceException
default DeleteTokenResponse deleteToken(DeleteTokenRequest deleteTokenRequest) throws ValidationException, AuthorizationException, AccessDeniedException, RateLimitExceededException, ServerInternalException, ResourceNotFoundException, RedirectException, AwsServiceException, SdkClientException, LicenseManagerException
Deletes the specified token. Must be called in the license home Region.
deleteTokenRequest
- ValidationException
- The provided input is not valid. Try your request again.AuthorizationException
- The AWS user account does not have permission to perform the action. Check the 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.AwsServiceException
default DeleteTokenResponse deleteToken(Consumer<DeleteTokenRequest.Builder> deleteTokenRequest) throws ValidationException, AuthorizationException, AccessDeniedException, RateLimitExceededException, ServerInternalException, ResourceNotFoundException, RedirectException, AwsServiceException, SdkClientException, LicenseManagerException
Deletes the specified token. Must be called in the license home Region.
This is a convenience which creates an instance of the DeleteTokenRequest.Builder
avoiding the need to
create one manually via DeleteTokenRequest.builder()
deleteTokenRequest
- A Consumer
that will call methods on DeleteTokenRequest.Builder
to create a request.ValidationException
- The provided input is not valid. Try your request again.AuthorizationException
- The AWS user account does not have permission to perform the action. Check the 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.AwsServiceException
default ExtendLicenseConsumptionResponse extendLicenseConsumption(ExtendLicenseConsumptionRequest extendLicenseConsumptionRequest) throws ValidationException, InvalidParameterValueException, AuthorizationException, AccessDeniedException, RateLimitExceededException, ServerInternalException, ResourceNotFoundException, AwsServiceException, SdkClientException, LicenseManagerException
Extends the expiration date for license consumption.
extendLicenseConsumptionRequest
- ValidationException
- The provided input is not valid. Try your request again.InvalidParameterValueException
- One or more parameter values are not valid.AuthorizationException
- The AWS user account does not have permission to perform the action. Check the 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.AwsServiceException
default ExtendLicenseConsumptionResponse extendLicenseConsumption(Consumer<ExtendLicenseConsumptionRequest.Builder> extendLicenseConsumptionRequest) throws ValidationException, InvalidParameterValueException, AuthorizationException, AccessDeniedException, RateLimitExceededException, ServerInternalException, ResourceNotFoundException, AwsServiceException, SdkClientException, LicenseManagerException
Extends the expiration date for license consumption.
This is a convenience which creates an instance of the ExtendLicenseConsumptionRequest.Builder
avoiding
the need to create one manually via ExtendLicenseConsumptionRequest.builder()
extendLicenseConsumptionRequest
- A Consumer
that will call methods on ExtendLicenseConsumptionRequest.Builder
to create a
request.ValidationException
- The provided input is not valid. Try your request again.InvalidParameterValueException
- One or more parameter values are not valid.AuthorizationException
- The AWS user account does not have permission to perform the action. Check the 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.AwsServiceException
default GetAccessTokenResponse getAccessToken(GetAccessTokenRequest getAccessTokenRequest) throws ValidationException, AuthorizationException, AccessDeniedException, RateLimitExceededException, ServerInternalException, AwsServiceException, SdkClientException, LicenseManagerException
Gets a temporary access token to use with AssumeRoleWithWebIdentity. Access tokens are valid for one hour.
getAccessTokenRequest
- ValidationException
- The provided input is not valid. Try your request again.AuthorizationException
- The AWS user account does not have permission to perform the action. Check the 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.AwsServiceException
default GetAccessTokenResponse getAccessToken(Consumer<GetAccessTokenRequest.Builder> getAccessTokenRequest) throws ValidationException, AuthorizationException, AccessDeniedException, RateLimitExceededException, ServerInternalException, AwsServiceException, SdkClientException, LicenseManagerException
Gets a temporary access token to use with AssumeRoleWithWebIdentity. Access tokens are valid for one hour.
This is a convenience which creates an instance of the GetAccessTokenRequest.Builder
avoiding the need to
create one manually via GetAccessTokenRequest.builder()
getAccessTokenRequest
- A Consumer
that will call methods on GetAccessTokenRequest.Builder
to create a request.ValidationException
- The provided input is not valid. Try your request again.AuthorizationException
- The AWS user account does not have permission to perform the action. Check the 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.AwsServiceException
default GetGrantResponse getGrant(GetGrantRequest getGrantRequest) throws ValidationException, InvalidParameterValueException, ResourceLimitExceededException, ServerInternalException, AuthorizationException, AccessDeniedException, RateLimitExceededException, AwsServiceException, SdkClientException, LicenseManagerException
Gets detailed information about the specified grant.
getGrantRequest
- 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 AWS user account does not have permission to perform the action. Check the 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.AwsServiceException
default GetGrantResponse getGrant(Consumer<GetGrantRequest.Builder> getGrantRequest) throws ValidationException, InvalidParameterValueException, ResourceLimitExceededException, ServerInternalException, AuthorizationException, AccessDeniedException, RateLimitExceededException, AwsServiceException, SdkClientException, LicenseManagerException
Gets detailed information about the specified grant.
This is a convenience which creates an instance of the GetGrantRequest.Builder
avoiding the need to
create one manually via GetGrantRequest.builder()
getGrantRequest
- A Consumer
that will call methods on GetGrantRequest.Builder
to create a request.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 AWS user account does not have permission to perform the action. Check the 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.AwsServiceException
default GetLicenseResponse getLicense(GetLicenseRequest getLicenseRequest) throws ValidationException, InvalidParameterValueException, AuthorizationException, AccessDeniedException, RateLimitExceededException, ServerInternalException, AwsServiceException, SdkClientException, LicenseManagerException
Gets detailed information about the specified license.
getLicenseRequest
- ValidationException
- The provided input is not valid. Try your request again.InvalidParameterValueException
- One or more parameter values are not valid.AuthorizationException
- The AWS user account does not have permission to perform the action. Check the 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.AwsServiceException
default GetLicenseResponse getLicense(Consumer<GetLicenseRequest.Builder> getLicenseRequest) throws ValidationException, InvalidParameterValueException, AuthorizationException, AccessDeniedException, RateLimitExceededException, ServerInternalException, AwsServiceException, SdkClientException, LicenseManagerException
Gets detailed information about the specified license.
This is a convenience which creates an instance of the GetLicenseRequest.Builder
avoiding the need to
create one manually via GetLicenseRequest.builder()
getLicenseRequest
- A Consumer
that will call methods on GetLicenseRequest.Builder
to create a request.ValidationException
- The provided input is not valid. Try your request again.InvalidParameterValueException
- One or more parameter values are not valid.AuthorizationException
- The AWS user account does not have permission to perform the action. Check the 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.AwsServiceException
default GetLicenseConfigurationResponse getLicenseConfiguration(GetLicenseConfigurationRequest getLicenseConfigurationRequest) throws InvalidParameterValueException, ServerInternalException, AuthorizationException, AccessDeniedException, RateLimitExceededException, AwsServiceException, SdkClientException, LicenseManagerException
Gets detailed information about the specified license configuration.
getLicenseConfigurationRequest
- InvalidParameterValueException
- One or more parameter values are not valid.ServerInternalException
- The server experienced an internal error. Try again.AuthorizationException
- The AWS user account does not have permission to perform the action. Check the 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.AwsServiceException
default GetLicenseConfigurationResponse getLicenseConfiguration(Consumer<GetLicenseConfigurationRequest.Builder> getLicenseConfigurationRequest) throws InvalidParameterValueException, ServerInternalException, AuthorizationException, AccessDeniedException, RateLimitExceededException, AwsServiceException, SdkClientException, LicenseManagerException
Gets detailed information about the specified license configuration.
This is a convenience which creates an instance of the GetLicenseConfigurationRequest.Builder
avoiding
the need to create one manually via GetLicenseConfigurationRequest.builder()
getLicenseConfigurationRequest
- A Consumer
that will call methods on GetLicenseConfigurationRequest.Builder
to create a
request.InvalidParameterValueException
- One or more parameter values are not valid.ServerInternalException
- The server experienced an internal error. Try again.AuthorizationException
- The AWS user account does not have permission to perform the action. Check the 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.AwsServiceException
default GetLicenseUsageResponse getLicenseUsage(GetLicenseUsageRequest getLicenseUsageRequest) throws ValidationException, InvalidParameterValueException, AuthorizationException, AccessDeniedException, RateLimitExceededException, ServerInternalException, AwsServiceException, SdkClientException, LicenseManagerException
Gets detailed information about the usage of the specified license.
getLicenseUsageRequest
- ValidationException
- The provided input is not valid. Try your request again.InvalidParameterValueException
- One or more parameter values are not valid.AuthorizationException
- The AWS user account does not have permission to perform the action. Check the 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.AwsServiceException
default GetLicenseUsageResponse getLicenseUsage(Consumer<GetLicenseUsageRequest.Builder> getLicenseUsageRequest) throws ValidationException, InvalidParameterValueException, AuthorizationException, AccessDeniedException, RateLimitExceededException, ServerInternalException, AwsServiceException, SdkClientException, LicenseManagerException
Gets detailed information about the usage of the specified license.
This is a convenience which creates an instance of the GetLicenseUsageRequest.Builder
avoiding the need
to create one manually via GetLicenseUsageRequest.builder()
getLicenseUsageRequest
- A Consumer
that will call methods on GetLicenseUsageRequest.Builder
to create a request.ValidationException
- The provided input is not valid. Try your request again.InvalidParameterValueException
- One or more parameter values are not valid.AuthorizationException
- The AWS user account does not have permission to perform the action. Check the 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.AwsServiceException
default GetServiceSettingsResponse getServiceSettings() throws ServerInternalException, AuthorizationException, AccessDeniedException, RateLimitExceededException, AwsServiceException, SdkClientException, LicenseManagerException
Gets the License Manager settings for the current Region.
ServerInternalException
- The server experienced an internal error. Try again.AuthorizationException
- The AWS user account does not have permission to perform the action. Check the 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.AwsServiceException
getServiceSettings(GetServiceSettingsRequest)
,
AWS API Documentationdefault GetServiceSettingsResponse getServiceSettings(GetServiceSettingsRequest getServiceSettingsRequest) throws ServerInternalException, AuthorizationException, AccessDeniedException, RateLimitExceededException, AwsServiceException, SdkClientException, LicenseManagerException
Gets the License Manager settings for the current Region.
getServiceSettingsRequest
- ServerInternalException
- The server experienced an internal error. Try again.AuthorizationException
- The AWS user account does not have permission to perform the action. Check the 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.AwsServiceException
default GetServiceSettingsResponse getServiceSettings(Consumer<GetServiceSettingsRequest.Builder> getServiceSettingsRequest) throws ServerInternalException, AuthorizationException, AccessDeniedException, RateLimitExceededException, AwsServiceException, SdkClientException, LicenseManagerException
Gets the License Manager settings for the current Region.
This is a convenience which creates an instance of the GetServiceSettingsRequest.Builder
avoiding the
need to create one manually via GetServiceSettingsRequest.builder()
getServiceSettingsRequest
- A Consumer
that will call methods on GetServiceSettingsRequest.Builder
to create a
request.ServerInternalException
- The server experienced an internal error. Try again.AuthorizationException
- The AWS user account does not have permission to perform the action. Check the 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.AwsServiceException
default ListAssociationsForLicenseConfigurationResponse listAssociationsForLicenseConfiguration(ListAssociationsForLicenseConfigurationRequest listAssociationsForLicenseConfigurationRequest) throws InvalidParameterValueException, FilterLimitExceededException, ServerInternalException, AuthorizationException, AccessDeniedException, RateLimitExceededException, AwsServiceException, SdkClientException, LicenseManagerException
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).
listAssociationsForLicenseConfigurationRequest
- 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 AWS user account does not have permission to perform the action. Check the 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.AwsServiceException
default ListAssociationsForLicenseConfigurationResponse listAssociationsForLicenseConfiguration(Consumer<ListAssociationsForLicenseConfigurationRequest.Builder> listAssociationsForLicenseConfigurationRequest) throws InvalidParameterValueException, FilterLimitExceededException, ServerInternalException, AuthorizationException, AccessDeniedException, RateLimitExceededException, AwsServiceException, SdkClientException, LicenseManagerException
Lists the resource associations for the specified license configuration.
Resource associations need not consume licenses from a license configuration. For example, an AMI or a stopped instance might not consume a license (depending on the license rules).
This is a convenience which creates an instance of the
ListAssociationsForLicenseConfigurationRequest.Builder
avoiding the need to create one manually via
ListAssociationsForLicenseConfigurationRequest.builder()
listAssociationsForLicenseConfigurationRequest
- A Consumer
that will call methods on
ListAssociationsForLicenseConfigurationRequest.Builder
to create a request.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 AWS user account does not have permission to perform the action. Check the 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.AwsServiceException
default ListDistributedGrantsResponse listDistributedGrants(ListDistributedGrantsRequest listDistributedGrantsRequest) throws ValidationException, InvalidParameterValueException, ResourceLimitExceededException, ServerInternalException, AuthorizationException, AccessDeniedException, RateLimitExceededException, AwsServiceException, SdkClientException, LicenseManagerException
Lists the grants distributed for the specified license.
listDistributedGrantsRequest
- 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 AWS user account does not have permission to perform the action. Check the 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.AwsServiceException
default ListDistributedGrantsResponse listDistributedGrants(Consumer<ListDistributedGrantsRequest.Builder> listDistributedGrantsRequest) throws ValidationException, InvalidParameterValueException, ResourceLimitExceededException, ServerInternalException, AuthorizationException, AccessDeniedException, RateLimitExceededException, AwsServiceException, SdkClientException, LicenseManagerException
Lists the grants distributed for the specified license.
This is a convenience which creates an instance of the ListDistributedGrantsRequest.Builder
avoiding the
need to create one manually via ListDistributedGrantsRequest.builder()
listDistributedGrantsRequest
- A Consumer
that will call methods on ListDistributedGrantsRequest.Builder
to create a
request.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 AWS user account does not have permission to perform the action. Check the 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.AwsServiceException
default ListFailuresForLicenseConfigurationOperationsResponse listFailuresForLicenseConfigurationOperations(ListFailuresForLicenseConfigurationOperationsRequest listFailuresForLicenseConfigurationOperationsRequest) throws InvalidParameterValueException, ServerInternalException, AuthorizationException, AccessDeniedException, RateLimitExceededException, AwsServiceException, SdkClientException, LicenseManagerException
Lists the license configuration operations that failed.
listFailuresForLicenseConfigurationOperationsRequest
- InvalidParameterValueException
- One or more parameter values are not valid.ServerInternalException
- The server experienced an internal error. Try again.AuthorizationException
- The AWS user account does not have permission to perform the action. Check the 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.AwsServiceException
default ListFailuresForLicenseConfigurationOperationsResponse listFailuresForLicenseConfigurationOperations(Consumer<ListFailuresForLicenseConfigurationOperationsRequest.Builder> listFailuresForLicenseConfigurationOperationsRequest) throws InvalidParameterValueException, ServerInternalException, AuthorizationException, AccessDeniedException, RateLimitExceededException, AwsServiceException, SdkClientException, LicenseManagerException
Lists the license configuration operations that failed.
This is a convenience which creates an instance of the
ListFailuresForLicenseConfigurationOperationsRequest.Builder
avoiding the need to create one manually via
ListFailuresForLicenseConfigurationOperationsRequest.builder()
listFailuresForLicenseConfigurationOperationsRequest
- A Consumer
that will call methods on
ListFailuresForLicenseConfigurationOperationsRequest.Builder
to create a request.InvalidParameterValueException
- One or more parameter values are not valid.ServerInternalException
- The server experienced an internal error. Try again.AuthorizationException
- The AWS user account does not have permission to perform the action. Check the 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.AwsServiceException
default ListLicenseConfigurationsResponse listLicenseConfigurations() throws InvalidParameterValueException, ServerInternalException, FilterLimitExceededException, AuthorizationException, AccessDeniedException, RateLimitExceededException, AwsServiceException, SdkClientException, LicenseManagerException
Lists the license configurations for your account.
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 AWS user account does not have permission to perform the action. Check the 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.AwsServiceException
listLicenseConfigurations(ListLicenseConfigurationsRequest)
,
AWS API Documentationdefault ListLicenseConfigurationsResponse listLicenseConfigurations(ListLicenseConfigurationsRequest listLicenseConfigurationsRequest) throws InvalidParameterValueException, ServerInternalException, FilterLimitExceededException, AuthorizationException, AccessDeniedException, RateLimitExceededException, AwsServiceException, SdkClientException, LicenseManagerException
Lists the license configurations for your account.
listLicenseConfigurationsRequest
- 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 AWS user account does not have permission to perform the action. Check the 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.AwsServiceException
default ListLicenseConfigurationsResponse listLicenseConfigurations(Consumer<ListLicenseConfigurationsRequest.Builder> listLicenseConfigurationsRequest) throws InvalidParameterValueException, ServerInternalException, FilterLimitExceededException, AuthorizationException, AccessDeniedException, RateLimitExceededException, AwsServiceException, SdkClientException, LicenseManagerException
Lists the license configurations for your account.
This is a convenience which creates an instance of the ListLicenseConfigurationsRequest.Builder
avoiding
the need to create one manually via ListLicenseConfigurationsRequest.builder()
listLicenseConfigurationsRequest
- A Consumer
that will call methods on ListLicenseConfigurationsRequest.Builder
to create a
request.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 AWS user account does not have permission to perform the action. Check the 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.AwsServiceException
default ListLicenseSpecificationsForResourceResponse listLicenseSpecificationsForResource(ListLicenseSpecificationsForResourceRequest listLicenseSpecificationsForResourceRequest) throws InvalidParameterValueException, ServerInternalException, AuthorizationException, AccessDeniedException, RateLimitExceededException, AwsServiceException, SdkClientException, LicenseManagerException
Describes the license configurations for the specified resource.
listLicenseSpecificationsForResourceRequest
- InvalidParameterValueException
- One or more parameter values are not valid.ServerInternalException
- The server experienced an internal error. Try again.AuthorizationException
- The AWS user account does not have permission to perform the action. Check the 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.AwsServiceException
default ListLicenseSpecificationsForResourceResponse listLicenseSpecificationsForResource(Consumer<ListLicenseSpecificationsForResourceRequest.Builder> listLicenseSpecificationsForResourceRequest) throws InvalidParameterValueException, ServerInternalException, AuthorizationException, AccessDeniedException, RateLimitExceededException, AwsServiceException, SdkClientException, LicenseManagerException
Describes the license configurations for the specified resource.
This is a convenience which creates an instance of the
ListLicenseSpecificationsForResourceRequest.Builder
avoiding the need to create one manually via
ListLicenseSpecificationsForResourceRequest.builder()
listLicenseSpecificationsForResourceRequest
- A Consumer
that will call methods on ListLicenseSpecificationsForResourceRequest.Builder
to create a request.InvalidParameterValueException
- One or more parameter values are not valid.ServerInternalException
- The server experienced an internal error. Try again.AuthorizationException
- The AWS user account does not have permission to perform the action. Check the 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.AwsServiceException
default ListLicenseVersionsResponse listLicenseVersions(ListLicenseVersionsRequest listLicenseVersionsRequest) throws InvalidParameterValueException, AuthorizationException, AccessDeniedException, RateLimitExceededException, ServerInternalException, AwsServiceException, SdkClientException, LicenseManagerException
Lists all versions of the specified license.
listLicenseVersionsRequest
- InvalidParameterValueException
- One or more parameter values are not valid.AuthorizationException
- The AWS user account does not have permission to perform the action. Check the 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.AwsServiceException
default ListLicenseVersionsResponse listLicenseVersions(Consumer<ListLicenseVersionsRequest.Builder> listLicenseVersionsRequest) throws InvalidParameterValueException, AuthorizationException, AccessDeniedException, RateLimitExceededException, ServerInternalException, AwsServiceException, SdkClientException, LicenseManagerException
Lists all versions of the specified license.
This is a convenience which creates an instance of the ListLicenseVersionsRequest.Builder
avoiding the
need to create one manually via ListLicenseVersionsRequest.builder()
listLicenseVersionsRequest
- A Consumer
that will call methods on ListLicenseVersionsRequest.Builder
to create a
request.InvalidParameterValueException
- One or more parameter values are not valid.AuthorizationException
- The AWS user account does not have permission to perform the action. Check the 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.AwsServiceException
default ListLicensesResponse listLicenses(ListLicensesRequest listLicensesRequest) throws ValidationException, InvalidParameterValueException, AuthorizationException, AccessDeniedException, RateLimitExceededException, ServerInternalException, AwsServiceException, SdkClientException, LicenseManagerException
Lists the licenses for your account.
listLicensesRequest
- ValidationException
- The provided input is not valid. Try your request again.InvalidParameterValueException
- One or more parameter values are not valid.AuthorizationException
- The AWS user account does not have permission to perform the action. Check the 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.AwsServiceException
default ListLicensesResponse listLicenses(Consumer<ListLicensesRequest.Builder> listLicensesRequest) throws ValidationException, InvalidParameterValueException, AuthorizationException, AccessDeniedException, RateLimitExceededException, ServerInternalException, AwsServiceException, SdkClientException, LicenseManagerException
Lists the licenses for your account.
This is a convenience which creates an instance of the ListLicensesRequest.Builder
avoiding the need to
create one manually via ListLicensesRequest.builder()
listLicensesRequest
- A Consumer
that will call methods on ListLicensesRequest.Builder
to create a request.ValidationException
- The provided input is not valid. Try your request again.InvalidParameterValueException
- One or more parameter values are not valid.AuthorizationException
- The AWS user account does not have permission to perform the action. Check the 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.AwsServiceException
default ListReceivedGrantsResponse listReceivedGrants(ListReceivedGrantsRequest listReceivedGrantsRequest) throws ValidationException, InvalidParameterValueException, ResourceLimitExceededException, ServerInternalException, AuthorizationException, AccessDeniedException, RateLimitExceededException, AwsServiceException, SdkClientException, LicenseManagerException
Lists grants that are received but not accepted.
listReceivedGrantsRequest
- 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 AWS user account does not have permission to perform the action. Check the 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.AwsServiceException
default ListReceivedGrantsResponse listReceivedGrants(Consumer<ListReceivedGrantsRequest.Builder> listReceivedGrantsRequest) throws ValidationException, InvalidParameterValueException, ResourceLimitExceededException, ServerInternalException, AuthorizationException, AccessDeniedException, RateLimitExceededException, AwsServiceException, SdkClientException, LicenseManagerException
Lists grants that are received but not accepted.
This is a convenience which creates an instance of the ListReceivedGrantsRequest.Builder
avoiding the
need to create one manually via ListReceivedGrantsRequest.builder()
listReceivedGrantsRequest
- A Consumer
that will call methods on ListReceivedGrantsRequest.Builder
to create a
request.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 AWS user account does not have permission to perform the action. Check the 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.AwsServiceException
default ListReceivedLicensesResponse listReceivedLicenses(ListReceivedLicensesRequest listReceivedLicensesRequest) throws ValidationException, InvalidParameterValueException, ResourceLimitExceededException, ServerInternalException, AuthorizationException, AccessDeniedException, RateLimitExceededException, AwsServiceException, SdkClientException, LicenseManagerException
Lists received licenses.
listReceivedLicensesRequest
- 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 AWS user account does not have permission to perform the action. Check the 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.AwsServiceException
default ListReceivedLicensesResponse listReceivedLicenses(Consumer<ListReceivedLicensesRequest.Builder> listReceivedLicensesRequest) throws ValidationException, InvalidParameterValueException, ResourceLimitExceededException, ServerInternalException, AuthorizationException, AccessDeniedException, RateLimitExceededException, AwsServiceException, SdkClientException, LicenseManagerException
Lists received licenses.
This is a convenience which creates an instance of the ListReceivedLicensesRequest.Builder
avoiding the
need to create one manually via ListReceivedLicensesRequest.builder()
listReceivedLicensesRequest
- A Consumer
that will call methods on ListReceivedLicensesRequest.Builder
to create a
request.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 AWS user account does not have permission to perform the action. Check the 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.AwsServiceException
default ListResourceInventoryResponse listResourceInventory(ListResourceInventoryRequest listResourceInventoryRequest) throws InvalidParameterValueException, ServerInternalException, FilterLimitExceededException, FailedDependencyException, AuthorizationException, AccessDeniedException, RateLimitExceededException, AwsServiceException, SdkClientException, LicenseManagerException
Lists resources managed using Systems Manager inventory.
listResourceInventoryRequest
- 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 AWS user account does not have permission to perform the action. Check the 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.AwsServiceException
default ListResourceInventoryResponse listResourceInventory(Consumer<ListResourceInventoryRequest.Builder> listResourceInventoryRequest) throws InvalidParameterValueException, ServerInternalException, FilterLimitExceededException, FailedDependencyException, AuthorizationException, AccessDeniedException, RateLimitExceededException, AwsServiceException, SdkClientException, LicenseManagerException
Lists resources managed using Systems Manager inventory.
This is a convenience which creates an instance of the ListResourceInventoryRequest.Builder
avoiding the
need to create one manually via ListResourceInventoryRequest.builder()
listResourceInventoryRequest
- A Consumer
that will call methods on ListResourceInventoryRequest.Builder
to create a
request.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 AWS user account does not have permission to perform the action. Check the 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.AwsServiceException
default ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) throws InvalidParameterValueException, ServerInternalException, AuthorizationException, AccessDeniedException, RateLimitExceededException, AwsServiceException, SdkClientException, LicenseManagerException
Lists the tags for the specified license configuration.
listTagsForResourceRequest
- InvalidParameterValueException
- One or more parameter values are not valid.ServerInternalException
- The server experienced an internal error. Try again.AuthorizationException
- The AWS user account does not have permission to perform the action. Check the 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.AwsServiceException
default ListTagsForResourceResponse listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) throws InvalidParameterValueException, ServerInternalException, AuthorizationException, AccessDeniedException, RateLimitExceededException, AwsServiceException, SdkClientException, LicenseManagerException
Lists the tags for the specified license configuration.
This is a convenience which creates an instance of the ListTagsForResourceRequest.Builder
avoiding the
need to create one manually via ListTagsForResourceRequest.builder()
listTagsForResourceRequest
- A Consumer
that will call methods on ListTagsForResourceRequest.Builder
to create a
request.InvalidParameterValueException
- One or more parameter values are not valid.ServerInternalException
- The server experienced an internal error. Try again.AuthorizationException
- The AWS user account does not have permission to perform the action. Check the 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.AwsServiceException
default ListTokensResponse listTokens(ListTokensRequest listTokensRequest) throws ValidationException, AuthorizationException, AccessDeniedException, RateLimitExceededException, ServerInternalException, AwsServiceException, SdkClientException, LicenseManagerException
Lists your tokens.
listTokensRequest
- ValidationException
- The provided input is not valid. Try your request again.AuthorizationException
- The AWS user account does not have permission to perform the action. Check the 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.AwsServiceException
default ListTokensResponse listTokens(Consumer<ListTokensRequest.Builder> listTokensRequest) throws ValidationException, AuthorizationException, AccessDeniedException, RateLimitExceededException, ServerInternalException, AwsServiceException, SdkClientException, LicenseManagerException
Lists your tokens.
This is a convenience which creates an instance of the ListTokensRequest.Builder
avoiding the need to
create one manually via ListTokensRequest.builder()
listTokensRequest
- A Consumer
that will call methods on ListTokensRequest.Builder
to create a request.ValidationException
- The provided input is not valid. Try your request again.AuthorizationException
- The AWS user account does not have permission to perform the action. Check the 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.AwsServiceException
default ListUsageForLicenseConfigurationResponse listUsageForLicenseConfiguration(ListUsageForLicenseConfigurationRequest listUsageForLicenseConfigurationRequest) throws InvalidParameterValueException, FilterLimitExceededException, ServerInternalException, AuthorizationException, AccessDeniedException, RateLimitExceededException, AwsServiceException, SdkClientException, LicenseManagerException
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.
listUsageForLicenseConfigurationRequest
- 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 AWS user account does not have permission to perform the action. Check the 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.AwsServiceException
default ListUsageForLicenseConfigurationResponse listUsageForLicenseConfiguration(Consumer<ListUsageForLicenseConfigurationRequest.Builder> listUsageForLicenseConfigurationRequest) throws InvalidParameterValueException, FilterLimitExceededException, ServerInternalException, AuthorizationException, AccessDeniedException, RateLimitExceededException, AwsServiceException, SdkClientException, LicenseManagerException
Lists all license usage records for a license configuration, displaying license consumption details by resource at a selected point in time. Use this action to audit the current license consumption for any license inventory and configuration.
This is a convenience which creates an instance of the ListUsageForLicenseConfigurationRequest.Builder
avoiding the need to create one manually via ListUsageForLicenseConfigurationRequest.builder()
listUsageForLicenseConfigurationRequest
- A Consumer
that will call methods on ListUsageForLicenseConfigurationRequest.Builder
to
create a request.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 AWS user account does not have permission to perform the action. Check the 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.AwsServiceException
default RejectGrantResponse rejectGrant(RejectGrantRequest rejectGrantRequest) throws ValidationException, InvalidParameterValueException, AuthorizationException, AccessDeniedException, RateLimitExceededException, ResourceLimitExceededException, ServerInternalException, AwsServiceException, SdkClientException, LicenseManagerException
Rejects the specified grant.
rejectGrantRequest
- ValidationException
- The provided input is not valid. Try your request again.InvalidParameterValueException
- One or more parameter values are not valid.AuthorizationException
- The AWS user account does not have permission to perform the action. Check the 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.AwsServiceException
default RejectGrantResponse rejectGrant(Consumer<RejectGrantRequest.Builder> rejectGrantRequest) throws ValidationException, InvalidParameterValueException, AuthorizationException, AccessDeniedException, RateLimitExceededException, ResourceLimitExceededException, ServerInternalException, AwsServiceException, SdkClientException, LicenseManagerException
Rejects the specified grant.
This is a convenience which creates an instance of the RejectGrantRequest.Builder
avoiding the need to
create one manually via RejectGrantRequest.builder()
rejectGrantRequest
- A Consumer
that will call methods on RejectGrantRequest.Builder
to create a request.ValidationException
- The provided input is not valid. Try your request again.InvalidParameterValueException
- One or more parameter values are not valid.AuthorizationException
- The AWS user account does not have permission to perform the action. Check the 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.AwsServiceException
default TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws InvalidParameterValueException, ServerInternalException, AuthorizationException, AccessDeniedException, RateLimitExceededException, AwsServiceException, SdkClientException, LicenseManagerException
Adds the specified tags to the specified license configuration.
tagResourceRequest
- InvalidParameterValueException
- One or more parameter values are not valid.ServerInternalException
- The server experienced an internal error. Try again.AuthorizationException
- The AWS user account does not have permission to perform the action. Check the 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.AwsServiceException
default TagResourceResponse tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) throws InvalidParameterValueException, ServerInternalException, AuthorizationException, AccessDeniedException, RateLimitExceededException, AwsServiceException, SdkClientException, LicenseManagerException
Adds the specified tags to the specified license configuration.
This is a convenience which creates an instance of the TagResourceRequest.Builder
avoiding the need to
create one manually via TagResourceRequest.builder()
tagResourceRequest
- A Consumer
that will call methods on TagResourceRequest.Builder
to create a request.InvalidParameterValueException
- One or more parameter values are not valid.ServerInternalException
- The server experienced an internal error. Try again.AuthorizationException
- The AWS user account does not have permission to perform the action. Check the 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.AwsServiceException
default UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws InvalidParameterValueException, ServerInternalException, AuthorizationException, AccessDeniedException, RateLimitExceededException, AwsServiceException, SdkClientException, LicenseManagerException
Removes the specified tags from the specified license configuration.
untagResourceRequest
- InvalidParameterValueException
- One or more parameter values are not valid.ServerInternalException
- The server experienced an internal error. Try again.AuthorizationException
- The AWS user account does not have permission to perform the action. Check the 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.AwsServiceException
default UntagResourceResponse untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) throws InvalidParameterValueException, ServerInternalException, AuthorizationException, AccessDeniedException, RateLimitExceededException, AwsServiceException, SdkClientException, LicenseManagerException
Removes the specified tags from the specified license configuration.
This is a convenience which creates an instance of the UntagResourceRequest.Builder
avoiding the need to
create one manually via UntagResourceRequest.builder()
untagResourceRequest
- A Consumer
that will call methods on UntagResourceRequest.Builder
to create a request.InvalidParameterValueException
- One or more parameter values are not valid.ServerInternalException
- The server experienced an internal error. Try again.AuthorizationException
- The AWS user account does not have permission to perform the action. Check the 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.AwsServiceException
default UpdateLicenseConfigurationResponse updateLicenseConfiguration(UpdateLicenseConfigurationRequest updateLicenseConfigurationRequest) throws InvalidParameterValueException, ServerInternalException, AuthorizationException, AccessDeniedException, RateLimitExceededException, ResourceLimitExceededException, AwsServiceException, SdkClientException, LicenseManagerException
Modifies the attributes of an existing license configuration.
updateLicenseConfigurationRequest
- InvalidParameterValueException
- One or more parameter values are not valid.ServerInternalException
- The server experienced an internal error. Try again.AuthorizationException
- The AWS user account does not have permission to perform the action. Check the 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.AwsServiceException
default UpdateLicenseConfigurationResponse updateLicenseConfiguration(Consumer<UpdateLicenseConfigurationRequest.Builder> updateLicenseConfigurationRequest) throws InvalidParameterValueException, ServerInternalException, AuthorizationException, AccessDeniedException, RateLimitExceededException, ResourceLimitExceededException, AwsServiceException, SdkClientException, LicenseManagerException
Modifies the attributes of an existing license configuration.
This is a convenience which creates an instance of the UpdateLicenseConfigurationRequest.Builder
avoiding
the need to create one manually via UpdateLicenseConfigurationRequest.builder()
updateLicenseConfigurationRequest
- A Consumer
that will call methods on UpdateLicenseConfigurationRequest.Builder
to create a
request.InvalidParameterValueException
- One or more parameter values are not valid.ServerInternalException
- The server experienced an internal error. Try again.AuthorizationException
- The AWS user account does not have permission to perform the action. Check the 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.AwsServiceException
default UpdateLicenseSpecificationsForResourceResponse updateLicenseSpecificationsForResource(UpdateLicenseSpecificationsForResourceRequest updateLicenseSpecificationsForResourceRequest) throws InvalidParameterValueException, InvalidResourceStateException, LicenseUsageException, ServerInternalException, AuthorizationException, AccessDeniedException, RateLimitExceededException, AwsServiceException, SdkClientException, LicenseManagerException
Adds or removes the specified license configurations for the specified AWS resource.
You can update the license specifications of AMIs, instances, and hosts. You cannot update the license specifications for launch templates and AWS CloudFormation templates, as they send license configurations to the operation that creates the resource.
updateLicenseSpecificationsForResourceRequest
- 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 AWS user account does not have permission to perform the action. Check the 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.AwsServiceException
default UpdateLicenseSpecificationsForResourceResponse updateLicenseSpecificationsForResource(Consumer<UpdateLicenseSpecificationsForResourceRequest.Builder> updateLicenseSpecificationsForResourceRequest) throws InvalidParameterValueException, InvalidResourceStateException, LicenseUsageException, ServerInternalException, AuthorizationException, AccessDeniedException, RateLimitExceededException, AwsServiceException, SdkClientException, LicenseManagerException
Adds or removes the specified license configurations for the specified AWS resource.
You can update the license specifications of AMIs, instances, and hosts. You cannot update the license specifications for launch templates and AWS CloudFormation templates, as they send license configurations to the operation that creates the resource.
This is a convenience which creates an instance of the
UpdateLicenseSpecificationsForResourceRequest.Builder
avoiding the need to create one manually via
UpdateLicenseSpecificationsForResourceRequest.builder()
updateLicenseSpecificationsForResourceRequest
- A Consumer
that will call methods on UpdateLicenseSpecificationsForResourceRequest.Builder
to create a request.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 AWS user account does not have permission to perform the action. Check the 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.AwsServiceException
default UpdateServiceSettingsResponse updateServiceSettings(UpdateServiceSettingsRequest updateServiceSettingsRequest) throws InvalidParameterValueException, ServerInternalException, AuthorizationException, AccessDeniedException, RateLimitExceededException, AwsServiceException, SdkClientException, LicenseManagerException
Updates License Manager settings for the current Region.
updateServiceSettingsRequest
- InvalidParameterValueException
- One or more parameter values are not valid.ServerInternalException
- The server experienced an internal error. Try again.AuthorizationException
- The AWS user account does not have permission to perform the action. Check the 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.AwsServiceException
default UpdateServiceSettingsResponse updateServiceSettings(Consumer<UpdateServiceSettingsRequest.Builder> updateServiceSettingsRequest) throws InvalidParameterValueException, ServerInternalException, AuthorizationException, AccessDeniedException, RateLimitExceededException, AwsServiceException, SdkClientException, LicenseManagerException
Updates License Manager settings for the current Region.
This is a convenience which creates an instance of the UpdateServiceSettingsRequest.Builder
avoiding the
need to create one manually via UpdateServiceSettingsRequest.builder()
updateServiceSettingsRequest
- A Consumer
that will call methods on UpdateServiceSettingsRequest.Builder
to create a
request.InvalidParameterValueException
- One or more parameter values are not valid.ServerInternalException
- The server experienced an internal error. Try again.AuthorizationException
- The AWS user account does not have permission to perform the action. Check the 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.AwsServiceException
static ServiceMetadata serviceMetadata()