Values.PutResourcePolicyResponseSourceCreates or updates a resource policy allowing other Amazon Web Services services to put log events to this account, such as Amazon Route 53. This API has the following restrictions: Supported actions - Policy only supports logs:PutLogEvents and logs:CreateLogStream actions Supported principals - Policy only applies when operations are invoked by Amazon Web Services service principals (not IAM users, roles, or cross-account principals Policy limits - An account can have a maximum of 10 policies without resourceARN and one per LogGroup resourceARN Resource policies with actions invoked by non-Amazon Web Services service principals (such as IAM users, roles, or other Amazon Web Services accounts) will not be enforced. For access control involving these principals, use the IAM policies.
type nonrec t = {resourcePolicy : ResourcePolicy.t option;The new policy.
*)revisionId : ExpectedRevisionId.t option;The revision ID of the created or updated resource policy. Only returned for resource-scoped policies.
*)}type nonrec error = [ | `InvalidParameterException of InvalidParameterException.t| `LimitExceededException of LimitExceededException.t| `OperationAbortedException of OperationAbortedException.t| `ResourceNotFoundException of ResourceNotFoundException.t| `Unknown_operation_error of string * string option ]val error_of_json :
string ->
Yojson.Safe.t ->
[> `InvalidParameterException of unit
| `LimitExceededException of unit
| `OperationAbortedException of unit
| `ResourceNotFoundException of unit
| `ServiceUnavailableException of unit
| `Unknown_operation_error of string * string option ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `InvalidParameterException of unit
| `LimitExceededException of unit
| `OperationAbortedException of unit
| `ResourceNotFoundException of unit
| `ServiceUnavailableException of unit
| `Unknown_operation_error of string * string option ]val to_value :
t ->
[> `Structure of
(string
* [> `String of ExpectedRevisionId.t
| `Structure of
(string
* [> `Enum of string
| `Long of Timestamp.t
| `String of PolicyName.t ])
list ])
list ]