Module Values.GetMigrationResponseSource

Provides 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.

Sourcetype nonrec t = {
  1. migrationId : MigrationId.t option;
    (*

    The unique identifier of the migration. This is the same as the identifier used when calling the GetMigration operation.

    *)
  2. v1BotName : BotName.t option;
    (*

    The name of the Amazon Lex V1 bot migrated to Amazon Lex V2.

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

    The version of the Amazon Lex V1 bot migrated to Amazon Lex V2.

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

    The locale of the Amazon Lex V1 bot migrated to Amazon Lex V2.

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

    The unique identifier of the Amazon Lex V2 bot that the Amazon Lex V1 is being migrated to.

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

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

    *)
  7. 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.

    *)
  8. 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.

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

    The date and time that the migration started.

    *)
  10. 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.

    *)
}
Sourcetype nonrec error = [
  1. | `BadRequestException of BadRequestException.t
  2. | `InternalFailureException of InternalFailureException.t
  3. | `LimitExceededException of LimitExceededException.t
  4. | `NotFoundException of NotFoundException.t
  5. | `Unknown_operation_error of string * string option
]
Sourceval make : ?migrationId:??? -> ?v1BotName:??? -> ?v1BotVersion:??? -> ?v1BotLocale:??? -> ?v2BotId:??? -> ?v2BotRole:??? -> ?migrationStatus:??? -> ?migrationStrategy:??? -> ?migrationTimestamp:??? -> ?alerts:??? -> unit -> t
Sourceval 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 ]
Sourceval 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 ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval 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 ]
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