Skip to content

/AWS1/CL_QST=>CREATEIAMPOLICYASSIGNMENT()

About CreateIAMPolicyAssignment

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 Amazon Web Services account. To avoid overwriting rules in other namespaces, use assignment names that are unique.

Method Signature

IMPORTING

Required arguments:

IV_AWSACCOUNTID TYPE /AWS1/QSTAWSACCOUNTID /AWS1/QSTAWSACCOUNTID

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

IV_ASSIGNMENTNAME TYPE /AWS1/QSTIAMPLYASSIGNMENTNAME /AWS1/QSTIAMPLYASSIGNMENTNAME

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

IV_ASSIGNMENTSTATUS TYPE /AWS1/QSTASSIGNMENTSTATUS /AWS1/QSTASSIGNMENTSTATUS

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.

IV_NAMESPACE TYPE /AWS1/QSTNAMESPACE /AWS1/QSTNAMESPACE

The namespace that contains the assignment.

Optional arguments:

IV_POLICYARN TYPE /AWS1/QSTARN /AWS1/QSTARN

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

IT_IDENTITIES TYPE /AWS1/CL_QSTIDENTITYNAMELIST_W=>TT_IDENTITYMAP TT_IDENTITYMAP

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

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_QSTCREIAMPLYASSIGNM01 /AWS1/CL_QSTCREIAMPLYASSIGNM01