Values.PolicyItemSourceContains information about a policy. This data type is used as a response parameter for the ListPolicies operation.
type nonrec t = {policyStoreId : PolicyStoreId.t option;The identifier of the policy store where the policy you want information about is stored.
*)policyId : PolicyId.t option;The identifier of the policy you want information about.
*)policyType : PolicyType.t option;The type of the policy. This is one of the following values: STATIC TEMPLATE_LINKED
*)principal : EntityIdentifier.t option;The principal associated with the policy.
*)resource : EntityIdentifier.t option;The resource associated with the policy.
*)actions : ActionIdentifierList.t option;The action that a policy permits or forbids. For example, {"actions": [{"actionId": "ViewPhoto", "actionType": "PhotoFlash::Action"}, {"entityID": "SharePhoto", "entityType": "PhotoFlash::Action"}]}.
*)definition : PolicyDefinitionItem.t option;The policy definition of an item in the list of policies returned.
*)createdDate : TimestampFormat.t option;The date and time the policy was created.
*)lastUpdatedDate : TimestampFormat.t option;The date and time the policy was most recently updated.
*)effect_ : PolicyEffect.t option;The effect of the decision that a policy returns to an authorization request. For example, "effect": "Permit".
*)name : PolicyName.t option;The name of the policy, if one was assigned when the policy was created or last updated.
*)}val to_value :
t ->
[> `Structure of
(string
* [> `Enum of string
| `List of
[> `Structure of (string * [> `String of ActionType.t ]) list ]
list
| `String of PolicyStoreId.t
| `Structure of
(string
* [> `String of EntityType.t
| `Structure of
(string
* [> `String of StaticPolicyDescription.t
| `Structure of
(string * [> `String of EntityType.t ]) list ])
list ])
list
| `Timestamp of TimestampFormat.t ])
list ]