@Generated(value="software.amazon.awssdk:codegen") public interface LicenseManagerAsyncClient 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 |
serviceName
close
static final String SERVICE_NAME
static LicenseManagerAsyncClient create()
LicenseManagerAsyncClient
with the region loaded from the
DefaultAwsRegionProviderChain
and credentials loaded from the
DefaultCredentialsProvider
.static LicenseManagerAsyncClientBuilder builder()
LicenseManagerAsyncClient
.default CompletableFuture<CreateLicenseConfigurationResponse> createLicenseConfiguration(CreateLicenseConfigurationRequest createLicenseConfigurationRequest)
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
- default CompletableFuture<CreateLicenseConfigurationResponse> createLicenseConfiguration(Consumer<CreateLicenseConfigurationRequest.Builder> createLicenseConfigurationRequest)
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.default CompletableFuture<DeleteLicenseConfigurationResponse> deleteLicenseConfiguration(DeleteLicenseConfigurationRequest deleteLicenseConfigurationRequest)
Deletes an existing license configuration. This action fails if the configuration is in use.
deleteLicenseConfigurationRequest
- default CompletableFuture<DeleteLicenseConfigurationResponse> deleteLicenseConfiguration(Consumer<DeleteLicenseConfigurationRequest.Builder> deleteLicenseConfigurationRequest)
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.default CompletableFuture<GetLicenseConfigurationResponse> getLicenseConfiguration(GetLicenseConfigurationRequest getLicenseConfigurationRequest)
Returns a detailed description of a license configuration.
getLicenseConfigurationRequest
- default CompletableFuture<GetLicenseConfigurationResponse> getLicenseConfiguration(Consumer<GetLicenseConfigurationRequest.Builder> getLicenseConfigurationRequest)
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.default CompletableFuture<GetServiceSettingsResponse> getServiceSettings(GetServiceSettingsRequest getServiceSettingsRequest)
Gets License Manager settings for a region. Exposes the configured S3 bucket, SNS topic, etc., for inspection.
getServiceSettingsRequest
- default CompletableFuture<GetServiceSettingsResponse> getServiceSettings(Consumer<GetServiceSettingsRequest.Builder> getServiceSettingsRequest)
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.default CompletableFuture<ListAssociationsForLicenseConfigurationResponse> listAssociationsForLicenseConfiguration(ListAssociationsForLicenseConfigurationRequest listAssociationsForLicenseConfigurationRequest)
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
- default CompletableFuture<ListAssociationsForLicenseConfigurationResponse> listAssociationsForLicenseConfiguration(Consumer<ListAssociationsForLicenseConfigurationRequest.Builder> listAssociationsForLicenseConfigurationRequest)
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.default CompletableFuture<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.
listLicenseConfigurationsRequest
- default CompletableFuture<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.
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.default CompletableFuture<ListLicenseSpecificationsForResourceResponse> listLicenseSpecificationsForResource(ListLicenseSpecificationsForResourceRequest listLicenseSpecificationsForResourceRequest)
Returns the license configuration for a resource.
listLicenseSpecificationsForResourceRequest
- default CompletableFuture<ListLicenseSpecificationsForResourceResponse> listLicenseSpecificationsForResource(Consumer<ListLicenseSpecificationsForResourceRequest.Builder> listLicenseSpecificationsForResourceRequest)
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.default CompletableFuture<ListResourceInventoryResponse> listResourceInventory(ListResourceInventoryRequest listResourceInventoryRequest)
Returns a detailed list of resources.
listResourceInventoryRequest
- default CompletableFuture<ListResourceInventoryResponse> listResourceInventory(Consumer<ListResourceInventoryRequest.Builder> listResourceInventoryRequest)
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.default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
Lists tags attached to a resource.
listTagsForResourceRequest
- default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest)
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.default CompletableFuture<ListUsageForLicenseConfigurationResponse> listUsageForLicenseConfiguration(ListUsageForLicenseConfigurationRequest listUsageForLicenseConfigurationRequest)
Lists all license usage records for a license configuration, displaying license consumption details by resource at a selected point in time. Use this action to audit the current license consumption for any license inventory and configuration.
listUsageForLicenseConfigurationRequest
- default CompletableFuture<ListUsageForLicenseConfigurationResponse> listUsageForLicenseConfiguration(Consumer<ListUsageForLicenseConfigurationRequest.Builder> listUsageForLicenseConfigurationRequest)
Lists all license usage records for a license configuration, displaying license consumption details by resource at a selected point in time. Use this action to audit the current license consumption for any license inventory and configuration.
This is a convenience which creates an instance of the ListUsageForLicenseConfigurationRequest.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.default CompletableFuture<TagResourceResponse> tagResource(TagResourceRequest tagResourceRequest)
Attach one of more tags to any resource.
tagResourceRequest
- default CompletableFuture<TagResourceResponse> tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest)
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.default CompletableFuture<UntagResourceResponse> untagResource(UntagResourceRequest untagResourceRequest)
Remove tags from a resource.
untagResourceRequest
- default CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest)
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.default CompletableFuture<UpdateLicenseConfigurationResponse> updateLicenseConfiguration(UpdateLicenseConfigurationRequest updateLicenseConfigurationRequest)
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
- default CompletableFuture<UpdateLicenseConfigurationResponse> updateLicenseConfiguration(Consumer<UpdateLicenseConfigurationRequest.Builder> updateLicenseConfigurationRequest)
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.default CompletableFuture<UpdateLicenseSpecificationsForResourceResponse> updateLicenseSpecificationsForResource(UpdateLicenseSpecificationsForResourceRequest updateLicenseSpecificationsForResourceRequest)
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
- For example, you cannot allocate a license to an instance in the process of shutting down.
default CompletableFuture<UpdateLicenseSpecificationsForResourceResponse> updateLicenseSpecificationsForResource(Consumer<UpdateLicenseSpecificationsForResourceRequest.Builder> updateLicenseSpecificationsForResourceRequest)
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.For example, you cannot allocate a license to an instance in the process of shutting down.
default CompletableFuture<UpdateServiceSettingsResponse> updateServiceSettings(UpdateServiceSettingsRequest updateServiceSettingsRequest)
Updates License Manager service settings.
updateServiceSettingsRequest
- default CompletableFuture<UpdateServiceSettingsResponse> updateServiceSettings(Consumer<UpdateServiceSettingsRequest.Builder> updateServiceSettingsRequest)
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.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.