Module Values.CreateAdapterResponseSource

Creates an adapter, which can be fine-tuned for enhanced performance on user provided documents. Takes an AdapterName and FeatureType. Currently the only supported feature type is QUERIES. You can also provide a Description, Tags, and a ClientRequestToken. You can choose whether or not the adapter should be AutoUpdated with the AutoUpdate argument. By default, AutoUpdate is set to DISABLED.

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

    A string containing the unique ID for the adapter that has been created.

    *)
}
Sourcetype nonrec error = [
  1. | `AccessDeniedException of AccessDeniedException.t
  2. | `ConflictException of ConflictException.t
  3. | `IdempotentParameterMismatchException of IdempotentParameterMismatchException.t
  4. | `InternalServerError of InternalServerError.t
  5. | `InvalidParameterException of InvalidParameterException.t
  6. | `LimitExceededException of LimitExceededException.t
  7. | `ProvisionedThroughputExceededException of ProvisionedThroughputExceededException.t
  8. | `ServiceQuotaExceededException of ServiceQuotaExceededException.t
  9. | `ThrottlingException of ThrottlingException.t
  10. | `ValidationException of ValidationException.t
  11. | `Unknown_operation_error of string * string option
]
Sourceval make : ?adapterId:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `AccessDeniedException of unit | `ConflictException of unit | `IdempotentParameterMismatchException of unit | `InternalServerError of unit | `InvalidParameterException of unit | `LimitExceededException of unit | `ProvisionedThroughputExceededException of unit | `ServiceQuotaExceededException of unit | `ThrottlingException of unit | `Unknown_operation_error of string * string option | `ValidationException of unit ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `AccessDeniedException of unit | `ConflictException of unit | `IdempotentParameterMismatchException of unit | `InternalServerError of unit | `InvalidParameterException of unit | `LimitExceededException of unit | `ProvisionedThroughputExceededException of unit | `ServiceQuotaExceededException of unit | `ThrottlingException of unit | `Unknown_operation_error of string * string option | `ValidationException of unit ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `String of AdapterId.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