Values_1.CreateIAMPolicyAssignmentResponseSourceCreates 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 Quick Sight. Assignment names are unique per Amazon Web Services account. To avoid overwriting rules in other namespaces, use assignment names that are unique.
type nonrec t = {assignmentName : Values_0.IAMPolicyAssignmentName.t option;The name of the assignment. The name must be unique within the Amazon Web Services account.
*)assignmentId : Values_0.String_.t option;The ID for the assignment.
*)assignmentStatus : AssignmentStatus.t option;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 : Values_0.Arn.t option;The ARN for the IAM policy that is applied to the Amazon Quick Sight users and groups specified in this assignment.
*)identities : IdentityMap.t option;The Amazon Quick Sight users, groups, or both that the IAM policy is assigned to.
*)requestId : Values_0.String_.t option;The Amazon Web Services request ID for this operation.
*)status : StatusCode.t option;The HTTP status of the request.
*)}type nonrec error = [ | `AccessDeniedException of Values_0.AccessDeniedException.t| `ConcurrentUpdatingException of ConcurrentUpdatingException.t| `InternalFailureException of InternalFailureException.t| `InvalidParameterValueException of InvalidParameterValueException.t| `ResourceExistsException of ResourceExistsException.t| `ResourceNotFoundException of ResourceNotFoundException.t| `ThrottlingException of ThrottlingException.t| `Unknown_operation_error of string * string option ]val error_of_json :
string ->
Yojson.Safe.t ->
[> `AccessDeniedException of Values_0.AccessDeniedException.t
| `ConcurrentUpdatingException of ConcurrentUpdatingException.t
| `InternalFailureException of InternalFailureException.t
| `InvalidParameterValueException of InvalidParameterValueException.t
| `ResourceExistsException of ResourceExistsException.t
| `ResourceNotFoundException of ResourceNotFoundException.t
| `ThrottlingException of ThrottlingException.t
| `Unknown_operation_error of string * string option ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `AccessDeniedException of Values_0.AccessDeniedException.t
| `ConcurrentUpdatingException of ConcurrentUpdatingException.t
| `InternalFailureException of InternalFailureException.t
| `InvalidParameterValueException of InvalidParameterValueException.t
| `ResourceExistsException of ResourceExistsException.t
| `ResourceNotFoundException of ResourceNotFoundException.t
| `ThrottlingException of ThrottlingException.t
| `Unknown_operation_error of string * string option ]val to_value :
t ->
[> `Structure of
(string
* [> `Enum of string
| `Integer of StatusCode.t
| `Map of
([> `String of Values_0.String_.t ]
* [> `List of [> `String of IdentityName.t ] list ])
list
| `String of Values_0.IAMPolicyAssignmentName.t ])
list ]