Values.CreateLifecyclePolicyResponseSourceCreates a lifecyle policy to be applied to OpenSearch Serverless indexes. Lifecycle policies define the number of days or hours to retain the data on an OpenSearch Serverless index. For more information, see Creating data lifecycle policies.
type nonrec t = {lifecyclePolicyDetail : LifecyclePolicyDetail.t option;Details about the created lifecycle policy.
*)}type nonrec error = [ | `ConflictException of ConflictException.t| `InternalServerException of InternalServerException.t| `ServiceQuotaExceededException of ServiceQuotaExceededException.t| `ValidationException of ValidationException.t| `Unknown_operation_error of string * string option ]val error_of_json :
string ->
Yojson.Safe.t ->
[> `ConflictException of ConflictException.t
| `InternalServerException of InternalServerException.t
| `ServiceQuotaExceededException of ServiceQuotaExceededException.t
| `Unknown_operation_error of string * string option
| `ValidationException of ValidationException.t ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `ConflictException of ConflictException.t
| `InternalServerException of InternalServerException.t
| `ServiceQuotaExceededException of ServiceQuotaExceededException.t
| `Unknown_operation_error of string * string option
| `ValidationException of ValidationException.t ]val to_value :
t ->
[> `Structure of
(string
* [> `Structure of
(string
* [> `Enum of string
| `Long of Long.t
| `String of PolicyName.t
| `Structure of 'a list ])
list ])
list ]