DevOpsAgentService / Client / list_asset_types

list_asset_types

DevOpsAgentService.Client.list_asset_types(**kwargs)

Lists the supported asset types

See also: AWS API Documentation

Request Syntax

response = client.list_asset_types(
    nextToken='string',
    maxResults=123
)
Parameters:
  • nextToken (string) – Pagination token from a previous response to retrieve the next page of results

  • maxResults (integer) – The maximum number of results to return in a single response

Return type:

dict

Returns:

Response Syntax

{
    'items': [
        {
            'assetType': 'string',
            'description': 'string'
        },
    ],
    'nextToken': 'string'
}

Response Structure

  • (dict) –

    Response structure for listing asset types

    • items (list) –

      The list of supported asset types

      • (dict) –

        Summary of an asset type, including its identifier and description.

        • assetType (string) –

          The asset type identifier

        • description (string) –

          A description of the asset type

    • nextToken (string) –

      Pagination token to retrieve the next page of results. Absent when there are no more results.

Exceptions