Module Values.EffectiveLifecyclePolicyDetailSource

Error information for an OpenSearch Serverless request.

Sourcetype nonrec t = {
  1. type_ : LifecyclePolicyType.t option;
    (*

    The type of lifecycle policy.

    *)
  2. resource : Resource.t option;
    (*

    The name of the OpenSearch Serverless index resource.

    *)
  3. policyName : PolicyName.t option;
    (*

    The name of the lifecycle policy.

    *)
  4. resourceType : ResourceType.t option;
    (*

    The type of OpenSearch Serverless resource. Currently, the only supported resource is index.

    *)
  5. retentionPeriod : String_.t option;
    (*

    The minimum number of index retention in days or hours. This is an optional parameter that will return only if it’s set.

    *)
  6. noMinRetentionPeriod : Boolean.t option;
    (*

    The minimum number of index retention days set. That is an optional param that will return as true if the minimum number of days or hours is not set to a index resource.

    *)
}
Sourceval make : ?type_:??? -> ?resource:??? -> ?policyName:??? -> ?resourceType:??? -> ?retentionPeriod:??? -> ?noMinRetentionPeriod:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Boolean.t | `Enum of string | `String of Resource.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