Values.GetRolePolicyResponseSourceContains the response to a successful GetRolePolicy request.
type getRolePolicyResult = {roleName : RoleNameType.t option;The role the policy is associated with.
*)policyName : PolicyNameType.t option;The name of the policy.
*)policyDocument : PolicyDocumentType.t option;The policy document. IAM stores policies in JSON format. However, resources that were created using CloudFormation templates can be formatted in YAML. CloudFormation always converts a YAML policy to JSON format before submitting it to IAM.
*)}type error = [ | `NoSuchEntityException of NoSuchEntityException.t| `ServiceFailureException of ServiceFailureException.t| `Unknown_operation_error of string * string option ]val error_of_json :
string ->
Yojson.Safe.t ->
[> `NoSuchEntityException of NoSuchEntityException.t
| `ServiceFailureException of ServiceFailureException.t
| `Unknown_operation_error of string * string option ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `NoSuchEntityException of NoSuchEntityException.t
| `ServiceFailureException of ServiceFailureException.t
| `Unknown_operation_error of string * string option ]val to_value :
t ->
[> `Structure of
(string
* [> `Structure of (string * [> `String of RoleNameType.t ]) list ])
list ]