MultipartyApproval / Paginator / ListPolicies
ListPolicies¶
- class MultipartyApproval.Paginator.ListPolicies¶
paginator = client.get_paginator('list_policies')
- paginate(**kwargs)¶
Creates an iterator that will paginate through responses from
MultipartyApproval.Client.list_policies()
.See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate( PaginationConfig={ 'MaxItems': 123, 'PageSize': 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
NextToken
will 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
NextToken
from a previous response.
- Return type:
dict
- Returns:
Response Syntax
{ 'Policies': [ { 'Arn': 'string', 'DefaultVersion': 123, 'PolicyType': 'AWS_MANAGED'|'AWS_RAM', 'Name': 'string' }, ] }
Response Structure
(dict) –
Policies (list) –
An array of
Policy
objects. Contains a list of policies that define the permissions for team resources.The protected operation for a service integration might require specific permissions. For more information, see How other services work with Multi-party approval in the Multi-party approval User Guide.
(dict) –
Contains details for a policy. Policies define what operations a team that define the permissions for team resources.
The protected operation for a service integration might require specific permissions. For more information, see How other services work with Multi-party approval in the Multi-party approval User Guide.
Arn (string) –
Amazon Resource Name (ARN) for the policy.
DefaultVersion (integer) –
Determines if the specified policy is the default for the team.
PolicyType (string) –
The type of policy.
Name (string) –
Name of the policy.