Skip to content

DeletePolicyAssignmentRequest

Source code in docs_src/capo_quicksight/types/delete_policy_assignment_request.py
class DeletePolicyAssignmentRequest(TypedDict, closed=True):
    account_id: "capo_quicksight.types.aws_account_id.AwsAccountId"
    """<p>The ID of the Amazon Web Services account that contains the principal.</p>"""
    policy_arn: "capo_quicksight.types.policy_arn.PolicyArn"
    """<p>The ARN of the policy to remove. The operation removes the assignment only if the principal currently has this policy.</p>"""
    principal_arn: "capo_quicksight.types.principal_arn.PrincipalArn"
    """<p>The ARN of the user, group, or account to remove the policy from.</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, the request fails with a <code>ConflictException</code>. If you don't specify a value, the operation doesn't check the revision.</p>"""

account_id instance-attribute

account_id: AwsAccountId

The ID of the Amazon Web Services account that contains the principal.

policy_arn instance-attribute

policy_arn: PolicyArn

The ARN of the policy to remove. The operation removes the assignment only if the principal currently has this policy.

principal_arn instance-attribute

principal_arn: PrincipalArn

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

revision instance-attribute

revision: NotRequired[Revision]

The revision of the assignment from your most recent read. If the assignment has changed since that revision, the request fails with a ConflictException. If you don't specify a value, the operation doesn't check the revision.