list_iam_policy_assignments
(**kwargs)¶Lists IAM policy assignments in the current Amazon QuickSight account.
See also: AWS API Documentation
Request Syntax
response = client.list_iam_policy_assignments(
AwsAccountId='string',
AssignmentStatus='ENABLED'|'DRAFT'|'DISABLED',
Namespace='string',
NextToken='string',
MaxResults=123
)
[REQUIRED]
The ID of the Amazon Web Services account that contains these IAM policy assignments.
[REQUIRED]
The namespace for the assignments.
dict
Response Syntax
{
'IAMPolicyAssignments': [
{
'AssignmentName': 'string',
'AssignmentStatus': 'ENABLED'|'DRAFT'|'DISABLED'
},
],
'NextToken': 'string',
'RequestId': 'string',
'Status': 123
}
Response Structure
(dict) --
IAMPolicyAssignments (list) --
Information describing the IAM policy assignments.
(dict) --
IAM policy assignment summary.
AssignmentName (string) --
Assignment name.
AssignmentStatus (string) --
Assignment status.
NextToken (string) --
The token for the next set of results, or null if there are no more results.
RequestId (string) --
The Amazon Web Services request ID for this operation.
Status (integer) --
The HTTP status of the request.
Exceptions
QuickSight.Client.exceptions.AccessDeniedException
QuickSight.Client.exceptions.InvalidParameterValueException
QuickSight.Client.exceptions.ResourceNotFoundException
QuickSight.Client.exceptions.ThrottlingException
QuickSight.Client.exceptions.InvalidNextTokenException
QuickSight.Client.exceptions.InternalFailureException