@Generated(value="software.amazon.awssdk:codegen") public interface LicenseManagerClient extends SdkClient
builder()
method.
This is the AWS License Manager API Reference. It provides descriptions, syntax, and usage examples for each of the actions and data types for License Manager. The topic for each action shows the Query API request parameters and the XML response. You can also view the XML request elements in the WSDL.
Alternatively, you can use one of the AWS SDKs to access an API that's tailored to the programming language or platform that you're using. For more information, see AWS SDKs.
Modifier and Type | Field and Description |
---|---|
static String |
SERVICE_NAME |
Modifier and Type | Method and Description |
---|---|
static LicenseManagerClientBuilder |
builder()
Create a builder that can be used to configure and create a
LicenseManagerClient . |
static LicenseManagerClient |
create()
Create a
LicenseManagerClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider . |
default CreateLicenseConfigurationResponse |
createLicenseConfiguration(Consumer<CreateLicenseConfigurationRequest.Builder> createLicenseConfigurationRequest)
Creates a new license configuration object.
|
default CreateLicenseConfigurationResponse |
createLicenseConfiguration(CreateLicenseConfigurationRequest createLicenseConfigurationRequest)
Creates a new license configuration object.
|
default DeleteLicenseConfigurationResponse |
deleteLicenseConfiguration(Consumer<DeleteLicenseConfigurationRequest.Builder> deleteLicenseConfigurationRequest)
Deletes an existing license configuration.
|
default DeleteLicenseConfigurationResponse |
deleteLicenseConfiguration(DeleteLicenseConfigurationRequest deleteLicenseConfigurationRequest)
Deletes an existing license configuration.
|
default GetLicenseConfigurationResponse |
getLicenseConfiguration(Consumer<GetLicenseConfigurationRequest.Builder> getLicenseConfigurationRequest)
Returns a detailed description of a license configuration.
|
default GetLicenseConfigurationResponse |
getLicenseConfiguration(GetLicenseConfigurationRequest getLicenseConfigurationRequest)
Returns a detailed description of a license configuration.
|
default GetServiceSettingsResponse |
getServiceSettings(Consumer<GetServiceSettingsRequest.Builder> getServiceSettingsRequest)
Gets License Manager settings for a region.
|
default GetServiceSettingsResponse |
getServiceSettings(GetServiceSettingsRequest getServiceSettingsRequest)
Gets License Manager settings for a region.
|
default ListAssociationsForLicenseConfigurationResponse |
listAssociationsForLicenseConfiguration(Consumer<ListAssociationsForLicenseConfigurationRequest.Builder> listAssociationsForLicenseConfigurationRequest)
Lists the resource associations for a license configuration.
|
default ListAssociationsForLicenseConfigurationResponse |
listAssociationsForLicenseConfiguration(ListAssociationsForLicenseConfigurationRequest listAssociationsForLicenseConfigurationRequest)
Lists the resource associations for a license configuration.
|
default ListLicenseConfigurationsResponse |
listLicenseConfigurations(Consumer<ListLicenseConfigurationsRequest.Builder> listLicenseConfigurationsRequest)
Lists license configuration objects for an account, each containing the name, description, license type, and
other license terms modeled from a license agreement.
|
default ListLicenseConfigurationsResponse |
listLicenseConfigurations(ListLicenseConfigurationsRequest listLicenseConfigurationsRequest)
Lists license configuration objects for an account, each containing the name, description, license type, and
other license terms modeled from a license agreement.
|
default ListLicenseSpecificationsForResourceResponse |
listLicenseSpecificationsForResource(Consumer<ListLicenseSpecificationsForResourceRequest.Builder> listLicenseSpecificationsForResourceRequest)
Returns the license configuration for a resource.
|
default ListLicenseSpecificationsForResourceResponse |
listLicenseSpecificationsForResource(ListLicenseSpecificationsForResourceRequest listLicenseSpecificationsForResourceRequest)
Returns the license configuration for a resource.
|
default ListResourceInventoryResponse |
listResourceInventory(Consumer<ListResourceInventoryRequest.Builder> listResourceInventoryRequest)
Returns a detailed list of resources.
|
default ListResourceInventoryResponse |
listResourceInventory(ListResourceInventoryRequest listResourceInventoryRequest)
Returns a detailed list of resources.
|
default ListTagsForResourceResponse |
listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest)
Lists tags attached to a resource.
|
default ListTagsForResourceResponse |
listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
Lists tags attached to a resource.
|
default ListUsageForLicenseConfigurationResponse |
listUsageForLicenseConfiguration(Consumer<ListUsageForLicenseConfigurationRequest.Builder> listUsageForLicenseConfigurationRequest)
Lists all license usage records for a license configuration, displaying license consumption details by resource
at a selected point in time.
|
default ListUsageForLicenseConfigurationResponse |
listUsageForLicenseConfiguration(ListUsageForLicenseConfigurationRequest listUsageForLicenseConfigurationRequest)
Lists all license usage records for a license configuration, displaying license consumption details by resource
at a selected point in time.
|
static ServiceMetadata |
serviceMetadata() |
default TagResourceResponse |
tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest)
Attach one of more tags to any resource.
|
default TagResourceResponse |
tagResource(TagResourceRequest tagResourceRequest)
Attach one of more tags to any resource.
|
default UntagResourceResponse |
untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest)
Remove tags from a resource.
|
default UntagResourceResponse |
untagResource(UntagResourceRequest untagResourceRequest)
Remove tags from a resource.
|
default UpdateLicenseConfigurationResponse |
updateLicenseConfiguration(Consumer<UpdateLicenseConfigurationRequest.Builder> updateLicenseConfigurationRequest)
Modifies the attributes of an existing license configuration object.
|
default UpdateLicenseConfigurationResponse |
updateLicenseConfiguration(UpdateLicenseConfigurationRequest updateLicenseConfigurationRequest)
Modifies the attributes of an existing license configuration object.
|
default UpdateLicenseSpecificationsForResourceResponse |
updateLicenseSpecificationsForResource(Consumer<UpdateLicenseSpecificationsForResourceRequest.Builder> updateLicenseSpecificationsForResourceRequest)
Adds or removes license configurations for a specified AWS resource.
|
default UpdateLicenseSpecificationsForResourceResponse |
updateLicenseSpecificationsForResource(UpdateLicenseSpecificationsForResourceRequest updateLicenseSpecificationsForResourceRequest)
Adds or removes license configurations for a specified AWS resource.
|
default UpdateServiceSettingsResponse |
updateServiceSettings(Consumer<UpdateServiceSettingsRequest.Builder> updateServiceSettingsRequest)
Updates License Manager service settings.
|
default UpdateServiceSettingsResponse |
updateServiceSettings(UpdateServiceSettingsRequest updateServiceSettingsRequest)
Updates License Manager service settings.
|
serviceName
close
static final String SERVICE_NAME
static LicenseManagerClient create()
LicenseManagerClient
with the region loaded from the
DefaultAwsRegionProviderChain
and credentials loaded from the
DefaultCredentialsProvider
.static LicenseManagerClientBuilder builder()
LicenseManagerClient
.default CreateLicenseConfigurationResponse createLicenseConfiguration(CreateLicenseConfigurationRequest createLicenseConfigurationRequest) throws InvalidParameterValueException, ServerInternalException, ResourceLimitExceededException, AuthorizationException, AccessDeniedException, RateLimitExceededException, AwsServiceException, SdkClientException, LicenseManagerException
Creates a new license configuration object. 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), tenancy (shared tenancy, Amazon EC2 Dedicated Instance, Amazon EC2 Dedicated Host, or any of these), host affinity (how long a VM must be associated with a host), the number of licenses purchased and used.
createLicenseConfigurationRequest
- InvalidParameterValueException
- One or more parameter values are not valid.ServerInternalException
- The server experienced an internal error. Try again.ResourceLimitExceededException
- Your resource limits have been exceeded.AuthorizationException
- The AWS user account does not have permission to perform the action. Check the IAM policy associated with
this account.AccessDeniedException
- Access to resource denied.RateLimitExceededException
- Too many requests have been submitted. Try again after a brief wait.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default CreateLicenseConfigurationResponse createLicenseConfiguration(Consumer<CreateLicenseConfigurationRequest.Builder> createLicenseConfigurationRequest) throws InvalidParameterValueException, ServerInternalException, ResourceLimitExceededException, AuthorizationException, AccessDeniedException, RateLimitExceededException, AwsServiceException, SdkClientException, LicenseManagerException
Creates a new license configuration object. 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), tenancy (shared tenancy, Amazon EC2 Dedicated Instance, Amazon EC2 Dedicated Host, or any of these), host affinity (how long a VM must be associated with a host), the number of licenses purchased and used.
This is a convenience which creates an instance of the CreateLicenseConfigurationRequest.Builder
avoiding
the need to create one manually via CreateLicenseConfigurationRequest.builder()
createLicenseConfigurationRequest
- A Consumer
that will call methods on CreateLicenseConfigurationRequest.Builder
to create a
request.InvalidParameterValueException
- One or more parameter values are not valid.ServerInternalException
- The server experienced an internal error. Try again.ResourceLimitExceededException
- Your resource limits have been exceeded.AuthorizationException
- The AWS user account does not have permission to perform the action. Check the IAM policy associated with
this account.AccessDeniedException
- Access to resource denied.RateLimitExceededException
- Too many requests have been submitted. Try again after a brief wait.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DeleteLicenseConfigurationResponse deleteLicenseConfiguration(DeleteLicenseConfigurationRequest deleteLicenseConfigurationRequest) throws InvalidParameterValueException, ServerInternalException, AuthorizationException, AccessDeniedException, RateLimitExceededException, AwsServiceException, SdkClientException, LicenseManagerException
Deletes an existing license configuration. This action fails if the configuration is in use.
deleteLicenseConfigurationRequest
- InvalidParameterValueException
- One or more parameter values are not valid.ServerInternalException
- The server experienced an internal error. Try again.AuthorizationException
- The AWS user account does not have permission to perform the action. Check the IAM policy associated with
this account.AccessDeniedException
- Access to resource denied.RateLimitExceededException
- Too many requests have been submitted. Try again after a brief wait.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default DeleteLicenseConfigurationResponse deleteLicenseConfiguration(Consumer<DeleteLicenseConfigurationRequest.Builder> deleteLicenseConfigurationRequest) throws InvalidParameterValueException, ServerInternalException, AuthorizationException, AccessDeniedException, RateLimitExceededException, AwsServiceException, SdkClientException, LicenseManagerException
Deletes an existing license configuration. This action fails if the configuration is in use.
This is a convenience which creates an instance of the DeleteLicenseConfigurationRequest.Builder
avoiding
the need to create one manually via DeleteLicenseConfigurationRequest.builder()
deleteLicenseConfigurationRequest
- A Consumer
that will call methods on DeleteLicenseConfigurationRequest.Builder
to create a
request.InvalidParameterValueException
- One or more parameter values are not valid.ServerInternalException
- The server experienced an internal error. Try again.AuthorizationException
- The AWS user account does not have permission to perform the action. Check the IAM policy associated with
this account.AccessDeniedException
- Access to resource denied.RateLimitExceededException
- Too many requests have been submitted. Try again after a brief wait.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default GetLicenseConfigurationResponse getLicenseConfiguration(GetLicenseConfigurationRequest getLicenseConfigurationRequest) throws InvalidParameterValueException, ServerInternalException, AuthorizationException, AccessDeniedException, RateLimitExceededException, AwsServiceException, SdkClientException, LicenseManagerException
Returns a detailed description of a license configuration.
getLicenseConfigurationRequest
- InvalidParameterValueException
- One or more parameter values are not valid.ServerInternalException
- The server experienced an internal error. Try again.AuthorizationException
- The AWS user account does not have permission to perform the action. Check the IAM policy associated with
this account.AccessDeniedException
- Access to resource denied.RateLimitExceededException
- Too many requests have been submitted. Try again after a brief wait.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default GetLicenseConfigurationResponse getLicenseConfiguration(Consumer<GetLicenseConfigurationRequest.Builder> getLicenseConfigurationRequest) throws InvalidParameterValueException, ServerInternalException, AuthorizationException, AccessDeniedException, RateLimitExceededException, AwsServiceException, SdkClientException, LicenseManagerException
Returns a detailed description of a license configuration.
This is a convenience which creates an instance of the GetLicenseConfigurationRequest.Builder
avoiding
the need to create one manually via GetLicenseConfigurationRequest.builder()
getLicenseConfigurationRequest
- A Consumer
that will call methods on GetLicenseConfigurationRequest.Builder
to create a
request.InvalidParameterValueException
- One or more parameter values are not valid.ServerInternalException
- The server experienced an internal error. Try again.AuthorizationException
- The AWS user account does not have permission to perform the action. Check the IAM policy associated with
this account.AccessDeniedException
- Access to resource denied.RateLimitExceededException
- Too many requests have been submitted. Try again after a brief wait.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default GetServiceSettingsResponse getServiceSettings(GetServiceSettingsRequest getServiceSettingsRequest) throws ServerInternalException, AuthorizationException, AccessDeniedException, RateLimitExceededException, AwsServiceException, SdkClientException, LicenseManagerException
Gets License Manager settings for a region. Exposes the configured S3 bucket, SNS topic, etc., for inspection.
getServiceSettingsRequest
- ServerInternalException
- The server experienced an internal error. Try again.AuthorizationException
- The AWS user account does not have permission to perform the action. Check the IAM policy associated with
this account.AccessDeniedException
- Access to resource denied.RateLimitExceededException
- Too many requests have been submitted. Try again after a brief wait.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default GetServiceSettingsResponse getServiceSettings(Consumer<GetServiceSettingsRequest.Builder> getServiceSettingsRequest) throws ServerInternalException, AuthorizationException, AccessDeniedException, RateLimitExceededException, AwsServiceException, SdkClientException, LicenseManagerException
Gets License Manager settings for a region. Exposes the configured S3 bucket, SNS topic, etc., for inspection.
This is a convenience which creates an instance of the GetServiceSettingsRequest.Builder
avoiding the
need to create one manually via GetServiceSettingsRequest.builder()
getServiceSettingsRequest
- A Consumer
that will call methods on GetServiceSettingsRequest.Builder
to create a
request.ServerInternalException
- The server experienced an internal error. Try again.AuthorizationException
- The AWS user account does not have permission to perform the action. Check the IAM policy associated with
this account.AccessDeniedException
- Access to resource denied.RateLimitExceededException
- Too many requests have been submitted. Try again after a brief wait.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListAssociationsForLicenseConfigurationResponse listAssociationsForLicenseConfiguration(ListAssociationsForLicenseConfigurationRequest listAssociationsForLicenseConfigurationRequest) throws InvalidParameterValueException, FilterLimitExceededException, ServerInternalException, AuthorizationException, AccessDeniedException, RateLimitExceededException, AwsServiceException, SdkClientException, LicenseManagerException
Lists the resource associations for a license configuration. Resource associations need not consume licenses from a license configuration. For example, an AMI or a stopped instance may not consume a license (depending on the license rules). Use this operation to find all resources associated with a license configuration.
listAssociationsForLicenseConfigurationRequest
- InvalidParameterValueException
- One or more parameter values are not valid.FilterLimitExceededException
- The request uses too many filters or too many filter values.ServerInternalException
- The server experienced an internal error. Try again.AuthorizationException
- The AWS user account does not have permission to perform the action. Check the IAM policy associated with
this account.AccessDeniedException
- Access to resource denied.RateLimitExceededException
- Too many requests have been submitted. Try again after a brief wait.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListAssociationsForLicenseConfigurationResponse listAssociationsForLicenseConfiguration(Consumer<ListAssociationsForLicenseConfigurationRequest.Builder> listAssociationsForLicenseConfigurationRequest) throws InvalidParameterValueException, FilterLimitExceededException, ServerInternalException, AuthorizationException, AccessDeniedException, RateLimitExceededException, AwsServiceException, SdkClientException, LicenseManagerException
Lists the resource associations for a license configuration. Resource associations need not consume licenses from a license configuration. For example, an AMI or a stopped instance may not consume a license (depending on the license rules). Use this operation to find all resources associated with a license configuration.
This is a convenience which creates an instance of the
ListAssociationsForLicenseConfigurationRequest.Builder
avoiding the need to create one manually via
ListAssociationsForLicenseConfigurationRequest.builder()
listAssociationsForLicenseConfigurationRequest
- A Consumer
that will call methods on
ListAssociationsForLicenseConfigurationRequest.Builder
to create a request.InvalidParameterValueException
- One or more parameter values are not valid.FilterLimitExceededException
- The request uses too many filters or too many filter values.ServerInternalException
- The server experienced an internal error. Try again.AuthorizationException
- The AWS user account does not have permission to perform the action. Check the IAM policy associated with
this account.AccessDeniedException
- Access to resource denied.RateLimitExceededException
- Too many requests have been submitted. Try again after a brief wait.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListLicenseConfigurationsResponse listLicenseConfigurations(ListLicenseConfigurationsRequest listLicenseConfigurationsRequest) throws InvalidParameterValueException, ServerInternalException, FilterLimitExceededException, AuthorizationException, AccessDeniedException, RateLimitExceededException, AwsServiceException, SdkClientException, LicenseManagerException
Lists license configuration objects for an account, each containing the name, description, license type, and other license terms modeled from a license agreement.
listLicenseConfigurationsRequest
- InvalidParameterValueException
- One or more parameter values are not valid.ServerInternalException
- The server experienced an internal error. Try again.FilterLimitExceededException
- The request uses too many filters or too many filter values.AuthorizationException
- The AWS user account does not have permission to perform the action. Check the IAM policy associated with
this account.AccessDeniedException
- Access to resource denied.RateLimitExceededException
- Too many requests have been submitted. Try again after a brief wait.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListLicenseConfigurationsResponse listLicenseConfigurations(Consumer<ListLicenseConfigurationsRequest.Builder> listLicenseConfigurationsRequest) throws InvalidParameterValueException, ServerInternalException, FilterLimitExceededException, AuthorizationException, AccessDeniedException, RateLimitExceededException, AwsServiceException, SdkClientException, LicenseManagerException
Lists license configuration objects for an account, each containing the name, description, license type, and other license terms modeled from a license agreement.
This is a convenience which creates an instance of the ListLicenseConfigurationsRequest.Builder
avoiding
the need to create one manually via ListLicenseConfigurationsRequest.builder()
listLicenseConfigurationsRequest
- A Consumer
that will call methods on ListLicenseConfigurationsRequest.Builder
to create a
request.InvalidParameterValueException
- One or more parameter values are not valid.ServerInternalException
- The server experienced an internal error. Try again.FilterLimitExceededException
- The request uses too many filters or too many filter values.AuthorizationException
- The AWS user account does not have permission to perform the action. Check the IAM policy associated with
this account.AccessDeniedException
- Access to resource denied.RateLimitExceededException
- Too many requests have been submitted. Try again after a brief wait.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListLicenseSpecificationsForResourceResponse listLicenseSpecificationsForResource(ListLicenseSpecificationsForResourceRequest listLicenseSpecificationsForResourceRequest) throws InvalidParameterValueException, ServerInternalException, AuthorizationException, AccessDeniedException, RateLimitExceededException, AwsServiceException, SdkClientException, LicenseManagerException
Returns the license configuration for a resource.
listLicenseSpecificationsForResourceRequest
- InvalidParameterValueException
- One or more parameter values are not valid.ServerInternalException
- The server experienced an internal error. Try again.AuthorizationException
- The AWS user account does not have permission to perform the action. Check the IAM policy associated with
this account.AccessDeniedException
- Access to resource denied.RateLimitExceededException
- Too many requests have been submitted. Try again after a brief wait.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListLicenseSpecificationsForResourceResponse listLicenseSpecificationsForResource(Consumer<ListLicenseSpecificationsForResourceRequest.Builder> listLicenseSpecificationsForResourceRequest) throws InvalidParameterValueException, ServerInternalException, AuthorizationException, AccessDeniedException, RateLimitExceededException, AwsServiceException, SdkClientException, LicenseManagerException
Returns the license configuration for a resource.
This is a convenience which creates an instance of the
ListLicenseSpecificationsForResourceRequest.Builder
avoiding the need to create one manually via
ListLicenseSpecificationsForResourceRequest.builder()
listLicenseSpecificationsForResourceRequest
- A Consumer
that will call methods on ListLicenseSpecificationsForResourceRequest.Builder
to create a request.InvalidParameterValueException
- One or more parameter values are not valid.ServerInternalException
- The server experienced an internal error. Try again.AuthorizationException
- The AWS user account does not have permission to perform the action. Check the IAM policy associated with
this account.AccessDeniedException
- Access to resource denied.RateLimitExceededException
- Too many requests have been submitted. Try again after a brief wait.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListResourceInventoryResponse listResourceInventory(ListResourceInventoryRequest listResourceInventoryRequest) throws InvalidParameterValueException, ServerInternalException, FilterLimitExceededException, FailedDependencyException, AuthorizationException, AccessDeniedException, RateLimitExceededException, AwsServiceException, SdkClientException, LicenseManagerException
Returns a detailed list of resources.
listResourceInventoryRequest
- InvalidParameterValueException
- One or more parameter values are not valid.ServerInternalException
- The server experienced an internal error. Try again.FilterLimitExceededException
- The request uses too many filters or too many filter values.FailedDependencyException
- A dependency required to run the API is missing.AuthorizationException
- The AWS user account does not have permission to perform the action. Check the IAM policy associated with
this account.AccessDeniedException
- Access to resource denied.RateLimitExceededException
- Too many requests have been submitted. Try again after a brief wait.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListResourceInventoryResponse listResourceInventory(Consumer<ListResourceInventoryRequest.Builder> listResourceInventoryRequest) throws InvalidParameterValueException, ServerInternalException, FilterLimitExceededException, FailedDependencyException, AuthorizationException, AccessDeniedException, RateLimitExceededException, AwsServiceException, SdkClientException, LicenseManagerException
Returns a detailed list of resources.
This is a convenience which creates an instance of the ListResourceInventoryRequest.Builder
avoiding the
need to create one manually via ListResourceInventoryRequest.builder()
listResourceInventoryRequest
- A Consumer
that will call methods on ListResourceInventoryRequest.Builder
to create a
request.InvalidParameterValueException
- One or more parameter values are not valid.ServerInternalException
- The server experienced an internal error. Try again.FilterLimitExceededException
- The request uses too many filters or too many filter values.FailedDependencyException
- A dependency required to run the API is missing.AuthorizationException
- The AWS user account does not have permission to perform the action. Check the IAM policy associated with
this account.AccessDeniedException
- Access to resource denied.RateLimitExceededException
- Too many requests have been submitted. Try again after a brief wait.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) throws InvalidParameterValueException, ServerInternalException, AuthorizationException, AccessDeniedException, RateLimitExceededException, AwsServiceException, SdkClientException, LicenseManagerException
Lists tags attached to a resource.
listTagsForResourceRequest
- InvalidParameterValueException
- One or more parameter values are not valid.ServerInternalException
- The server experienced an internal error. Try again.AuthorizationException
- The AWS user account does not have permission to perform the action. Check the IAM policy associated with
this account.AccessDeniedException
- Access to resource denied.RateLimitExceededException
- Too many requests have been submitted. Try again after a brief wait.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListTagsForResourceResponse listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) throws InvalidParameterValueException, ServerInternalException, AuthorizationException, AccessDeniedException, RateLimitExceededException, AwsServiceException, SdkClientException, LicenseManagerException
Lists tags attached to a resource.
This is a convenience which creates an instance of the ListTagsForResourceRequest.Builder
avoiding the
need to create one manually via ListTagsForResourceRequest.builder()
listTagsForResourceRequest
- A Consumer
that will call methods on ListTagsForResourceRequest.Builder
to create a
request.InvalidParameterValueException
- One or more parameter values are not valid.ServerInternalException
- The server experienced an internal error. Try again.AuthorizationException
- The AWS user account does not have permission to perform the action. Check the IAM policy associated with
this account.AccessDeniedException
- Access to resource denied.RateLimitExceededException
- Too many requests have been submitted. Try again after a brief wait.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListUsageForLicenseConfigurationResponse listUsageForLicenseConfiguration(ListUsageForLicenseConfigurationRequest listUsageForLicenseConfigurationRequest) throws InvalidParameterValueException, FilterLimitExceededException, ServerInternalException, AuthorizationException, AccessDeniedException, RateLimitExceededException, AwsServiceException, SdkClientException, LicenseManagerException
Lists all license usage records for a license configuration, displaying license consumption details by resource at a selected point in time. Use this action to audit the current license consumption for any license inventory and configuration.
listUsageForLicenseConfigurationRequest
- InvalidParameterValueException
- One or more parameter values are not valid.FilterLimitExceededException
- The request uses too many filters or too many filter values.ServerInternalException
- The server experienced an internal error. Try again.AuthorizationException
- The AWS user account does not have permission to perform the action. Check the IAM policy associated with
this account.AccessDeniedException
- Access to resource denied.RateLimitExceededException
- Too many requests have been submitted. Try again after a brief wait.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default ListUsageForLicenseConfigurationResponse listUsageForLicenseConfiguration(Consumer<ListUsageForLicenseConfigurationRequest.Builder> listUsageForLicenseConfigurationRequest) throws InvalidParameterValueException, FilterLimitExceededException, ServerInternalException, AuthorizationException, AccessDeniedException, RateLimitExceededException, AwsServiceException, SdkClientException, LicenseManagerException
Lists all license usage records for a license configuration, displaying license consumption details by resource at a selected point in time. Use this action to audit the current license consumption for any license inventory and configuration.
This is a convenience which creates an instance of the ListUsageForLicenseConfigurationRequest.Builder
avoiding the need to create one manually via ListUsageForLicenseConfigurationRequest.builder()
listUsageForLicenseConfigurationRequest
- A Consumer
that will call methods on ListUsageForLicenseConfigurationRequest.Builder
to
create a request.InvalidParameterValueException
- One or more parameter values are not valid.FilterLimitExceededException
- The request uses too many filters or too many filter values.ServerInternalException
- The server experienced an internal error. Try again.AuthorizationException
- The AWS user account does not have permission to perform the action. Check the IAM policy associated with
this account.AccessDeniedException
- Access to resource denied.RateLimitExceededException
- Too many requests have been submitted. Try again after a brief wait.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws InvalidParameterValueException, ServerInternalException, AuthorizationException, AccessDeniedException, RateLimitExceededException, AwsServiceException, SdkClientException, LicenseManagerException
Attach one of more tags to any resource.
tagResourceRequest
- InvalidParameterValueException
- One or more parameter values are not valid.ServerInternalException
- The server experienced an internal error. Try again.AuthorizationException
- The AWS user account does not have permission to perform the action. Check the IAM policy associated with
this account.AccessDeniedException
- Access to resource denied.RateLimitExceededException
- Too many requests have been submitted. Try again after a brief wait.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default TagResourceResponse tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) throws InvalidParameterValueException, ServerInternalException, AuthorizationException, AccessDeniedException, RateLimitExceededException, AwsServiceException, SdkClientException, LicenseManagerException
Attach one of more tags to any resource.
This is a convenience which creates an instance of the TagResourceRequest.Builder
avoiding the need to
create one manually via TagResourceRequest.builder()
tagResourceRequest
- A Consumer
that will call methods on TagResourceRequest.Builder
to create a request.InvalidParameterValueException
- One or more parameter values are not valid.ServerInternalException
- The server experienced an internal error. Try again.AuthorizationException
- The AWS user account does not have permission to perform the action. Check the IAM policy associated with
this account.AccessDeniedException
- Access to resource denied.RateLimitExceededException
- Too many requests have been submitted. Try again after a brief wait.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws InvalidParameterValueException, ServerInternalException, AuthorizationException, AccessDeniedException, RateLimitExceededException, AwsServiceException, SdkClientException, LicenseManagerException
Remove tags from a resource.
untagResourceRequest
- InvalidParameterValueException
- One or more parameter values are not valid.ServerInternalException
- The server experienced an internal error. Try again.AuthorizationException
- The AWS user account does not have permission to perform the action. Check the IAM policy associated with
this account.AccessDeniedException
- Access to resource denied.RateLimitExceededException
- Too many requests have been submitted. Try again after a brief wait.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default UntagResourceResponse untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) throws InvalidParameterValueException, ServerInternalException, AuthorizationException, AccessDeniedException, RateLimitExceededException, AwsServiceException, SdkClientException, LicenseManagerException
Remove tags from a resource.
This is a convenience which creates an instance of the UntagResourceRequest.Builder
avoiding the need to
create one manually via UntagResourceRequest.builder()
untagResourceRequest
- A Consumer
that will call methods on UntagResourceRequest.Builder
to create a request.InvalidParameterValueException
- One or more parameter values are not valid.ServerInternalException
- The server experienced an internal error. Try again.AuthorizationException
- The AWS user account does not have permission to perform the action. Check the IAM policy associated with
this account.AccessDeniedException
- Access to resource denied.RateLimitExceededException
- Too many requests have been submitted. Try again after a brief wait.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default UpdateLicenseConfigurationResponse updateLicenseConfiguration(UpdateLicenseConfigurationRequest updateLicenseConfigurationRequest) throws InvalidParameterValueException, ServerInternalException, AuthorizationException, AccessDeniedException, RateLimitExceededException, AwsServiceException, SdkClientException, LicenseManagerException
Modifies the attributes of an existing license configuration object. 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 (Instances, cores, sockets, VCPUs), tenancy (shared or Dedicated Host), host affinity (how long a VM is associated with a host), the number of licenses purchased and used.
updateLicenseConfigurationRequest
- InvalidParameterValueException
- One or more parameter values are not valid.ServerInternalException
- The server experienced an internal error. Try again.AuthorizationException
- The AWS user account does not have permission to perform the action. Check the IAM policy associated with
this account.AccessDeniedException
- Access to resource denied.RateLimitExceededException
- Too many requests have been submitted. Try again after a brief wait.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default UpdateLicenseConfigurationResponse updateLicenseConfiguration(Consumer<UpdateLicenseConfigurationRequest.Builder> updateLicenseConfigurationRequest) throws InvalidParameterValueException, ServerInternalException, AuthorizationException, AccessDeniedException, RateLimitExceededException, AwsServiceException, SdkClientException, LicenseManagerException
Modifies the attributes of an existing license configuration object. 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 (Instances, cores, sockets, VCPUs), tenancy (shared or Dedicated Host), host affinity (how long a VM is associated with a host), the number of licenses purchased and used.
This is a convenience which creates an instance of the UpdateLicenseConfigurationRequest.Builder
avoiding
the need to create one manually via UpdateLicenseConfigurationRequest.builder()
updateLicenseConfigurationRequest
- A Consumer
that will call methods on UpdateLicenseConfigurationRequest.Builder
to create a
request.InvalidParameterValueException
- One or more parameter values are not valid.ServerInternalException
- The server experienced an internal error. Try again.AuthorizationException
- The AWS user account does not have permission to perform the action. Check the IAM policy associated with
this account.AccessDeniedException
- Access to resource denied.RateLimitExceededException
- Too many requests have been submitted. Try again after a brief wait.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default UpdateLicenseSpecificationsForResourceResponse updateLicenseSpecificationsForResource(UpdateLicenseSpecificationsForResourceRequest updateLicenseSpecificationsForResourceRequest) throws InvalidParameterValueException, InvalidResourceStateException, LicenseUsageException, ServerInternalException, AuthorizationException, AccessDeniedException, RateLimitExceededException, AwsServiceException, SdkClientException, LicenseManagerException
Adds or removes license configurations for a specified AWS resource. This operation currently supports updating
the license specifications of AMIs, instances, and hosts. Launch templates and AWS CloudFormation templates are
not managed from this operation as those resources send the license configurations directly to a resource
creation operation, such as RunInstances
.
updateLicenseSpecificationsForResourceRequest
- InvalidParameterValueException
- One or more parameter values are not valid.InvalidResourceStateException
- License Manager cannot allocate a license to a resource because of its state.
For example, you cannot allocate a license to an instance in the process of shutting down.
LicenseUsageException
- You do not have enough licenses available to support a new resource launch.ServerInternalException
- The server experienced an internal error. Try again.AuthorizationException
- The AWS user account does not have permission to perform the action. Check the IAM policy associated with
this account.AccessDeniedException
- Access to resource denied.RateLimitExceededException
- Too many requests have been submitted. Try again after a brief wait.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default UpdateLicenseSpecificationsForResourceResponse updateLicenseSpecificationsForResource(Consumer<UpdateLicenseSpecificationsForResourceRequest.Builder> updateLicenseSpecificationsForResourceRequest) throws InvalidParameterValueException, InvalidResourceStateException, LicenseUsageException, ServerInternalException, AuthorizationException, AccessDeniedException, RateLimitExceededException, AwsServiceException, SdkClientException, LicenseManagerException
Adds or removes license configurations for a specified AWS resource. This operation currently supports updating
the license specifications of AMIs, instances, and hosts. Launch templates and AWS CloudFormation templates are
not managed from this operation as those resources send the license configurations directly to a resource
creation operation, such as RunInstances
.
This is a convenience which creates an instance of the
UpdateLicenseSpecificationsForResourceRequest.Builder
avoiding the need to create one manually via
UpdateLicenseSpecificationsForResourceRequest.builder()
updateLicenseSpecificationsForResourceRequest
- A Consumer
that will call methods on UpdateLicenseSpecificationsForResourceRequest.Builder
to create a request.InvalidParameterValueException
- One or more parameter values are not valid.InvalidResourceStateException
- License Manager cannot allocate a license to a resource because of its state.
For example, you cannot allocate a license to an instance in the process of shutting down.
LicenseUsageException
- You do not have enough licenses available to support a new resource launch.ServerInternalException
- The server experienced an internal error. Try again.AuthorizationException
- The AWS user account does not have permission to perform the action. Check the IAM policy associated with
this account.AccessDeniedException
- Access to resource denied.RateLimitExceededException
- Too many requests have been submitted. Try again after a brief wait.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default UpdateServiceSettingsResponse updateServiceSettings(UpdateServiceSettingsRequest updateServiceSettingsRequest) throws InvalidParameterValueException, ServerInternalException, AuthorizationException, AccessDeniedException, RateLimitExceededException, AwsServiceException, SdkClientException, LicenseManagerException
Updates License Manager service settings.
updateServiceSettingsRequest
- InvalidParameterValueException
- One or more parameter values are not valid.ServerInternalException
- The server experienced an internal error. Try again.AuthorizationException
- The AWS user account does not have permission to perform the action. Check the IAM policy associated with
this account.AccessDeniedException
- Access to resource denied.RateLimitExceededException
- Too many requests have been submitted. Try again after a brief wait.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
default UpdateServiceSettingsResponse updateServiceSettings(Consumer<UpdateServiceSettingsRequest.Builder> updateServiceSettingsRequest) throws InvalidParameterValueException, ServerInternalException, AuthorizationException, AccessDeniedException, RateLimitExceededException, AwsServiceException, SdkClientException, LicenseManagerException
Updates License Manager service settings.
This is a convenience which creates an instance of the UpdateServiceSettingsRequest.Builder
avoiding the
need to create one manually via UpdateServiceSettingsRequest.builder()
updateServiceSettingsRequest
- A Consumer
that will call methods on UpdateServiceSettingsRequest.Builder
to create a
request.InvalidParameterValueException
- One or more parameter values are not valid.ServerInternalException
- The server experienced an internal error. Try again.AuthorizationException
- The AWS user account does not have permission to perform the action. Check the IAM policy associated with
this account.AccessDeniedException
- Access to resource denied.RateLimitExceededException
- Too many requests have been submitted. Try again after a brief wait.SdkException
- Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException
- If any client side error occurs such as an IO related failure, failure to get credentials, etc.LicenseManagerException
- Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceException
static ServiceMetadata serviceMetadata()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.