Values.PutResourcePolicyResponseSourceAttaches a resource-based policy to an OpenSearch Ingestion resource. Resource-based policies grant permissions to principals to perform actions on the resource.
type nonrec t = {resourceArn : PipelineArn.t option;The Amazon Resource Name (ARN) of the resource.
*)policy : ResourcePolicy.t option;The resource-based policy document that was attached to the resource.
*)}type nonrec error = [ | `AccessDeniedException of AccessDeniedException.t| `DisabledOperationException of DisabledOperationException.t| `InternalException of InternalException.t| `LimitExceededException of LimitExceededException.t| `ResourceNotFoundException of ResourceNotFoundException.t| `ValidationException of ValidationException.t| `Unknown_operation_error of string * string option ]val error_of_json :
string ->
Yojson.Safe.t ->
[> `AccessDeniedException of unit
| `DisabledOperationException of unit
| `InternalException of unit
| `LimitExceededException of unit
| `ResourceNotFoundException of unit
| `Unknown_operation_error of string * string option
| `ValidationException of unit ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `AccessDeniedException of unit
| `DisabledOperationException of unit
| `InternalException of unit
| `LimitExceededException of unit
| `ResourceNotFoundException of unit
| `Unknown_operation_error of string * string option
| `ValidationException of unit ]