Skip to content

Update Iam Policy Assignment

quicksight_update_iam_policy_assignment R Documentation

Updates an existing IAM policy assignment

Description

Updates an existing IAM policy assignment. This operation updates only the optional parameter or parameters that are specified in the request. This overwrites all of the users included in Identities.

Usage

quicksight_update_iam_policy_assignment(AwsAccountId, AssignmentName,
  Namespace, AssignmentStatus, PolicyArn, Identities)

Arguments

AwsAccountId

[required] The ID of the Amazon Web Services account that contains the IAM policy assignment.

AssignmentName

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

Namespace

[required] The namespace of the assignment.

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.

PolicyArn

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

Identities

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

Value

A list with the following syntax:

list(
  AssignmentName = "string",
  AssignmentId = "string",
  PolicyArn = "string",
  Identities = list(
    list(
      "string"
    )
  ),
  AssignmentStatus = "ENABLED"|"DRAFT"|"DISABLED",
  RequestId = "string",
  Status = 123
)

Request syntax

svc$update_iam_policy_assignment(
  AwsAccountId = "string",
  AssignmentName = "string",
  Namespace = "string",
  AssignmentStatus = "ENABLED"|"DRAFT"|"DISABLED",
  PolicyArn = "string",
  Identities = list(
    list(
      "string"
    )
  )
)