You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::QuickSight::Types::UpdateIAMPolicyAssignmentRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing UpdateIAMPolicyAssignmentRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  aws_account_id: "AwsAccountId", # required
  assignment_name: "IAMPolicyAssignmentName", # required
  namespace: "Namespace", # required
  assignment_status: "ENABLED", # accepts ENABLED, DRAFT, DISABLED
  policy_arn: "Arn",
  identities: {
    "String" => ["IdentityName"],
  },
}

Instance Attribute Summary collapse

Instance Attribute Details

#assignment_nameString

The name of the assignment, also called a rule. This name must be unique within an AWS account.

Returns:

  • (String)

    The name of the assignment, also called a rule.

#assignment_statusString

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.

    Possible values:

    • ENABLED
    • DRAFT
    • DISABLED

Returns:

  • (String)

    The status of the assignment.

#aws_account_idString

The ID of the AWS account that contains the IAM policy assignment.

Returns:

  • (String)

    The ID of the AWS account that contains the IAM policy assignment.

#identitiesHash<String,Array<String>>

The QuickSight users, groups, or both that you want to assign the policy to.

Returns:

  • (Hash<String,Array<String>>)

    The QuickSight users, groups, or both that you want to assign the policy to.

#namespaceString

The namespace of the assignment.

Returns:

  • (String)

    The namespace of the assignment.

#policy_arnString

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

Returns:

  • (String)

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