Interface LicenseManagerClient
-
- All Superinterfaces:
AutoCloseable,AwsClient,SdkAutoCloseable,SdkClient
@Generated("software.amazon.awssdk:codegen") @ThreadSafe public interface LicenseManagerClient extends AwsClient
Service client for accessing AWS License Manager. This can be created using the staticbuilder()method.License Manager makes it easier to manage licenses from software vendors across multiple Amazon Web Services accounts and on-premises servers.
-
-
Field Summary
Fields Modifier and Type Field Description static StringSERVICE_METADATA_IDValue for looking up the service's metadata from theServiceMetadataProvider.static StringSERVICE_NAME
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description default AcceptGrantResponseacceptGrant(Consumer<AcceptGrantRequest.Builder> acceptGrantRequest)Accepts the specified grant.default AcceptGrantResponseacceptGrant(AcceptGrantRequest acceptGrantRequest)Accepts the specified grant.static LicenseManagerClientBuilderbuilder()Create a builder that can be used to configure and create aLicenseManagerClient.default CheckInLicenseResponsecheckInLicense(Consumer<CheckInLicenseRequest.Builder> checkInLicenseRequest)Checks in the specified license.default CheckInLicenseResponsecheckInLicense(CheckInLicenseRequest checkInLicenseRequest)Checks in the specified license.default CheckoutBorrowLicenseResponsecheckoutBorrowLicense(Consumer<CheckoutBorrowLicenseRequest.Builder> checkoutBorrowLicenseRequest)Checks out the specified license for offline use.default CheckoutBorrowLicenseResponsecheckoutBorrowLicense(CheckoutBorrowLicenseRequest checkoutBorrowLicenseRequest)Checks out the specified license for offline use.default CheckoutLicenseResponsecheckoutLicense(Consumer<CheckoutLicenseRequest.Builder> checkoutLicenseRequest)Checks out the specified license.default CheckoutLicenseResponsecheckoutLicense(CheckoutLicenseRequest checkoutLicenseRequest)Checks out the specified license.static LicenseManagerClientcreate()Create aLicenseManagerClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.default CreateGrantResponsecreateGrant(Consumer<CreateGrantRequest.Builder> createGrantRequest)Creates a grant for the specified license.default CreateGrantResponsecreateGrant(CreateGrantRequest createGrantRequest)Creates a grant for the specified license.default CreateGrantVersionResponsecreateGrantVersion(Consumer<CreateGrantVersionRequest.Builder> createGrantVersionRequest)Creates a new version of the specified grant.default CreateGrantVersionResponsecreateGrantVersion(CreateGrantVersionRequest createGrantVersionRequest)Creates a new version of the specified grant.default CreateLicenseResponsecreateLicense(Consumer<CreateLicenseRequest.Builder> createLicenseRequest)Creates a license.default CreateLicenseResponsecreateLicense(CreateLicenseRequest createLicenseRequest)Creates a license.default CreateLicenseConfigurationResponsecreateLicenseConfiguration(Consumer<CreateLicenseConfigurationRequest.Builder> createLicenseConfigurationRequest)Creates a license configuration.default CreateLicenseConfigurationResponsecreateLicenseConfiguration(CreateLicenseConfigurationRequest createLicenseConfigurationRequest)Creates a license configuration.default CreateLicenseConversionTaskForResourceResponsecreateLicenseConversionTaskForResource(Consumer<CreateLicenseConversionTaskForResourceRequest.Builder> createLicenseConversionTaskForResourceRequest)Creates a new license conversion task.default CreateLicenseConversionTaskForResourceResponsecreateLicenseConversionTaskForResource(CreateLicenseConversionTaskForResourceRequest createLicenseConversionTaskForResourceRequest)Creates a new license conversion task.default CreateLicenseManagerReportGeneratorResponsecreateLicenseManagerReportGenerator(Consumer<CreateLicenseManagerReportGeneratorRequest.Builder> createLicenseManagerReportGeneratorRequest)Creates a report generator.default CreateLicenseManagerReportGeneratorResponsecreateLicenseManagerReportGenerator(CreateLicenseManagerReportGeneratorRequest createLicenseManagerReportGeneratorRequest)Creates a report generator.default CreateLicenseVersionResponsecreateLicenseVersion(Consumer<CreateLicenseVersionRequest.Builder> createLicenseVersionRequest)Creates a new version of the specified license.default CreateLicenseVersionResponsecreateLicenseVersion(CreateLicenseVersionRequest createLicenseVersionRequest)Creates a new version of the specified license.default CreateTokenResponsecreateToken(Consumer<CreateTokenRequest.Builder> createTokenRequest)Creates a long-lived token.default CreateTokenResponsecreateToken(CreateTokenRequest createTokenRequest)Creates a long-lived token.default DeleteGrantResponsedeleteGrant(Consumer<DeleteGrantRequest.Builder> deleteGrantRequest)Deletes the specified grant.default DeleteGrantResponsedeleteGrant(DeleteGrantRequest deleteGrantRequest)Deletes the specified grant.default DeleteLicenseResponsedeleteLicense(Consumer<DeleteLicenseRequest.Builder> deleteLicenseRequest)Deletes the specified license.default DeleteLicenseResponsedeleteLicense(DeleteLicenseRequest deleteLicenseRequest)Deletes the specified license.default DeleteLicenseConfigurationResponsedeleteLicenseConfiguration(Consumer<DeleteLicenseConfigurationRequest.Builder> deleteLicenseConfigurationRequest)Deletes the specified license configuration.default DeleteLicenseConfigurationResponsedeleteLicenseConfiguration(DeleteLicenseConfigurationRequest deleteLicenseConfigurationRequest)Deletes the specified license configuration.default DeleteLicenseManagerReportGeneratorResponsedeleteLicenseManagerReportGenerator(Consumer<DeleteLicenseManagerReportGeneratorRequest.Builder> deleteLicenseManagerReportGeneratorRequest)Deletes the specified report generator.default DeleteLicenseManagerReportGeneratorResponsedeleteLicenseManagerReportGenerator(DeleteLicenseManagerReportGeneratorRequest deleteLicenseManagerReportGeneratorRequest)Deletes the specified report generator.default DeleteTokenResponsedeleteToken(Consumer<DeleteTokenRequest.Builder> deleteTokenRequest)Deletes the specified token.default DeleteTokenResponsedeleteToken(DeleteTokenRequest deleteTokenRequest)Deletes the specified token.default ExtendLicenseConsumptionResponseextendLicenseConsumption(Consumer<ExtendLicenseConsumptionRequest.Builder> extendLicenseConsumptionRequest)Extends the expiration date for license consumption.default ExtendLicenseConsumptionResponseextendLicenseConsumption(ExtendLicenseConsumptionRequest extendLicenseConsumptionRequest)Extends the expiration date for license consumption.default GetAccessTokenResponsegetAccessToken(Consumer<GetAccessTokenRequest.Builder> getAccessTokenRequest)Gets a temporary access token to use with AssumeRoleWithWebIdentity.default GetAccessTokenResponsegetAccessToken(GetAccessTokenRequest getAccessTokenRequest)Gets a temporary access token to use with AssumeRoleWithWebIdentity.default GetGrantResponsegetGrant(Consumer<GetGrantRequest.Builder> getGrantRequest)Gets detailed information about the specified grant.default GetGrantResponsegetGrant(GetGrantRequest getGrantRequest)Gets detailed information about the specified grant.default GetLicenseResponsegetLicense(Consumer<GetLicenseRequest.Builder> getLicenseRequest)Gets detailed information about the specified license.default GetLicenseResponsegetLicense(GetLicenseRequest getLicenseRequest)Gets detailed information about the specified license.default GetLicenseConfigurationResponsegetLicenseConfiguration(Consumer<GetLicenseConfigurationRequest.Builder> getLicenseConfigurationRequest)Gets detailed information about the specified license configuration.default GetLicenseConfigurationResponsegetLicenseConfiguration(GetLicenseConfigurationRequest getLicenseConfigurationRequest)Gets detailed information about the specified license configuration.default GetLicenseConversionTaskResponsegetLicenseConversionTask(Consumer<GetLicenseConversionTaskRequest.Builder> getLicenseConversionTaskRequest)Gets information about the specified license type conversion task.default GetLicenseConversionTaskResponsegetLicenseConversionTask(GetLicenseConversionTaskRequest getLicenseConversionTaskRequest)Gets information about the specified license type conversion task.default GetLicenseManagerReportGeneratorResponsegetLicenseManagerReportGenerator(Consumer<GetLicenseManagerReportGeneratorRequest.Builder> getLicenseManagerReportGeneratorRequest)Gets information about the specified report generator.default GetLicenseManagerReportGeneratorResponsegetLicenseManagerReportGenerator(GetLicenseManagerReportGeneratorRequest getLicenseManagerReportGeneratorRequest)Gets information about the specified report generator.default GetLicenseUsageResponsegetLicenseUsage(Consumer<GetLicenseUsageRequest.Builder> getLicenseUsageRequest)Gets detailed information about the usage of the specified license.default GetLicenseUsageResponsegetLicenseUsage(GetLicenseUsageRequest getLicenseUsageRequest)Gets detailed information about the usage of the specified license.default GetServiceSettingsResponsegetServiceSettings()Gets the License Manager settings for the current Region.default GetServiceSettingsResponsegetServiceSettings(Consumer<GetServiceSettingsRequest.Builder> getServiceSettingsRequest)Gets the License Manager settings for the current Region.default GetServiceSettingsResponsegetServiceSettings(GetServiceSettingsRequest getServiceSettingsRequest)Gets the License Manager settings for the current Region.default ListAssociationsForLicenseConfigurationResponselistAssociationsForLicenseConfiguration(Consumer<ListAssociationsForLicenseConfigurationRequest.Builder> listAssociationsForLicenseConfigurationRequest)Lists the resource associations for the specified license configuration.default ListAssociationsForLicenseConfigurationResponselistAssociationsForLicenseConfiguration(ListAssociationsForLicenseConfigurationRequest listAssociationsForLicenseConfigurationRequest)Lists the resource associations for the specified license configuration.default ListDistributedGrantsResponselistDistributedGrants(Consumer<ListDistributedGrantsRequest.Builder> listDistributedGrantsRequest)Lists the grants distributed for the specified license.default ListDistributedGrantsResponselistDistributedGrants(ListDistributedGrantsRequest listDistributedGrantsRequest)Lists the grants distributed for the specified license.default ListFailuresForLicenseConfigurationOperationsResponselistFailuresForLicenseConfigurationOperations(Consumer<ListFailuresForLicenseConfigurationOperationsRequest.Builder> listFailuresForLicenseConfigurationOperationsRequest)Lists the license configuration operations that failed.default ListFailuresForLicenseConfigurationOperationsResponselistFailuresForLicenseConfigurationOperations(ListFailuresForLicenseConfigurationOperationsRequest listFailuresForLicenseConfigurationOperationsRequest)Lists the license configuration operations that failed.default ListLicenseConfigurationsResponselistLicenseConfigurations()Lists the license configurations for your account.default ListLicenseConfigurationsResponselistLicenseConfigurations(Consumer<ListLicenseConfigurationsRequest.Builder> listLicenseConfigurationsRequest)Lists the license configurations for your account.default ListLicenseConfigurationsResponselistLicenseConfigurations(ListLicenseConfigurationsRequest listLicenseConfigurationsRequest)Lists the license configurations for your account.default ListLicenseConversionTasksResponselistLicenseConversionTasks(Consumer<ListLicenseConversionTasksRequest.Builder> listLicenseConversionTasksRequest)Lists the license type conversion tasks for your account.default ListLicenseConversionTasksResponselistLicenseConversionTasks(ListLicenseConversionTasksRequest listLicenseConversionTasksRequest)Lists the license type conversion tasks for your account.default ListLicenseManagerReportGeneratorsResponselistLicenseManagerReportGenerators(Consumer<ListLicenseManagerReportGeneratorsRequest.Builder> listLicenseManagerReportGeneratorsRequest)Lists the report generators for your account.default ListLicenseManagerReportGeneratorsResponselistLicenseManagerReportGenerators(ListLicenseManagerReportGeneratorsRequest listLicenseManagerReportGeneratorsRequest)Lists the report generators for your account.default ListLicensesResponselistLicenses(Consumer<ListLicensesRequest.Builder> listLicensesRequest)Lists the licenses for your account.default ListLicensesResponselistLicenses(ListLicensesRequest listLicensesRequest)Lists the licenses for your account.default ListLicenseSpecificationsForResourceResponselistLicenseSpecificationsForResource(Consumer<ListLicenseSpecificationsForResourceRequest.Builder> listLicenseSpecificationsForResourceRequest)Describes the license configurations for the specified resource.default ListLicenseSpecificationsForResourceResponselistLicenseSpecificationsForResource(ListLicenseSpecificationsForResourceRequest listLicenseSpecificationsForResourceRequest)Describes the license configurations for the specified resource.default ListLicenseVersionsResponselistLicenseVersions(Consumer<ListLicenseVersionsRequest.Builder> listLicenseVersionsRequest)Lists all versions of the specified license.default ListLicenseVersionsResponselistLicenseVersions(ListLicenseVersionsRequest listLicenseVersionsRequest)Lists all versions of the specified license.default ListReceivedGrantsResponselistReceivedGrants(Consumer<ListReceivedGrantsRequest.Builder> listReceivedGrantsRequest)Lists grants that are received.default ListReceivedGrantsResponselistReceivedGrants(ListReceivedGrantsRequest listReceivedGrantsRequest)Lists grants that are received.default ListReceivedGrantsForOrganizationResponselistReceivedGrantsForOrganization(Consumer<ListReceivedGrantsForOrganizationRequest.Builder> listReceivedGrantsForOrganizationRequest)Lists the grants received for all accounts in the organization.default ListReceivedGrantsForOrganizationResponselistReceivedGrantsForOrganization(ListReceivedGrantsForOrganizationRequest listReceivedGrantsForOrganizationRequest)Lists the grants received for all accounts in the organization.default ListReceivedLicensesResponselistReceivedLicenses(Consumer<ListReceivedLicensesRequest.Builder> listReceivedLicensesRequest)Lists received licenses.default ListReceivedLicensesResponselistReceivedLicenses(ListReceivedLicensesRequest listReceivedLicensesRequest)Lists received licenses.default ListReceivedLicensesForOrganizationResponselistReceivedLicensesForOrganization(Consumer<ListReceivedLicensesForOrganizationRequest.Builder> listReceivedLicensesForOrganizationRequest)Lists the licenses received for all accounts in the organization.default ListReceivedLicensesForOrganizationResponselistReceivedLicensesForOrganization(ListReceivedLicensesForOrganizationRequest listReceivedLicensesForOrganizationRequest)Lists the licenses received for all accounts in the organization.default ListResourceInventoryResponselistResourceInventory(Consumer<ListResourceInventoryRequest.Builder> listResourceInventoryRequest)Lists resources managed using Systems Manager inventory.default ListResourceInventoryResponselistResourceInventory(ListResourceInventoryRequest listResourceInventoryRequest)Lists resources managed using Systems Manager inventory.default ListTagsForResourceResponselistTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest)Lists the tags for the specified license configuration.default ListTagsForResourceResponselistTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)Lists the tags for the specified license configuration.default ListTokensResponselistTokens(Consumer<ListTokensRequest.Builder> listTokensRequest)Lists your tokens.default ListTokensResponselistTokens(ListTokensRequest listTokensRequest)Lists your tokens.default ListUsageForLicenseConfigurationResponselistUsageForLicenseConfiguration(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 ListUsageForLicenseConfigurationResponselistUsageForLicenseConfiguration(ListUsageForLicenseConfigurationRequest listUsageForLicenseConfigurationRequest)Lists all license usage records for a license configuration, displaying license consumption details by resource at a selected point in time.default RejectGrantResponserejectGrant(Consumer<RejectGrantRequest.Builder> rejectGrantRequest)Rejects the specified grant.default RejectGrantResponserejectGrant(RejectGrantRequest rejectGrantRequest)Rejects the specified grant.default LicenseManagerServiceClientConfigurationserviceClientConfiguration()static ServiceMetadataserviceMetadata()default TagResourceResponsetagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest)Adds the specified tags to the specified license configuration.default TagResourceResponsetagResource(TagResourceRequest tagResourceRequest)Adds the specified tags to the specified license configuration.default UntagResourceResponseuntagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest)Removes the specified tags from the specified license configuration.default UntagResourceResponseuntagResource(UntagResourceRequest untagResourceRequest)Removes the specified tags from the specified license configuration.default UpdateLicenseConfigurationResponseupdateLicenseConfiguration(Consumer<UpdateLicenseConfigurationRequest.Builder> updateLicenseConfigurationRequest)Modifies the attributes of an existing license configuration.default UpdateLicenseConfigurationResponseupdateLicenseConfiguration(UpdateLicenseConfigurationRequest updateLicenseConfigurationRequest)Modifies the attributes of an existing license configuration.default UpdateLicenseManagerReportGeneratorResponseupdateLicenseManagerReportGenerator(Consumer<UpdateLicenseManagerReportGeneratorRequest.Builder> updateLicenseManagerReportGeneratorRequest)Updates a report generator.default UpdateLicenseManagerReportGeneratorResponseupdateLicenseManagerReportGenerator(UpdateLicenseManagerReportGeneratorRequest updateLicenseManagerReportGeneratorRequest)Updates a report generator.default UpdateLicenseSpecificationsForResourceResponseupdateLicenseSpecificationsForResource(Consumer<UpdateLicenseSpecificationsForResourceRequest.Builder> updateLicenseSpecificationsForResourceRequest)Adds or removes the specified license configurations for the specified Amazon Web Services resource.default UpdateLicenseSpecificationsForResourceResponseupdateLicenseSpecificationsForResource(UpdateLicenseSpecificationsForResourceRequest updateLicenseSpecificationsForResourceRequest)Adds or removes the specified license configurations for the specified Amazon Web Services resource.default UpdateServiceSettingsResponseupdateServiceSettings(Consumer<UpdateServiceSettingsRequest.Builder> updateServiceSettingsRequest)Updates License Manager settings for the current Region.default UpdateServiceSettingsResponseupdateServiceSettings(UpdateServiceSettingsRequest updateServiceSettingsRequest)Updates License Manager settings for the current Region.-
Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
close
-
Methods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
-
-
-
Field Detail
-
SERVICE_NAME
static final String SERVICE_NAME
- See Also:
- Constant Field Values
-
SERVICE_METADATA_ID
static final String SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider.- See Also:
- Constant Field Values
-
-
Method Detail
-
acceptGrant
default AcceptGrantResponse acceptGrant(AcceptGrantRequest acceptGrantRequest) throws ValidationException, InvalidParameterValueException, AuthorizationException, AccessDeniedException, RateLimitExceededException, ResourceLimitExceededException, ServerInternalException, AwsServiceException, SdkClientException, LicenseManagerException
Accepts the specified grant.
- Parameters:
acceptGrantRequest-- Returns:
- Result of the AcceptGrant operation returned by the service.
- Throws:
ValidationException- The provided input is not valid. Try your request again.InvalidParameterValueException- One or more parameter values are not valid.AuthorizationException- The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.AccessDeniedException- Access to resource denied.RateLimitExceededException- Too many requests have been submitted. Try again after a brief wait.ResourceLimitExceededException- Your resource limits have been exceeded.ServerInternalException- The server experienced an internal error. Try again.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
acceptGrant
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.Builderavoiding the need to create one manually viaAcceptGrantRequest.builder()- Parameters:
acceptGrantRequest- AConsumerthat will call methods onAcceptGrantRequest.Builderto create a request.- Returns:
- Result of the AcceptGrant operation returned by the service.
- Throws:
ValidationException- The provided input is not valid. Try your request again.InvalidParameterValueException- One or more parameter values are not valid.AuthorizationException- The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.AccessDeniedException- Access to resource denied.RateLimitExceededException- Too many requests have been submitted. Try again after a brief wait.ResourceLimitExceededException- Your resource limits have been exceeded.ServerInternalException- The server experienced an internal error. Try again.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
checkInLicense
default CheckInLicenseResponse checkInLicense(CheckInLicenseRequest checkInLicenseRequest) throws ValidationException, InvalidParameterValueException, 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.
- Parameters:
checkInLicenseRequest-- Returns:
- Result of the CheckInLicense operation returned by the service.
- Throws:
ValidationException- The provided input is not valid. Try your request again.InvalidParameterValueException- One or more parameter values are not valid.ResourceNotFoundException- The resource cannot be found.ConflictException- There was a conflict processing the request. Try your request again.AuthorizationException- The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.AccessDeniedException- Access to resource denied.RateLimitExceededException- Too many requests have been submitted. Try again after a brief wait.ServerInternalException- The server experienced an internal error. Try again.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
checkInLicense
default CheckInLicenseResponse checkInLicense(Consumer<CheckInLicenseRequest.Builder> checkInLicenseRequest) throws ValidationException, InvalidParameterValueException, 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.Builderavoiding the need to create one manually viaCheckInLicenseRequest.builder()- Parameters:
checkInLicenseRequest- AConsumerthat will call methods onCheckInLicenseRequest.Builderto create a request.- Returns:
- Result of the CheckInLicense operation returned by the service.
- Throws:
ValidationException- The provided input is not valid. Try your request again.InvalidParameterValueException- One or more parameter values are not valid.ResourceNotFoundException- The resource cannot be found.ConflictException- There was a conflict processing the request. Try your request again.AuthorizationException- The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.AccessDeniedException- Access to resource denied.RateLimitExceededException- Too many requests have been submitted. Try again after a brief wait.ServerInternalException- The server experienced an internal error. Try again.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
checkoutBorrowLicense
default CheckoutBorrowLicenseResponse checkoutBorrowLicense(CheckoutBorrowLicenseRequest checkoutBorrowLicenseRequest) throws ValidationException, InvalidParameterValueException, ResourceNotFoundException, NoEntitlementsAllowedException, EntitlementNotAllowedException, UnsupportedDigitalSignatureMethodException, RedirectException, AuthorizationException, AccessDeniedException, RateLimitExceededException, ServerInternalException, AwsServiceException, SdkClientException, LicenseManagerException
Checks out the specified license for offline use.
- Parameters:
checkoutBorrowLicenseRequest-- Returns:
- Result of the CheckoutBorrowLicense operation returned by the service.
- Throws:
ValidationException- The provided input is not valid. Try your request again.InvalidParameterValueException- One or more parameter values are not valid.ResourceNotFoundException- The resource cannot be found.NoEntitlementsAllowedException- There are no entitlements found for this license, or the entitlement maximum count is reached.EntitlementNotAllowedException- The entitlement is not allowed.UnsupportedDigitalSignatureMethodException- The digital signature method is unsupported. Try your request again.RedirectException- This is not the correct Region for the resource. Try again.AuthorizationException- The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.AccessDeniedException- Access to resource denied.RateLimitExceededException- Too many requests have been submitted. Try again after a brief wait.ServerInternalException- The server experienced an internal error. Try again.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
checkoutBorrowLicense
default CheckoutBorrowLicenseResponse checkoutBorrowLicense(Consumer<CheckoutBorrowLicenseRequest.Builder> checkoutBorrowLicenseRequest) throws ValidationException, InvalidParameterValueException, 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.Builderavoiding the need to create one manually viaCheckoutBorrowLicenseRequest.builder()- Parameters:
checkoutBorrowLicenseRequest- AConsumerthat will call methods onCheckoutBorrowLicenseRequest.Builderto create a request.- Returns:
- Result of the CheckoutBorrowLicense operation returned by the service.
- Throws:
ValidationException- The provided input is not valid. Try your request again.InvalidParameterValueException- One or more parameter values are not valid.ResourceNotFoundException- The resource cannot be found.NoEntitlementsAllowedException- There are no entitlements found for this license, or the entitlement maximum count is reached.EntitlementNotAllowedException- The entitlement is not allowed.UnsupportedDigitalSignatureMethodException- The digital signature method is unsupported. Try your request again.RedirectException- This is not the correct Region for the resource. Try again.AuthorizationException- The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.AccessDeniedException- Access to resource denied.RateLimitExceededException- Too many requests have been submitted. Try again after a brief wait.ServerInternalException- The server experienced an internal error. Try again.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
checkoutLicense
default CheckoutLicenseResponse checkoutLicense(CheckoutLicenseRequest checkoutLicenseRequest) throws ValidationException, InvalidParameterValueException, ResourceNotFoundException, NoEntitlementsAllowedException, UnsupportedDigitalSignatureMethodException, RedirectException, AuthorizationException, AccessDeniedException, RateLimitExceededException, ServerInternalException, AwsServiceException, SdkClientException, LicenseManagerException
Checks out the specified license.
If the account that created the license is the same that is performing the check out, you must specify the account as the beneficiary.
- Parameters:
checkoutLicenseRequest-- Returns:
- Result of the CheckoutLicense operation returned by the service.
- Throws:
ValidationException- The provided input is not valid. Try your request again.InvalidParameterValueException- One or more parameter values are not valid.ResourceNotFoundException- The resource cannot be found.NoEntitlementsAllowedException- There are no entitlements found for this license, or the entitlement maximum count is reached.UnsupportedDigitalSignatureMethodException- The digital signature method is unsupported. Try your request again.RedirectException- This is not the correct Region for the resource. Try again.AuthorizationException- The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.AccessDeniedException- Access to resource denied.RateLimitExceededException- Too many requests have been submitted. Try again after a brief wait.ServerInternalException- The server experienced an internal error. Try again.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
checkoutLicense
default CheckoutLicenseResponse checkoutLicense(Consumer<CheckoutLicenseRequest.Builder> checkoutLicenseRequest) throws ValidationException, InvalidParameterValueException, ResourceNotFoundException, NoEntitlementsAllowedException, UnsupportedDigitalSignatureMethodException, RedirectException, AuthorizationException, AccessDeniedException, RateLimitExceededException, ServerInternalException, AwsServiceException, SdkClientException, LicenseManagerException
Checks out the specified license.
If the account that created the license is the same that is performing the check out, you must specify the account as the beneficiary.
This is a convenience which creates an instance of the
CheckoutLicenseRequest.Builderavoiding the need to create one manually viaCheckoutLicenseRequest.builder()- Parameters:
checkoutLicenseRequest- AConsumerthat will call methods onCheckoutLicenseRequest.Builderto create a request.- Returns:
- Result of the CheckoutLicense operation returned by the service.
- Throws:
ValidationException- The provided input is not valid. Try your request again.InvalidParameterValueException- One or more parameter values are not valid.ResourceNotFoundException- The resource cannot be found.NoEntitlementsAllowedException- There are no entitlements found for this license, or the entitlement maximum count is reached.UnsupportedDigitalSignatureMethodException- The digital signature method is unsupported. Try your request again.RedirectException- This is not the correct Region for the resource. Try again.AuthorizationException- The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.AccessDeniedException- Access to resource denied.RateLimitExceededException- Too many requests have been submitted. Try again after a brief wait.ServerInternalException- The server experienced an internal error. Try again.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createGrant
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 a specific Amazon Web Services account, an organization, or an organizational unit (OU). For more information, see Granted licenses in License Manager in the License Manager User Guide.
- Parameters:
createGrantRequest-- Returns:
- Result of the CreateGrant operation returned by the service.
- Throws:
ValidationException- The provided input is not valid. Try your request again.InvalidParameterValueException- One or more parameter values are not valid.ResourceLimitExceededException- Your resource limits have been exceeded.ServerInternalException- The server experienced an internal error. Try again.AuthorizationException- The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.RateLimitExceededException- Too many requests have been submitted. Try again after a brief wait.AccessDeniedException- Access to resource denied.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createGrant
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 a specific Amazon Web Services account, an organization, or an organizational unit (OU). For more information, see Granted licenses in License Manager in the License Manager User Guide.
This is a convenience which creates an instance of the
CreateGrantRequest.Builderavoiding the need to create one manually viaCreateGrantRequest.builder()- Parameters:
createGrantRequest- AConsumerthat will call methods onCreateGrantRequest.Builderto create a request.- Returns:
- Result of the CreateGrant operation returned by the service.
- Throws:
ValidationException- The provided input is not valid. Try your request again.InvalidParameterValueException- One or more parameter values are not valid.ResourceLimitExceededException- Your resource limits have been exceeded.ServerInternalException- The server experienced an internal error. Try again.AuthorizationException- The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.RateLimitExceededException- Too many requests have been submitted. Try again after a brief wait.AccessDeniedException- Access to resource denied.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createGrantVersion
default CreateGrantVersionResponse createGrantVersion(CreateGrantVersionRequest createGrantVersionRequest) throws ValidationException, InvalidParameterValueException, ResourceLimitExceededException, ServerInternalException, AuthorizationException, AccessDeniedException, RateLimitExceededException, AwsServiceException, SdkClientException, LicenseManagerException
Creates a new version of the specified grant. For more information, see Granted licenses in License Manager in the License Manager User Guide.
- Parameters:
createGrantVersionRequest-- Returns:
- Result of the CreateGrantVersion operation returned by the service.
- Throws:
ValidationException- The provided input is not valid. Try your request again.InvalidParameterValueException- One or more parameter values are not valid.ResourceLimitExceededException- Your resource limits have been exceeded.ServerInternalException- The server experienced an internal error. Try again.AuthorizationException- The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.AccessDeniedException- Access to resource denied.RateLimitExceededException- Too many requests have been submitted. Try again after a brief wait.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createGrantVersion
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. For more information, see Granted licenses in License Manager in the License Manager User Guide.
This is a convenience which creates an instance of the
CreateGrantVersionRequest.Builderavoiding the need to create one manually viaCreateGrantVersionRequest.builder()- Parameters:
createGrantVersionRequest- AConsumerthat will call methods onCreateGrantVersionRequest.Builderto create a request.- Returns:
- Result of the CreateGrantVersion operation returned by the service.
- Throws:
ValidationException- The provided input is not valid. Try your request again.InvalidParameterValueException- One or more parameter values are not valid.ResourceLimitExceededException- Your resource limits have been exceeded.ServerInternalException- The server experienced an internal error. Try again.AuthorizationException- The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.AccessDeniedException- Access to resource denied.RateLimitExceededException- Too many requests have been submitted. Try again after a brief wait.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createLicense
default CreateLicenseResponse createLicense(CreateLicenseRequest createLicenseRequest) throws ValidationException, InvalidParameterValueException, RedirectException, AuthorizationException, AccessDeniedException, RateLimitExceededException, ServerInternalException, AwsServiceException, SdkClientException, LicenseManagerException
Creates a license.
- Parameters:
createLicenseRequest-- Returns:
- Result of the CreateLicense operation returned by the service.
- Throws:
ValidationException- The provided input is not valid. Try your request again.InvalidParameterValueException- One or more parameter values are not valid.RedirectException- This is not the correct Region for the resource. Try again.AuthorizationException- The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.AccessDeniedException- Access to resource denied.RateLimitExceededException- Too many requests have been submitted. Try again after a brief wait.ServerInternalException- The server experienced an internal error. Try again.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createLicense
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.Builderavoiding the need to create one manually viaCreateLicenseRequest.builder()- Parameters:
createLicenseRequest- AConsumerthat will call methods onCreateLicenseRequest.Builderto create a request.- Returns:
- Result of the CreateLicense operation returned by the service.
- Throws:
ValidationException- The provided input is not valid. Try your request again.InvalidParameterValueException- One or more parameter values are not valid.RedirectException- This is not the correct Region for the resource. Try again.AuthorizationException- The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.AccessDeniedException- Access to resource denied.RateLimitExceededException- Too many requests have been submitted. Try again after a brief wait.ServerInternalException- The server experienced an internal error. Try again.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createLicenseConfiguration
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.
- Parameters:
createLicenseConfigurationRequest-- Returns:
- Result of the CreateLicenseConfiguration operation returned by the service.
- Throws:
InvalidParameterValueException- One or more parameter values are not valid.ServerInternalException- The server experienced an internal error. Try again.ResourceLimitExceededException- Your resource limits have been exceeded.AuthorizationException- The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.AccessDeniedException- Access to resource denied.RateLimitExceededException- Too many requests have been submitted. Try again after a brief wait.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createLicenseConfiguration
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.Builderavoiding the need to create one manually viaCreateLicenseConfigurationRequest.builder()- Parameters:
createLicenseConfigurationRequest- AConsumerthat will call methods onCreateLicenseConfigurationRequest.Builderto create a request.- Returns:
- Result of the CreateLicenseConfiguration operation returned by the service.
- Throws:
InvalidParameterValueException- One or more parameter values are not valid.ServerInternalException- The server experienced an internal error. Try again.ResourceLimitExceededException- Your resource limits have been exceeded.AuthorizationException- The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.AccessDeniedException- Access to resource denied.RateLimitExceededException- Too many requests have been submitted. Try again after a brief wait.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createLicenseConversionTaskForResource
default CreateLicenseConversionTaskForResourceResponse createLicenseConversionTaskForResource(CreateLicenseConversionTaskForResourceRequest createLicenseConversionTaskForResourceRequest) throws InvalidParameterValueException, ValidationException, ServerInternalException, AuthorizationException, AccessDeniedException, RateLimitExceededException, AwsServiceException, SdkClientException, LicenseManagerException
Creates a new license conversion task.
- Parameters:
createLicenseConversionTaskForResourceRequest-- Returns:
- Result of the CreateLicenseConversionTaskForResource operation returned by the service.
- Throws:
InvalidParameterValueException- One or more parameter values are not valid.ValidationException- The provided input is not valid. Try your request again.ServerInternalException- The server experienced an internal error. Try again.AuthorizationException- The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.AccessDeniedException- Access to resource denied.RateLimitExceededException- Too many requests have been submitted. Try again after a brief wait.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createLicenseConversionTaskForResource
default CreateLicenseConversionTaskForResourceResponse createLicenseConversionTaskForResource(Consumer<CreateLicenseConversionTaskForResourceRequest.Builder> createLicenseConversionTaskForResourceRequest) throws InvalidParameterValueException, ValidationException, ServerInternalException, AuthorizationException, AccessDeniedException, RateLimitExceededException, AwsServiceException, SdkClientException, LicenseManagerException
Creates a new license conversion task.
This is a convenience which creates an instance of the
CreateLicenseConversionTaskForResourceRequest.Builderavoiding the need to create one manually viaCreateLicenseConversionTaskForResourceRequest.builder()- Parameters:
createLicenseConversionTaskForResourceRequest- AConsumerthat will call methods onCreateLicenseConversionTaskForResourceRequest.Builderto create a request.- Returns:
- Result of the CreateLicenseConversionTaskForResource operation returned by the service.
- Throws:
InvalidParameterValueException- One or more parameter values are not valid.ValidationException- The provided input is not valid. Try your request again.ServerInternalException- The server experienced an internal error. Try again.AuthorizationException- The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.AccessDeniedException- Access to resource denied.RateLimitExceededException- Too many requests have been submitted. Try again after a brief wait.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createLicenseManagerReportGenerator
default CreateLicenseManagerReportGeneratorResponse createLicenseManagerReportGenerator(CreateLicenseManagerReportGeneratorRequest createLicenseManagerReportGeneratorRequest) throws ValidationException, InvalidParameterValueException, ResourceLimitExceededException, ServerInternalException, AuthorizationException, RateLimitExceededException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, LicenseManagerException
Creates a report generator.
- Parameters:
createLicenseManagerReportGeneratorRequest-- Returns:
- Result of the CreateLicenseManagerReportGenerator operation returned by the service.
- Throws:
ValidationException- The provided input is not valid. Try your request again.InvalidParameterValueException- One or more parameter values are not valid.ResourceLimitExceededException- Your resource limits have been exceeded.ServerInternalException- The server experienced an internal error. Try again.AuthorizationException- The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.RateLimitExceededException- Too many requests have been submitted. Try again after a brief wait.AccessDeniedException- Access to resource denied.ResourceNotFoundException- The resource cannot be found.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createLicenseManagerReportGenerator
default CreateLicenseManagerReportGeneratorResponse createLicenseManagerReportGenerator(Consumer<CreateLicenseManagerReportGeneratorRequest.Builder> createLicenseManagerReportGeneratorRequest) throws ValidationException, InvalidParameterValueException, ResourceLimitExceededException, ServerInternalException, AuthorizationException, RateLimitExceededException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, LicenseManagerException
Creates a report generator.
This is a convenience which creates an instance of the
CreateLicenseManagerReportGeneratorRequest.Builderavoiding the need to create one manually viaCreateLicenseManagerReportGeneratorRequest.builder()- Parameters:
createLicenseManagerReportGeneratorRequest- AConsumerthat will call methods onCreateLicenseManagerReportGeneratorRequest.Builderto create a request.- Returns:
- Result of the CreateLicenseManagerReportGenerator operation returned by the service.
- Throws:
ValidationException- The provided input is not valid. Try your request again.InvalidParameterValueException- One or more parameter values are not valid.ResourceLimitExceededException- Your resource limits have been exceeded.ServerInternalException- The server experienced an internal error. Try again.AuthorizationException- The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.RateLimitExceededException- Too many requests have been submitted. Try again after a brief wait.AccessDeniedException- Access to resource denied.ResourceNotFoundException- The resource cannot be found.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createLicenseVersion
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.
- Parameters:
createLicenseVersionRequest-- Returns:
- Result of the CreateLicenseVersion operation returned by the service.
- Throws:
ValidationException- The provided input is not valid. Try your request again.AccessDeniedException- Access to resource denied.ResourceNotFoundException- The resource cannot be found.RedirectException- This is not the correct Region for the resource. Try again.ConflictException- There was a conflict processing the request. Try your request again.ServerInternalException- The server experienced an internal error. Try again.AuthorizationException- The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.RateLimitExceededException- Too many requests have been submitted. Try again after a brief wait.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createLicenseVersion
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.Builderavoiding the need to create one manually viaCreateLicenseVersionRequest.builder()- Parameters:
createLicenseVersionRequest- AConsumerthat will call methods onCreateLicenseVersionRequest.Builderto create a request.- Returns:
- Result of the CreateLicenseVersion operation returned by the service.
- Throws:
ValidationException- The provided input is not valid. Try your request again.AccessDeniedException- Access to resource denied.ResourceNotFoundException- The resource cannot be found.RedirectException- This is not the correct Region for the resource. Try again.ConflictException- There was a conflict processing the request. Try your request again.ServerInternalException- The server experienced an internal error. Try again.AuthorizationException- The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.RateLimitExceededException- Too many requests have been submitted. Try again after a brief wait.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createToken
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.
- Parameters:
createTokenRequest-- Returns:
- Result of the CreateToken operation returned by the service.
- Throws:
ValidationException- The provided input is not valid. Try your request again.AuthorizationException- The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.AccessDeniedException- Access to resource denied.RateLimitExceededException- Too many requests have been submitted. Try again after a brief wait.ResourceLimitExceededException- Your resource limits have been exceeded.ServerInternalException- The server experienced an internal error. Try again.ResourceNotFoundException- The resource cannot be found.RedirectException- This is not the correct Region for the resource. Try again.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
createToken
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.Builderavoiding the need to create one manually viaCreateTokenRequest.builder()- Parameters:
createTokenRequest- AConsumerthat will call methods onCreateTokenRequest.Builderto create a request.- Returns:
- Result of the CreateToken operation returned by the service.
- Throws:
ValidationException- The provided input is not valid. Try your request again.AuthorizationException- The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.AccessDeniedException- Access to resource denied.RateLimitExceededException- Too many requests have been submitted. Try again after a brief wait.ResourceLimitExceededException- Your resource limits have been exceeded.ServerInternalException- The server experienced an internal error. Try again.ResourceNotFoundException- The resource cannot be found.RedirectException- This is not the correct Region for the resource. Try again.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteGrant
default DeleteGrantResponse deleteGrant(DeleteGrantRequest deleteGrantRequest) throws ValidationException, InvalidParameterValueException, AuthorizationException, AccessDeniedException, RateLimitExceededException, ResourceLimitExceededException, ServerInternalException, AwsServiceException, SdkClientException, LicenseManagerException
Deletes the specified grant.
- Parameters:
deleteGrantRequest-- Returns:
- Result of the DeleteGrant operation returned by the service.
- Throws:
ValidationException- The provided input is not valid. Try your request again.InvalidParameterValueException- One or more parameter values are not valid.AuthorizationException- The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.AccessDeniedException- Access to resource denied.RateLimitExceededException- Too many requests have been submitted. Try again after a brief wait.ResourceLimitExceededException- Your resource limits have been exceeded.ServerInternalException- The server experienced an internal error. Try again.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteGrant
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.Builderavoiding the need to create one manually viaDeleteGrantRequest.builder()- Parameters:
deleteGrantRequest- AConsumerthat will call methods onDeleteGrantRequest.Builderto create a request.- Returns:
- Result of the DeleteGrant operation returned by the service.
- Throws:
ValidationException- The provided input is not valid. Try your request again.InvalidParameterValueException- One or more parameter values are not valid.AuthorizationException- The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.AccessDeniedException- Access to resource denied.RateLimitExceededException- Too many requests have been submitted. Try again after a brief wait.ResourceLimitExceededException- Your resource limits have been exceeded.ServerInternalException- The server experienced an internal error. Try again.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteLicense
default DeleteLicenseResponse deleteLicense(DeleteLicenseRequest deleteLicenseRequest) throws ValidationException, InvalidParameterValueException, RedirectException, ConflictException, ServerInternalException, AuthorizationException, AccessDeniedException, RateLimitExceededException, AwsServiceException, SdkClientException, LicenseManagerException
Deletes the specified license.
- Parameters:
deleteLicenseRequest-- Returns:
- Result of the DeleteLicense operation returned by the service.
- Throws:
ValidationException- The provided input is not valid. Try your request again.InvalidParameterValueException- One or more parameter values are not valid.RedirectException- This is not the correct Region for the resource. Try again.ConflictException- There was a conflict processing the request. Try your request again.ServerInternalException- The server experienced an internal error. Try again.AuthorizationException- The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.AccessDeniedException- Access to resource denied.RateLimitExceededException- Too many requests have been submitted. Try again after a brief wait.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteLicense
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.Builderavoiding the need to create one manually viaDeleteLicenseRequest.builder()- Parameters:
deleteLicenseRequest- AConsumerthat will call methods onDeleteLicenseRequest.Builderto create a request.- Returns:
- Result of the DeleteLicense operation returned by the service.
- Throws:
ValidationException- The provided input is not valid. Try your request again.InvalidParameterValueException- One or more parameter values are not valid.RedirectException- This is not the correct Region for the resource. Try again.ConflictException- There was a conflict processing the request. Try your request again.ServerInternalException- The server experienced an internal error. Try again.AuthorizationException- The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.AccessDeniedException- Access to resource denied.RateLimitExceededException- Too many requests have been submitted. Try again after a brief wait.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteLicenseConfiguration
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.
- Parameters:
deleteLicenseConfigurationRequest-- Returns:
- Result of the DeleteLicenseConfiguration operation returned by the service.
- Throws:
InvalidParameterValueException- One or more parameter values are not valid.ServerInternalException- The server experienced an internal error. Try again.AuthorizationException- The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.AccessDeniedException- Access to resource denied.RateLimitExceededException- Too many requests have been submitted. Try again after a brief wait.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteLicenseConfiguration
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.Builderavoiding the need to create one manually viaDeleteLicenseConfigurationRequest.builder()- Parameters:
deleteLicenseConfigurationRequest- AConsumerthat will call methods onDeleteLicenseConfigurationRequest.Builderto create a request.- Returns:
- Result of the DeleteLicenseConfiguration operation returned by the service.
- Throws:
InvalidParameterValueException- One or more parameter values are not valid.ServerInternalException- The server experienced an internal error. Try again.AuthorizationException- The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.AccessDeniedException- Access to resource denied.RateLimitExceededException- Too many requests have been submitted. Try again after a brief wait.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteLicenseManagerReportGenerator
default DeleteLicenseManagerReportGeneratorResponse deleteLicenseManagerReportGenerator(DeleteLicenseManagerReportGeneratorRequest deleteLicenseManagerReportGeneratorRequest) throws ValidationException, InvalidParameterValueException, ResourceLimitExceededException, ServerInternalException, AuthorizationException, RateLimitExceededException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, LicenseManagerException
Deletes the specified report generator.
This action deletes the report generator, which stops it from generating future reports. The action cannot be reversed. It has no effect on the previous reports from this generator.
- Parameters:
deleteLicenseManagerReportGeneratorRequest-- Returns:
- Result of the DeleteLicenseManagerReportGenerator operation returned by the service.
- Throws:
ValidationException- The provided input is not valid. Try your request again.InvalidParameterValueException- One or more parameter values are not valid.ResourceLimitExceededException- Your resource limits have been exceeded.ServerInternalException- The server experienced an internal error. Try again.AuthorizationException- The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.RateLimitExceededException- Too many requests have been submitted. Try again after a brief wait.AccessDeniedException- Access to resource denied.ResourceNotFoundException- The resource cannot be found.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteLicenseManagerReportGenerator
default DeleteLicenseManagerReportGeneratorResponse deleteLicenseManagerReportGenerator(Consumer<DeleteLicenseManagerReportGeneratorRequest.Builder> deleteLicenseManagerReportGeneratorRequest) throws ValidationException, InvalidParameterValueException, ResourceLimitExceededException, ServerInternalException, AuthorizationException, RateLimitExceededException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, LicenseManagerException
Deletes the specified report generator.
This action deletes the report generator, which stops it from generating future reports. The action cannot be reversed. It has no effect on the previous reports from this generator.
This is a convenience which creates an instance of the
DeleteLicenseManagerReportGeneratorRequest.Builderavoiding the need to create one manually viaDeleteLicenseManagerReportGeneratorRequest.builder()- Parameters:
deleteLicenseManagerReportGeneratorRequest- AConsumerthat will call methods onDeleteLicenseManagerReportGeneratorRequest.Builderto create a request.- Returns:
- Result of the DeleteLicenseManagerReportGenerator operation returned by the service.
- Throws:
ValidationException- The provided input is not valid. Try your request again.InvalidParameterValueException- One or more parameter values are not valid.ResourceLimitExceededException- Your resource limits have been exceeded.ServerInternalException- The server experienced an internal error. Try again.AuthorizationException- The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.RateLimitExceededException- Too many requests have been submitted. Try again after a brief wait.AccessDeniedException- Access to resource denied.ResourceNotFoundException- The resource cannot be found.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteToken
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.
- Parameters:
deleteTokenRequest-- Returns:
- Result of the DeleteToken operation returned by the service.
- Throws:
ValidationException- The provided input is not valid. Try your request again.AuthorizationException- The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.AccessDeniedException- Access to resource denied.RateLimitExceededException- Too many requests have been submitted. Try again after a brief wait.ServerInternalException- The server experienced an internal error. Try again.ResourceNotFoundException- The resource cannot be found.RedirectException- This is not the correct Region for the resource. Try again.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
deleteToken
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.Builderavoiding the need to create one manually viaDeleteTokenRequest.builder()- Parameters:
deleteTokenRequest- AConsumerthat will call methods onDeleteTokenRequest.Builderto create a request.- Returns:
- Result of the DeleteToken operation returned by the service.
- Throws:
ValidationException- The provided input is not valid. Try your request again.AuthorizationException- The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.AccessDeniedException- Access to resource denied.RateLimitExceededException- Too many requests have been submitted. Try again after a brief wait.ServerInternalException- The server experienced an internal error. Try again.ResourceNotFoundException- The resource cannot be found.RedirectException- This is not the correct Region for the resource. Try again.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
extendLicenseConsumption
default ExtendLicenseConsumptionResponse extendLicenseConsumption(ExtendLicenseConsumptionRequest extendLicenseConsumptionRequest) throws ValidationException, InvalidParameterValueException, AuthorizationException, AccessDeniedException, RateLimitExceededException, ServerInternalException, ResourceNotFoundException, AwsServiceException, SdkClientException, LicenseManagerException
Extends the expiration date for license consumption.
- Parameters:
extendLicenseConsumptionRequest-- Returns:
- Result of the ExtendLicenseConsumption operation returned by the service.
- Throws:
ValidationException- The provided input is not valid. Try your request again.InvalidParameterValueException- One or more parameter values are not valid.AuthorizationException- The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.AccessDeniedException- Access to resource denied.RateLimitExceededException- Too many requests have been submitted. Try again after a brief wait.ServerInternalException- The server experienced an internal error. Try again.ResourceNotFoundException- The resource cannot be found.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
extendLicenseConsumption
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.Builderavoiding the need to create one manually viaExtendLicenseConsumptionRequest.builder()- Parameters:
extendLicenseConsumptionRequest- AConsumerthat will call methods onExtendLicenseConsumptionRequest.Builderto create a request.- Returns:
- Result of the ExtendLicenseConsumption operation returned by the service.
- Throws:
ValidationException- The provided input is not valid. Try your request again.InvalidParameterValueException- One or more parameter values are not valid.AuthorizationException- The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.AccessDeniedException- Access to resource denied.RateLimitExceededException- Too many requests have been submitted. Try again after a brief wait.ServerInternalException- The server experienced an internal error. Try again.ResourceNotFoundException- The resource cannot be found.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getAccessToken
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.
- Parameters:
getAccessTokenRequest-- Returns:
- Result of the GetAccessToken operation returned by the service.
- Throws:
ValidationException- The provided input is not valid. Try your request again.AuthorizationException- The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.AccessDeniedException- Access to resource denied.RateLimitExceededException- Too many requests have been submitted. Try again after a brief wait.ServerInternalException- The server experienced an internal error. Try again.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getAccessToken
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.Builderavoiding the need to create one manually viaGetAccessTokenRequest.builder()- Parameters:
getAccessTokenRequest- AConsumerthat will call methods onGetAccessTokenRequest.Builderto create a request.- Returns:
- Result of the GetAccessToken operation returned by the service.
- Throws:
ValidationException- The provided input is not valid. Try your request again.AuthorizationException- The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.AccessDeniedException- Access to resource denied.RateLimitExceededException- Too many requests have been submitted. Try again after a brief wait.ServerInternalException- The server experienced an internal error. Try again.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getGrant
default GetGrantResponse getGrant(GetGrantRequest getGrantRequest) throws ValidationException, InvalidParameterValueException, ResourceLimitExceededException, ServerInternalException, AuthorizationException, AccessDeniedException, RateLimitExceededException, AwsServiceException, SdkClientException, LicenseManagerException
Gets detailed information about the specified grant.
- Parameters:
getGrantRequest-- Returns:
- Result of the GetGrant operation returned by the service.
- Throws:
ValidationException- The provided input is not valid. Try your request again.InvalidParameterValueException- One or more parameter values are not valid.ResourceLimitExceededException- Your resource limits have been exceeded.ServerInternalException- The server experienced an internal error. Try again.AuthorizationException- The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.AccessDeniedException- Access to resource denied.RateLimitExceededException- Too many requests have been submitted. Try again after a brief wait.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getGrant
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.Builderavoiding the need to create one manually viaGetGrantRequest.builder()- Parameters:
getGrantRequest- AConsumerthat will call methods onGetGrantRequest.Builderto create a request.- Returns:
- Result of the GetGrant operation returned by the service.
- Throws:
ValidationException- The provided input is not valid. Try your request again.InvalidParameterValueException- One or more parameter values are not valid.ResourceLimitExceededException- Your resource limits have been exceeded.ServerInternalException- The server experienced an internal error. Try again.AuthorizationException- The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.AccessDeniedException- Access to resource denied.RateLimitExceededException- Too many requests have been submitted. Try again after a brief wait.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getLicense
default GetLicenseResponse getLicense(GetLicenseRequest getLicenseRequest) throws ValidationException, InvalidParameterValueException, AuthorizationException, AccessDeniedException, RateLimitExceededException, ServerInternalException, AwsServiceException, SdkClientException, LicenseManagerException
Gets detailed information about the specified license.
- Parameters:
getLicenseRequest-- Returns:
- Result of the GetLicense operation returned by the service.
- Throws:
ValidationException- The provided input is not valid. Try your request again.InvalidParameterValueException- One or more parameter values are not valid.AuthorizationException- The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.AccessDeniedException- Access to resource denied.RateLimitExceededException- Too many requests have been submitted. Try again after a brief wait.ServerInternalException- The server experienced an internal error. Try again.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getLicense
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.Builderavoiding the need to create one manually viaGetLicenseRequest.builder()- Parameters:
getLicenseRequest- AConsumerthat will call methods onGetLicenseRequest.Builderto create a request.- Returns:
- Result of the GetLicense operation returned by the service.
- Throws:
ValidationException- The provided input is not valid. Try your request again.InvalidParameterValueException- One or more parameter values are not valid.AuthorizationException- The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.AccessDeniedException- Access to resource denied.RateLimitExceededException- Too many requests have been submitted. Try again after a brief wait.ServerInternalException- The server experienced an internal error. Try again.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getLicenseConfiguration
default GetLicenseConfigurationResponse getLicenseConfiguration(GetLicenseConfigurationRequest getLicenseConfigurationRequest) throws InvalidParameterValueException, ServerInternalException, AuthorizationException, AccessDeniedException, RateLimitExceededException, AwsServiceException, SdkClientException, LicenseManagerException
Gets detailed information about the specified license configuration.
- Parameters:
getLicenseConfigurationRequest-- Returns:
- Result of the GetLicenseConfiguration operation returned by the service.
- Throws:
InvalidParameterValueException- One or more parameter values are not valid.ServerInternalException- The server experienced an internal error. Try again.AuthorizationException- The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.AccessDeniedException- Access to resource denied.RateLimitExceededException- Too many requests have been submitted. Try again after a brief wait.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getLicenseConfiguration
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.Builderavoiding the need to create one manually viaGetLicenseConfigurationRequest.builder()- Parameters:
getLicenseConfigurationRequest- AConsumerthat will call methods onGetLicenseConfigurationRequest.Builderto create a request.- Returns:
- Result of the GetLicenseConfiguration operation returned by the service.
- Throws:
InvalidParameterValueException- One or more parameter values are not valid.ServerInternalException- The server experienced an internal error. Try again.AuthorizationException- The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.AccessDeniedException- Access to resource denied.RateLimitExceededException- Too many requests have been submitted. Try again after a brief wait.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getLicenseConversionTask
default GetLicenseConversionTaskResponse getLicenseConversionTask(GetLicenseConversionTaskRequest getLicenseConversionTaskRequest) throws InvalidParameterValueException, ServerInternalException, AuthorizationException, AccessDeniedException, RateLimitExceededException, AwsServiceException, SdkClientException, LicenseManagerException
Gets information about the specified license type conversion task.
- Parameters:
getLicenseConversionTaskRequest-- Returns:
- Result of the GetLicenseConversionTask operation returned by the service.
- Throws:
InvalidParameterValueException- One or more parameter values are not valid.ServerInternalException- The server experienced an internal error. Try again.AuthorizationException- The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.AccessDeniedException- Access to resource denied.RateLimitExceededException- Too many requests have been submitted. Try again after a brief wait.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getLicenseConversionTask
default GetLicenseConversionTaskResponse getLicenseConversionTask(Consumer<GetLicenseConversionTaskRequest.Builder> getLicenseConversionTaskRequest) throws InvalidParameterValueException, ServerInternalException, AuthorizationException, AccessDeniedException, RateLimitExceededException, AwsServiceException, SdkClientException, LicenseManagerException
Gets information about the specified license type conversion task.
This is a convenience which creates an instance of the
GetLicenseConversionTaskRequest.Builderavoiding the need to create one manually viaGetLicenseConversionTaskRequest.builder()- Parameters:
getLicenseConversionTaskRequest- AConsumerthat will call methods onGetLicenseConversionTaskRequest.Builderto create a request.- Returns:
- Result of the GetLicenseConversionTask operation returned by the service.
- Throws:
InvalidParameterValueException- One or more parameter values are not valid.ServerInternalException- The server experienced an internal error. Try again.AuthorizationException- The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.AccessDeniedException- Access to resource denied.RateLimitExceededException- Too many requests have been submitted. Try again after a brief wait.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getLicenseManagerReportGenerator
default GetLicenseManagerReportGeneratorResponse getLicenseManagerReportGenerator(GetLicenseManagerReportGeneratorRequest getLicenseManagerReportGeneratorRequest) throws ValidationException, InvalidParameterValueException, ResourceLimitExceededException, ServerInternalException, AuthorizationException, RateLimitExceededException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, LicenseManagerException
Gets information about the specified report generator.
- Parameters:
getLicenseManagerReportGeneratorRequest-- Returns:
- Result of the GetLicenseManagerReportGenerator operation returned by the service.
- Throws:
ValidationException- The provided input is not valid. Try your request again.InvalidParameterValueException- One or more parameter values are not valid.ResourceLimitExceededException- Your resource limits have been exceeded.ServerInternalException- The server experienced an internal error. Try again.AuthorizationException- The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.RateLimitExceededException- Too many requests have been submitted. Try again after a brief wait.AccessDeniedException- Access to resource denied.ResourceNotFoundException- The resource cannot be found.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getLicenseManagerReportGenerator
default GetLicenseManagerReportGeneratorResponse getLicenseManagerReportGenerator(Consumer<GetLicenseManagerReportGeneratorRequest.Builder> getLicenseManagerReportGeneratorRequest) throws ValidationException, InvalidParameterValueException, ResourceLimitExceededException, ServerInternalException, AuthorizationException, RateLimitExceededException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, LicenseManagerException
Gets information about the specified report generator.
This is a convenience which creates an instance of the
GetLicenseManagerReportGeneratorRequest.Builderavoiding the need to create one manually viaGetLicenseManagerReportGeneratorRequest.builder()- Parameters:
getLicenseManagerReportGeneratorRequest- AConsumerthat will call methods onGetLicenseManagerReportGeneratorRequest.Builderto create a request.- Returns:
- Result of the GetLicenseManagerReportGenerator operation returned by the service.
- Throws:
ValidationException- The provided input is not valid. Try your request again.InvalidParameterValueException- One or more parameter values are not valid.ResourceLimitExceededException- Your resource limits have been exceeded.ServerInternalException- The server experienced an internal error. Try again.AuthorizationException- The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.RateLimitExceededException- Too many requests have been submitted. Try again after a brief wait.AccessDeniedException- Access to resource denied.ResourceNotFoundException- The resource cannot be found.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getLicenseUsage
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.
- Parameters:
getLicenseUsageRequest-- Returns:
- Result of the GetLicenseUsage operation returned by the service.
- Throws:
ValidationException- The provided input is not valid. Try your request again.InvalidParameterValueException- One or more parameter values are not valid.AuthorizationException- The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.AccessDeniedException- Access to resource denied.RateLimitExceededException- Too many requests have been submitted. Try again after a brief wait.ServerInternalException- The server experienced an internal error. Try again.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getLicenseUsage
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.Builderavoiding the need to create one manually viaGetLicenseUsageRequest.builder()- Parameters:
getLicenseUsageRequest- AConsumerthat will call methods onGetLicenseUsageRequest.Builderto create a request.- Returns:
- Result of the GetLicenseUsage operation returned by the service.
- Throws:
ValidationException- The provided input is not valid. Try your request again.InvalidParameterValueException- One or more parameter values are not valid.AuthorizationException- The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.AccessDeniedException- Access to resource denied.RateLimitExceededException- Too many requests have been submitted. Try again after a brief wait.ServerInternalException- The server experienced an internal error. Try again.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getServiceSettings
default GetServiceSettingsResponse getServiceSettings(GetServiceSettingsRequest getServiceSettingsRequest) throws ServerInternalException, AuthorizationException, AccessDeniedException, RateLimitExceededException, AwsServiceException, SdkClientException, LicenseManagerException
Gets the License Manager settings for the current Region.
- Parameters:
getServiceSettingsRequest-- Returns:
- Result of the GetServiceSettings operation returned by the service.
- Throws:
ServerInternalException- The server experienced an internal error. Try again.AuthorizationException- The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.AccessDeniedException- Access to resource denied.RateLimitExceededException- Too many requests have been submitted. Try again after a brief wait.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getServiceSettings
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.Builderavoiding the need to create one manually viaGetServiceSettingsRequest.builder()- Parameters:
getServiceSettingsRequest- AConsumerthat will call methods onGetServiceSettingsRequest.Builderto create a request.- Returns:
- Result of the GetServiceSettings operation returned by the service.
- Throws:
ServerInternalException- The server experienced an internal error. Try again.AuthorizationException- The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.AccessDeniedException- Access to resource denied.RateLimitExceededException- Too many requests have been submitted. Try again after a brief wait.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
getServiceSettings
default GetServiceSettingsResponse getServiceSettings() throws ServerInternalException, AuthorizationException, AccessDeniedException, RateLimitExceededException, AwsServiceException, SdkClientException, LicenseManagerException
Gets the License Manager settings for the current Region.
- Returns:
- Result of the GetServiceSettings operation returned by the service.
- Throws:
ServerInternalException- The server experienced an internal error. Try again.AuthorizationException- The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.AccessDeniedException- Access to resource denied.RateLimitExceededException- Too many requests have been submitted. Try again after a brief wait.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
getServiceSettings(GetServiceSettingsRequest), AWS API Documentation
-
listAssociationsForLicenseConfiguration
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).
- Parameters:
listAssociationsForLicenseConfigurationRequest-- Returns:
- Result of the ListAssociationsForLicenseConfiguration operation returned by the service.
- Throws:
InvalidParameterValueException- One or more parameter values are not valid.FilterLimitExceededException- The request uses too many filters or too many filter values.ServerInternalException- The server experienced an internal error. Try again.AuthorizationException- The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.AccessDeniedException- Access to resource denied.RateLimitExceededException- Too many requests have been submitted. Try again after a brief wait.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listAssociationsForLicenseConfiguration
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.Builderavoiding the need to create one manually viaListAssociationsForLicenseConfigurationRequest.builder()- Parameters:
listAssociationsForLicenseConfigurationRequest- AConsumerthat will call methods onListAssociationsForLicenseConfigurationRequest.Builderto create a request.- Returns:
- Result of the ListAssociationsForLicenseConfiguration operation returned by the service.
- Throws:
InvalidParameterValueException- One or more parameter values are not valid.FilterLimitExceededException- The request uses too many filters or too many filter values.ServerInternalException- The server experienced an internal error. Try again.AuthorizationException- The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.AccessDeniedException- Access to resource denied.RateLimitExceededException- Too many requests have been submitted. Try again after a brief wait.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listDistributedGrants
default ListDistributedGrantsResponse listDistributedGrants(ListDistributedGrantsRequest listDistributedGrantsRequest) throws ValidationException, InvalidParameterValueException, ResourceLimitExceededException, ServerInternalException, AuthorizationException, AccessDeniedException, RateLimitExceededException, AwsServiceException, SdkClientException, LicenseManagerException
Lists the grants distributed for the specified license.
- Parameters:
listDistributedGrantsRequest-- Returns:
- Result of the ListDistributedGrants operation returned by the service.
- Throws:
ValidationException- The provided input is not valid. Try your request again.InvalidParameterValueException- One or more parameter values are not valid.ResourceLimitExceededException- Your resource limits have been exceeded.ServerInternalException- The server experienced an internal error. Try again.AuthorizationException- The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.AccessDeniedException- Access to resource denied.RateLimitExceededException- Too many requests have been submitted. Try again after a brief wait.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listDistributedGrants
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.Builderavoiding the need to create one manually viaListDistributedGrantsRequest.builder()- Parameters:
listDistributedGrantsRequest- AConsumerthat will call methods onListDistributedGrantsRequest.Builderto create a request.- Returns:
- Result of the ListDistributedGrants operation returned by the service.
- Throws:
ValidationException- The provided input is not valid. Try your request again.InvalidParameterValueException- One or more parameter values are not valid.ResourceLimitExceededException- Your resource limits have been exceeded.ServerInternalException- The server experienced an internal error. Try again.AuthorizationException- The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.AccessDeniedException- Access to resource denied.RateLimitExceededException- Too many requests have been submitted. Try again after a brief wait.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listFailuresForLicenseConfigurationOperations
default ListFailuresForLicenseConfigurationOperationsResponse listFailuresForLicenseConfigurationOperations(ListFailuresForLicenseConfigurationOperationsRequest listFailuresForLicenseConfigurationOperationsRequest) throws InvalidParameterValueException, ServerInternalException, AuthorizationException, AccessDeniedException, RateLimitExceededException, AwsServiceException, SdkClientException, LicenseManagerException
Lists the license configuration operations that failed.
- Parameters:
listFailuresForLicenseConfigurationOperationsRequest-- Returns:
- Result of the ListFailuresForLicenseConfigurationOperations operation returned by the service.
- Throws:
InvalidParameterValueException- One or more parameter values are not valid.ServerInternalException- The server experienced an internal error. Try again.AuthorizationException- The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.AccessDeniedException- Access to resource denied.RateLimitExceededException- Too many requests have been submitted. Try again after a brief wait.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listFailuresForLicenseConfigurationOperations
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.Builderavoiding the need to create one manually viaListFailuresForLicenseConfigurationOperationsRequest.builder()- Parameters:
listFailuresForLicenseConfigurationOperationsRequest- AConsumerthat will call methods onListFailuresForLicenseConfigurationOperationsRequest.Builderto create a request.- Returns:
- Result of the ListFailuresForLicenseConfigurationOperations operation returned by the service.
- Throws:
InvalidParameterValueException- One or more parameter values are not valid.ServerInternalException- The server experienced an internal error. Try again.AuthorizationException- The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.AccessDeniedException- Access to resource denied.RateLimitExceededException- Too many requests have been submitted. Try again after a brief wait.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listLicenseConfigurations
default ListLicenseConfigurationsResponse listLicenseConfigurations(ListLicenseConfigurationsRequest listLicenseConfigurationsRequest) throws InvalidParameterValueException, ServerInternalException, FilterLimitExceededException, AuthorizationException, AccessDeniedException, RateLimitExceededException, AwsServiceException, SdkClientException, LicenseManagerException
Lists the license configurations for your account.
- Parameters:
listLicenseConfigurationsRequest-- Returns:
- Result of the ListLicenseConfigurations operation returned by the service.
- Throws:
InvalidParameterValueException- One or more parameter values are not valid.ServerInternalException- The server experienced an internal error. Try again.FilterLimitExceededException- The request uses too many filters or too many filter values.AuthorizationException- The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.AccessDeniedException- Access to resource denied.RateLimitExceededException- Too many requests have been submitted. Try again after a brief wait.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listLicenseConfigurations
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.Builderavoiding the need to create one manually viaListLicenseConfigurationsRequest.builder()- Parameters:
listLicenseConfigurationsRequest- AConsumerthat will call methods onListLicenseConfigurationsRequest.Builderto create a request.- Returns:
- Result of the ListLicenseConfigurations operation returned by the service.
- Throws:
InvalidParameterValueException- One or more parameter values are not valid.ServerInternalException- The server experienced an internal error. Try again.FilterLimitExceededException- The request uses too many filters or too many filter values.AuthorizationException- The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.AccessDeniedException- Access to resource denied.RateLimitExceededException- Too many requests have been submitted. Try again after a brief wait.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listLicenseConfigurations
default ListLicenseConfigurationsResponse listLicenseConfigurations() throws InvalidParameterValueException, ServerInternalException, FilterLimitExceededException, AuthorizationException, AccessDeniedException, RateLimitExceededException, AwsServiceException, SdkClientException, LicenseManagerException
Lists the license configurations for your account.
- Returns:
- Result of the ListLicenseConfigurations operation returned by the service.
- Throws:
InvalidParameterValueException- One or more parameter values are not valid.ServerInternalException- The server experienced an internal error. Try again.FilterLimitExceededException- The request uses too many filters or too many filter values.AuthorizationException- The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.AccessDeniedException- Access to resource denied.RateLimitExceededException- Too many requests have been submitted. Try again after a brief wait.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
listLicenseConfigurations(ListLicenseConfigurationsRequest), AWS API Documentation
-
listLicenseConversionTasks
default ListLicenseConversionTasksResponse listLicenseConversionTasks(ListLicenseConversionTasksRequest listLicenseConversionTasksRequest) throws InvalidParameterValueException, ServerInternalException, AuthorizationException, AccessDeniedException, RateLimitExceededException, AwsServiceException, SdkClientException, LicenseManagerException
Lists the license type conversion tasks for your account.
- Parameters:
listLicenseConversionTasksRequest-- Returns:
- Result of the ListLicenseConversionTasks operation returned by the service.
- Throws:
InvalidParameterValueException- One or more parameter values are not valid.ServerInternalException- The server experienced an internal error. Try again.AuthorizationException- The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.AccessDeniedException- Access to resource denied.RateLimitExceededException- Too many requests have been submitted. Try again after a brief wait.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listLicenseConversionTasks
default ListLicenseConversionTasksResponse listLicenseConversionTasks(Consumer<ListLicenseConversionTasksRequest.Builder> listLicenseConversionTasksRequest) throws InvalidParameterValueException, ServerInternalException, AuthorizationException, AccessDeniedException, RateLimitExceededException, AwsServiceException, SdkClientException, LicenseManagerException
Lists the license type conversion tasks for your account.
This is a convenience which creates an instance of the
ListLicenseConversionTasksRequest.Builderavoiding the need to create one manually viaListLicenseConversionTasksRequest.builder()- Parameters:
listLicenseConversionTasksRequest- AConsumerthat will call methods onListLicenseConversionTasksRequest.Builderto create a request.- Returns:
- Result of the ListLicenseConversionTasks operation returned by the service.
- Throws:
InvalidParameterValueException- One or more parameter values are not valid.ServerInternalException- The server experienced an internal error. Try again.AuthorizationException- The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.AccessDeniedException- Access to resource denied.RateLimitExceededException- Too many requests have been submitted. Try again after a brief wait.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listLicenseManagerReportGenerators
default ListLicenseManagerReportGeneratorsResponse listLicenseManagerReportGenerators(ListLicenseManagerReportGeneratorsRequest listLicenseManagerReportGeneratorsRequest) throws ValidationException, InvalidParameterValueException, ResourceLimitExceededException, ServerInternalException, AuthorizationException, RateLimitExceededException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, LicenseManagerException
Lists the report generators for your account.
- Parameters:
listLicenseManagerReportGeneratorsRequest-- Returns:
- Result of the ListLicenseManagerReportGenerators operation returned by the service.
- Throws:
ValidationException- The provided input is not valid. Try your request again.InvalidParameterValueException- One or more parameter values are not valid.ResourceLimitExceededException- Your resource limits have been exceeded.ServerInternalException- The server experienced an internal error. Try again.AuthorizationException- The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.RateLimitExceededException- Too many requests have been submitted. Try again after a brief wait.AccessDeniedException- Access to resource denied.ResourceNotFoundException- The resource cannot be found.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listLicenseManagerReportGenerators
default ListLicenseManagerReportGeneratorsResponse listLicenseManagerReportGenerators(Consumer<ListLicenseManagerReportGeneratorsRequest.Builder> listLicenseManagerReportGeneratorsRequest) throws ValidationException, InvalidParameterValueException, ResourceLimitExceededException, ServerInternalException, AuthorizationException, RateLimitExceededException, AccessDeniedException, ResourceNotFoundException, AwsServiceException, SdkClientException, LicenseManagerException
Lists the report generators for your account.
This is a convenience which creates an instance of the
ListLicenseManagerReportGeneratorsRequest.Builderavoiding the need to create one manually viaListLicenseManagerReportGeneratorsRequest.builder()- Parameters:
listLicenseManagerReportGeneratorsRequest- AConsumerthat will call methods onListLicenseManagerReportGeneratorsRequest.Builderto create a request.- Returns:
- Result of the ListLicenseManagerReportGenerators operation returned by the service.
- Throws:
ValidationException- The provided input is not valid. Try your request again.InvalidParameterValueException- One or more parameter values are not valid.ResourceLimitExceededException- Your resource limits have been exceeded.ServerInternalException- The server experienced an internal error. Try again.AuthorizationException- The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.RateLimitExceededException- Too many requests have been submitted. Try again after a brief wait.AccessDeniedException- Access to resource denied.ResourceNotFoundException- The resource cannot be found.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listLicenseSpecificationsForResource
default ListLicenseSpecificationsForResourceResponse listLicenseSpecificationsForResource(ListLicenseSpecificationsForResourceRequest listLicenseSpecificationsForResourceRequest) throws InvalidParameterValueException, ServerInternalException, AuthorizationException, AccessDeniedException, RateLimitExceededException, AwsServiceException, SdkClientException, LicenseManagerException
Describes the license configurations for the specified resource.
- Parameters:
listLicenseSpecificationsForResourceRequest-- Returns:
- Result of the ListLicenseSpecificationsForResource operation returned by the service.
- Throws:
InvalidParameterValueException- One or more parameter values are not valid.ServerInternalException- The server experienced an internal error. Try again.AuthorizationException- The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.AccessDeniedException- Access to resource denied.RateLimitExceededException- Too many requests have been submitted. Try again after a brief wait.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listLicenseSpecificationsForResource
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.Builderavoiding the need to create one manually viaListLicenseSpecificationsForResourceRequest.builder()- Parameters:
listLicenseSpecificationsForResourceRequest- AConsumerthat will call methods onListLicenseSpecificationsForResourceRequest.Builderto create a request.- Returns:
- Result of the ListLicenseSpecificationsForResource operation returned by the service.
- Throws:
InvalidParameterValueException- One or more parameter values are not valid.ServerInternalException- The server experienced an internal error. Try again.AuthorizationException- The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.AccessDeniedException- Access to resource denied.RateLimitExceededException- Too many requests have been submitted. Try again after a brief wait.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listLicenseVersions
default ListLicenseVersionsResponse listLicenseVersions(ListLicenseVersionsRequest listLicenseVersionsRequest) throws InvalidParameterValueException, AuthorizationException, AccessDeniedException, RateLimitExceededException, ServerInternalException, AwsServiceException, SdkClientException, LicenseManagerException
Lists all versions of the specified license.
- Parameters:
listLicenseVersionsRequest-- Returns:
- Result of the ListLicenseVersions operation returned by the service.
- Throws:
InvalidParameterValueException- One or more parameter values are not valid.AuthorizationException- The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.AccessDeniedException- Access to resource denied.RateLimitExceededException- Too many requests have been submitted. Try again after a brief wait.ServerInternalException- The server experienced an internal error. Try again.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listLicenseVersions
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.Builderavoiding the need to create one manually viaListLicenseVersionsRequest.builder()- Parameters:
listLicenseVersionsRequest- AConsumerthat will call methods onListLicenseVersionsRequest.Builderto create a request.- Returns:
- Result of the ListLicenseVersions operation returned by the service.
- Throws:
InvalidParameterValueException- One or more parameter values are not valid.AuthorizationException- The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.AccessDeniedException- Access to resource denied.RateLimitExceededException- Too many requests have been submitted. Try again after a brief wait.ServerInternalException- The server experienced an internal error. Try again.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listLicenses
default ListLicensesResponse listLicenses(ListLicensesRequest listLicensesRequest) throws ValidationException, InvalidParameterValueException, AuthorizationException, AccessDeniedException, RateLimitExceededException, ServerInternalException, AwsServiceException, SdkClientException, LicenseManagerException
Lists the licenses for your account.
- Parameters:
listLicensesRequest-- Returns:
- Result of the ListLicenses operation returned by the service.
- Throws:
ValidationException- The provided input is not valid. Try your request again.InvalidParameterValueException- One or more parameter values are not valid.AuthorizationException- The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.AccessDeniedException- Access to resource denied.RateLimitExceededException- Too many requests have been submitted. Try again after a brief wait.ServerInternalException- The server experienced an internal error. Try again.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listLicenses
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.Builderavoiding the need to create one manually viaListLicensesRequest.builder()- Parameters:
listLicensesRequest- AConsumerthat will call methods onListLicensesRequest.Builderto create a request.- Returns:
- Result of the ListLicenses operation returned by the service.
- Throws:
ValidationException- The provided input is not valid. Try your request again.InvalidParameterValueException- One or more parameter values are not valid.AuthorizationException- The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.AccessDeniedException- Access to resource denied.RateLimitExceededException- Too many requests have been submitted. Try again after a brief wait.ServerInternalException- The server experienced an internal error. Try again.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listReceivedGrants
default ListReceivedGrantsResponse listReceivedGrants(ListReceivedGrantsRequest listReceivedGrantsRequest) throws ValidationException, InvalidParameterValueException, ResourceLimitExceededException, ServerInternalException, AuthorizationException, AccessDeniedException, RateLimitExceededException, AwsServiceException, SdkClientException, LicenseManagerException
Lists grants that are received. Received grants are grants created while specifying the recipient as this Amazon Web Services account, your organization, or an organizational unit (OU) to which this member account belongs.
- Parameters:
listReceivedGrantsRequest-- Returns:
- Result of the ListReceivedGrants operation returned by the service.
- Throws:
ValidationException- The provided input is not valid. Try your request again.InvalidParameterValueException- One or more parameter values are not valid.ResourceLimitExceededException- Your resource limits have been exceeded.ServerInternalException- The server experienced an internal error. Try again.AuthorizationException- The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.AccessDeniedException- Access to resource denied.RateLimitExceededException- Too many requests have been submitted. Try again after a brief wait.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listReceivedGrants
default ListReceivedGrantsResponse listReceivedGrants(Consumer<ListReceivedGrantsRequest.Builder> listReceivedGrantsRequest) throws ValidationException, InvalidParameterValueException, ResourceLimitExceededException, ServerInternalException, AuthorizationException, AccessDeniedException, RateLimitExceededException, AwsServiceException, SdkClientException, LicenseManagerException
Lists grants that are received. Received grants are grants created while specifying the recipient as this Amazon Web Services account, your organization, or an organizational unit (OU) to which this member account belongs.
This is a convenience which creates an instance of the
ListReceivedGrantsRequest.Builderavoiding the need to create one manually viaListReceivedGrantsRequest.builder()- Parameters:
listReceivedGrantsRequest- AConsumerthat will call methods onListReceivedGrantsRequest.Builderto create a request.- Returns:
- Result of the ListReceivedGrants operation returned by the service.
- Throws:
ValidationException- The provided input is not valid. Try your request again.InvalidParameterValueException- One or more parameter values are not valid.ResourceLimitExceededException- Your resource limits have been exceeded.ServerInternalException- The server experienced an internal error. Try again.AuthorizationException- The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.AccessDeniedException- Access to resource denied.RateLimitExceededException- Too many requests have been submitted. Try again after a brief wait.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listReceivedGrantsForOrganization
default ListReceivedGrantsForOrganizationResponse listReceivedGrantsForOrganization(ListReceivedGrantsForOrganizationRequest listReceivedGrantsForOrganizationRequest) throws ValidationException, InvalidParameterValueException, ResourceLimitExceededException, ServerInternalException, AuthorizationException, AccessDeniedException, RateLimitExceededException, AwsServiceException, SdkClientException, LicenseManagerException
Lists the grants received for all accounts in the organization.
- Parameters:
listReceivedGrantsForOrganizationRequest-- Returns:
- Result of the ListReceivedGrantsForOrganization operation returned by the service.
- Throws:
ValidationException- The provided input is not valid. Try your request again.InvalidParameterValueException- One or more parameter values are not valid.ResourceLimitExceededException- Your resource limits have been exceeded.ServerInternalException- The server experienced an internal error. Try again.AuthorizationException- The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.AccessDeniedException- Access to resource denied.RateLimitExceededException- Too many requests have been submitted. Try again after a brief wait.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listReceivedGrantsForOrganization
default ListReceivedGrantsForOrganizationResponse listReceivedGrantsForOrganization(Consumer<ListReceivedGrantsForOrganizationRequest.Builder> listReceivedGrantsForOrganizationRequest) throws ValidationException, InvalidParameterValueException, ResourceLimitExceededException, ServerInternalException, AuthorizationException, AccessDeniedException, RateLimitExceededException, AwsServiceException, SdkClientException, LicenseManagerException
Lists the grants received for all accounts in the organization.
This is a convenience which creates an instance of the
ListReceivedGrantsForOrganizationRequest.Builderavoiding the need to create one manually viaListReceivedGrantsForOrganizationRequest.builder()- Parameters:
listReceivedGrantsForOrganizationRequest- AConsumerthat will call methods onListReceivedGrantsForOrganizationRequest.Builderto create a request.- Returns:
- Result of the ListReceivedGrantsForOrganization operation returned by the service.
- Throws:
ValidationException- The provided input is not valid. Try your request again.InvalidParameterValueException- One or more parameter values are not valid.ResourceLimitExceededException- Your resource limits have been exceeded.ServerInternalException- The server experienced an internal error. Try again.AuthorizationException- The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.AccessDeniedException- Access to resource denied.RateLimitExceededException- Too many requests have been submitted. Try again after a brief wait.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listReceivedLicenses
default ListReceivedLicensesResponse listReceivedLicenses(ListReceivedLicensesRequest listReceivedLicensesRequest) throws ValidationException, InvalidParameterValueException, ResourceLimitExceededException, ServerInternalException, AuthorizationException, AccessDeniedException, RateLimitExceededException, AwsServiceException, SdkClientException, LicenseManagerException
Lists received licenses.
- Parameters:
listReceivedLicensesRequest-- Returns:
- Result of the ListReceivedLicenses operation returned by the service.
- Throws:
ValidationException- The provided input is not valid. Try your request again.InvalidParameterValueException- One or more parameter values are not valid.ResourceLimitExceededException- Your resource limits have been exceeded.ServerInternalException- The server experienced an internal error. Try again.AuthorizationException- The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.AccessDeniedException- Access to resource denied.RateLimitExceededException- Too many requests have been submitted. Try again after a brief wait.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listReceivedLicenses
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.Builderavoiding the need to create one manually viaListReceivedLicensesRequest.builder()- Parameters:
listReceivedLicensesRequest- AConsumerthat will call methods onListReceivedLicensesRequest.Builderto create a request.- Returns:
- Result of the ListReceivedLicenses operation returned by the service.
- Throws:
ValidationException- The provided input is not valid. Try your request again.InvalidParameterValueException- One or more parameter values are not valid.ResourceLimitExceededException- Your resource limits have been exceeded.ServerInternalException- The server experienced an internal error. Try again.AuthorizationException- The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.AccessDeniedException- Access to resource denied.RateLimitExceededException- Too many requests have been submitted. Try again after a brief wait.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listReceivedLicensesForOrganization
default ListReceivedLicensesForOrganizationResponse listReceivedLicensesForOrganization(ListReceivedLicensesForOrganizationRequest listReceivedLicensesForOrganizationRequest) throws ValidationException, InvalidParameterValueException, ResourceLimitExceededException, ServerInternalException, AuthorizationException, AccessDeniedException, RateLimitExceededException, AwsServiceException, SdkClientException, LicenseManagerException
Lists the licenses received for all accounts in the organization.
- Parameters:
listReceivedLicensesForOrganizationRequest-- Returns:
- Result of the ListReceivedLicensesForOrganization operation returned by the service.
- Throws:
ValidationException- The provided input is not valid. Try your request again.InvalidParameterValueException- One or more parameter values are not valid.ResourceLimitExceededException- Your resource limits have been exceeded.ServerInternalException- The server experienced an internal error. Try again.AuthorizationException- The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.AccessDeniedException- Access to resource denied.RateLimitExceededException- Too many requests have been submitted. Try again after a brief wait.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listReceivedLicensesForOrganization
default ListReceivedLicensesForOrganizationResponse listReceivedLicensesForOrganization(Consumer<ListReceivedLicensesForOrganizationRequest.Builder> listReceivedLicensesForOrganizationRequest) throws ValidationException, InvalidParameterValueException, ResourceLimitExceededException, ServerInternalException, AuthorizationException, AccessDeniedException, RateLimitExceededException, AwsServiceException, SdkClientException, LicenseManagerException
Lists the licenses received for all accounts in the organization.
This is a convenience which creates an instance of the
ListReceivedLicensesForOrganizationRequest.Builderavoiding the need to create one manually viaListReceivedLicensesForOrganizationRequest.builder()- Parameters:
listReceivedLicensesForOrganizationRequest- AConsumerthat will call methods onListReceivedLicensesForOrganizationRequest.Builderto create a request.- Returns:
- Result of the ListReceivedLicensesForOrganization operation returned by the service.
- Throws:
ValidationException- The provided input is not valid. Try your request again.InvalidParameterValueException- One or more parameter values are not valid.ResourceLimitExceededException- Your resource limits have been exceeded.ServerInternalException- The server experienced an internal error. Try again.AuthorizationException- The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.AccessDeniedException- Access to resource denied.RateLimitExceededException- Too many requests have been submitted. Try again after a brief wait.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listResourceInventory
default ListResourceInventoryResponse listResourceInventory(ListResourceInventoryRequest listResourceInventoryRequest) throws InvalidParameterValueException, ServerInternalException, FilterLimitExceededException, FailedDependencyException, AuthorizationException, AccessDeniedException, RateLimitExceededException, AwsServiceException, SdkClientException, LicenseManagerException
Lists resources managed using Systems Manager inventory.
- Parameters:
listResourceInventoryRequest-- Returns:
- Result of the ListResourceInventory operation returned by the service.
- Throws:
InvalidParameterValueException- One or more parameter values are not valid.ServerInternalException- The server experienced an internal error. Try again.FilterLimitExceededException- The request uses too many filters or too many filter values.FailedDependencyException- A dependency required to run the API is missing.AuthorizationException- The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.AccessDeniedException- Access to resource denied.RateLimitExceededException- Too many requests have been submitted. Try again after a brief wait.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listResourceInventory
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.Builderavoiding the need to create one manually viaListResourceInventoryRequest.builder()- Parameters:
listResourceInventoryRequest- AConsumerthat will call methods onListResourceInventoryRequest.Builderto create a request.- Returns:
- Result of the ListResourceInventory operation returned by the service.
- Throws:
InvalidParameterValueException- One or more parameter values are not valid.ServerInternalException- The server experienced an internal error. Try again.FilterLimitExceededException- The request uses too many filters or too many filter values.FailedDependencyException- A dependency required to run the API is missing.AuthorizationException- The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.AccessDeniedException- Access to resource denied.RateLimitExceededException- Too many requests have been submitted. Try again after a brief wait.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listTagsForResource
default ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) throws InvalidParameterValueException, ServerInternalException, AuthorizationException, AccessDeniedException, RateLimitExceededException, AwsServiceException, SdkClientException, LicenseManagerException
Lists the tags for the specified license configuration.
- Parameters:
listTagsForResourceRequest-- Returns:
- Result of the ListTagsForResource operation returned by the service.
- Throws:
InvalidParameterValueException- One or more parameter values are not valid.ServerInternalException- The server experienced an internal error. Try again.AuthorizationException- The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.AccessDeniedException- Access to resource denied.RateLimitExceededException- Too many requests have been submitted. Try again after a brief wait.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listTagsForResource
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.Builderavoiding the need to create one manually viaListTagsForResourceRequest.builder()- Parameters:
listTagsForResourceRequest- AConsumerthat will call methods onListTagsForResourceRequest.Builderto create a request.- Returns:
- Result of the ListTagsForResource operation returned by the service.
- Throws:
InvalidParameterValueException- One or more parameter values are not valid.ServerInternalException- The server experienced an internal error. Try again.AuthorizationException- The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.AccessDeniedException- Access to resource denied.RateLimitExceededException- Too many requests have been submitted. Try again after a brief wait.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listTokens
default ListTokensResponse listTokens(ListTokensRequest listTokensRequest) throws ValidationException, AuthorizationException, AccessDeniedException, RateLimitExceededException, ServerInternalException, AwsServiceException, SdkClientException, LicenseManagerException
Lists your tokens.
- Parameters:
listTokensRequest-- Returns:
- Result of the ListTokens operation returned by the service.
- Throws:
ValidationException- The provided input is not valid. Try your request again.AuthorizationException- The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.AccessDeniedException- Access to resource denied.RateLimitExceededException- Too many requests have been submitted. Try again after a brief wait.ServerInternalException- The server experienced an internal error. Try again.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listTokens
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.Builderavoiding the need to create one manually viaListTokensRequest.builder()- Parameters:
listTokensRequest- AConsumerthat will call methods onListTokensRequest.Builderto create a request.- Returns:
- Result of the ListTokens operation returned by the service.
- Throws:
ValidationException- The provided input is not valid. Try your request again.AuthorizationException- The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.AccessDeniedException- Access to resource denied.RateLimitExceededException- Too many requests have been submitted. Try again after a brief wait.ServerInternalException- The server experienced an internal error. Try again.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listUsageForLicenseConfiguration
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.
- Parameters:
listUsageForLicenseConfigurationRequest-- Returns:
- Result of the ListUsageForLicenseConfiguration operation returned by the service.
- Throws:
InvalidParameterValueException- One or more parameter values are not valid.FilterLimitExceededException- The request uses too many filters or too many filter values.ServerInternalException- The server experienced an internal error. Try again.AuthorizationException- The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.AccessDeniedException- Access to resource denied.RateLimitExceededException- Too many requests have been submitted. Try again after a brief wait.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
listUsageForLicenseConfiguration
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.Builderavoiding the need to create one manually viaListUsageForLicenseConfigurationRequest.builder()- Parameters:
listUsageForLicenseConfigurationRequest- AConsumerthat will call methods onListUsageForLicenseConfigurationRequest.Builderto create a request.- Returns:
- Result of the ListUsageForLicenseConfiguration operation returned by the service.
- Throws:
InvalidParameterValueException- One or more parameter values are not valid.FilterLimitExceededException- The request uses too many filters or too many filter values.ServerInternalException- The server experienced an internal error. Try again.AuthorizationException- The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.AccessDeniedException- Access to resource denied.RateLimitExceededException- Too many requests have been submitted. Try again after a brief wait.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
rejectGrant
default RejectGrantResponse rejectGrant(RejectGrantRequest rejectGrantRequest) throws ValidationException, InvalidParameterValueException, AuthorizationException, AccessDeniedException, RateLimitExceededException, ResourceLimitExceededException, ServerInternalException, AwsServiceException, SdkClientException, LicenseManagerException
Rejects the specified grant.
- Parameters:
rejectGrantRequest-- Returns:
- Result of the RejectGrant operation returned by the service.
- Throws:
ValidationException- The provided input is not valid. Try your request again.InvalidParameterValueException- One or more parameter values are not valid.AuthorizationException- The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.AccessDeniedException- Access to resource denied.RateLimitExceededException- Too many requests have been submitted. Try again after a brief wait.ResourceLimitExceededException- Your resource limits have been exceeded.ServerInternalException- The server experienced an internal error. Try again.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
rejectGrant
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.Builderavoiding the need to create one manually viaRejectGrantRequest.builder()- Parameters:
rejectGrantRequest- AConsumerthat will call methods onRejectGrantRequest.Builderto create a request.- Returns:
- Result of the RejectGrant operation returned by the service.
- Throws:
ValidationException- The provided input is not valid. Try your request again.InvalidParameterValueException- One or more parameter values are not valid.AuthorizationException- The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.AccessDeniedException- Access to resource denied.RateLimitExceededException- Too many requests have been submitted. Try again after a brief wait.ResourceLimitExceededException- Your resource limits have been exceeded.ServerInternalException- The server experienced an internal error. Try again.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
tagResource
default TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws InvalidParameterValueException, ServerInternalException, AuthorizationException, AccessDeniedException, RateLimitExceededException, AwsServiceException, SdkClientException, LicenseManagerException
Adds the specified tags to the specified license configuration.
- Parameters:
tagResourceRequest-- Returns:
- Result of the TagResource operation returned by the service.
- Throws:
InvalidParameterValueException- One or more parameter values are not valid.ServerInternalException- The server experienced an internal error. Try again.AuthorizationException- The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.AccessDeniedException- Access to resource denied.RateLimitExceededException- Too many requests have been submitted. Try again after a brief wait.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
tagResource
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.Builderavoiding the need to create one manually viaTagResourceRequest.builder()- Parameters:
tagResourceRequest- AConsumerthat will call methods onTagResourceRequest.Builderto create a request.- Returns:
- Result of the TagResource operation returned by the service.
- Throws:
InvalidParameterValueException- One or more parameter values are not valid.ServerInternalException- The server experienced an internal error. Try again.AuthorizationException- The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.AccessDeniedException- Access to resource denied.RateLimitExceededException- Too many requests have been submitted. Try again after a brief wait.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
untagResource
default UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws InvalidParameterValueException, ServerInternalException, AuthorizationException, AccessDeniedException, RateLimitExceededException, AwsServiceException, SdkClientException, LicenseManagerException
Removes the specified tags from the specified license configuration.
- Parameters:
untagResourceRequest-- Returns:
- Result of the UntagResource operation returned by the service.
- Throws:
InvalidParameterValueException- One or more parameter values are not valid.ServerInternalException- The server experienced an internal error. Try again.AuthorizationException- The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.AccessDeniedException- Access to resource denied.RateLimitExceededException- Too many requests have been submitted. Try again after a brief wait.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
untagResource
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.Builderavoiding the need to create one manually viaUntagResourceRequest.builder()- Parameters:
untagResourceRequest- AConsumerthat will call methods onUntagResourceRequest.Builderto create a request.- Returns:
- Result of the UntagResource operation returned by the service.
- Throws:
InvalidParameterValueException- One or more parameter values are not valid.ServerInternalException- The server experienced an internal error. Try again.AuthorizationException- The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.AccessDeniedException- Access to resource denied.RateLimitExceededException- Too many requests have been submitted. Try again after a brief wait.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateLicenseConfiguration
default UpdateLicenseConfigurationResponse updateLicenseConfiguration(UpdateLicenseConfigurationRequest updateLicenseConfigurationRequest) throws InvalidParameterValueException, ServerInternalException, AuthorizationException, AccessDeniedException, RateLimitExceededException, ResourceLimitExceededException, AwsServiceException, SdkClientException, LicenseManagerException
Modifies the attributes of an existing license configuration.
- Parameters:
updateLicenseConfigurationRequest-- Returns:
- Result of the UpdateLicenseConfiguration operation returned by the service.
- Throws:
InvalidParameterValueException- One or more parameter values are not valid.ServerInternalException- The server experienced an internal error. Try again.AuthorizationException- The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.AccessDeniedException- Access to resource denied.RateLimitExceededException- Too many requests have been submitted. Try again after a brief wait.ResourceLimitExceededException- Your resource limits have been exceeded.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateLicenseConfiguration
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.Builderavoiding the need to create one manually viaUpdateLicenseConfigurationRequest.builder()- Parameters:
updateLicenseConfigurationRequest- AConsumerthat will call methods onUpdateLicenseConfigurationRequest.Builderto create a request.- Returns:
- Result of the UpdateLicenseConfiguration operation returned by the service.
- Throws:
InvalidParameterValueException- One or more parameter values are not valid.ServerInternalException- The server experienced an internal error. Try again.AuthorizationException- The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.AccessDeniedException- Access to resource denied.RateLimitExceededException- Too many requests have been submitted. Try again after a brief wait.ResourceLimitExceededException- Your resource limits have been exceeded.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateLicenseManagerReportGenerator
default UpdateLicenseManagerReportGeneratorResponse updateLicenseManagerReportGenerator(UpdateLicenseManagerReportGeneratorRequest updateLicenseManagerReportGeneratorRequest) throws ValidationException, InvalidParameterValueException, RateLimitExceededException, ServerInternalException, AuthorizationException, AccessDeniedException, ResourceNotFoundException, ResourceLimitExceededException, AwsServiceException, SdkClientException, LicenseManagerException
Updates a report generator.
After you make changes to a report generator, it starts generating new reports within 60 minutes of being updated.
- Parameters:
updateLicenseManagerReportGeneratorRequest-- Returns:
- Result of the UpdateLicenseManagerReportGenerator operation returned by the service.
- Throws:
ValidationException- The provided input is not valid. Try your request again.InvalidParameterValueException- One or more parameter values are not valid.RateLimitExceededException- Too many requests have been submitted. Try again after a brief wait.ServerInternalException- The server experienced an internal error. Try again.AuthorizationException- The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.AccessDeniedException- Access to resource denied.ResourceNotFoundException- The resource cannot be found.ResourceLimitExceededException- Your resource limits have been exceeded.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateLicenseManagerReportGenerator
default UpdateLicenseManagerReportGeneratorResponse updateLicenseManagerReportGenerator(Consumer<UpdateLicenseManagerReportGeneratorRequest.Builder> updateLicenseManagerReportGeneratorRequest) throws ValidationException, InvalidParameterValueException, RateLimitExceededException, ServerInternalException, AuthorizationException, AccessDeniedException, ResourceNotFoundException, ResourceLimitExceededException, AwsServiceException, SdkClientException, LicenseManagerException
Updates a report generator.
After you make changes to a report generator, it starts generating new reports within 60 minutes of being updated.
This is a convenience which creates an instance of the
UpdateLicenseManagerReportGeneratorRequest.Builderavoiding the need to create one manually viaUpdateLicenseManagerReportGeneratorRequest.builder()- Parameters:
updateLicenseManagerReportGeneratorRequest- AConsumerthat will call methods onUpdateLicenseManagerReportGeneratorRequest.Builderto create a request.- Returns:
- Result of the UpdateLicenseManagerReportGenerator operation returned by the service.
- Throws:
ValidationException- The provided input is not valid. Try your request again.InvalidParameterValueException- One or more parameter values are not valid.RateLimitExceededException- Too many requests have been submitted. Try again after a brief wait.ServerInternalException- The server experienced an internal error. Try again.AuthorizationException- The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.AccessDeniedException- Access to resource denied.ResourceNotFoundException- The resource cannot be found.ResourceLimitExceededException- Your resource limits have been exceeded.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateLicenseSpecificationsForResource
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 Amazon Web Services resource.
You can update the license specifications of AMIs, instances, and hosts. You cannot update the license specifications for launch templates and CloudFormation templates, as they send license configurations to the operation that creates the resource.
- Parameters:
updateLicenseSpecificationsForResourceRequest-- Returns:
- Result of the UpdateLicenseSpecificationsForResource operation returned by the service.
- Throws:
InvalidParameterValueException- One or more parameter values are not valid.InvalidResourceStateException- License Manager cannot allocate a license to a resource because of its state.For example, you cannot allocate a license to an instance in the process of shutting down.
LicenseUsageException- You do not have enough licenses available to support a new resource launch.ServerInternalException- The server experienced an internal error. Try again.AuthorizationException- The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.AccessDeniedException- Access to resource denied.RateLimitExceededException- Too many requests have been submitted. Try again after a brief wait.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateLicenseSpecificationsForResource
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 Amazon Web Services resource.
You can update the license specifications of AMIs, instances, and hosts. You cannot update the license specifications for launch templates and CloudFormation templates, as they send license configurations to the operation that creates the resource.
This is a convenience which creates an instance of the
UpdateLicenseSpecificationsForResourceRequest.Builderavoiding the need to create one manually viaUpdateLicenseSpecificationsForResourceRequest.builder()- Parameters:
updateLicenseSpecificationsForResourceRequest- AConsumerthat will call methods onUpdateLicenseSpecificationsForResourceRequest.Builderto create a request.- Returns:
- Result of the UpdateLicenseSpecificationsForResource operation returned by the service.
- Throws:
InvalidParameterValueException- One or more parameter values are not valid.InvalidResourceStateException- License Manager cannot allocate a license to a resource because of its state.For example, you cannot allocate a license to an instance in the process of shutting down.
LicenseUsageException- You do not have enough licenses available to support a new resource launch.ServerInternalException- The server experienced an internal error. Try again.AuthorizationException- The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.AccessDeniedException- Access to resource denied.RateLimitExceededException- Too many requests have been submitted. Try again after a brief wait.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateServiceSettings
default UpdateServiceSettingsResponse updateServiceSettings(UpdateServiceSettingsRequest updateServiceSettingsRequest) throws InvalidParameterValueException, ServerInternalException, AuthorizationException, AccessDeniedException, RateLimitExceededException, AwsServiceException, SdkClientException, LicenseManagerException
Updates License Manager settings for the current Region.
- Parameters:
updateServiceSettingsRequest-- Returns:
- Result of the UpdateServiceSettings operation returned by the service.
- Throws:
InvalidParameterValueException- One or more parameter values are not valid.ServerInternalException- The server experienced an internal error. Try again.AuthorizationException- The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.AccessDeniedException- Access to resource denied.RateLimitExceededException- Too many requests have been submitted. Try again after a brief wait.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
updateServiceSettings
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.Builderavoiding the need to create one manually viaUpdateServiceSettingsRequest.builder()- Parameters:
updateServiceSettingsRequest- AConsumerthat will call methods onUpdateServiceSettingsRequest.Builderto create a request.- Returns:
- Result of the UpdateServiceSettings operation returned by the service.
- Throws:
InvalidParameterValueException- One or more parameter values are not valid.ServerInternalException- The server experienced an internal error. Try again.AuthorizationException- The Amazon Web Services user account does not have permission to perform the action. Check the IAM policy associated with this account.AccessDeniedException- Access to resource denied.RateLimitExceededException- Too many requests have been submitted. Try again after a brief wait.SdkException- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.SdkClientException- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerException- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException- See Also:
- AWS API Documentation
-
create
static LicenseManagerClient create()
Create aLicenseManagerClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.
-
builder
static LicenseManagerClientBuilder builder()
Create a builder that can be used to configure and create aLicenseManagerClient.
-
serviceMetadata
static ServiceMetadata serviceMetadata()
-
serviceClientConfiguration
default LicenseManagerServiceClientConfiguration serviceClientConfiguration()
- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient
-
-