AWS License Manager
API Reference (API Version 2018-08-01)

UpdateLicenseConfiguration

Modifies the attributes of an existing 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), host affinity (how long a VM must be associated with a host), and the number of licenses purchased and used.

Request Syntax

{ "Description": "string", "LicenseConfigurationArn": "string", "LicenseConfigurationStatus": "string", "LicenseCount": number, "LicenseCountHardLimit": boolean, "LicenseRules": [ "string" ], "Name": "string" }

Request Parameters

For information about the parameters that are common to all actions, see Common Parameters.

The request accepts the following data in JSON format.

Description

New description of the license configuration.

Type: String

Required: No

LicenseConfigurationArn

Amazon Resource Name (ARN) of the license configuration.

Type: String

Required: Yes

LicenseConfigurationStatus

New status of the license configuration.

Type: String

Valid Values: AVAILABLE | DISABLED

Required: No

LicenseCount

New number of licenses managed by the license configuration.

Type: Long

Required: No

LicenseCountHardLimit

New hard limit of the number of available licenses.

Type: Boolean

Required: No

LicenseRules

New license rules.

Type: Array of strings

Required: No

Name

New name of the license configuration.

Type: String

Required: No

Response Elements

If the action is successful, the service sends back an HTTP 200 response with an empty HTTP body.

Errors

For information about the errors that are common to all actions, see Common Errors.

AccessDeniedException

Access to resource denied.

HTTP Status Code: 400

AuthorizationException

The AWS user account does not have permission to perform the action. Check the IAM policy associated with this account.

HTTP Status Code: 400

InvalidParameterValueException

One or more parameter values are not valid.

HTTP Status Code: 400

RateLimitExceededException

Too many requests have been submitted. Try again after a brief wait.

HTTP Status Code: 400

ServerInternalException

The server experienced an internal error. Try again.

HTTP Status Code: 500

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: