Module Values.DescribeBotResourceGenerationResponseSource

Returns information about a request to generate a bot through natural language description, made through the StartBotResource API. Use the generatedBotLocaleUrl to retrieve the Amazon S3 object containing the bot locale configuration. You can then modify and import this configuration.

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

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

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

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

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

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

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

    The generation ID for which to return the generation details.

    *)
  5. failureReasons : FailureReasons.t option;
    (*

    A list of reasons why the generation of bot resources through natural language description failed.

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

    The status of the generation request.

    *)
  7. generationInputPrompt : GenerationInput.t option;
    (*

    The prompt used in the generation request.

    *)
  8. generatedBotLocaleUrl : PresignedS3Url.t option;
    (*

    The Amazon S3 location of the generated bot locale configuration.

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

    The date and time at which the item was generated.

    *)
  10. modelArn : BedrockModelArn.t option;
    (*

    The ARN of the model used to generate the bot resources.

    *)
  11. lastUpdatedDateTime : Timestamp.t option;
    (*

    The date and time at which the generated item was updated.

    *)
}
Sourcetype nonrec error = [
  1. | `InternalServerException of InternalServerException.t
  2. | `ResourceNotFoundException of ResourceNotFoundException.t
  3. | `ThrottlingException of ThrottlingException.t
  4. | `ValidationException of ValidationException.t
  5. | `Unknown_operation_error of string * string option
]
Sourceval make : ?botId:??? -> ?botVersion:??? -> ?localeId:??? -> ?generationId:??? -> ?failureReasons:??? -> ?generationStatus:??? -> ?generationInputPrompt:??? -> ?generatedBotLocaleUrl:??? -> ?creationDateTime:??? -> ?modelArn:??? -> ?lastUpdatedDateTime:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `InternalServerException of InternalServerException.t | `ResourceNotFoundException of ResourceNotFoundException.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 | `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 | `List of [> `String of FailureReason.t ] list | `String of Id.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