CloudExtensions / Paginator / ListProfiles
ListProfiles¶
- class CloudExtensions.Paginator.ListProfiles¶
paginator = client.get_paginator('list_profiles')
- paginate(**kwargs)¶
Creates an iterator that will paginate through responses from
CloudExtensions.Client.list_profiles().See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate( name='string', PaginationConfig={ 'MaxItems': 123, 'PageSize': 123, 'StartingToken': 'string' } )
- Parameters:
name (string) – Optional filter to match profiles by name.
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
NextTokenwill 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
NextTokenfrom a previous response.
- Return type:
dict
- Returns:
Response Syntax
{ 'items': [ { 'id': 'string', 'name': 'string', 'arn': 'string', 'entryCount': 123, 'createdAt': datetime(2015, 1, 1), 'updatedAt': datetime(2015, 1, 1) }, ], 'NextToken': 'string' }
Response Structure
(dict) –
A page of profiles.
items (list) –
The profiles in this page of results.
(dict) –
A summary of one profile.
id (string) –
The service-generated id of the profile.
name (string) –
The name of the profile.
arn (string) –
The Amazon Resource Name (ARN) of the profile.
entryCount (integer) –
The number of entries in this profile.
createdAt (datetime) –
When the profile was created.
updatedAt (datetime) –
When the profile was last updated. Equal to createdAt until the first update.
NextToken (string) –
A token to resume pagination.