Module Values.UpdateLifecyclePolicyRequestSource

Updates an OpenSearch Serverless access policy. For more information, see Updating data lifecycle policies.

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

    The type of lifecycle policy.

    *)
  2. name : PolicyName.t;
    (*

    The name of the policy.

    *)
  3. policyVersion : PolicyVersion.t;
    (*

    The version of the policy being updated.

    *)
  4. description : PolicyDescription.t option;
    (*

    A description of the lifecycle policy.

    *)
  5. policy : PolicyDocument.t option;
    (*

    The JSON policy document to use as the content for the lifecycle policy.

    *)
  6. clientToken : ClientToken.t option;
    (*

    A unique, case-sensitive identifier to ensure idempotency of the request.

    *)
}
Sourceval context_ : string
Sourceval make : ?description:??? -> ?policy:??? -> ?clientToken:??? -> type_:LifecyclePolicyType.t -> name:PolicyName.t -> policyVersion:PolicyVersion.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of PolicyName.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