XRay / Paginator / ListResourcePolicies
ListResourcePolicies#
- class XRay.Paginator.ListResourcePolicies#
- paginator = client.get_paginator('list_resource_policies') - paginate(**kwargs)#
- Creates an iterator that will paginate through responses from - XRay.Client.list_resource_policies().- See also: AWS API Documentation - Request Syntax - response_iterator = paginator.paginate( PaginationConfig={ 'MaxItems': 123, 'StartingToken': 'string' } ) - Parameters:
- 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.
- StartingToken (string) – - A token to specify where to start paginating. This is the - NextTokenfrom a previous response.
 
- Return type:
- dict 
- Returns:
- Response Syntax - { 'ResourcePolicies': [ { 'PolicyName': 'string', 'PolicyDocument': 'string', 'PolicyRevisionId': 'string', 'LastUpdatedTime': datetime(2015, 1, 1) }, ], } - Response Structure - (dict) – - ResourcePolicies (list) – - The list of resource policies in the target Amazon Web Services account. - (dict) – - A resource policy grants one or more Amazon Web Services services and accounts permissions to access X-Ray. Each resource policy is associated with a specific Amazon Web Services account. - PolicyName (string) – - The name of the resource policy. Must be unique within a specific Amazon Web Services account. 
- PolicyDocument (string) – - The resource policy document, which can be up to 5kb in size. 
- PolicyRevisionId (string) – - Returns the current policy revision id for this policy name. 
- LastUpdatedTime (datetime) – - When the policy was last updated, in Unix time seconds.