Values.AddPolicyStatementInputSourceAdds a policy statement object. To retrieve a list of existing policy statements, use the GetPolicy API.
type nonrec t = {arn : VeniceGlobalArn.t;The Amazon Resource Name (ARN) of the resource that will be accessed by the principal.
*)statementId : StatementId.t;A statement identifier that differentiates the statement from others in the same policy.
*)effect_ : StatementEffect.t;Determines whether the permissions specified in the policy are to be allowed (Allow) or denied (Deny). If you set the value of the effect parameter to Deny for the AddPolicyStatement operation, you must also set the value of the effect parameter in the policy to Deny for the PutPolicy operation.
*)action : StatementActionList.t;The action that the principal can use on the resource. For example, entityresolution:GetIdMappingJob, entityresolution:GetMatchingJob.
*)principal : StatementPrincipalList.t;The Amazon Web Services service or Amazon Web Services account that can access the resource defined as ARN.
*)condition : StatementCondition.t option;A set of condition keys that you can use in key policies.
*)}val make :
?condition:??? ->
arn:VeniceGlobalArn.t ->
statementId:StatementId.t ->
effect_:StatementEffect.t ->
action:StatementActionList.t ->
principal:StatementPrincipalList.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `Enum of string
| `List of [> `String of StatementAction.t ] list
| `String of VeniceGlobalArn.t ])
list ]