Module Values.StartMigrationResponseSource

Starts migrating a bot from Amazon Lex V1 to Amazon Lex V2. Migrate your bot when you want to take advantage of the new features of Amazon Lex V2. For more information, see Migrating a bot in the Amazon Lex developer guide.

Sourcetype nonrec t = {
  1. v1BotName : BotName.t option;
    (*

    The name of the Amazon Lex V1 bot that you are migrating to Amazon Lex V2.

    *)
  2. v1BotVersion : Version.t option;
    (*

    The version of the bot to migrate to Amazon Lex V2.

    *)
  3. v1BotLocale : Locale.t option;
    (*

    The locale used for the Amazon Lex V1 bot.

    *)
  4. v2BotId : V2BotId.t option;
    (*

    The unique identifier for the Amazon Lex V2 bot.

    *)
  5. v2BotRole : IamRoleArn.t option;
    (*

    The IAM role that Amazon Lex uses to run the Amazon Lex V2 bot.

    *)
  6. migrationId : MigrationId.t option;
    (*

    The unique identifier that Amazon Lex assigned to the migration.

    *)
  7. migrationStrategy : MigrationStrategy.t option;
    (*

    The strategy used to conduct the migration.

    *)
  8. migrationTimestamp : Timestamp.t option;
    (*

    The date and time that the migration started.

    *)
}
Sourcetype nonrec error = [
  1. | `AccessDeniedException of AccessDeniedException.t
  2. | `BadRequestException of BadRequestException.t
  3. | `InternalFailureException of InternalFailureException.t
  4. | `LimitExceededException of LimitExceededException.t
  5. | `NotFoundException of NotFoundException.t
  6. | `Unknown_operation_error of string * string option
]
Sourceval make : ?v1BotName:??? -> ?v1BotVersion:??? -> ?v1BotLocale:??? -> ?v2BotId:??? -> ?v2BotRole:??? -> ?migrationId:??? -> ?migrationStrategy:??? -> ?migrationTimestamp:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `AccessDeniedException of AccessDeniedException.t | `BadRequestException of BadRequestException.t | `InternalFailureException of InternalFailureException.t | `LimitExceededException of LimitExceededException.t | `NotFoundException of NotFoundException.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `AccessDeniedException of AccessDeniedException.t | `BadRequestException of BadRequestException.t | `InternalFailureException of InternalFailureException.t | `LimitExceededException of LimitExceededException.t | `NotFoundException of NotFoundException.t | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of BotName.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