@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AbstractAWSLicenseManager extends Object implements AWSLicenseManager
AWSLicenseManager
. Convenient method forms pass through to the corresponding
overload that takes a request object, which throws an UnsupportedOperationException
.ENDPOINT_PREFIX
public AcceptGrantResult acceptGrant(AcceptGrantRequest request)
AWSLicenseManager
Accepts the specified grant.
acceptGrant
in interface AWSLicenseManager
public CheckInLicenseResult checkInLicense(CheckInLicenseRequest request)
AWSLicenseManager
Checks in the specified license. Check in a license when it is no longer in use.
checkInLicense
in interface AWSLicenseManager
public CheckoutBorrowLicenseResult checkoutBorrowLicense(CheckoutBorrowLicenseRequest request)
AWSLicenseManager
Checks out the specified license for offline use.
checkoutBorrowLicense
in interface AWSLicenseManager
public CheckoutLicenseResult checkoutLicense(CheckoutLicenseRequest request)
AWSLicenseManager
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.
checkoutLicense
in interface AWSLicenseManager
public CreateGrantResult createGrant(CreateGrantRequest request)
AWSLicenseManager
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.
createGrant
in interface AWSLicenseManager
public CreateGrantVersionResult createGrantVersion(CreateGrantVersionRequest request)
AWSLicenseManager
Creates a new version of the specified grant. For more information, see Granted licenses in License Manager in the License Manager User Guide.
createGrantVersion
in interface AWSLicenseManager
public CreateLicenseResult createLicense(CreateLicenseRequest request)
AWSLicenseManager
Creates a license.
createLicense
in interface AWSLicenseManager
public CreateLicenseConfigurationResult createLicenseConfiguration(CreateLicenseConfigurationRequest request)
AWSLicenseManager
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.
createLicenseConfiguration
in interface AWSLicenseManager
public CreateLicenseConversionTaskForResourceResult createLicenseConversionTaskForResource(CreateLicenseConversionTaskForResourceRequest request)
AWSLicenseManager
Creates a new license conversion task.
createLicenseConversionTaskForResource
in interface AWSLicenseManager
public CreateLicenseManagerReportGeneratorResult createLicenseManagerReportGenerator(CreateLicenseManagerReportGeneratorRequest request)
AWSLicenseManager
Creates a report generator.
createLicenseManagerReportGenerator
in interface AWSLicenseManager
public CreateLicenseVersionResult createLicenseVersion(CreateLicenseVersionRequest request)
AWSLicenseManager
Creates a new version of the specified license.
createLicenseVersion
in interface AWSLicenseManager
public CreateTokenResult createToken(CreateTokenRequest request)
AWSLicenseManager
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.
createToken
in interface AWSLicenseManager
public DeleteGrantResult deleteGrant(DeleteGrantRequest request)
AWSLicenseManager
Deletes the specified grant.
deleteGrant
in interface AWSLicenseManager
public DeleteLicenseResult deleteLicense(DeleteLicenseRequest request)
AWSLicenseManager
Deletes the specified license.
deleteLicense
in interface AWSLicenseManager
public DeleteLicenseConfigurationResult deleteLicenseConfiguration(DeleteLicenseConfigurationRequest request)
AWSLicenseManager
Deletes the specified license configuration.
You cannot delete a license configuration that is in use.
deleteLicenseConfiguration
in interface AWSLicenseManager
public DeleteLicenseManagerReportGeneratorResult deleteLicenseManagerReportGenerator(DeleteLicenseManagerReportGeneratorRequest request)
AWSLicenseManager
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.
deleteLicenseManagerReportGenerator
in interface AWSLicenseManager
public DeleteTokenResult deleteToken(DeleteTokenRequest request)
AWSLicenseManager
Deletes the specified token. Must be called in the license home Region.
deleteToken
in interface AWSLicenseManager
public ExtendLicenseConsumptionResult extendLicenseConsumption(ExtendLicenseConsumptionRequest request)
AWSLicenseManager
Extends the expiration date for license consumption.
extendLicenseConsumption
in interface AWSLicenseManager
public GetAccessTokenResult getAccessToken(GetAccessTokenRequest request)
AWSLicenseManager
Gets a temporary access token to use with AssumeRoleWithWebIdentity. Access tokens are valid for one hour.
getAccessToken
in interface AWSLicenseManager
public GetGrantResult getGrant(GetGrantRequest request)
AWSLicenseManager
Gets detailed information about the specified grant.
getGrant
in interface AWSLicenseManager
public GetLicenseResult getLicense(GetLicenseRequest request)
AWSLicenseManager
Gets detailed information about the specified license.
getLicense
in interface AWSLicenseManager
public GetLicenseConfigurationResult getLicenseConfiguration(GetLicenseConfigurationRequest request)
AWSLicenseManager
Gets detailed information about the specified license configuration.
getLicenseConfiguration
in interface AWSLicenseManager
public GetLicenseConversionTaskResult getLicenseConversionTask(GetLicenseConversionTaskRequest request)
AWSLicenseManager
Gets information about the specified license type conversion task.
getLicenseConversionTask
in interface AWSLicenseManager
public GetLicenseManagerReportGeneratorResult getLicenseManagerReportGenerator(GetLicenseManagerReportGeneratorRequest request)
AWSLicenseManager
Gets information about the specified report generator.
getLicenseManagerReportGenerator
in interface AWSLicenseManager
public GetLicenseUsageResult getLicenseUsage(GetLicenseUsageRequest request)
AWSLicenseManager
Gets detailed information about the usage of the specified license.
getLicenseUsage
in interface AWSLicenseManager
public GetServiceSettingsResult getServiceSettings(GetServiceSettingsRequest request)
AWSLicenseManager
Gets the License Manager settings for the current Region.
getServiceSettings
in interface AWSLicenseManager
public ListAssociationsForLicenseConfigurationResult listAssociationsForLicenseConfiguration(ListAssociationsForLicenseConfigurationRequest request)
AWSLicenseManager
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).
listAssociationsForLicenseConfiguration
in interface AWSLicenseManager
public ListDistributedGrantsResult listDistributedGrants(ListDistributedGrantsRequest request)
AWSLicenseManager
Lists the grants distributed for the specified license.
listDistributedGrants
in interface AWSLicenseManager
public ListFailuresForLicenseConfigurationOperationsResult listFailuresForLicenseConfigurationOperations(ListFailuresForLicenseConfigurationOperationsRequest request)
AWSLicenseManager
Lists the license configuration operations that failed.
listFailuresForLicenseConfigurationOperations
in interface AWSLicenseManager
public ListLicenseConfigurationsResult listLicenseConfigurations(ListLicenseConfigurationsRequest request)
AWSLicenseManager
Lists the license configurations for your account.
listLicenseConfigurations
in interface AWSLicenseManager
public ListLicenseConversionTasksResult listLicenseConversionTasks(ListLicenseConversionTasksRequest request)
AWSLicenseManager
Lists the license type conversion tasks for your account.
listLicenseConversionTasks
in interface AWSLicenseManager
public ListLicenseManagerReportGeneratorsResult listLicenseManagerReportGenerators(ListLicenseManagerReportGeneratorsRequest request)
AWSLicenseManager
Lists the report generators for your account.
listLicenseManagerReportGenerators
in interface AWSLicenseManager
public ListLicenseSpecificationsForResourceResult listLicenseSpecificationsForResource(ListLicenseSpecificationsForResourceRequest request)
AWSLicenseManager
Describes the license configurations for the specified resource.
listLicenseSpecificationsForResource
in interface AWSLicenseManager
public ListLicenseVersionsResult listLicenseVersions(ListLicenseVersionsRequest request)
AWSLicenseManager
Lists all versions of the specified license.
listLicenseVersions
in interface AWSLicenseManager
public ListLicensesResult listLicenses(ListLicensesRequest request)
AWSLicenseManager
Lists the licenses for your account.
listLicenses
in interface AWSLicenseManager
public ListReceivedGrantsResult listReceivedGrants(ListReceivedGrantsRequest request)
AWSLicenseManager
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.
listReceivedGrants
in interface AWSLicenseManager
public ListReceivedGrantsForOrganizationResult listReceivedGrantsForOrganization(ListReceivedGrantsForOrganizationRequest request)
AWSLicenseManager
Lists the grants received for all accounts in the organization.
listReceivedGrantsForOrganization
in interface AWSLicenseManager
public ListReceivedLicensesResult listReceivedLicenses(ListReceivedLicensesRequest request)
AWSLicenseManager
Lists received licenses.
listReceivedLicenses
in interface AWSLicenseManager
public ListReceivedLicensesForOrganizationResult listReceivedLicensesForOrganization(ListReceivedLicensesForOrganizationRequest request)
AWSLicenseManager
Lists the licenses received for all accounts in the organization.
listReceivedLicensesForOrganization
in interface AWSLicenseManager
public ListResourceInventoryResult listResourceInventory(ListResourceInventoryRequest request)
AWSLicenseManager
Lists resources managed using Systems Manager inventory.
listResourceInventory
in interface AWSLicenseManager
public ListTagsForResourceResult listTagsForResource(ListTagsForResourceRequest request)
AWSLicenseManager
Lists the tags for the specified license configuration.
listTagsForResource
in interface AWSLicenseManager
public ListTokensResult listTokens(ListTokensRequest request)
AWSLicenseManager
Lists your tokens.
listTokens
in interface AWSLicenseManager
public ListUsageForLicenseConfigurationResult listUsageForLicenseConfiguration(ListUsageForLicenseConfigurationRequest request)
AWSLicenseManager
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.
listUsageForLicenseConfiguration
in interface AWSLicenseManager
public RejectGrantResult rejectGrant(RejectGrantRequest request)
AWSLicenseManager
Rejects the specified grant.
rejectGrant
in interface AWSLicenseManager
public TagResourceResult tagResource(TagResourceRequest request)
AWSLicenseManager
Adds the specified tags to the specified license configuration.
tagResource
in interface AWSLicenseManager
public UntagResourceResult untagResource(UntagResourceRequest request)
AWSLicenseManager
Removes the specified tags from the specified license configuration.
untagResource
in interface AWSLicenseManager
public UpdateLicenseConfigurationResult updateLicenseConfiguration(UpdateLicenseConfigurationRequest request)
AWSLicenseManager
Modifies the attributes of an existing license configuration.
updateLicenseConfiguration
in interface AWSLicenseManager
public UpdateLicenseManagerReportGeneratorResult updateLicenseManagerReportGenerator(UpdateLicenseManagerReportGeneratorRequest request)
AWSLicenseManager
Updates a report generator.
After you make changes to a report generator, it starts generating new reports within 60 minutes of being updated.
updateLicenseManagerReportGenerator
in interface AWSLicenseManager
public UpdateLicenseSpecificationsForResourceResult updateLicenseSpecificationsForResource(UpdateLicenseSpecificationsForResourceRequest request)
AWSLicenseManager
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.
updateLicenseSpecificationsForResource
in interface AWSLicenseManager
public UpdateServiceSettingsResult updateServiceSettings(UpdateServiceSettingsRequest request)
AWSLicenseManager
Updates License Manager settings for the current Region.
updateServiceSettings
in interface AWSLicenseManager
public void shutdown()
AWSLicenseManager
shutdown
in interface AWSLicenseManager
public ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
AWSLicenseManager
Response metadata is only cached for a limited period of time, so if you need to access this extra diagnostic information for an executed request, you should use this method to retrieve it as soon as possible after executing a request.
getCachedResponseMetadata
in interface AWSLicenseManager
request
- The originally executed request.