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