Values.AddPolicyGrantInputSourceAdds a policy grant (an authorization policy) to a specified entity, including domain units, environment blueprint configurations, or environment profiles.
type nonrec t = {domainIdentifier : DomainId.t;The ID of the domain where you want to add a policy grant.
*)entityType : TargetEntityType.t;The type of entity (resource) to which the grant is added.
*)entityIdentifier : String_.t;The ID of the entity (resource) to which you want to add a policy grant.
*)policyType : ManagedPolicyType.t;The type of policy that you want to grant.
*)principal : PolicyGrantPrincipal.t;The principal to whom the permissions are granted.
*)detail : PolicyGrantDetail.t;The details of the policy grant.
*)clientToken : ClientToken.t option;A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.
*)}val make :
?clientToken:??? ->
domainIdentifier:DomainId.t ->
entityType:TargetEntityType.t ->
entityIdentifier:String_.t ->
policyType:ManagedPolicyType.t ->
principal:PolicyGrantPrincipal.t ->
detail:PolicyGrantDetail.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `Enum of string
| `String of DomainId.t
| `Structure of
(string
* [> `Structure of
(string
* [> `Boolean of Boolean.t
| `Enum of string
| `List of [> `String of String_.t ] list
| `String of UserIdentifier.t
| `Structure of
(string
* [> `Structure of
(string
* [> `Boolean of Boolean.t
| `String of DomainUnitId.t ])
list ])
list ])
list ])
list ])
list ]