Learn R Programming

paws.analytics (version 0.1.7)

quicksight_create_iam_policy_assignment: Creates an assignment with one specified IAM policy, identified by its Amazon Resource Name (ARN)

Description

Creates an assignment with one specified IAM policy, identified by its Amazon Resource Name (ARN). This policy will be assigned to specified groups or users of Amazon QuickSight. The users and groups need to be in the same namespace.

Usage

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

Arguments

AwsAccountId

[required] The ID of the AWS account where you want to assign an IAM policy to QuickSight users or groups.

AssignmentName

[required] The name of the assignment. It must be unique within an AWS account.

AssignmentStatus

[required] 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 QuickSight users and groups specified in this assignment.

Identities

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

Namespace

[required] The namespace that contains the assignment.

Request syntax

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