LicenseManager / Client / create_license_asset_group

create_license_asset_group

LicenseManager.Client.create_license_asset_group(**kwargs)

Creates a license asset group.

See also: AWS API Documentation

Request Syntax

response = client.create_license_asset_group(
    Name='string',
    Description='string',
    LicenseAssetGroupConfigurations=[
        {
            'UsageDimension': 'string'
        },
    ],
    AssociatedLicenseAssetRulesetARNs=[
        'string',
    ],
    Properties=[
        {
            'Key': 'string',
            'Value': 'string'
        },
    ],
    Tags=[
        {
            'Key': 'string',
            'Value': 'string'
        },
    ],
    ClientToken='string'
)
Parameters:
  • Name (string) –

    [REQUIRED]

    License asset group name.

  • Description (string) – License asset group description.

  • LicenseAssetGroupConfigurations (list) –

    [REQUIRED]

    License asset group configurations.

    • (dict) –

      License asset group configuration.

      • UsageDimension (string) –

        License Asset Group Configuration Usage dimension.

  • AssociatedLicenseAssetRulesetARNs (list) –

    [REQUIRED]

    ARNs of associated license asset rulesets.

    • (string) –

  • Properties (list) –

    License asset group properties.

    • (dict) –

      License asset group property.

      • Key (string) – [REQUIRED]

        Property key.

      • Value (string) – [REQUIRED]

        Property value.

  • Tags (list) –

    Tags to add to the license asset group.

    • (dict) –

      Details about the tags for a resource. For more information about tagging support in License Manager, see the TagResource operation.

      • Key (string) –

        The tag key.

      • Value (string) –

        The tag value.

  • ClientToken (string) –

    [REQUIRED]

    Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

Return type:

dict

Returns:

Response Syntax

{
    'LicenseAssetGroupArn': 'string',
    'Status': 'string'
}

Response Structure

  • (dict) –

    • LicenseAssetGroupArn (string) –

      Amazon Resource Name (ARN) of the license asset group.

    • Status (string) –

      License asset group status.

Exceptions

  • LicenseManager.Client.exceptions.ValidationException

  • LicenseManager.Client.exceptions.InvalidParameterValueException

  • LicenseManager.Client.exceptions.AuthorizationException

  • LicenseManager.Client.exceptions.AccessDeniedException

  • LicenseManager.Client.exceptions.RateLimitExceededException

  • LicenseManager.Client.exceptions.ServerInternalException