Module Values.CreateAdapterVersionRequestSource

Creates a new version of an adapter. Operates on a provided AdapterId and a specified dataset provided via the DatasetConfig argument. Requires that you specify an Amazon S3 bucket with the OutputConfig argument. You can provide an optional KMSKeyId, an optional ClientRequestToken, and optional tags.

Sourcetype nonrec t = {
  1. adapterId : AdapterId.t;
    (*

    A string containing a unique ID for the adapter that will receive a new version.

    *)
  2. clientRequestToken : ClientRequestToken.t option;
    (*

    Idempotent token is used to recognize the request. If the same token is used with multiple CreateAdapterVersion requests, the same session is returned. This token is employed to avoid unintentionally creating the same session multiple times.

    *)
  3. datasetConfig : AdapterVersionDatasetConfig.t;
    (*

    Specifies a dataset used to train a new adapter version. Takes a ManifestS3Object as the value.

    *)
  4. kMSKeyId : KMSKeyId.t option;
    (*

    The identifier for your AWS Key Management Service key (AWS KMS key). Used to encrypt your documents.

    *)
  5. outputConfig : OutputConfig.t;
  6. tags : TagMap.t option;
    (*

    A set of tags (key-value pairs) that you want to attach to the adapter version.

    *)
}
Sourceval context_ : string
Sourceval make : ?clientRequestToken:??? -> ?kMSKeyId:??? -> ?tags:??? -> adapterId:AdapterId.t -> datasetConfig:AdapterVersionDatasetConfig.t -> outputConfig:OutputConfig.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Map of ([> `String of TagKey.t ] * [> `String of TagValue.t ]) list | `String of AdapterId.t | `Structure of (string * [> `String of S3Bucket.t | `Structure of (string * [> `String of S3Bucket.t ]) list ]) 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