Module Values.CreateCollectionRequestSource

Creates a new OpenSearch Serverless collection. For more information, see Creating and managing Amazon OpenSearch Serverless collections.

Sourcetype nonrec t = {
  1. name : CollectionName.t;
    (*

    Name of the collection.

    *)
  2. type_ : CollectionType.t option;
    (*

    The type of collection.

    *)
  3. description : CreateCollectionRequestDescriptionString.t option;
    (*

    Description of the collection.

    *)
  4. tags : Tags.t option;
    (*

    An arbitrary set of tags (key–value pairs) to associate with the OpenSearch Serverless collection.

    *)
  5. standbyReplicas : StandbyReplicas.t option;
    (*

    Indicates whether standby replicas should be used for a collection.

    *)
  6. vectorOptions : VectorOptions.t option;
    (*

    Configuration options for vector search capabilities in the collection.

    *)
  7. collectionGroupName : CollectionGroupName.t option;
    (*

    The name of the collection group to associate with the collection.

    *)
  8. encryptionConfig : EncryptionConfig.t option;
    (*

    Encryption settings for the collection.

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

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

    *)
}
Sourceval context_ : string
Sourceval make : ?type_:??? -> ?description:??? -> ?tags:??? -> ?standbyReplicas:??? -> ?vectorOptions:??? -> ?collectionGroupName:??? -> ?encryptionConfig:??? -> ?clientToken:??? -> name:CollectionName.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `String of TagKey.t ]) list ] list | `String of CollectionName.t | `Structure of (string * [> `Boolean of Boolean.t | `Enum of string | `String of EncryptionConfigKmsKeyArnString.t ]) list ]) 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