LicenseManager / Client / list_assets_for_license_asset_group

list_assets_for_license_asset_group

LicenseManager.Client.list_assets_for_license_asset_group(**kwargs)

Lists assets for a license asset group.

See also: AWS API Documentation

Request Syntax

response = client.list_assets_for_license_asset_group(
    LicenseAssetGroupArn='string',
    AssetType='string',
    MaxResults=123,
    NextToken='string'
)
Parameters:
  • LicenseAssetGroupArn (string) –

    [REQUIRED]

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

  • AssetType (string) –

    [REQUIRED]

    Asset type. The possible values are Instance | License | LicenseConfiguration.

  • 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

{
    'Assets': [
        {
            'AssetArn': 'string',
            'LatestAssetDiscoveryTime': datetime(2015, 1, 1)
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) –

    • Assets (list) –

      Assets.

      • (dict) –

        Asset.

        • AssetArn (string) –

          Amazon Resource Name (ARN) of the asset.

        • LatestAssetDiscoveryTime (datetime) –

          Latest asset 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