CodeCatalyst / Paginator / ListDevEnvironmentSessions
ListDevEnvironmentSessions#
- class CodeCatalyst.Paginator.ListDevEnvironmentSessions#
paginator = client.get_paginator('list_dev_environment_sessions')
- paginate(**kwargs)#
Creates an iterator that will paginate through responses from
CodeCatalyst.Client.list_dev_environment_sessions()
.See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate( spaceName='string', projectName='string', devEnvironmentId='string', PaginationConfig={ 'MaxItems': 123, 'PageSize': 123, 'StartingToken': 'string' } )
- Parameters:
spaceName (string) –
[REQUIRED]
The name of the space.
projectName (string) –
[REQUIRED]
The name of the project in the space.
devEnvironmentId (string) –
[REQUIRED]
The system-generated unique ID of the Dev Environment.
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
{ 'items': [ { 'spaceName': 'string', 'projectName': 'string', 'devEnvironmentId': 'string', 'startedTime': datetime(2015, 1, 1), 'id': 'string' }, ], 'NextToken': 'string' }
Response Structure
(dict) –
items (list) –
Information about each session retrieved in the list.
(dict) –
Information about active sessions for a Dev Environment.
spaceName (string) –
The name of the space.
projectName (string) –
The name of the project in the space.
devEnvironmentId (string) –
The system-generated unique ID of the Dev Environment.
startedTime (datetime) –
The date and time the session started, in coordinated universal time (UTC) timestamp format as specified in RFC 3339
id (string) –
The system-generated unique ID of the Dev Environment session.
NextToken (string) –
A token to resume pagination.