Module Values.BatchDeleteCustomVocabularyItemResponseSource

Delete a batch of custom vocabulary items for a given bot locale's custom vocabulary.

Sourcetype nonrec t = {
  1. botId : Id.t option;
    (*

    The identifier of the bot associated with this custom vocabulary.

    *)
  2. botVersion : BotVersion.t option;
    (*

    The identifier of the version of the bot associated with this custom vocabulary.

    *)
  3. localeId : LocaleId.t option;
    (*

    The identifier of the language and locale where this custom vocabulary is used. The string must match one of the supported locales. For more information, see Supported languages (https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html).

    *)
  4. errors : FailedCustomVocabularyItems.t option;
    (*

    A list of custom vocabulary items that failed to delete during the operation. The reason for the error is contained within each error object.

    *)
  5. resources : CustomVocabularyItems.t option;
    (*

    A list of custom vocabulary items that were successfully deleted during the operation.

    *)
}
Sourcetype nonrec error = [
  1. | `InternalServerException of InternalServerException.t
  2. | `ResourceNotFoundException of ResourceNotFoundException.t
  3. | `ServiceQuotaExceededException of ServiceQuotaExceededException.t
  4. | `ThrottlingException of ThrottlingException.t
  5. | `ValidationException of ValidationException.t
  6. | `Unknown_operation_error of string * string option
]
Sourceval make : ?botId:??? -> ?botVersion:??? -> ?localeId:??? -> ?errors:??? -> ?resources:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `InternalServerException of InternalServerException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `ServiceQuotaExceededException of ServiceQuotaExceededException.t | `ThrottlingException of ThrottlingException.t | `Unknown_operation_error of string * string option | `ValidationException of ValidationException.t ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `InternalServerException of InternalServerException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `ServiceQuotaExceededException of ServiceQuotaExceededException.t | `ThrottlingException of ThrottlingException.t | `Unknown_operation_error of string * string option | `ValidationException of ValidationException.t ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Structure of (string * [> `Enum of string | `Integer of Weight.t | `String of ItemId.t ]) list ] list | `String of Id.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