Module Values.EffectiveLifecyclePolicyErrorDetailSource

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 OpenSearch Serverless index resource.

    *)
  3. errorMessage : String_.t option;
    (*

    A description of the error. For example, The specified Index resource is not found.

    *)
  4. errorCode : String_.t option;
    (*

    The error code for the request.

    *)
}
Sourceval make : ?type_:??? -> ?resource:??? -> ?errorMessage:??? -> ?errorCode:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `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