CloudWatch.Paginator.
ListDashboards
¶paginator = client.get_paginator('list_dashboards')
paginate
(**kwargs)¶Creates an iterator that will paginate through responses from CloudWatch.Client.list_dashboards()
.
See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate(
DashboardNamePrefix='string',
PaginationConfig={
'MaxItems': 123,
'StartingToken': 'string'
}
)
A dictionary that provides parameters to control pagination.
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.
A token to specify where to start paginating. This is the NextToken
from a previous response.
dict
Response Syntax
{
'DashboardEntries': [
{
'DashboardName': 'string',
'DashboardArn': 'string',
'LastModified': datetime(2015, 1, 1),
'Size': 123
},
],
}
Response Structure
(dict) --
DashboardEntries (list) --
The list of matching dashboards.
(dict) --
Represents a specific dashboard.
DashboardName (string) --
The name of the dashboard.
DashboardArn (string) --
The Amazon Resource Name (ARN) of the dashboard.
LastModified (datetime) --
The time stamp of when the dashboard was last modified, either by an API call or through the console. This number is expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC.
Size (integer) --
The size of the dashboard, in bytes.