list_license_specifications_for_resource
(**kwargs)¶Describes the license configurations for the specified resource.
See also: AWS API Documentation
Request Syntax
response = client.list_license_specifications_for_resource(
ResourceArn='string',
MaxResults=123,
NextToken='string'
)
[REQUIRED]
Amazon Resource Name (ARN) of a resource that has an associated license configuration.
dict
Response Syntax
{
'LicenseSpecifications': [
{
'LicenseConfigurationArn': 'string',
'AmiAssociationScope': 'string'
},
],
'NextToken': 'string'
}
Response Structure
(dict) --
LicenseSpecifications (list) --
License configurations associated with a resource.
(dict) --
Details for associating a license configuration with a resource.
LicenseConfigurationArn (string) --
Amazon Resource Name (ARN) of the license configuration.
AmiAssociationScope (string) --
Scope of AMI associations. The possible value is cross-account
.
NextToken (string) --
Token for the next set of results.
Exceptions
LicenseManager.Client.exceptions.InvalidParameterValueException
LicenseManager.Client.exceptions.ServerInternalException
LicenseManager.Client.exceptions.AuthorizationException
LicenseManager.Client.exceptions.AccessDeniedException
LicenseManager.Client.exceptions.RateLimitExceededException