Module Values.GetResourcePolicyResponseSource

Retrieves the resource-based policy attached to an OpenSearch Ingestion resource.

Sourcetype nonrec t = {
  1. resourceArn : PipelineArn.t option;
    (*

    The Amazon Resource Name (ARN) of the resource.

    *)
  2. policy : ResourcePolicy.t option;
    (*

    The resource-based policy document in JSON format.

    *)
}
Sourcetype nonrec error = [
  1. | `AccessDeniedException of AccessDeniedException.t
  2. | `DisabledOperationException of DisabledOperationException.t
  3. | `InternalException of InternalException.t
  4. | `LimitExceededException of LimitExceededException.t
  5. | `ResourceNotFoundException of ResourceNotFoundException.t
  6. | `ValidationException of ValidationException.t
  7. | `Unknown_operation_error of string * string option
]
Sourceval make : ?resourceArn:??? -> ?policy:??? -> unit -> t
Sourceval 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 ]
Sourceval 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 ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `String of PipelineArn.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t