CloudWatchLogs.Paginator.
DescribeResourcePolicies
¶paginator = client.get_paginator('describe_resource_policies')
paginate
(**kwargs)¶Creates an iterator that will paginate through responses from CloudWatchLogs.Client.describe_resource_policies()
.
See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate(
PaginationConfig={
'MaxItems': 123,
'PageSize': 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.
The size of each page.
A token to specify where to start paginating. This is the NextToken
from a previous response.
{
'resourcePolicies': [
{
'policyName': 'string',
'policyDocument': 'string',
'lastUpdatedTime': 123
},
],
'NextToken': 'string'
}
Response Structure
The resource policies that exist in this account.
A policy enabling one or more entities to put logs to a log group in this account.
The name of the resource policy.
The details of the policy.
Timestamp showing when this policy was last updated, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC
.
A token to resume pagination.