Module Values.BatchGetLifecyclePolicyResponseSource

Returns one or more configured OpenSearch Serverless lifecycle policies. For more information, see Viewing data lifecycle policies.

Sourcetype nonrec t = {
  1. lifecyclePolicyDetails : LifecyclePolicyDetails.t option;
    (*

    A list of lifecycle policies matched to the input policy name and policy type.

    *)
  2. lifecyclePolicyErrorDetails : LifecyclePolicyErrorDetails.t option;
    (*

    A list of lifecycle policy names and policy types for which retrieval failed.

    *)
}
Sourcetype nonrec error = [
  1. | `InternalServerException of InternalServerException.t
  2. | `ValidationException of ValidationException.t
  3. | `Unknown_operation_error of string * string option
]
Sourceval make : ?lifecyclePolicyDetails:??? -> ?lifecyclePolicyErrorDetails:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `InternalServerException of InternalServerException.t | `Unknown_operation_error of string * string option | `ValidationException of ValidationException.t ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `InternalServerException of InternalServerException.t | `Unknown_operation_error of string * string option | `ValidationException of ValidationException.t ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Structure of (string * [> `Enum of string | `Long of Long.t | `String of PolicyName.t | `Structure of 'a list ]) list ] list ]) 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