PutPolicyAssignmentRequest
¶
Source code in docs_src/capo_quicksight/types/put_policy_assignment_request.py
account_id
instance-attribute
¶
account_id: AwsAccountId
The ID of the Amazon Web Services account that contains the policy and the principal.
existing_policy_arn
instance-attribute
¶
existing_policy_arn: NotRequired[PolicyArn]
The ARN of the policy that you expect the principal to have before this request. If the principal has a different policy of the same type, or no policy of that type, the request fails with a ConflictException and makes no change. If you don't specify a value, the operation doesn't check the existing assignment.
policy_arn
instance-attribute
¶
policy_arn: PolicyArn
The Amazon Resource Name (ARN) of the policy to assign.
principal_arn
instance-attribute
¶
principal_arn: PrincipalArn
The ARN of the user, group, or account to assign the policy to.