MultipartyApproval / Paginator / ListPolicyVersions
ListPolicyVersions¶
- class MultipartyApproval.Paginator.ListPolicyVersions¶
paginator = client.get_paginator('list_policy_versions')
- paginate(**kwargs)¶
Creates an iterator that will paginate through responses from
MultipartyApproval.Client.list_policy_versions()
.See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate( PolicyArn='string', PaginationConfig={ 'MaxItems': 123, 'PageSize': 123, 'StartingToken': 'string' } )
- Parameters:
PolicyArn (string) –
[REQUIRED]
Amazon Resource Name (ARN) for the policy.
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
{ 'PolicyVersions': [ { 'Arn': 'string', 'PolicyArn': 'string', 'VersionId': 123, 'PolicyType': 'AWS_MANAGED'|'AWS_RAM', 'IsDefault': True|False, 'Name': 'string', 'Status': 'ATTACHABLE'|'DEPRECATED', 'CreationTime': datetime(2015, 1, 1), 'LastUpdatedTime': datetime(2015, 1, 1) }, ] }
Response Structure
(dict) –
PolicyVersions (list) –
An array of
PolicyVersionSummary
objects. Contains details for the version of the 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 the version of 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 team.
PolicyArn (string) –
Amazon Resource Name (ARN) for the policy.
VersionId (integer) –
Version ID for the policy.
PolicyType (string) –
The type of policy.
IsDefault (boolean) –
Determines if the specified policy is the default for the team.
Name (string) –
Name of the policy
Status (string) –
Status for the policy. For example, if the policy is attachable or deprecated.
CreationTime (datetime) –
Timestamp when the policy was created.
LastUpdatedTime (datetime) –
Timestamp when the policy was last updated.