Values.GetPolicyOutputSourceRetrieves information about the specified policy.
type nonrec t = {policyStoreId : PolicyStoreId.t option;The ID of the policy store that contains the policy that you want information about.
*)policyId : PolicyId.t option;The unique ID of the policy that you want information about.
*)policyType : PolicyType.t option;The type of the policy.
*)principal : EntityIdentifier.t option;The principal specified in the policy's scope. This element isn't included in the response when Principal isn't present in the policy content.
*)resource : EntityIdentifier.t option;The resource specified in the policy's scope. This element isn't included in the response when Resource isn't present in the policy content.
*)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 : PolicyDefinitionDetail.t option;The definition of the requested policy.
*)createdDate : TimestampFormat.t option;The date and time that the policy was originally created.
*)lastUpdatedDate : TimestampFormat.t option;The date and time that the policy was last 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.
*)}type nonrec error = [ | `AccessDeniedException of AccessDeniedException.t| `InternalServerException of InternalServerException.t| `ResourceNotFoundException of ResourceNotFoundException.t| `ThrottlingException of ThrottlingException.t| `ValidationException of ValidationException.t| `Unknown_operation_error of string * string option ]val error_of_json :
string ->
Yojson.Safe.t ->
[> `AccessDeniedException of AccessDeniedException.t
| `InternalServerException of InternalServerException.t
| `ResourceNotFoundException of ResourceNotFoundException.t
| `ThrottlingException of ThrottlingException.t
| `Unknown_operation_error of string * string option
| `ValidationException of ValidationException.t ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `AccessDeniedException of AccessDeniedException.t
| `InternalServerException of InternalServerException.t
| `ResourceNotFoundException of ResourceNotFoundException.t
| `ThrottlingException of ThrottlingException.t
| `Unknown_operation_error of string * string option
| `ValidationException of ValidationException.t ]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 ]