Skip to content

CreateIAMPolicyAssignmentRequest

Source code in docs_src/capo_quicksight/types/create_iam_policy_assignment_request.py
class CreateIAMPolicyAssignmentRequest(TypedDict, closed=True):
    aws_account_id: "capo_quicksight.types.aws_account_id.AwsAccountId"
    """<p>The ID of the Amazon Web Services account where you want to assign an IAM policy to Amazon Quick Sight users or groups.</p>"""
    assignment_name: (
        "capo_quicksight.types.iam_policy_assignment_name.IAMPolicyAssignmentName"
    )
    """<p>The name of the assignment, also called a rule. The name must be unique within the Amazon Web Services account.</p>"""
    assignment_status: "capo_quicksight.types.assignment_status.AssignmentStatus"
    """<p>The status of the assignment. Possible values are as follows:</p> <ul> <li> <p> <code>ENABLED</code> - Anything specified in this assignment is used when creating the data source.</p> </li> <li> <p> <code>DISABLED</code> - This assignment isn't used when creating the data source.</p> </li> <li> <p> <code>DRAFT</code> - This assignment is an unfinished draft and isn't used when creating the data source.</p> </li> </ul>"""
    policy_arn: NotRequired["capo_quicksight.types.arn.Arn"]
    """<p>The ARN for the IAM policy to apply to the Amazon Quick Sight users and groups specified in this assignment.</p>"""
    identities: NotRequired["capo_quicksight.types.identity_map.IdentityMap"]
    """<p>The Amazon Quick Sight users, groups, or both that you want to assign the policy to.</p>"""
    namespace: "capo_quicksight.types.namespace.Namespace"
    """<p>The namespace that contains the assignment.</p>"""

assignment_name instance-attribute

assignment_name: IAMPolicyAssignmentName

The name of the assignment, also called a rule. The name must be unique within the Amazon Web Services account.

assignment_status instance-attribute

assignment_status: AssignmentStatus

The status of the assignment. Possible values are as follows:

  • ENABLED - Anything specified in this assignment is used when creating the data source.

  • DISABLED - This assignment isn't used when creating the data source.

  • DRAFT - This assignment is an unfinished draft and isn't used when creating the data source.

aws_account_id instance-attribute

aws_account_id: AwsAccountId

The ID of the Amazon Web Services account where you want to assign an IAM policy to Amazon Quick Sight users or groups.

identities instance-attribute

identities: NotRequired[IdentityMap]

The Amazon Quick Sight users, groups, or both that you want to assign the policy to.

namespace instance-attribute

namespace: Namespace

The namespace that contains the assignment.

policy_arn instance-attribute

policy_arn: NotRequired[Arn]

The ARN for the IAM policy to apply to the Amazon Quick Sight users and groups specified in this assignment.