Skip to content

PutAssignmentEntry

Source code in docs_src/capo_quicksight/types/put_assignment_entry.py
class PutAssignmentEntry(TypedDict, closed=True):
    principal_arn: "capo_quicksight.types.principal_arn.PrincipalArn"
    """<p>The ARN of the user, group, or account to assign the policy to.</p>"""
    existing_policy_arn: NotRequired["capo_quicksight.types.policy_arn.PolicyArn"]
    """<p>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, this entry fails with a <code>ConflictException</code> error code and makes no change.</p>"""
    revision: NotRequired["capo_quicksight.types.revision.Revision"]
    """<p>The revision of the assignment from your most recent read. If the assignment has changed since that revision, this entry fails with a <code>ConflictException</code> error code.</p>"""

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, this entry fails with a ConflictException error code and makes no change.

principal_arn instance-attribute

principal_arn: PrincipalArn

The ARN of the user, group, or account to assign the policy to.

revision instance-attribute

revision: NotRequired[Revision]

The revision of the assignment from your most recent read. If the assignment has changed since that revision, this entry fails with a ConflictException error code.