Module Values.StartBotRecommendationResponseSource

Use this to provide your transcript data, and to start the bot recommendation process.

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

    The unique identifier of the bot containing the bot recommendation.

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

    The version of the bot containing the bot recommendation.

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

    The identifier of the language and locale of the bot recommendation to start. The string must match one of the supported locales. For more information, see Supported languages

    *)
  4. botRecommendationStatus : BotRecommendationStatus.t option;
    (*

    The status of the bot recommendation. If the status is Failed, then the reasons for the failure are listed in the failureReasons field.

    *)
  5. botRecommendationId : Id.t option;
    (*

    The identifier of the bot recommendation that you have created.

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

    A timestamp of the date and time that the bot recommendation was created.

    *)
  7. transcriptSourceSetting : TranscriptSourceSetting.t option;
    (*

    The object representing the Amazon S3 bucket containing the transcript, as well as the associated metadata.

    *)
  8. encryptionSetting : EncryptionSetting.t option;
    (*

    The object representing the passwords that were used to encrypt the data related to the bot recommendation results, as well as the KMS key ARN used to encrypt the associated metadata.

    *)
}
Sourcetype nonrec error = [
  1. | `ConflictException of ConflictException.t
  2. | `InternalServerException of InternalServerException.t
  3. | `PreconditionFailedException of PreconditionFailedException.t
  4. | `ResourceNotFoundException of ResourceNotFoundException.t
  5. | `ServiceQuotaExceededException of ServiceQuotaExceededException.t
  6. | `ThrottlingException of ThrottlingException.t
  7. | `ValidationException of ValidationException.t
  8. | `Unknown_operation_error of string * string option
]
Sourceval make : ?botId:??? -> ?botVersion:??? -> ?localeId:??? -> ?botRecommendationStatus:??? -> ?botRecommendationId:??? -> ?creationDateTime:??? -> ?transcriptSourceSetting:??? -> ?encryptionSetting:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `ConflictException of ConflictException.t | `InternalServerException of InternalServerException.t | `PreconditionFailedException of PreconditionFailedException.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 -> [> `ConflictException of ConflictException.t | `InternalServerException of InternalServerException.t | `PreconditionFailedException of PreconditionFailedException.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 * [> `Enum of string | `String of Id.t | `Structure of (string * [> `String of KmsKeyArn.t | `Structure of (string * [> `Enum of string | `String of S3BucketName.t | `Structure of (string * [> `List of [> `String of ObjectPrefix.t ] list | `Structure of (string * [> `Structure of (string * [> `Timestamp of Timestamp.t ]) list ]) list ]) list ]) list ]) list | `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