Proton / Paginator / ListEnvironmentTemplates
ListEnvironmentTemplates#
- class Proton.Paginator.ListEnvironmentTemplates#
paginator = client.get_paginator('list_environment_templates')
- paginate(**kwargs)#
Creates an iterator that will paginate through responses from
Proton.Client.list_environment_templates()
.See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate( PaginationConfig={ 'MaxItems': 123, 'PageSize': 123, 'StartingToken': 'string' } )
- Parameters:
PaginationConfig (dict) –
A dictionary that provides parameters to control pagination.
MaxItems (integer) –
The total number of items to return. If the total number of items available is more than the value specified in max-items then a
NextToken
will be provided in the output that you can use to resume pagination.PageSize (integer) –
The size of each page.
StartingToken (string) –
A token to specify where to start paginating. This is the
NextToken
from a previous response.
- Return type:
dict
- Returns:
Response Syntax
{ 'templates': [ { 'arn': 'string', 'createdAt': datetime(2015, 1, 1), 'description': 'string', 'displayName': 'string', 'lastModifiedAt': datetime(2015, 1, 1), 'name': 'string', 'provisioning': 'CUSTOMER_MANAGED', 'recommendedVersion': 'string' }, ], 'NextToken': 'string' }
Response Structure
(dict) –
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.
NextToken (string) –
A token to resume pagination.