Values.CreateAccountAssignmentRequestSourceAssigns access to a principal for a specified Amazon Web Services account using a specified permission set. The term principal here refers to a user or group that is defined in IAM Identity Center. As part of a successful CreateAccountAssignment call, the specified permission set will automatically be provisioned to the account in the form of an IAM policy. That policy is attached to the IAM role created in IAM Identity Center. If the permission set is subsequently updated, the corresponding IAM policies attached to roles in your accounts will not be updated automatically. In this case, you must call ProvisionPermissionSet to make these updates. After a successful response, call DescribeAccountAssignmentCreationStatus to describe the status of an assignment creation request.
type nonrec t = {instanceArn : InstanceArn.t;The ARN of the IAM Identity Center instance under which the operation will be executed. For more information about ARNs, see Amazon Resource Names (ARNs) and Amazon Web Services Service Namespaces in the Amazon Web Services General Reference.
*)targetId : TargetId.t;TargetID is an Amazon Web Services account identifier, (For example, 123456789012).
*)targetType : TargetType.t;The entity type for which the assignment will be created.
*)permissionSetArn : PermissionSetArn.t;The ARN of the permission set that the admin wants to grant the principal access to.
*)principalType : PrincipalType.t;The entity type for which the assignment will be created.
*)principalId : PrincipalId.t;An identifier for an object in IAM Identity Center, such as a user or group. PrincipalIds are GUIDs (For example, f81d4fae-7dec-11d0-a765-00a0c91e6bf6). For more information about PrincipalIds in IAM Identity Center, see the IAM Identity Center Identity Store API Reference.
*)}val make :
instanceArn:InstanceArn.t ->
targetId:TargetId.t ->
targetType:TargetType.t ->
permissionSetArn:PermissionSetArn.t ->
principalType:PrincipalType.t ->
principalId:PrincipalId.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string * [> `Enum of string | `String of InstanceArn.t ]) list ]