Values.BatchGetLifecyclePolicyResponseSourceReturns one or more configured OpenSearch Serverless lifecycle policies. For more information, see Viewing data lifecycle policies.
type nonrec t = {lifecyclePolicyDetails : LifecyclePolicyDetails.t option;A list of lifecycle policies matched to the input policy name and policy type.
*)lifecyclePolicyErrorDetails : LifecyclePolicyErrorDetails.t option;A list of lifecycle policy names and policy types for which retrieval failed.
*)}type nonrec error = [ | `InternalServerException of InternalServerException.t| `ValidationException of ValidationException.t| `Unknown_operation_error of string * string option ]val error_of_json :
string ->
Yojson.Safe.t ->
[> `InternalServerException of InternalServerException.t
| `Unknown_operation_error of string * string option
| `ValidationException of ValidationException.t ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `InternalServerException of InternalServerException.t
| `Unknown_operation_error of string * string option
| `ValidationException of ValidationException.t ]val 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 ]