aws-sdk-lexmodelbuildingservice 1.43.0 → 1.47.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +300 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-lexmodelbuildingservice.rb +2 -2
- data/lib/aws-sdk-lexmodelbuildingservice/client.rb +222 -14
- data/lib/aws-sdk-lexmodelbuildingservice/client_api.rb +139 -1
- data/lib/aws-sdk-lexmodelbuildingservice/errors.rb +17 -1
- data/lib/aws-sdk-lexmodelbuildingservice/resource.rb +1 -1
- data/lib/aws-sdk-lexmodelbuildingservice/types.rb +404 -4
- metadata +9 -7
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -27,6 +27,7 @@ module Aws::LexModelBuildingService
|
|
27
27
|
# See {Seahorse::Client::RequestContext} for more information.
|
28
28
|
#
|
29
29
|
# ## Error Classes
|
30
|
+
# * {AccessDeniedException}
|
30
31
|
# * {BadRequestException}
|
31
32
|
# * {ConflictException}
|
32
33
|
# * {InternalFailureException}
|
@@ -41,6 +42,21 @@ module Aws::LexModelBuildingService
|
|
41
42
|
|
42
43
|
extend Aws::Errors::DynamicErrors
|
43
44
|
|
45
|
+
class AccessDeniedException < ServiceError
|
46
|
+
|
47
|
+
# @param [Seahorse::Client::RequestContext] context
|
48
|
+
# @param [String] message
|
49
|
+
# @param [Aws::LexModelBuildingService::Types::AccessDeniedException] data
|
50
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
51
|
+
super(context, message, data)
|
52
|
+
end
|
53
|
+
|
54
|
+
# @return [String]
|
55
|
+
def message
|
56
|
+
@message || @data[:message]
|
57
|
+
end
|
58
|
+
end
|
59
|
+
|
44
60
|
class BadRequestException < ServiceError
|
45
61
|
|
46
62
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -3,13 +3,27 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
10
10
|
module Aws::LexModelBuildingService
|
11
11
|
module Types
|
12
12
|
|
13
|
+
# Your IAM user or role does not have permission to call the Amazon Lex
|
14
|
+
# V2 APIs required to migrate your bot.
|
15
|
+
#
|
16
|
+
# @!attribute [rw] message
|
17
|
+
# @return [String]
|
18
|
+
#
|
19
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/AccessDeniedException AWS API Documentation
|
20
|
+
#
|
21
|
+
class AccessDeniedException < Struct.new(
|
22
|
+
:message)
|
23
|
+
SENSITIVE = []
|
24
|
+
include Aws::Structure
|
25
|
+
end
|
26
|
+
|
13
27
|
# The request is not well formed. For example, a value is invalid or a
|
14
28
|
# required field is missing. Check the field values, and try again.
|
15
29
|
#
|
@@ -1781,7 +1795,7 @@ module Aws::LexModelBuildingService
|
|
1781
1795
|
# data as a hash:
|
1782
1796
|
#
|
1783
1797
|
# {
|
1784
|
-
# locale: "de-DE", # accepts de-DE, en-AU, en-GB, en-US, es-419, es-ES, es-US, fr-FR, fr-CA, it-IT
|
1798
|
+
# locale: "de-DE", # accepts de-DE, en-AU, en-GB, en-IN, en-US, es-419, es-ES, es-US, fr-FR, fr-CA, it-IT, ja-JP
|
1785
1799
|
# signature_contains: "String",
|
1786
1800
|
# next_token: "NextToken",
|
1787
1801
|
# max_results: 1,
|
@@ -1851,7 +1865,7 @@ module Aws::LexModelBuildingService
|
|
1851
1865
|
# data as a hash:
|
1852
1866
|
#
|
1853
1867
|
# {
|
1854
|
-
# locale: "de-DE", # accepts de-DE, en-AU, en-GB, en-US, es-419, es-ES, es-US, fr-FR, fr-CA, it-IT
|
1868
|
+
# locale: "de-DE", # accepts de-DE, en-AU, en-GB, en-IN, en-US, es-419, es-ES, es-US, fr-FR, fr-CA, it-IT, ja-JP
|
1855
1869
|
# signature_contains: "String",
|
1856
1870
|
# next_token: "NextToken",
|
1857
1871
|
# max_results: 1,
|
@@ -2311,6 +2325,183 @@ module Aws::LexModelBuildingService
|
|
2311
2325
|
include Aws::Structure
|
2312
2326
|
end
|
2313
2327
|
|
2328
|
+
# @note When making an API call, you may pass GetMigrationRequest
|
2329
|
+
# data as a hash:
|
2330
|
+
#
|
2331
|
+
# {
|
2332
|
+
# migration_id: "MigrationId", # required
|
2333
|
+
# }
|
2334
|
+
#
|
2335
|
+
# @!attribute [rw] migration_id
|
2336
|
+
# The unique identifier of the migration to view. The `migrationID` is
|
2337
|
+
# returned by the operation.
|
2338
|
+
# @return [String]
|
2339
|
+
#
|
2340
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetMigrationRequest AWS API Documentation
|
2341
|
+
#
|
2342
|
+
class GetMigrationRequest < Struct.new(
|
2343
|
+
:migration_id)
|
2344
|
+
SENSITIVE = []
|
2345
|
+
include Aws::Structure
|
2346
|
+
end
|
2347
|
+
|
2348
|
+
# @!attribute [rw] migration_id
|
2349
|
+
# The unique identifier of the migration. This is the same as the
|
2350
|
+
# identifier used when calling the `GetMigration` operation.
|
2351
|
+
# @return [String]
|
2352
|
+
#
|
2353
|
+
# @!attribute [rw] v1_bot_name
|
2354
|
+
# The name of the Amazon Lex V1 bot migrated to Amazon Lex V2.
|
2355
|
+
# @return [String]
|
2356
|
+
#
|
2357
|
+
# @!attribute [rw] v1_bot_version
|
2358
|
+
# The version of the Amazon Lex V1 bot migrated to Amazon Lex V2.
|
2359
|
+
# @return [String]
|
2360
|
+
#
|
2361
|
+
# @!attribute [rw] v1_bot_locale
|
2362
|
+
# The locale of the Amazon Lex V1 bot migrated to Amazon Lex V2.
|
2363
|
+
# @return [String]
|
2364
|
+
#
|
2365
|
+
# @!attribute [rw] v2_bot_id
|
2366
|
+
# The unique identifier of the Amazon Lex V2 bot that the Amazon Lex
|
2367
|
+
# V1 is being migrated to.
|
2368
|
+
# @return [String]
|
2369
|
+
#
|
2370
|
+
# @!attribute [rw] v2_bot_role
|
2371
|
+
# The IAM role that Amazon Lex uses to run the Amazon Lex V2 bot.
|
2372
|
+
# @return [String]
|
2373
|
+
#
|
2374
|
+
# @!attribute [rw] migration_status
|
2375
|
+
# Indicates the status of the migration. When the status is `COMPLETE`
|
2376
|
+
# the migration is finished and the bot is available in Amazon Lex V2.
|
2377
|
+
# There may be alerts and warnings that need to be resolved to
|
2378
|
+
# complete the migration.
|
2379
|
+
# @return [String]
|
2380
|
+
#
|
2381
|
+
# @!attribute [rw] migration_strategy
|
2382
|
+
# The strategy used to conduct the migration.
|
2383
|
+
#
|
2384
|
+
# * `CREATE_NEW` - Creates a new Amazon Lex V2 bot and migrates the
|
2385
|
+
# Amazon Lex V1 bot to the new bot.
|
2386
|
+
#
|
2387
|
+
# * `UPDATE_EXISTING` - Overwrites the existing Amazon Lex V2 bot
|
2388
|
+
# metadata and the locale being migrated. It doesn't change any
|
2389
|
+
# other locales in the Amazon Lex V2 bot. If the locale doesn't
|
2390
|
+
# exist, a new locale is created in the Amazon Lex V2 bot.
|
2391
|
+
# @return [String]
|
2392
|
+
#
|
2393
|
+
# @!attribute [rw] migration_timestamp
|
2394
|
+
# The date and time that the migration started.
|
2395
|
+
# @return [Time]
|
2396
|
+
#
|
2397
|
+
# @!attribute [rw] alerts
|
2398
|
+
# A list of alerts and warnings that indicate issues with the
|
2399
|
+
# migration for the Amazon Lex V1 bot to Amazon Lex V2. You receive a
|
2400
|
+
# warning when an Amazon Lex V1 feature has a different implementation
|
2401
|
+
# if Amazon Lex V2.
|
2402
|
+
#
|
2403
|
+
# For more information, see [Migrating a bot][1] in the *Amazon Lex V2
|
2404
|
+
# developer guide*.
|
2405
|
+
#
|
2406
|
+
#
|
2407
|
+
#
|
2408
|
+
# [1]: https://docs.aws.amazon.com/lexv2/latest/dg/migrate.html
|
2409
|
+
# @return [Array<Types::MigrationAlert>]
|
2410
|
+
#
|
2411
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetMigrationResponse AWS API Documentation
|
2412
|
+
#
|
2413
|
+
class GetMigrationResponse < Struct.new(
|
2414
|
+
:migration_id,
|
2415
|
+
:v1_bot_name,
|
2416
|
+
:v1_bot_version,
|
2417
|
+
:v1_bot_locale,
|
2418
|
+
:v2_bot_id,
|
2419
|
+
:v2_bot_role,
|
2420
|
+
:migration_status,
|
2421
|
+
:migration_strategy,
|
2422
|
+
:migration_timestamp,
|
2423
|
+
:alerts)
|
2424
|
+
SENSITIVE = []
|
2425
|
+
include Aws::Structure
|
2426
|
+
end
|
2427
|
+
|
2428
|
+
# @note When making an API call, you may pass GetMigrationsRequest
|
2429
|
+
# data as a hash:
|
2430
|
+
#
|
2431
|
+
# {
|
2432
|
+
# sort_by_attribute: "V1_BOT_NAME", # accepts V1_BOT_NAME, MIGRATION_DATE_TIME
|
2433
|
+
# sort_by_order: "ASCENDING", # accepts ASCENDING, DESCENDING
|
2434
|
+
# v1_bot_name_contains: "BotName",
|
2435
|
+
# migration_status_equals: "IN_PROGRESS", # accepts IN_PROGRESS, COMPLETED, FAILED
|
2436
|
+
# max_results: 1,
|
2437
|
+
# next_token: "NextToken",
|
2438
|
+
# }
|
2439
|
+
#
|
2440
|
+
# @!attribute [rw] sort_by_attribute
|
2441
|
+
# The field to sort the list of migrations by. You can sort by the
|
2442
|
+
# Amazon Lex V1 bot name or the date and time that the migration was
|
2443
|
+
# started.
|
2444
|
+
# @return [String]
|
2445
|
+
#
|
2446
|
+
# @!attribute [rw] sort_by_order
|
2447
|
+
# The order so sort the list.
|
2448
|
+
# @return [String]
|
2449
|
+
#
|
2450
|
+
# @!attribute [rw] v1_bot_name_contains
|
2451
|
+
# Filters the list to contain only bots whose name contains the
|
2452
|
+
# specified string. The string is matched anywhere in bot name.
|
2453
|
+
# @return [String]
|
2454
|
+
#
|
2455
|
+
# @!attribute [rw] migration_status_equals
|
2456
|
+
# Filters the list to contain only migrations in the specified state.
|
2457
|
+
# @return [String]
|
2458
|
+
#
|
2459
|
+
# @!attribute [rw] max_results
|
2460
|
+
# The maximum number of migrations to return in the response. The
|
2461
|
+
# default is 10.
|
2462
|
+
# @return [Integer]
|
2463
|
+
#
|
2464
|
+
# @!attribute [rw] next_token
|
2465
|
+
# A pagination token that fetches the next page of migrations. If the
|
2466
|
+
# response to this operation is truncated, Amazon Lex returns a
|
2467
|
+
# pagination token in the response. To fetch the next page of
|
2468
|
+
# migrations, specify the pagination token in the request.
|
2469
|
+
# @return [String]
|
2470
|
+
#
|
2471
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetMigrationsRequest AWS API Documentation
|
2472
|
+
#
|
2473
|
+
class GetMigrationsRequest < Struct.new(
|
2474
|
+
:sort_by_attribute,
|
2475
|
+
:sort_by_order,
|
2476
|
+
:v1_bot_name_contains,
|
2477
|
+
:migration_status_equals,
|
2478
|
+
:max_results,
|
2479
|
+
:next_token)
|
2480
|
+
SENSITIVE = []
|
2481
|
+
include Aws::Structure
|
2482
|
+
end
|
2483
|
+
|
2484
|
+
# @!attribute [rw] migration_summaries
|
2485
|
+
# An array of summaries for migrations from Amazon Lex V1 to Amazon
|
2486
|
+
# Lex V2. To see details of the migration, use the `migrationId` from
|
2487
|
+
# the summary in a call to the operation.
|
2488
|
+
# @return [Array<Types::MigrationSummary>]
|
2489
|
+
#
|
2490
|
+
# @!attribute [rw] next_token
|
2491
|
+
# If the response is truncated, it includes a pagination token that
|
2492
|
+
# you can specify in your next request to fetch the next page of
|
2493
|
+
# migrations.
|
2494
|
+
# @return [String]
|
2495
|
+
#
|
2496
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetMigrationsResponse AWS API Documentation
|
2497
|
+
#
|
2498
|
+
class GetMigrationsResponse < Struct.new(
|
2499
|
+
:migration_summaries,
|
2500
|
+
:next_token)
|
2501
|
+
SENSITIVE = []
|
2502
|
+
include Aws::Structure
|
2503
|
+
end
|
2504
|
+
|
2314
2505
|
# @note When making an API call, you may pass GetSlotTypeRequest
|
2315
2506
|
# data as a hash:
|
2316
2507
|
#
|
@@ -2889,6 +3080,106 @@ module Aws::LexModelBuildingService
|
|
2889
3080
|
include Aws::Structure
|
2890
3081
|
end
|
2891
3082
|
|
3083
|
+
# Provides information about alerts and warnings that Amazon Lex sends
|
3084
|
+
# during a migration. The alerts include information about how to
|
3085
|
+
# resolve the issue.
|
3086
|
+
#
|
3087
|
+
# @!attribute [rw] type
|
3088
|
+
# The type of alert. There are two kinds of alerts:
|
3089
|
+
#
|
3090
|
+
# * `ERROR` - There was an issue with the migration that can't be
|
3091
|
+
# resolved. The migration stops.
|
3092
|
+
#
|
3093
|
+
# * `WARN` - There was an issue with the migration that requires
|
3094
|
+
# manual changes to the new Amazon Lex V2 bot. The migration
|
3095
|
+
# continues.
|
3096
|
+
# @return [String]
|
3097
|
+
#
|
3098
|
+
# @!attribute [rw] message
|
3099
|
+
# A message that describes why the alert was issued.
|
3100
|
+
# @return [String]
|
3101
|
+
#
|
3102
|
+
# @!attribute [rw] details
|
3103
|
+
# Additional details about the alert.
|
3104
|
+
# @return [Array<String>]
|
3105
|
+
#
|
3106
|
+
# @!attribute [rw] reference_urls
|
3107
|
+
# A link to the Amazon Lex documentation that describes how to resolve
|
3108
|
+
# the alert.
|
3109
|
+
# @return [Array<String>]
|
3110
|
+
#
|
3111
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/MigrationAlert AWS API Documentation
|
3112
|
+
#
|
3113
|
+
class MigrationAlert < Struct.new(
|
3114
|
+
:type,
|
3115
|
+
:message,
|
3116
|
+
:details,
|
3117
|
+
:reference_urls)
|
3118
|
+
SENSITIVE = []
|
3119
|
+
include Aws::Structure
|
3120
|
+
end
|
3121
|
+
|
3122
|
+
# Provides information about migrating a bot from Amazon Lex V1 to
|
3123
|
+
# Amazon Lex V2.
|
3124
|
+
#
|
3125
|
+
# @!attribute [rw] migration_id
|
3126
|
+
# The unique identifier that Amazon Lex assigned to the migration.
|
3127
|
+
# @return [String]
|
3128
|
+
#
|
3129
|
+
# @!attribute [rw] v1_bot_name
|
3130
|
+
# The name of the Amazon Lex V1 bot that is the source of the
|
3131
|
+
# migration.
|
3132
|
+
# @return [String]
|
3133
|
+
#
|
3134
|
+
# @!attribute [rw] v1_bot_version
|
3135
|
+
# The version of the Amazon Lex V1 bot that is the source of the
|
3136
|
+
# migration.
|
3137
|
+
# @return [String]
|
3138
|
+
#
|
3139
|
+
# @!attribute [rw] v1_bot_locale
|
3140
|
+
# The locale of the Amazon Lex V1 bot that is the source of the
|
3141
|
+
# migration.
|
3142
|
+
# @return [String]
|
3143
|
+
#
|
3144
|
+
# @!attribute [rw] v2_bot_id
|
3145
|
+
# The unique identifier of the Amazon Lex V2 that is the destination
|
3146
|
+
# of the migration.
|
3147
|
+
# @return [String]
|
3148
|
+
#
|
3149
|
+
# @!attribute [rw] v2_bot_role
|
3150
|
+
# The IAM role that Amazon Lex uses to run the Amazon Lex V2 bot.
|
3151
|
+
# @return [String]
|
3152
|
+
#
|
3153
|
+
# @!attribute [rw] migration_status
|
3154
|
+
# The status of the operation. When the status is `COMPLETE` the bot
|
3155
|
+
# is available in Amazon Lex V2. There may be alerts and warnings that
|
3156
|
+
# need to be resolved to complete the migration.
|
3157
|
+
# @return [String]
|
3158
|
+
#
|
3159
|
+
# @!attribute [rw] migration_strategy
|
3160
|
+
# The strategy used to conduct the migration.
|
3161
|
+
# @return [String]
|
3162
|
+
#
|
3163
|
+
# @!attribute [rw] migration_timestamp
|
3164
|
+
# The date and time that the migration started.
|
3165
|
+
# @return [Time]
|
3166
|
+
#
|
3167
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/MigrationSummary AWS API Documentation
|
3168
|
+
#
|
3169
|
+
class MigrationSummary < Struct.new(
|
3170
|
+
:migration_id,
|
3171
|
+
:v1_bot_name,
|
3172
|
+
:v1_bot_version,
|
3173
|
+
:v1_bot_locale,
|
3174
|
+
:v2_bot_id,
|
3175
|
+
:v2_bot_role,
|
3176
|
+
:migration_status,
|
3177
|
+
:migration_strategy,
|
3178
|
+
:migration_timestamp)
|
3179
|
+
SENSITIVE = []
|
3180
|
+
include Aws::Structure
|
3181
|
+
end
|
3182
|
+
|
2892
3183
|
# The resource specified in the request was not found. Check the
|
2893
3184
|
# resource and try again.
|
2894
3185
|
#
|
@@ -3179,7 +3470,7 @@ module Aws::LexModelBuildingService
|
|
3179
3470
|
# voice_id: "String",
|
3180
3471
|
# checksum: "String",
|
3181
3472
|
# process_behavior: "SAVE", # accepts SAVE, BUILD
|
3182
|
-
# locale: "de-DE", # required, accepts de-DE, en-AU, en-GB, en-US, es-419, es-ES, es-US, fr-FR, fr-CA, it-IT
|
3473
|
+
# locale: "de-DE", # required, accepts de-DE, en-AU, en-GB, en-IN, en-US, es-419, es-ES, es-US, fr-FR, fr-CA, it-IT, ja-JP
|
3183
3474
|
# child_directed: false, # required
|
3184
3475
|
# detect_sentiment: false,
|
3185
3476
|
# create_version: false,
|
@@ -4740,6 +5031,115 @@ module Aws::LexModelBuildingService
|
|
4740
5031
|
include Aws::Structure
|
4741
5032
|
end
|
4742
5033
|
|
5034
|
+
# @note When making an API call, you may pass StartMigrationRequest
|
5035
|
+
# data as a hash:
|
5036
|
+
#
|
5037
|
+
# {
|
5038
|
+
# v1_bot_name: "BotName", # required
|
5039
|
+
# v1_bot_version: "Version", # required
|
5040
|
+
# v2_bot_name: "V2BotName", # required
|
5041
|
+
# v2_bot_role: "IamRoleArn", # required
|
5042
|
+
# migration_strategy: "CREATE_NEW", # required, accepts CREATE_NEW, UPDATE_EXISTING
|
5043
|
+
# }
|
5044
|
+
#
|
5045
|
+
# @!attribute [rw] v1_bot_name
|
5046
|
+
# The name of the Amazon Lex V1 bot that you are migrating to Amazon
|
5047
|
+
# Lex V2.
|
5048
|
+
# @return [String]
|
5049
|
+
#
|
5050
|
+
# @!attribute [rw] v1_bot_version
|
5051
|
+
# The version of the bot to migrate to Amazon Lex V2. You can migrate
|
5052
|
+
# the `$LATEST` version as well as any numbered version.
|
5053
|
+
# @return [String]
|
5054
|
+
#
|
5055
|
+
# @!attribute [rw] v2_bot_name
|
5056
|
+
# The name of the Amazon Lex V2 bot that you are migrating the Amazon
|
5057
|
+
# Lex V1 bot to.
|
5058
|
+
#
|
5059
|
+
# * If the Amazon Lex V2 bot doesn't exist, you must use the
|
5060
|
+
# `CREATE_NEW` migration strategy.
|
5061
|
+
#
|
5062
|
+
# * If the Amazon Lex V2 bot exists, you must use the
|
5063
|
+
# `UPDATE_EXISTING` migration strategy to change the contents of the
|
5064
|
+
# Amazon Lex V2 bot.
|
5065
|
+
# @return [String]
|
5066
|
+
#
|
5067
|
+
# @!attribute [rw] v2_bot_role
|
5068
|
+
# The IAM role that Amazon Lex uses to run the Amazon Lex V2 bot.
|
5069
|
+
# @return [String]
|
5070
|
+
#
|
5071
|
+
# @!attribute [rw] migration_strategy
|
5072
|
+
# The strategy used to conduct the migration.
|
5073
|
+
#
|
5074
|
+
# * `CREATE_NEW` - Creates a new Amazon Lex V2 bot and migrates the
|
5075
|
+
# Amazon Lex V1 bot to the new bot.
|
5076
|
+
#
|
5077
|
+
# * `UPDATE_EXISTING` - Overwrites the existing Amazon Lex V2 bot
|
5078
|
+
# metadata and the locale being migrated. It doesn't change any
|
5079
|
+
# other locales in the Amazon Lex V2 bot. If the locale doesn't
|
5080
|
+
# exist, a new locale is created in the Amazon Lex V2 bot.
|
5081
|
+
# @return [String]
|
5082
|
+
#
|
5083
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/StartMigrationRequest AWS API Documentation
|
5084
|
+
#
|
5085
|
+
class StartMigrationRequest < Struct.new(
|
5086
|
+
:v1_bot_name,
|
5087
|
+
:v1_bot_version,
|
5088
|
+
:v2_bot_name,
|
5089
|
+
:v2_bot_role,
|
5090
|
+
:migration_strategy)
|
5091
|
+
SENSITIVE = []
|
5092
|
+
include Aws::Structure
|
5093
|
+
end
|
5094
|
+
|
5095
|
+
# @!attribute [rw] v1_bot_name
|
5096
|
+
# The name of the Amazon Lex V1 bot that you are migrating to Amazon
|
5097
|
+
# Lex V2.
|
5098
|
+
# @return [String]
|
5099
|
+
#
|
5100
|
+
# @!attribute [rw] v1_bot_version
|
5101
|
+
# The version of the bot to migrate to Amazon Lex V2.
|
5102
|
+
# @return [String]
|
5103
|
+
#
|
5104
|
+
# @!attribute [rw] v1_bot_locale
|
5105
|
+
# The locale used for the Amazon Lex V1 bot.
|
5106
|
+
# @return [String]
|
5107
|
+
#
|
5108
|
+
# @!attribute [rw] v2_bot_id
|
5109
|
+
# The unique identifier for the Amazon Lex V2 bot.
|
5110
|
+
# @return [String]
|
5111
|
+
#
|
5112
|
+
# @!attribute [rw] v2_bot_role
|
5113
|
+
# The IAM role that Amazon Lex uses to run the Amazon Lex V2 bot.
|
5114
|
+
# @return [String]
|
5115
|
+
#
|
5116
|
+
# @!attribute [rw] migration_id
|
5117
|
+
# The unique identifier that Amazon Lex assigned to the migration.
|
5118
|
+
# @return [String]
|
5119
|
+
#
|
5120
|
+
# @!attribute [rw] migration_strategy
|
5121
|
+
# The strategy used to conduct the migration.
|
5122
|
+
# @return [String]
|
5123
|
+
#
|
5124
|
+
# @!attribute [rw] migration_timestamp
|
5125
|
+
# The date and time that the migration started.
|
5126
|
+
# @return [Time]
|
5127
|
+
#
|
5128
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/StartMigrationResponse AWS API Documentation
|
5129
|
+
#
|
5130
|
+
class StartMigrationResponse < Struct.new(
|
5131
|
+
:v1_bot_name,
|
5132
|
+
:v1_bot_version,
|
5133
|
+
:v1_bot_locale,
|
5134
|
+
:v2_bot_id,
|
5135
|
+
:v2_bot_role,
|
5136
|
+
:migration_id,
|
5137
|
+
:migration_strategy,
|
5138
|
+
:migration_timestamp)
|
5139
|
+
SENSITIVE = []
|
5140
|
+
include Aws::Structure
|
5141
|
+
end
|
5142
|
+
|
4743
5143
|
# A collection of messages that convey information to the user. At
|
4744
5144
|
# runtime, Amazon Lex selects the message to convey.
|
4745
5145
|
#
|