QuickSight / Paginator / ListApprovalPolicies
ListApprovalPolicies¶
- class QuickSight.Paginator.ListApprovalPolicies¶
paginator = client.get_paginator('list_approval_policies')
- paginate(**kwargs)¶
Creates an iterator that will paginate through responses from
QuickSight.Client.list_approval_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
NextTokenwill 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
NextTokenfrom a previous response.
- Return type:
dict
- Returns:
Response Syntax
{ 'Policies': [ { 'PolicyId': 'string', 'PolicyArn': 'string', 'Name': 'string', 'Description': 'string', 'Actions': [ 'SHARE', ], 'AssetTypes': [ 'AGENT'|'SPACE'|'KNOWLEDGE_BASE', ], 'ApplicableTo': { 'Type': 'GROUP', 'GroupArns': [ 'string', ] }, 'ApprovalGroups': [ 'string', ], 'CreatedAt': datetime(2015, 1, 1), 'UpdatedAt': datetime(2015, 1, 1) }, ], }
Response Structure
(dict) –
Policies (list) –
The list of approval policies.
(dict) –
A governance approval policy that specifies which principals and governed actions require approval, and which assets the policy applies to.
PolicyId (string) –
The unique identifier of the approval policy.
PolicyArn (string) –
The Amazon Resource Name (ARN) of the approval policy.
Name (string) –
The name of the approval policy.
Description (string) –
A description of the approval policy.
Actions (list) –
The list of governed actions that trigger the approval workflow.
(string) –
AssetTypes (list) –
The list of asset types that the approval policy applies to.
(string) –
ApplicableTo (dict) –
The scoping configuration that determines who the approval policy applies to.
Type (string) –
The type of scoping that determines which principals the approval policy applies to. Valid values are defined as follows:
GROUP: The policy applies only to principals in the groups specified byGroupArns. When you useGROUP, you must also provide a value forGroupArns.
GroupArns (list) –
The list of group ARNs that the policy applies to. Required when type is GROUP.
(string) –
ApprovalGroups (list) –
The list of group ARNs whose members can approve requests.
(string) –
CreatedAt (datetime) –
The date and time that the approval policy was created.
UpdatedAt (datetime) –
The date and time that the approval policy was last updated.