CloudWatchOmni / Paginator / ListViews
ListViews¶
- class CloudWatchOmni.Paginator.ListViews¶
paginator = client.get_paginator('list_views')
- paginate(**kwargs)¶
Creates an iterator that will paginate through responses from
CloudWatchOmni.Client.list_views().See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate( type='USER'|'MANAGED', PaginationConfig={ 'MaxItems': 123, 'PageSize': 123, 'StartingToken': 'string' } )
- Parameters:
type (string) – Return only views of this ownership category.
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': [ { 'name': 'string', 'type': 'USER'|'MANAGED', 'description': 'string', 'createdAt': datetime(2015, 1, 1), 'updatedAt': datetime(2015, 1, 1) }, ], 'NextToken': 'string' }
Response Structure
(dict) –
items (list) –
The list of view summaries.
(dict) –
Summary information about a view. Does not include the view definition.
name (string) –
The name of the view.
type (string) –
The ownership category of the view.
description (string) –
The description of the view.
createdAt (datetime) –
The timestamp when the view was created.
updatedAt (datetime) –
The timestamp when the view was last updated.
NextToken (string) –
A token to resume pagination.