Module Values.DeleteCollectionRequestSource

Deletes an OpenSearch Serverless collection. For more information, see Creating and managing Amazon OpenSearch Serverless collections.

Sourcetype nonrec t = {
  1. id : CollectionId.t;
    (*

    The unique identifier of the collection. For example, 1iu5usc406kd. The ID is part of the collection endpoint. You can also retrieve it using the ListCollections API.

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

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

    *)
}
Sourceval context_ : string
Sourceval make : ?clientToken:??? -> id:CollectionId.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of CollectionId.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