Module Values.StartBotResourceGenerationResponseSource

Starts a request for the descriptive bot builder to generate a bot locale configuration based on the prompt you provide it. After you make this call, use the DescribeBotResourceGeneration operation to check on the status of the generation and for the generatedBotLocaleUrl when the generation is complete. Use that value to retrieve the Amazon S3 object containing the bot locale configuration. You can then modify and import this configuration.

Sourcetype nonrec t = {
  1. generationInputPrompt : GenerationInput.t option;
    (*

    The prompt that was used generate intents and slot types for the bot locale.

    *)
  2. generationId : Id.t option;
    (*

    The unique identifier of the generation request.

    *)
  3. botId : Id.t option;
    (*

    The unique identifier of the bot for which the generation request was made.

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

    The version of the bot for which the generation request was made.

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

    The locale of the bot for which the generation request was made.

    *)
  6. generationStatus : GenerationStatus.t option;
    (*

    The status of the generation request.

    *)
  7. creationDateTime : Timestamp.t option;
    (*

    The date and time at which the generation request was made.

    *)
}
Sourcetype nonrec error = [
  1. | `ConflictException of ConflictException.t
  2. | `InternalServerException of InternalServerException.t
  3. | `PreconditionFailedException of PreconditionFailedException.t
  4. | `ServiceQuotaExceededException of ServiceQuotaExceededException.t
  5. | `ThrottlingException of ThrottlingException.t
  6. | `ValidationException of ValidationException.t
  7. | `Unknown_operation_error of string * string option
]
Sourceval make : ?generationInputPrompt:??? -> ?generationId:??? -> ?botId:??? -> ?botVersion:??? -> ?localeId:??? -> ?generationStatus:??? -> ?creationDateTime:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `ConflictException of ConflictException.t | `InternalServerException of InternalServerException.t | `PreconditionFailedException of PreconditionFailedException.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 -> [> `ConflictException of ConflictException.t | `InternalServerException of InternalServerException.t | `PreconditionFailedException of PreconditionFailedException.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 * [> `Enum of string | `String of GenerationInput.t | `Timestamp of Timestamp.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