LicenseManager / Client / list_license_asset_groups

list_license_asset_groups

LicenseManager.Client.list_license_asset_groups(**kwargs)

Lists license asset groups.

See also: AWS API Documentation

Request Syntax

response = client.list_license_asset_groups(
    Filters=[
        {
            'Name': 'string',
            'Values': [
                'string',
            ]
        },
    ],
    MaxResults=123,
    NextToken='string'
)
Parameters:
  • Filters (list) –

    Filters to scope the results. Following filters are supported

    • LicenseAssetRulesetArn

    • (dict) –

      A filter name and value pair that is used to return more specific results from a describe operation. Filters can be used to match a set of resources by specific criteria, such as tags, attributes, or IDs.

      • Name (string) –

        Name of the filter. Filter names are case-sensitive.

      • Values (list) –

        The value of the filter, which is case-sensitive. You can only specify one value for the filter.

        • (string) –

  • MaxResults (integer) – Maximum number of results to return in a single call.

  • NextToken (string) – Token for the next set of results.

Return type:

dict

Returns:

Response Syntax

{
    'LicenseAssetGroups': [
        {
            'Name': 'string',
            'Description': 'string',
            'LicenseAssetGroupConfigurations': [
                {
                    'UsageDimension': 'string'
                },
            ],
            'AssociatedLicenseAssetRulesetARNs': [
                'string',
            ],
            'Properties': [
                {
                    'Key': 'string',
                    'Value': 'string'
                },
            ],
            'LicenseAssetGroupArn': 'string',
            'Status': 'ACTIVE'|'DISABLED'|'DELETED',
            'StatusMessage': 'string',
            'LatestUsageAnalysisTime': datetime(2015, 1, 1),
            'LatestResourceDiscoveryTime': datetime(2015, 1, 1)
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) –

    • LicenseAssetGroups (list) –

      License asset groups.

      • (dict) –

        License asset group.

        • Name (string) –

          License asset group name.

        • Description (string) –

          License asset group description.

        • LicenseAssetGroupConfigurations (list) –

          License asset group configurations.

          • (dict) –

            License asset group configuration.

            • UsageDimension (string) –

              License Asset Group Configuration Usage dimension.

        • AssociatedLicenseAssetRulesetARNs (list) –

          ARNs of associated license asset rulesets.

          • (string) –

        • Properties (list) –

          License asset group properties.

          • (dict) –

            License asset group property.

            • Key (string) –

              Property key.

            • Value (string) –

              Property value.

        • LicenseAssetGroupArn (string) –

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

        • Status (string) –

          License asset group status.

        • StatusMessage (string) –

          License asset group status message.

        • LatestUsageAnalysisTime (datetime) –

          Latest usage analysis time.

        • LatestResourceDiscoveryTime (datetime) –

          Latest resource discovery time.

    • NextToken (string) –

      Token for the next set of results.

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