Values.GetResourcePolicyResponseSourceRetrieves the resource policy document attached to a given resource. Cross-account use: No. You cannot perform this operation on an CloudHSM resource in a different Amazon Web Services account.
type nonrec error = [ | `CloudHsmAccessDeniedException of CloudHsmAccessDeniedException.t| `CloudHsmInternalFailureException of CloudHsmInternalFailureException.t| `CloudHsmInvalidRequestException of CloudHsmInvalidRequestException.t| `CloudHsmResourceNotFoundException of CloudHsmResourceNotFoundException.t| `CloudHsmServiceException of CloudHsmServiceException.t| `Unknown_operation_error of string * string option ]val error_of_json :
string ->
Yojson.Safe.t ->
[> `CloudHsmAccessDeniedException of CloudHsmAccessDeniedException.t
| `CloudHsmInternalFailureException of CloudHsmInternalFailureException.t
| `CloudHsmInvalidRequestException of CloudHsmInvalidRequestException.t
| `CloudHsmResourceNotFoundException of CloudHsmResourceNotFoundException.t
| `CloudHsmServiceException of CloudHsmServiceException.t
| `Unknown_operation_error of string * string option ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `CloudHsmAccessDeniedException of CloudHsmAccessDeniedException.t
| `CloudHsmInternalFailureException of CloudHsmInternalFailureException.t
| `CloudHsmInvalidRequestException of CloudHsmInvalidRequestException.t
| `CloudHsmResourceNotFoundException of CloudHsmResourceNotFoundException.t
| `CloudHsmServiceException of CloudHsmServiceException.t
| `Unknown_operation_error of string * string option ]