Module Values.DeleteBotVersionRequestSource

Deletes a specific version of a bot. To delete all versions of a bot, use the DeleteBot operation.

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

    The identifier of the bot that contains the version.

    *)
  2. botVersion : NumericalBotVersion.t;
    (*

    The version of the bot to delete.

    *)
  3. skipResourceInUseCheck : SkipResourceInUseCheck.t option;
    (*

    By default, Amazon Lex checks if any other resource, such as an alias or bot network, is using the bot version before it is deleted and throws a ResourceInUseException exception if the version is being used by another resource. Set this parameter to true to skip this check and remove the version even if it is being used by another resource.

    *)
}
Sourceval context_ : string
Sourceval make : ?skipResourceInUseCheck:??? -> botId:Id.t -> botVersion:NumericalBotVersion.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of SkipResourceInUseCheck.t | `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