Values.GetResourcePolicyResponseSourceReturns details about a policy for a resource.
type nonrec t = {resourceArn : String_.t option;Amazon Resource Name (ARN) for the resource.
*)policyType : PolicyType.t option;The type of policy
*)policyVersionArn : String_.t option;Amazon Resource Name (ARN) for the policy version.
*)policyName : PolicyName.t option;Name of the policy.
*)policyDocument : PolicyDocument.t option;Document that contains the contents for the policy.
*)}type nonrec error = [ | `AccessDeniedException of AccessDeniedException.t| `InvalidParameterException of InvalidParameterException.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
| `InvalidParameterException of InvalidParameterException.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
| `InvalidParameterException of InvalidParameterException.t
| `ResourceNotFoundException of ResourceNotFoundException.t
| `ThrottlingException of ThrottlingException.t
| `Unknown_operation_error of string * string option
| `ValidationException of ValidationException.t ]