Creates an assignment with one specified IAM policy, identified by its Amazon Resource Name (ARN). This policy assignment is attached to the specified groups or users of Amazon QuickSight. Assignment names are unique per AWS account. To avoid overwriting rules in other namespaces, use assignment names that are unique.
quicksight_create_iam_policy_assignment(AwsAccountId, AssignmentName,
AssignmentStatus, PolicyArn, Identities, Namespace)
[required] The ID of the AWS account where you want to assign an IAM policy to QuickSight users or groups.
[required] The name of the assignment, also called a rule. It must be unique within an AWS account.
[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.
The ARN for the IAM policy to apply to the QuickSight users and groups specified in this assignment.
The QuickSight users, groups, or both that you want to assign the policy to.
[required] The namespace that contains the assignment.
A list with the following syntax:
list( AssignmentName = "string", AssignmentId = "string", AssignmentStatus = "ENABLED"|"DRAFT"|"DISABLED", PolicyArn = "string", Identities = list( list( "string" ) ), RequestId = "string", Status = 123 )
svc$create_iam_policy_assignment( AwsAccountId = "string", AssignmentName = "string", AssignmentStatus = "ENABLED"|"DRAFT"|"DISABLED", PolicyArn = "string", Identities = list( list( "string" ) ), Namespace = "string" )