Values.DescribeResourcePolicyResponseSourceGets the resource policy and policy revision for a bot or bot alias.
type nonrec t = {resourceArn : AmazonResourceName.t option;The Amazon Resource Name (ARN) of the bot or bot alias that the resource policy is attached to.
*)policy : Policy.t option;The JSON structure that contains the resource policy. For more information about the contents of a JSON policy document, see IAM JSON policy reference .
*)revisionId : RevisionId.t option;The current revision of the resource policy. Use the revision ID to make sure that you are updating the most current version of a resource policy when you add a policy statement to a resource, delete a resource, or update a resource.
*)}type nonrec error = [ | `InternalServerException of InternalServerException.t| `ResourceNotFoundException of ResourceNotFoundException.t| `ThrottlingException of ThrottlingException.t| `Unknown_operation_error of string * string option ]val error_of_json :
string ->
Yojson.Safe.t ->
[> `InternalServerException of InternalServerException.t
| `ResourceNotFoundException of ResourceNotFoundException.t
| `ThrottlingException of ThrottlingException.t
| `Unknown_operation_error of string * string option ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `InternalServerException of InternalServerException.t
| `ResourceNotFoundException of ResourceNotFoundException.t
| `ThrottlingException of ThrottlingException.t
| `Unknown_operation_error of string * string option ]