Values.GetMigrationResponseSourceProvides details about an ongoing or complete migration from an Amazon Lex V1 bot to an Amazon Lex V2 bot. Use this operation to view the migration alerts and warnings related to the migration.
type nonrec t = {migrationId : MigrationId.t option;The unique identifier of the migration. This is the same as the identifier used when calling the GetMigration operation.
*)v1BotName : BotName.t option;The name of the Amazon Lex V1 bot migrated to Amazon Lex V2.
*)v1BotVersion : Version.t option;The version of the Amazon Lex V1 bot migrated to Amazon Lex V2.
*)v1BotLocale : Locale.t option;The locale of the Amazon Lex V1 bot migrated to Amazon Lex V2.
*)v2BotId : V2BotId.t option;The unique identifier of the Amazon Lex V2 bot that the Amazon Lex V1 is being migrated to.
*)v2BotRole : IamRoleArn.t option;The IAM role that Amazon Lex uses to run the Amazon Lex V2 bot.
*)migrationStatus : MigrationStatus.t option;Indicates the status of the migration. When the status is COMPLETE the migration is finished and the bot is available in Amazon Lex V2. There may be alerts and warnings that need to be resolved to complete the migration.
*)migrationStrategy : MigrationStrategy.t option;The strategy used to conduct the migration. CREATE_NEW - Creates a new Amazon Lex V2 bot and migrates the Amazon Lex V1 bot to the new bot. UPDATE_EXISTING - Overwrites the existing Amazon Lex V2 bot metadata and the locale being migrated. It doesn't change any other locales in the Amazon Lex V2 bot. If the locale doesn't exist, a new locale is created in the Amazon Lex V2 bot.
*)migrationTimestamp : Timestamp.t option;The date and time that the migration started.
*)alerts : MigrationAlerts.t option;A list of alerts and warnings that indicate issues with the migration for the Amazon Lex V1 bot to Amazon Lex V2. You receive a warning when an Amazon Lex V1 feature has a different implementation if Amazon Lex V2. For more information, see Migrating a bot in the Amazon Lex V2 developer guide.
*)}type nonrec error = [ | `BadRequestException of BadRequestException.t| `InternalFailureException of InternalFailureException.t| `LimitExceededException of LimitExceededException.t| `NotFoundException of NotFoundException.t| `Unknown_operation_error of string * string option ]val error_of_json :
string ->
Yojson.Safe.t ->
[> `BadRequestException of BadRequestException.t
| `InternalFailureException of InternalFailureException.t
| `LimitExceededException of LimitExceededException.t
| `NotFoundException of NotFoundException.t
| `Unknown_operation_error of string * string option ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `BadRequestException of BadRequestException.t
| `InternalFailureException of InternalFailureException.t
| `LimitExceededException of LimitExceededException.t
| `NotFoundException of NotFoundException.t
| `Unknown_operation_error of string * string option ]val to_value :
t ->
[> `Structure of
(string
* [> `Enum of string
| `List of
[> `Structure of
(string
* [> `Enum of string
| `List of [> `String of MigrationAlertDetail.t ] list
| `String of MigrationAlertMessage.t ])
list ]
list
| `String of MigrationId.t
| `Timestamp of Timestamp.t ])
list ]