list_environment_templates

list_environment_templates(**kwargs)

List environment templates.

See also: AWS API Documentation

Request Syntax

response = client.list_environment_templates(
    maxResults=123,
    nextToken='string'
)
Parameters
  • maxResults (integer) -- The maximum number of environment templates to list.
  • nextToken (string) -- A token that indicates the location of the next environment template in the array of environment templates, after the list of environment templates that was previously requested.
Return type

dict

Returns

Response Syntax

{
    'nextToken': 'string',
    'templates': [
        {
            'arn': 'string',
            'createdAt': datetime(2015, 1, 1),
            'description': 'string',
            'displayName': 'string',
            'lastModifiedAt': datetime(2015, 1, 1),
            'name': 'string',
            'provisioning': 'CUSTOMER_MANAGED',
            'recommendedVersion': 'string'
        },
    ]
}

Response Structure

  • (dict) --

    • nextToken (string) --

      A token that indicates the location of the next environment template in the array of environment templates, after the current requested list of environment templates.

    • templates (list) --

      An array of environment templates with detail data.

      • (dict) --

        The environment template data.

        • arn (string) --

          The Amazon Resource Name (ARN) of the environment template.

        • createdAt (datetime) --

          The time when the environment template was created.

        • description (string) --

          A description of the environment template.

        • displayName (string) --

          The name of the environment template as displayed in the developer interface.

        • lastModifiedAt (datetime) --

          The time when the environment template was last modified.

        • name (string) --

          The name of the environment template.

        • provisioning (string) --

          When included, indicates that the environment template is for customer provisioned and managed infrastructure.

        • recommendedVersion (string) --

          The recommended version of the environment template.

Exceptions

  • Proton.Client.exceptions.ValidationException
  • Proton.Client.exceptions.AccessDeniedException
  • Proton.Client.exceptions.ThrottlingException
  • Proton.Client.exceptions.InternalServerException