Module Values.LifecyclePolicyResourceIdentifierSource

The unique identifiers of policy types and resource names.

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

    The type of lifecycle policy.

    *)
  2. resource : ResourceName.t;
    (*

    The name of the OpenSearch Serverless ilndex resource.

    *)
}
Sourceval context_ : string
Sourceval make : type_:LifecyclePolicyType.t -> resource:ResourceName.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of ResourceName.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