Module Values.OpenSearchLifecyclePolicySource

This structure contains information about the OpenSearch Service data lifecycle policy used for this integration. The lifecycle policy determines the lifespan of the data in the collection. It was automatically created as part of the integration setup. For more information, see Using data lifecycle policies with OpenSearch Service Serverless in the OpenSearch Service Developer Guide.

Sourcetype nonrec t = {
  1. policyName : OpenSearchPolicyName.t option;
    (*

    The name of the lifecycle policy.

    *)
  2. status : OpenSearchResourceStatus.t option;
    (*

    This structure contains information about the status of this OpenSearch Service resource.

    *)
}
Sourceval make : ?policyName:??? -> ?status:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of OpenSearchPolicyName.t | `Structure of (string * [> `Enum of string | `String of IntegrationStatusMessage.t ]) 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