UpdateLicenseConfiguration - Amazon License Manager
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China.

UpdateLicenseConfiguration

Modifies the attributes of an existing license configuration.

Request Syntax

{ "Description": "string", "DisassociateWhenNotFound": boolean, "LicenseConfigurationArn": "string", "LicenseConfigurationStatus": "string", "LicenseCount": number, "LicenseCountHardLimit": boolean, "LicenseRules": [ "string" ], "Name": "string", "ProductInformationList": [ { "ProductInformationFilterList": [ { "ProductInformationFilterComparator": "string", "ProductInformationFilterName": "string", "ProductInformationFilterValue": [ "string" ] } ], "ResourceType": "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

DisassociateWhenNotFound

When true, disassociates a resource when software is uninstalled.

Type: Boolean

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 rule. The only rule that you can add after you create a license configuration is licenseAffinityToHost.

Type: Array of strings

Required: No

Name

New name of the license configuration.

Type: String

Required: No

ProductInformationList

New product information.

Type: Array of ProductInformation objects

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 Amazon 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

ResourceLimitExceededException

Your resource limits have been exceeded.

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 Amazon SDKs, see the following: