v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-141341,3811.0 MB

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 <code>Identities</code>.

put/accounts/{AwsAccountId}/namespaces/{Namespace}/iam-policy-assignments/{AssignmentName}

Path parameters

AwsAccountIdstring required

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

AssignmentNamestring required

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

Namespacestring required

The namespace of the assignment.

Request body

AssignmentStatus'ENABLED' | 'DRAFT' | 'DISABLED'
<p>The status of the assignment. Possible values are as follows:</p> <ul> <li> <p> <code>ENABLED</code> - Anything specified in this assignment is used when creating the data source.</p> </li> <li> <p> <code>DISABLED</code> - This assignment isn't used when creating the data source.</p> </li> <li> <p> <code>DRAFT</code> - This assignment is an unfinished draft and isn't used when creating the data source.</p> </li> </ul>
PolicyArnstring

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

Identitiesobject

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

Response

Success

AssignmentNamestring

The name of the assignment or rule.

AssignmentIdstring

The ID of the assignment.

PolicyArnstring

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

Identitiesobject

The Amazon QuickSight users, groups, or both that the IAM policy is assigned to.

AssignmentStatus'ENABLED' | 'DRAFT' | 'DISABLED'
<p>The status of the assignment. Possible values are as follows:</p> <ul> <li> <p> <code>ENABLED</code> - Anything specified in this assignment is used when creating the data source.</p> </li> <li> <p> <code>DISABLED</code> - This assignment isn't used when creating the data source.</p> </li> <li> <p> <code>DRAFT</code> - This assignment is an unfinished draft and isn't used when creating the data source.</p> </li> </ul>
RequestIdstring

The Amazon Web Services request ID for this operation.

Statusinteger

The HTTP status of the request.