Values.PutResourcePolicyResponseSourceUse this operation to assign a resource-based policy to a CloudWatch RUM app monitor to control access to it. Each app monitor can have one resource-based policy. The maximum size of the policy is 4 KB. To learn more about using resource policies with RUM, see Using resource-based policies with CloudWatch RUM.
type nonrec t = {policyDocument : String_.t option;The JSON policy document that you specified.
*)policyRevisionId : PolicyRevisionId.t option;The policy revision ID information that you specified.
*)}type nonrec error = [ | `AccessDeniedException of AccessDeniedException.t| `ConflictException of ConflictException.t| `InternalServerException of InternalServerException.t| `InvalidPolicyRevisionIdException of InvalidPolicyRevisionIdException.t| `MalformedPolicyDocumentException of MalformedPolicyDocumentException.t| `PolicySizeLimitExceededException of PolicySizeLimitExceededException.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
| `ConflictException of ConflictException.t
| `InternalServerException of InternalServerException.t
| `InvalidPolicyRevisionIdException of InvalidPolicyRevisionIdException.t
| `MalformedPolicyDocumentException of MalformedPolicyDocumentException.t
| `PolicySizeLimitExceededException of PolicySizeLimitExceededException.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
| `ConflictException of ConflictException.t
| `InternalServerException of InternalServerException.t
| `InvalidPolicyRevisionIdException of InvalidPolicyRevisionIdException.t
| `MalformedPolicyDocumentException of MalformedPolicyDocumentException.t
| `PolicySizeLimitExceededException of PolicySizeLimitExceededException.t
| `ResourceNotFoundException of ResourceNotFoundException.t
| `ThrottlingException of ThrottlingException.t
| `Unknown_operation_error of string * string option
| `ValidationException of ValidationException.t ]