Values.PutResourcePolicyResultSourceSets the resource policy to grant one or more Amazon Web Services services and accounts permissions to access X-Ray. Each resource policy will be associated with a specific Amazon Web Services account. Each Amazon Web Services account can have a maximum of 5 resource policies, and each policy name must be unique within that account. The maximum size of each resource policy is 5KB.
type nonrec t = {resourcePolicy : ResourcePolicy.t option;The resource policy document, as provided in the PutResourcePolicyRequest.
*)}type nonrec error = [ | `InvalidPolicyRevisionIdException of InvalidPolicyRevisionIdException.t| `LockoutPreventionException of LockoutPreventionException.t| `MalformedPolicyDocumentException of MalformedPolicyDocumentException.t| `PolicyCountLimitExceededException of PolicyCountLimitExceededException.t| `PolicySizeLimitExceededException of PolicySizeLimitExceededException.t| `ThrottledException of ThrottledException.t| `Unknown_operation_error of string * string option ]val error_of_json :
string ->
Yojson.Safe.t ->
[> `InvalidPolicyRevisionIdException of InvalidPolicyRevisionIdException.t
| `LockoutPreventionException of LockoutPreventionException.t
| `MalformedPolicyDocumentException of MalformedPolicyDocumentException.t
| `PolicyCountLimitExceededException of PolicyCountLimitExceededException.t
| `PolicySizeLimitExceededException of PolicySizeLimitExceededException.t
| `ThrottledException of ThrottledException.t
| `Unknown_operation_error of string * string option ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `InvalidPolicyRevisionIdException of InvalidPolicyRevisionIdException.t
| `LockoutPreventionException of LockoutPreventionException.t
| `MalformedPolicyDocumentException of MalformedPolicyDocumentException.t
| `PolicyCountLimitExceededException of PolicyCountLimitExceededException.t
| `PolicySizeLimitExceededException of PolicySizeLimitExceededException.t
| `ThrottledException of ThrottledException.t
| `Unknown_operation_error of string * string option ]val to_value :
t ->
[> `Structure of
(string
* [> `Structure of
(string
* [> `String of PolicyName.t | `Timestamp of Timestamp.t ])
list ])
list ]