aws-sdk-lexmodelsv2 1.2.0 → 1.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -182,6 +182,34 @@ module Aws::LexModelsV2
182
182
  include Aws::Structure
183
183
  end
184
184
 
185
+ # Provided the identity of a the bot that was exported.
186
+ #
187
+ # @note When making an API call, you may pass BotExportSpecification
188
+ # data as a hash:
189
+ #
190
+ # {
191
+ # bot_id: "Id", # required
192
+ # bot_version: "BotVersion", # required
193
+ # }
194
+ #
195
+ # @!attribute [rw] bot_id
196
+ # The identifier of the bot assigned by Amazon Lex.
197
+ # @return [String]
198
+ #
199
+ # @!attribute [rw] bot_version
200
+ # The version of the bot that was exported. This will be either
201
+ # `DRAFT` or the version number.
202
+ # @return [String]
203
+ #
204
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/BotExportSpecification AWS API Documentation
205
+ #
206
+ class BotExportSpecification < Struct.new(
207
+ :bot_id,
208
+ :bot_version)
209
+ SENSITIVE = []
210
+ include Aws::Structure
211
+ end
212
+
185
213
  # Filters the responses returned by the `ListBots` operation.
186
214
  #
187
215
  # @note When making an API call, you may pass BotFilter
@@ -218,6 +246,113 @@ module Aws::LexModelsV2
218
246
  include Aws::Structure
219
247
  end
220
248
 
249
+ # Provides the bot parameters required for importing a bot.
250
+ #
251
+ # @note When making an API call, you may pass BotImportSpecification
252
+ # data as a hash:
253
+ #
254
+ # {
255
+ # bot_name: "Name", # required
256
+ # role_arn: "RoleArn", # required
257
+ # data_privacy: { # required
258
+ # child_directed: false, # required
259
+ # },
260
+ # idle_session_ttl_in_seconds: 1,
261
+ # bot_tags: {
262
+ # "TagKey" => "TagValue",
263
+ # },
264
+ # test_bot_alias_tags: {
265
+ # "TagKey" => "TagValue",
266
+ # },
267
+ # }
268
+ #
269
+ # @!attribute [rw] bot_name
270
+ # The name that Amazon Lex should use for the bot.
271
+ # @return [String]
272
+ #
273
+ # @!attribute [rw] role_arn
274
+ # The Amazon Resource Name (ARN) of the IAM role used to build and run
275
+ # the bot.
276
+ # @return [String]
277
+ #
278
+ # @!attribute [rw] data_privacy
279
+ # By default, data stored by Amazon Lex is encrypted. The
280
+ # `DataPrivacy` structure provides settings that determine how Amazon
281
+ # Lex handles special cases of securing the data for your bot.
282
+ # @return [Types::DataPrivacy]
283
+ #
284
+ # @!attribute [rw] idle_session_ttl_in_seconds
285
+ # The time, in seconds, that Amazon Lex should keep information about
286
+ # a user's conversation with the bot.
287
+ #
288
+ # A user interaction remains active for the amount of time specified.
289
+ # If no conversation occurs during this time, the session expires and
290
+ # Amazon Lex deletes any data provided before the timeout.
291
+ #
292
+ # You can specify between 60 (1 minute) and 86,400 (24 hours) seconds.
293
+ # @return [Integer]
294
+ #
295
+ # @!attribute [rw] bot_tags
296
+ # A list of tags to add to the bot. You can only add tags when you
297
+ # import a bot. You can't use the `UpdateBot` operation to update
298
+ # tags. To update tags, use the `TagResource` operation.
299
+ # @return [Hash<String,String>]
300
+ #
301
+ # @!attribute [rw] test_bot_alias_tags
302
+ # A list of tags to add to the test alias for a bot. You can only add
303
+ # tags when you import a bot. You can't use the `UpdateAlias`
304
+ # operation to update tags. To update tags on the test alias, use the
305
+ # `TagResource` operation.
306
+ # @return [Hash<String,String>]
307
+ #
308
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/BotImportSpecification AWS API Documentation
309
+ #
310
+ class BotImportSpecification < Struct.new(
311
+ :bot_name,
312
+ :role_arn,
313
+ :data_privacy,
314
+ :idle_session_ttl_in_seconds,
315
+ :bot_tags,
316
+ :test_bot_alias_tags)
317
+ SENSITIVE = []
318
+ include Aws::Structure
319
+ end
320
+
321
+ # Provides the bot locale parameters required for exporting a bot
322
+ # locale.
323
+ #
324
+ # @note When making an API call, you may pass BotLocaleExportSpecification
325
+ # data as a hash:
326
+ #
327
+ # {
328
+ # bot_id: "Id", # required
329
+ # bot_version: "BotVersion", # required
330
+ # locale_id: "LocaleId", # required
331
+ # }
332
+ #
333
+ # @!attribute [rw] bot_id
334
+ # The identifier of the bot to create the locale for.
335
+ # @return [String]
336
+ #
337
+ # @!attribute [rw] bot_version
338
+ # The version of the bot to export.
339
+ # @return [String]
340
+ #
341
+ # @!attribute [rw] locale_id
342
+ # The identifier of the language and locale to export. The string must
343
+ # match one of the locales in the bot.
344
+ # @return [String]
345
+ #
346
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/BotLocaleExportSpecification AWS API Documentation
347
+ #
348
+ class BotLocaleExportSpecification < Struct.new(
349
+ :bot_id,
350
+ :bot_version,
351
+ :locale_id)
352
+ SENSITIVE = []
353
+ include Aws::Structure
354
+ end
355
+
221
356
  # Filters responses returned by the `ListBotLocales` operation.
222
357
  #
223
358
  # @note When making an API call, you may pass BotLocaleFilter
@@ -274,6 +409,81 @@ module Aws::LexModelsV2
274
409
  include Aws::Structure
275
410
  end
276
411
 
412
+ # Provides the bot locale parameters required for importing a bot
413
+ # locale.
414
+ #
415
+ # @note When making an API call, you may pass BotLocaleImportSpecification
416
+ # data as a hash:
417
+ #
418
+ # {
419
+ # bot_id: "Id", # required
420
+ # bot_version: "DraftBotVersion", # required
421
+ # locale_id: "LocaleId", # required
422
+ # nlu_intent_confidence_threshold: 1.0,
423
+ # voice_settings: {
424
+ # voice_id: "VoiceId", # required
425
+ # },
426
+ # }
427
+ #
428
+ # @!attribute [rw] bot_id
429
+ # The identifier of the bot to import the locale to.
430
+ # @return [String]
431
+ #
432
+ # @!attribute [rw] bot_version
433
+ # The version of the bot to import the locale to. This can only be the
434
+ # `DRAFT` version of the bot.
435
+ # @return [String]
436
+ #
437
+ # @!attribute [rw] locale_id
438
+ # The identifier of the language and locale that the bot will be used
439
+ # in. The string must match one of the supported locales. All of the
440
+ # intents, slot types, and slots used in the bot must have the same
441
+ # locale. For more information, see [Supported languages][1].
442
+ #
443
+ #
444
+ #
445
+ # [1]: https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html
446
+ # @return [String]
447
+ #
448
+ # @!attribute [rw] nlu_intent_confidence_threshold
449
+ # Determines the threshold where Amazon Lex will insert the
450
+ # `AMAZON.FallbackIntent`, `AMAZON.KendraSearchIntent`, or both when
451
+ # returning alternative intents. `AMAZON.FallbackIntent` and
452
+ # `AMAZON.KendraSearchIntent` are only inserted if they are configured
453
+ # for the bot.
454
+ #
455
+ # For example, suppose a bot is configured with the confidence
456
+ # threshold of 0.80 and the `AMAZON.FallbackIntent`. Amazon Lex
457
+ # returns three alternative intents with the following confidence
458
+ # scores: IntentA (0.70), IntentB (0.60), IntentC (0.50). The response
459
+ # from the `PostText` operation would be:
460
+ #
461
+ # * `AMAZON.FallbackIntent`
462
+ #
463
+ # * `IntentA`
464
+ #
465
+ # * `IntentB`
466
+ #
467
+ # * `IntentC`
468
+ # @return [Float]
469
+ #
470
+ # @!attribute [rw] voice_settings
471
+ # Defines settings for using an Amazon Polly voice to communicate with
472
+ # a user.
473
+ # @return [Types::VoiceSettings]
474
+ #
475
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/BotLocaleImportSpecification AWS API Documentation
476
+ #
477
+ class BotLocaleImportSpecification < Struct.new(
478
+ :bot_id,
479
+ :bot_version,
480
+ :locale_id,
481
+ :nlu_intent_confidence_threshold,
482
+ :voice_settings)
483
+ SENSITIVE = []
484
+ include Aws::Structure
485
+ end
486
+
277
487
  # Specifies attributes for sorting a list of bot locales.
278
488
  #
279
489
  # @note When making an API call, you may pass BotLocaleSortBy
@@ -521,12 +731,11 @@ module Aws::LexModelsV2
521
731
  # The identifier of the language and locale that the bot will be used
522
732
  # in. The string must match one of the supported locales. All of the
523
733
  # intents, slot types, and slots used in the bot must have the same
524
- # locale. For more information, see
525
- # [https://docs.aws.amazon.com/lex/latest/dg/supported-locales.html][1].
734
+ # locale. For more information, see [Supported languages][1].
526
735
  #
527
736
  #
528
737
  #
529
- # [1]: https://docs.aws.amazon.com/lex/latest/dg/supported-locales.html
738
+ # [1]: https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html
530
739
  # @return [String]
531
740
  #
532
741
  # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/BuildBotLocaleRequest AWS API Documentation
@@ -1023,12 +1232,11 @@ module Aws::LexModelsV2
1023
1232
  # The identifier of the language and locale that the bot will be used
1024
1233
  # in. The string must match one of the supported locales. All of the
1025
1234
  # intents, slot types, and slots used in the bot must have the same
1026
- # locale. For more information, see
1027
- # [https://docs.aws.amazon.com/lex/latest/dg/supported-locales.html][1].
1235
+ # locale. For more information, see [Supported languages][1].
1028
1236
  #
1029
1237
  #
1030
1238
  #
1031
- # [1]: https://docs.aws.amazon.com/lex/latest/dg/supported-locales.html
1239
+ # [1]: https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html
1032
1240
  # @return [String]
1033
1241
  #
1034
1242
  # @!attribute [rw] description
@@ -1360,6 +1568,85 @@ module Aws::LexModelsV2
1360
1568
  include Aws::Structure
1361
1569
  end
1362
1570
 
1571
+ # @note When making an API call, you may pass CreateExportRequest
1572
+ # data as a hash:
1573
+ #
1574
+ # {
1575
+ # resource_specification: { # required
1576
+ # bot_export_specification: {
1577
+ # bot_id: "Id", # required
1578
+ # bot_version: "BotVersion", # required
1579
+ # },
1580
+ # bot_locale_export_specification: {
1581
+ # bot_id: "Id", # required
1582
+ # bot_version: "BotVersion", # required
1583
+ # locale_id: "LocaleId", # required
1584
+ # },
1585
+ # },
1586
+ # file_format: "LexJson", # required, accepts LexJson
1587
+ # file_password: "ImportExportFilePassword",
1588
+ # }
1589
+ #
1590
+ # @!attribute [rw] resource_specification
1591
+ # Specifies the type of resource to export, either a bot or a bot
1592
+ # locale. You can only specify one type of resource to export.
1593
+ # @return [Types::ExportResourceSpecification]
1594
+ #
1595
+ # @!attribute [rw] file_format
1596
+ # The file format of the bot or bot locale definition files.
1597
+ # @return [String]
1598
+ #
1599
+ # @!attribute [rw] file_password
1600
+ # An password to use to encrypt the exported archive. Using a password
1601
+ # is optional, but you should encrypt the archive to protect the data
1602
+ # in transit between Amazon Lex and your local computer.
1603
+ # @return [String]
1604
+ #
1605
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/CreateExportRequest AWS API Documentation
1606
+ #
1607
+ class CreateExportRequest < Struct.new(
1608
+ :resource_specification,
1609
+ :file_format,
1610
+ :file_password)
1611
+ SENSITIVE = [:file_password]
1612
+ include Aws::Structure
1613
+ end
1614
+
1615
+ # @!attribute [rw] export_id
1616
+ # An identifier for a specific request to create an export.
1617
+ # @return [String]
1618
+ #
1619
+ # @!attribute [rw] resource_specification
1620
+ # A description of the type of resource that was exported, either a
1621
+ # bot or a bot locale.
1622
+ # @return [Types::ExportResourceSpecification]
1623
+ #
1624
+ # @!attribute [rw] file_format
1625
+ # The file format used for the bot or bot locale definition files.
1626
+ # @return [String]
1627
+ #
1628
+ # @!attribute [rw] export_status
1629
+ # The status of the export. When the status is `Completed`, you can
1630
+ # use the operation to get the pre-signed S3 URL link to your exported
1631
+ # bot or bot locale.
1632
+ # @return [String]
1633
+ #
1634
+ # @!attribute [rw] creation_date_time
1635
+ # The date and time that the request to export a bot was created.
1636
+ # @return [Time]
1637
+ #
1638
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/CreateExportResponse AWS API Documentation
1639
+ #
1640
+ class CreateExportResponse < Struct.new(
1641
+ :export_id,
1642
+ :resource_specification,
1643
+ :file_format,
1644
+ :export_status,
1645
+ :creation_date_time)
1646
+ SENSITIVE = []
1647
+ include Aws::Structure
1648
+ end
1649
+
1363
1650
  # @note When making an API call, you may pass CreateIntentRequest
1364
1651
  # data as a hash:
1365
1652
  #
@@ -1678,7 +1965,11 @@ module Aws::LexModelsV2
1678
1965
  # @!attribute [rw] locale_id
1679
1966
  # The identifier of the language and locale where this intent is used.
1680
1967
  # All of the bots, slot types, and slots used by the intent must have
1681
- # the same locale.
1968
+ # the same locale. For more information, see [Supported languages][1].
1969
+ #
1970
+ #
1971
+ #
1972
+ # [1]: https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html
1682
1973
  # @return [String]
1683
1974
  #
1684
1975
  # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/CreateIntentRequest AWS API Documentation
@@ -2081,12 +2372,11 @@ module Aws::LexModelsV2
2081
2372
  # The identifier of the language and locale that the slot will be used
2082
2373
  # in. The string must match one of the supported locales. All of the
2083
2374
  # bots, intents, slot types used by the slot must have the same
2084
- # locale. For more information, see
2085
- # [https://docs.aws.amazon.com/lex/latest/dg/supported-locales.html][1].
2375
+ # locale. For more information, see [Supported languages][1].
2086
2376
  #
2087
2377
  #
2088
2378
  #
2089
- # [1]: https://docs.aws.amazon.com/lex/latest/dg/supported-locales.html
2379
+ # [1]: https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html
2090
2380
  # @return [String]
2091
2381
  #
2092
2382
  # @!attribute [rw] intent_id
@@ -2256,12 +2546,11 @@ module Aws::LexModelsV2
2256
2546
  # The identifier of the language and locale that the slot type will be
2257
2547
  # used in. The string must match one of the supported locales. All of
2258
2548
  # the bots, intents, and slots used by the slot type must have the
2259
- # same locale. For more information, see
2260
- # [https://docs.aws.amazon.com/lex/latest/dg/supported-locales.html][1].
2549
+ # same locale. For more information, see [Supported languages][1].
2261
2550
  #
2262
2551
  #
2263
2552
  #
2264
- # [1]: https://docs.aws.amazon.com/lex/latest/dg/supported-locales.html
2553
+ # [1]: https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html
2265
2554
  # @return [String]
2266
2555
  #
2267
2556
  # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/CreateSlotTypeRequest AWS API Documentation
@@ -2339,6 +2628,31 @@ module Aws::LexModelsV2
2339
2628
  include Aws::Structure
2340
2629
  end
2341
2630
 
2631
+ # @api private
2632
+ #
2633
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/CreateUploadUrlRequest AWS API Documentation
2634
+ #
2635
+ class CreateUploadUrlRequest < Aws::EmptyStructure; end
2636
+
2637
+ # @!attribute [rw] import_id
2638
+ # An identifier for a unique import job. Use it when you call the
2639
+ # operation.
2640
+ # @return [String]
2641
+ #
2642
+ # @!attribute [rw] upload_url
2643
+ # A pre-signed S3 write URL. Upload the zip archive file that contains
2644
+ # the definition of your bot or bot locale.
2645
+ # @return [String]
2646
+ #
2647
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/CreateUploadUrlResponse AWS API Documentation
2648
+ #
2649
+ class CreateUploadUrlResponse < Struct.new(
2650
+ :import_id,
2651
+ :upload_url)
2652
+ SENSITIVE = []
2653
+ include Aws::Structure
2654
+ end
2655
+
2342
2656
  # A custom response string that Amazon Lex sends to your application.
2343
2657
  # You define the content and structure the string.
2344
2658
  #
@@ -2490,12 +2804,11 @@ module Aws::LexModelsV2
2490
2804
  # @!attribute [rw] locale_id
2491
2805
  # The identifier of the language and locale that will be deleted. The
2492
2806
  # string must match one of the supported locales. For more
2493
- # information, see
2494
- # [https://docs.aws.amazon.com/lex/latest/dg/supported-locales.html][1].
2807
+ # information, see [Supported languages][1].
2495
2808
  #
2496
2809
  #
2497
2810
  #
2498
- # [1]: https://docs.aws.amazon.com/lex/latest/dg/supported-locales.html
2811
+ # [1]: https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html
2499
2812
  # @return [String]
2500
2813
  #
2501
2814
  # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DeleteBotLocaleRequest AWS API Documentation
@@ -2638,82 +2951,156 @@ module Aws::LexModelsV2
2638
2951
  include Aws::Structure
2639
2952
  end
2640
2953
 
2641
- # @note When making an API call, you may pass DeleteIntentRequest
2954
+ # @note When making an API call, you may pass DeleteExportRequest
2642
2955
  # data as a hash:
2643
2956
  #
2644
2957
  # {
2645
- # intent_id: "Id", # required
2646
- # bot_id: "Id", # required
2647
- # bot_version: "DraftBotVersion", # required
2648
- # locale_id: "LocaleId", # required
2958
+ # export_id: "Id", # required
2649
2959
  # }
2650
2960
  #
2651
- # @!attribute [rw] intent_id
2652
- # The unique identifier of the intent to delete.
2961
+ # @!attribute [rw] export_id
2962
+ # The unique identifier of the export to delete.
2653
2963
  # @return [String]
2654
2964
  #
2655
- # @!attribute [rw] bot_id
2656
- # The identifier of the bot associated with the intent.
2657
- # @return [String]
2965
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DeleteExportRequest AWS API Documentation
2658
2966
  #
2659
- # @!attribute [rw] bot_version
2660
- # The version of the bot associated with the intent.
2967
+ class DeleteExportRequest < Struct.new(
2968
+ :export_id)
2969
+ SENSITIVE = []
2970
+ include Aws::Structure
2971
+ end
2972
+
2973
+ # @!attribute [rw] export_id
2974
+ # The unique identifier of the deleted export.
2661
2975
  # @return [String]
2662
2976
  #
2663
- # @!attribute [rw] locale_id
2664
- # The identifier of the language and locale where the bot will be
2665
- # deleted. The string must match one of the supported locales. For
2666
- # more information, see
2667
- # [https://docs.aws.amazon.com/lex/latest/dg/supported-locales.html][1].
2668
- #
2669
- #
2670
- #
2671
- # [1]: https://docs.aws.amazon.com/lex/latest/dg/supported-locales.html
2977
+ # @!attribute [rw] export_status
2978
+ # The current status of the deletion. When the deletion is complete,
2979
+ # the export will no longer be returned by the operation and calls to
2980
+ # the with the export identifier will fail.
2672
2981
  # @return [String]
2673
2982
  #
2674
- # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DeleteIntentRequest AWS API Documentation
2983
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DeleteExportResponse AWS API Documentation
2675
2984
  #
2676
- class DeleteIntentRequest < Struct.new(
2677
- :intent_id,
2678
- :bot_id,
2679
- :bot_version,
2680
- :locale_id)
2985
+ class DeleteExportResponse < Struct.new(
2986
+ :export_id,
2987
+ :export_status)
2681
2988
  SENSITIVE = []
2682
2989
  include Aws::Structure
2683
2990
  end
2684
2991
 
2685
- # @note When making an API call, you may pass DeleteSlotRequest
2992
+ # @note When making an API call, you may pass DeleteImportRequest
2686
2993
  # data as a hash:
2687
2994
  #
2688
2995
  # {
2689
- # slot_id: "Id", # required
2690
- # bot_id: "Id", # required
2691
- # bot_version: "DraftBotVersion", # required
2692
- # locale_id: "LocaleId", # required
2693
- # intent_id: "Id", # required
2996
+ # import_id: "Id", # required
2694
2997
  # }
2695
2998
  #
2696
- # @!attribute [rw] slot_id
2697
- # The identifier of the slot to delete.
2999
+ # @!attribute [rw] import_id
3000
+ # The unique identifier of the import to delete.
2698
3001
  # @return [String]
2699
3002
  #
2700
- # @!attribute [rw] bot_id
2701
- # The identifier of the bot associated with the slot to delete.
2702
- # @return [String]
3003
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DeleteImportRequest AWS API Documentation
2703
3004
  #
2704
- # @!attribute [rw] bot_version
3005
+ class DeleteImportRequest < Struct.new(
3006
+ :import_id)
3007
+ SENSITIVE = []
3008
+ include Aws::Structure
3009
+ end
3010
+
3011
+ # @!attribute [rw] import_id
3012
+ # The unique identifier of the deleted import.
3013
+ # @return [String]
3014
+ #
3015
+ # @!attribute [rw] import_status
3016
+ # The current status of the deletion. When the deletion is complete,
3017
+ # the import will no longer be returned by the operation and calls to
3018
+ # the with the import identifier will fail.
3019
+ # @return [String]
3020
+ #
3021
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DeleteImportResponse AWS API Documentation
3022
+ #
3023
+ class DeleteImportResponse < Struct.new(
3024
+ :import_id,
3025
+ :import_status)
3026
+ SENSITIVE = []
3027
+ include Aws::Structure
3028
+ end
3029
+
3030
+ # @note When making an API call, you may pass DeleteIntentRequest
3031
+ # data as a hash:
3032
+ #
3033
+ # {
3034
+ # intent_id: "Id", # required
3035
+ # bot_id: "Id", # required
3036
+ # bot_version: "DraftBotVersion", # required
3037
+ # locale_id: "LocaleId", # required
3038
+ # }
3039
+ #
3040
+ # @!attribute [rw] intent_id
3041
+ # The unique identifier of the intent to delete.
3042
+ # @return [String]
3043
+ #
3044
+ # @!attribute [rw] bot_id
3045
+ # The identifier of the bot associated with the intent.
3046
+ # @return [String]
3047
+ #
3048
+ # @!attribute [rw] bot_version
3049
+ # The version of the bot associated with the intent.
3050
+ # @return [String]
3051
+ #
3052
+ # @!attribute [rw] locale_id
3053
+ # The identifier of the language and locale where the bot will be
3054
+ # deleted. The string must match one of the supported locales. For
3055
+ # more information, see [Supported languages][1].
3056
+ #
3057
+ #
3058
+ #
3059
+ # [1]: https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html
3060
+ # @return [String]
3061
+ #
3062
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DeleteIntentRequest AWS API Documentation
3063
+ #
3064
+ class DeleteIntentRequest < Struct.new(
3065
+ :intent_id,
3066
+ :bot_id,
3067
+ :bot_version,
3068
+ :locale_id)
3069
+ SENSITIVE = []
3070
+ include Aws::Structure
3071
+ end
3072
+
3073
+ # @note When making an API call, you may pass DeleteSlotRequest
3074
+ # data as a hash:
3075
+ #
3076
+ # {
3077
+ # slot_id: "Id", # required
3078
+ # bot_id: "Id", # required
3079
+ # bot_version: "DraftBotVersion", # required
3080
+ # locale_id: "LocaleId", # required
3081
+ # intent_id: "Id", # required
3082
+ # }
3083
+ #
3084
+ # @!attribute [rw] slot_id
3085
+ # The identifier of the slot to delete.
3086
+ # @return [String]
3087
+ #
3088
+ # @!attribute [rw] bot_id
3089
+ # The identifier of the bot associated with the slot to delete.
3090
+ # @return [String]
3091
+ #
3092
+ # @!attribute [rw] bot_version
2705
3093
  # The version of the bot associated with the slot to delete.
2706
3094
  # @return [String]
2707
3095
  #
2708
3096
  # @!attribute [rw] locale_id
2709
3097
  # The identifier of the language and locale that the slot will be
2710
3098
  # deleted from. The string must match one of the supported locales.
2711
- # For more information, see
2712
- # [https://docs.aws.amazon.com/lex/latest/dg/supported-locales.html][1].
3099
+ # For more information, see [Supported languages][1].
2713
3100
  #
2714
3101
  #
2715
3102
  #
2716
- # [1]: https://docs.aws.amazon.com/lex/latest/dg/supported-locales.html
3103
+ # [1]: https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html
2717
3104
  # @return [String]
2718
3105
  #
2719
3106
  # @!attribute [rw] intent_id
@@ -2758,12 +3145,11 @@ module Aws::LexModelsV2
2758
3145
  # @!attribute [rw] locale_id
2759
3146
  # The identifier of the language and locale that the slot type will be
2760
3147
  # deleted from. The string must match one of the supported locales.
2761
- # For more information, see
2762
- # [https://docs.aws.amazon.com/lex/latest/dg/supported-locales.html][1].
3148
+ # For more information, see [Supported languages][1].
2763
3149
  #
2764
3150
  #
2765
3151
  #
2766
- # [1]: https://docs.aws.amazon.com/lex/latest/dg/supported-locales.html
3152
+ # [1]: https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html
2767
3153
  # @return [String]
2768
3154
  #
2769
3155
  # @!attribute [rw] skip_resource_in_use_check
@@ -2901,11 +3287,11 @@ module Aws::LexModelsV2
2901
3287
  # @!attribute [rw] locale_id
2902
3288
  # The unique identifier of the locale to describe. The string must
2903
3289
  # match one of the supported locales. For more information, see
2904
- # [https://docs.aws.amazon.com/lex/latest/dg/supported-locales.html][1].
3290
+ # [Supported languages][1].
2905
3291
  #
2906
3292
  #
2907
3293
  #
2908
- # [1]: https://docs.aws.amazon.com/lex/latest/dg/supported-locales.html
3294
+ # [1]: https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html
2909
3295
  # @return [String]
2910
3296
  #
2911
3297
  # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DescribeBotLocaleRequest AWS API Documentation
@@ -3168,6 +3554,155 @@ module Aws::LexModelsV2
3168
3554
  include Aws::Structure
3169
3555
  end
3170
3556
 
3557
+ # @note When making an API call, you may pass DescribeExportRequest
3558
+ # data as a hash:
3559
+ #
3560
+ # {
3561
+ # export_id: "Id", # required
3562
+ # }
3563
+ #
3564
+ # @!attribute [rw] export_id
3565
+ # The unique identifier of the export to describe.
3566
+ # @return [String]
3567
+ #
3568
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DescribeExportRequest AWS API Documentation
3569
+ #
3570
+ class DescribeExportRequest < Struct.new(
3571
+ :export_id)
3572
+ SENSITIVE = []
3573
+ include Aws::Structure
3574
+ end
3575
+
3576
+ # @!attribute [rw] export_id
3577
+ # The unique identifier of the described export.
3578
+ # @return [String]
3579
+ #
3580
+ # @!attribute [rw] resource_specification
3581
+ # The bot, bot ID, and optional locale ID of the exported bot or bot
3582
+ # locale.
3583
+ # @return [Types::ExportResourceSpecification]
3584
+ #
3585
+ # @!attribute [rw] file_format
3586
+ # The file format used in the files that describe the bot or bot
3587
+ # locale.
3588
+ # @return [String]
3589
+ #
3590
+ # @!attribute [rw] export_status
3591
+ # The status of the export. When the status is `Complete` the export
3592
+ # archive file is available for download.
3593
+ # @return [String]
3594
+ #
3595
+ # @!attribute [rw] failure_reasons
3596
+ # If the `exportStatus` is failed, contains one or more reasons why
3597
+ # the export could not be completed.
3598
+ # @return [Array<String>]
3599
+ #
3600
+ # @!attribute [rw] download_url
3601
+ # A pre-signed S3 URL that points to the bot or bot locale archive.
3602
+ # The URL is only available for 5 minutes after calling the
3603
+ # `DescribeExport` operation.
3604
+ # @return [String]
3605
+ #
3606
+ # @!attribute [rw] creation_date_time
3607
+ # The date and time that the export was created.
3608
+ # @return [Time]
3609
+ #
3610
+ # @!attribute [rw] last_updated_date_time
3611
+ # The last date and time that the export was updated.
3612
+ # @return [Time]
3613
+ #
3614
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DescribeExportResponse AWS API Documentation
3615
+ #
3616
+ class DescribeExportResponse < Struct.new(
3617
+ :export_id,
3618
+ :resource_specification,
3619
+ :file_format,
3620
+ :export_status,
3621
+ :failure_reasons,
3622
+ :download_url,
3623
+ :creation_date_time,
3624
+ :last_updated_date_time)
3625
+ SENSITIVE = []
3626
+ include Aws::Structure
3627
+ end
3628
+
3629
+ # @note When making an API call, you may pass DescribeImportRequest
3630
+ # data as a hash:
3631
+ #
3632
+ # {
3633
+ # import_id: "Id", # required
3634
+ # }
3635
+ #
3636
+ # @!attribute [rw] import_id
3637
+ # The unique identifier of the import to describe.
3638
+ # @return [String]
3639
+ #
3640
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DescribeImportRequest AWS API Documentation
3641
+ #
3642
+ class DescribeImportRequest < Struct.new(
3643
+ :import_id)
3644
+ SENSITIVE = []
3645
+ include Aws::Structure
3646
+ end
3647
+
3648
+ # @!attribute [rw] import_id
3649
+ # The unique identifier of the described import.
3650
+ # @return [String]
3651
+ #
3652
+ # @!attribute [rw] resource_specification
3653
+ # The specifications of the imported bot or bot locale.
3654
+ # @return [Types::ImportResourceSpecification]
3655
+ #
3656
+ # @!attribute [rw] imported_resource_id
3657
+ # The unique identifier that Amazon Lex assigned to the resource
3658
+ # created by the import.
3659
+ # @return [String]
3660
+ #
3661
+ # @!attribute [rw] imported_resource_name
3662
+ # The name of the imported resource.
3663
+ # @return [String]
3664
+ #
3665
+ # @!attribute [rw] merge_strategy
3666
+ # The strategy used when there was a name conflict between the
3667
+ # imported resource and an existing resource. When the merge strategy
3668
+ # is `FailOnConflict` existing resources are not overwritten and the
3669
+ # import fails.
3670
+ # @return [String]
3671
+ #
3672
+ # @!attribute [rw] import_status
3673
+ # The status of the import process. When the status is `Completed` the
3674
+ # resource is imported and ready for use.
3675
+ # @return [String]
3676
+ #
3677
+ # @!attribute [rw] failure_reasons
3678
+ # If the `importStatus` field is `Failed`, this provides one or more
3679
+ # reasons for the failture.
3680
+ # @return [Array<String>]
3681
+ #
3682
+ # @!attribute [rw] creation_date_time
3683
+ # The date and time that the import was created.
3684
+ # @return [Time]
3685
+ #
3686
+ # @!attribute [rw] last_updated_date_time
3687
+ # The date and time that the import was last updated.
3688
+ # @return [Time]
3689
+ #
3690
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DescribeImportResponse AWS API Documentation
3691
+ #
3692
+ class DescribeImportResponse < Struct.new(
3693
+ :import_id,
3694
+ :resource_specification,
3695
+ :imported_resource_id,
3696
+ :imported_resource_name,
3697
+ :merge_strategy,
3698
+ :import_status,
3699
+ :failure_reasons,
3700
+ :creation_date_time,
3701
+ :last_updated_date_time)
3702
+ SENSITIVE = []
3703
+ include Aws::Structure
3704
+ end
3705
+
3171
3706
  # @note When making an API call, you may pass DescribeIntentRequest
3172
3707
  # data as a hash:
3173
3708
  #
@@ -3193,12 +3728,11 @@ module Aws::LexModelsV2
3193
3728
  # @!attribute [rw] locale_id
3194
3729
  # The identifier of the language and locale of the intent to describe.
3195
3730
  # The string must match one of the supported locales. For more
3196
- # information, see
3197
- # [https://docs.aws.amazon.com/lex/latest/dg/supported-locales.html][1].
3731
+ # information, see [Supported languages][1].
3198
3732
  #
3199
3733
  #
3200
3734
  #
3201
- # [1]: https://docs.aws.amazon.com/lex/latest/dg/supported-locales.html
3735
+ # [1]: https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html
3202
3736
  # @return [String]
3203
3737
  #
3204
3738
  # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DescribeIntentRequest AWS API Documentation
@@ -3342,12 +3876,11 @@ module Aws::LexModelsV2
3342
3876
  # @!attribute [rw] locale_id
3343
3877
  # The identifier of the language and locale of the slot to describe.
3344
3878
  # The string must match one of the supported locales. For more
3345
- # information, see
3346
- # [https://docs.aws.amazon.com/lex/latest/dg/supported-locales.html][1].
3879
+ # information, see [Supported languages][1].
3347
3880
  #
3348
3881
  #
3349
3882
  #
3350
- # [1]: https://docs.aws.amazon.com/lex/latest/dg/supported-locales.html
3883
+ # [1]: https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html
3351
3884
  # @return [String]
3352
3885
  #
3353
3886
  # @!attribute [rw] intent_id
@@ -3460,12 +3993,11 @@ module Aws::LexModelsV2
3460
3993
  # @!attribute [rw] locale_id
3461
3994
  # The identifier of the language and locale of the slot type to
3462
3995
  # describe. The string must match one of the supported locales. For
3463
- # more information, see
3464
- # [https://docs.aws.amazon.com/lex/latest/dg/supported-locales.html][1].
3996
+ # more information, see [Supported languages][1].
3465
3997
  #
3466
3998
  #
3467
3999
  #
3468
- # [1]: https://docs.aws.amazon.com/lex/latest/dg/supported-locales.html
4000
+ # [1]: https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html
3469
4001
  # @return [String]
3470
4002
  #
3471
4003
  # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DescribeSlotTypeRequest AWS API Documentation
@@ -3566,6 +4098,145 @@ module Aws::LexModelsV2
3566
4098
  include Aws::Structure
3567
4099
  end
3568
4100
 
4101
+ # Filtes the response form the operation
4102
+ #
4103
+ # @note When making an API call, you may pass ExportFilter
4104
+ # data as a hash:
4105
+ #
4106
+ # {
4107
+ # name: "ExportResourceType", # required, accepts ExportResourceType
4108
+ # values: ["FilterValue"], # required
4109
+ # operator: "CO", # required, accepts CO, EQ
4110
+ # }
4111
+ #
4112
+ # @!attribute [rw] name
4113
+ # The name of the field to use for filtering.
4114
+ # @return [String]
4115
+ #
4116
+ # @!attribute [rw] values
4117
+ # The values to use to fileter the response.
4118
+ # @return [Array<String>]
4119
+ #
4120
+ # @!attribute [rw] operator
4121
+ # The operator to use for the filter. Specify EQ when the
4122
+ # `ListExports` operation should return only resource types that equal
4123
+ # the specified value. Specify CO when the `ListExports` operation
4124
+ # should return resource types that contain the specified value.
4125
+ # @return [String]
4126
+ #
4127
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ExportFilter AWS API Documentation
4128
+ #
4129
+ class ExportFilter < Struct.new(
4130
+ :name,
4131
+ :values,
4132
+ :operator)
4133
+ SENSITIVE = []
4134
+ include Aws::Structure
4135
+ end
4136
+
4137
+ # Provides information about the bot or bot locale that you want to
4138
+ # export. You can specify the `botExportSpecification` or the
4139
+ # `botLocaleExportSpecification`, but not both.
4140
+ #
4141
+ # @note When making an API call, you may pass ExportResourceSpecification
4142
+ # data as a hash:
4143
+ #
4144
+ # {
4145
+ # bot_export_specification: {
4146
+ # bot_id: "Id", # required
4147
+ # bot_version: "BotVersion", # required
4148
+ # },
4149
+ # bot_locale_export_specification: {
4150
+ # bot_id: "Id", # required
4151
+ # bot_version: "BotVersion", # required
4152
+ # locale_id: "LocaleId", # required
4153
+ # },
4154
+ # }
4155
+ #
4156
+ # @!attribute [rw] bot_export_specification
4157
+ # Parameters for exporting a bot.
4158
+ # @return [Types::BotExportSpecification]
4159
+ #
4160
+ # @!attribute [rw] bot_locale_export_specification
4161
+ # Parameters for exporting a bot locale.
4162
+ # @return [Types::BotLocaleExportSpecification]
4163
+ #
4164
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ExportResourceSpecification AWS API Documentation
4165
+ #
4166
+ class ExportResourceSpecification < Struct.new(
4167
+ :bot_export_specification,
4168
+ :bot_locale_export_specification)
4169
+ SENSITIVE = []
4170
+ include Aws::Structure
4171
+ end
4172
+
4173
+ # Provides information about sorting a list of exports.
4174
+ #
4175
+ # @note When making an API call, you may pass ExportSortBy
4176
+ # data as a hash:
4177
+ #
4178
+ # {
4179
+ # attribute: "LastUpdatedDateTime", # required, accepts LastUpdatedDateTime
4180
+ # order: "Ascending", # required, accepts Ascending, Descending
4181
+ # }
4182
+ #
4183
+ # @!attribute [rw] attribute
4184
+ # The export field to use for sorting.
4185
+ # @return [String]
4186
+ #
4187
+ # @!attribute [rw] order
4188
+ # The order to sort the list.
4189
+ # @return [String]
4190
+ #
4191
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ExportSortBy AWS API Documentation
4192
+ #
4193
+ class ExportSortBy < Struct.new(
4194
+ :attribute,
4195
+ :order)
4196
+ SENSITIVE = []
4197
+ include Aws::Structure
4198
+ end
4199
+
4200
+ # Provides summary information about an export in an export list.
4201
+ #
4202
+ # @!attribute [rw] export_id
4203
+ # The unique identifier that Amazon Lex assigned to the export.
4204
+ # @return [String]
4205
+ #
4206
+ # @!attribute [rw] resource_specification
4207
+ # Information about the bot or bot locale that was exported.
4208
+ # @return [Types::ExportResourceSpecification]
4209
+ #
4210
+ # @!attribute [rw] file_format
4211
+ # The file format used in the export files.
4212
+ # @return [String]
4213
+ #
4214
+ # @!attribute [rw] export_status
4215
+ # The status of the export. When the status is `Completed` the export
4216
+ # is ready to download.
4217
+ # @return [String]
4218
+ #
4219
+ # @!attribute [rw] creation_date_time
4220
+ # The date and time that the export was created.
4221
+ # @return [Time]
4222
+ #
4223
+ # @!attribute [rw] last_updated_date_time
4224
+ # The date and time that the export was last updated.
4225
+ # @return [Time]
4226
+ #
4227
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ExportSummary AWS API Documentation
4228
+ #
4229
+ class ExportSummary < Struct.new(
4230
+ :export_id,
4231
+ :resource_specification,
4232
+ :file_format,
4233
+ :export_status,
4234
+ :creation_date_time,
4235
+ :last_updated_date_time)
4236
+ SENSITIVE = []
4237
+ include Aws::Structure
4238
+ end
4239
+
3569
4240
  # Determines if a Lambda function should be invoked for a specific
3570
4241
  # intent.
3571
4242
  #
@@ -3598,47 +4269,207 @@ module Aws::LexModelsV2
3598
4269
  # @note When making an API call, you may pass ImageResponseCard
3599
4270
  # data as a hash:
3600
4271
  #
3601
- # {
3602
- # title: "AttachmentTitle", # required
3603
- # subtitle: "AttachmentTitle",
3604
- # image_url: "AttachmentUrl",
3605
- # buttons: [
3606
- # {
3607
- # text: "ButtonText", # required
3608
- # value: "ButtonValue", # required
3609
- # },
3610
- # ],
3611
- # }
4272
+ # {
4273
+ # title: "AttachmentTitle", # required
4274
+ # subtitle: "AttachmentTitle",
4275
+ # image_url: "AttachmentUrl",
4276
+ # buttons: [
4277
+ # {
4278
+ # text: "ButtonText", # required
4279
+ # value: "ButtonValue", # required
4280
+ # },
4281
+ # ],
4282
+ # }
4283
+ #
4284
+ # @!attribute [rw] title
4285
+ # The title to display on the response card. The format of the title
4286
+ # is determined by the platform displaying the response card.
4287
+ # @return [String]
4288
+ #
4289
+ # @!attribute [rw] subtitle
4290
+ # The subtitle to display on the response card. The format of the
4291
+ # subtitle is determined by the platform displaying the response card.
4292
+ # @return [String]
4293
+ #
4294
+ # @!attribute [rw] image_url
4295
+ # The URL of an image to display on the response card. The image URL
4296
+ # must be publicly available so that the platform displaying the
4297
+ # response card has access to the image.
4298
+ # @return [String]
4299
+ #
4300
+ # @!attribute [rw] buttons
4301
+ # A list of buttons that should be displayed on the response card. The
4302
+ # arrangement of the buttons is determined by the platform that
4303
+ # displays the button.
4304
+ # @return [Array<Types::Button>]
4305
+ #
4306
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ImageResponseCard AWS API Documentation
4307
+ #
4308
+ class ImageResponseCard < Struct.new(
4309
+ :title,
4310
+ :subtitle,
4311
+ :image_url,
4312
+ :buttons)
4313
+ SENSITIVE = []
4314
+ include Aws::Structure
4315
+ end
4316
+
4317
+ # Filters the response from the operation.
4318
+ #
4319
+ # @note When making an API call, you may pass ImportFilter
4320
+ # data as a hash:
4321
+ #
4322
+ # {
4323
+ # name: "ImportResourceType", # required, accepts ImportResourceType
4324
+ # values: ["FilterValue"], # required
4325
+ # operator: "CO", # required, accepts CO, EQ
4326
+ # }
4327
+ #
4328
+ # @!attribute [rw] name
4329
+ # The name of the field to use for filtering.
4330
+ # @return [String]
4331
+ #
4332
+ # @!attribute [rw] values
4333
+ # The values to use to filter the response.
4334
+ # @return [Array<String>]
4335
+ #
4336
+ # @!attribute [rw] operator
4337
+ # The operator to use for the filter. Specify EQ when the
4338
+ # `ListImports` operation should return only resource types that equal
4339
+ # the specified value. Specify CO when the `ListImports` operation
4340
+ # should return resource types that contain the specified value.
4341
+ # @return [String]
4342
+ #
4343
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ImportFilter AWS API Documentation
4344
+ #
4345
+ class ImportFilter < Struct.new(
4346
+ :name,
4347
+ :values,
4348
+ :operator)
4349
+ SENSITIVE = []
4350
+ include Aws::Structure
4351
+ end
4352
+
4353
+ # Provides information about the bot or bot locale that you want to
4354
+ # import. You can sepcifiy the `botImportSpecification` or the
4355
+ # `botLocaleImportSpecification`, but not both.
4356
+ #
4357
+ # @note When making an API call, you may pass ImportResourceSpecification
4358
+ # data as a hash:
4359
+ #
4360
+ # {
4361
+ # bot_import_specification: {
4362
+ # bot_name: "Name", # required
4363
+ # role_arn: "RoleArn", # required
4364
+ # data_privacy: { # required
4365
+ # child_directed: false, # required
4366
+ # },
4367
+ # idle_session_ttl_in_seconds: 1,
4368
+ # bot_tags: {
4369
+ # "TagKey" => "TagValue",
4370
+ # },
4371
+ # test_bot_alias_tags: {
4372
+ # "TagKey" => "TagValue",
4373
+ # },
4374
+ # },
4375
+ # bot_locale_import_specification: {
4376
+ # bot_id: "Id", # required
4377
+ # bot_version: "DraftBotVersion", # required
4378
+ # locale_id: "LocaleId", # required
4379
+ # nlu_intent_confidence_threshold: 1.0,
4380
+ # voice_settings: {
4381
+ # voice_id: "VoiceId", # required
4382
+ # },
4383
+ # },
4384
+ # }
4385
+ #
4386
+ # @!attribute [rw] bot_import_specification
4387
+ # Parameters for importing a bot.
4388
+ # @return [Types::BotImportSpecification]
4389
+ #
4390
+ # @!attribute [rw] bot_locale_import_specification
4391
+ # Parameters for importing a bot locale.
4392
+ # @return [Types::BotLocaleImportSpecification]
4393
+ #
4394
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ImportResourceSpecification AWS API Documentation
4395
+ #
4396
+ class ImportResourceSpecification < Struct.new(
4397
+ :bot_import_specification,
4398
+ :bot_locale_import_specification)
4399
+ SENSITIVE = []
4400
+ include Aws::Structure
4401
+ end
4402
+
4403
+ # Provides information for sorting a list of imports.
4404
+ #
4405
+ # @note When making an API call, you may pass ImportSortBy
4406
+ # data as a hash:
4407
+ #
4408
+ # {
4409
+ # attribute: "LastUpdatedDateTime", # required, accepts LastUpdatedDateTime
4410
+ # order: "Ascending", # required, accepts Ascending, Descending
4411
+ # }
4412
+ #
4413
+ # @!attribute [rw] attribute
4414
+ # The export field to use for sorting.
4415
+ # @return [String]
4416
+ #
4417
+ # @!attribute [rw] order
4418
+ # The order to sort the list.
4419
+ # @return [String]
4420
+ #
4421
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ImportSortBy AWS API Documentation
4422
+ #
4423
+ class ImportSortBy < Struct.new(
4424
+ :attribute,
4425
+ :order)
4426
+ SENSITIVE = []
4427
+ include Aws::Structure
4428
+ end
4429
+
4430
+ # Provides summary information about an import in an import list.
4431
+ #
4432
+ # @!attribute [rw] import_id
4433
+ # The unique identifier that Amazon Lex assigned to the import.
4434
+ # @return [String]
4435
+ #
4436
+ # @!attribute [rw] imported_resource_id
4437
+ # The unique identifier that Amazon Lex assigned to the imported
4438
+ # resource.
4439
+ # @return [String]
3612
4440
  #
3613
- # @!attribute [rw] title
3614
- # The title to display on the response card. The format of the title
3615
- # is determined by the platform displaying the response card.
4441
+ # @!attribute [rw] imported_resource_name
4442
+ # The name that you gave the imported resource.
3616
4443
  # @return [String]
3617
4444
  #
3618
- # @!attribute [rw] subtitle
3619
- # The subtitle to display on the response card. The format of the
3620
- # subtitle is determined by the platform displaying the response card.
4445
+ # @!attribute [rw] import_status
4446
+ # The status of the resource. When the status is `Completed` the
4447
+ # resource is ready to build.
3621
4448
  # @return [String]
3622
4449
  #
3623
- # @!attribute [rw] image_url
3624
- # The URL of an image to display on the response card. The image URL
3625
- # must be publicly available so that the platform displaying the
3626
- # response card has access to the image.
4450
+ # @!attribute [rw] merge_strategy
4451
+ # The strategy used to merge existing bot or bot locale definitions
4452
+ # with the imported definition.
3627
4453
  # @return [String]
3628
4454
  #
3629
- # @!attribute [rw] buttons
3630
- # A list of buttons that should be displayed on the response card. The
3631
- # arrangement of the buttons is determined by the platform that
3632
- # displays the button.
3633
- # @return [Array<Types::Button>]
4455
+ # @!attribute [rw] creation_date_time
4456
+ # The date and time that the import was created.
4457
+ # @return [Time]
3634
4458
  #
3635
- # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ImageResponseCard AWS API Documentation
4459
+ # @!attribute [rw] last_updated_date_time
4460
+ # The date and time that the import was last updated.
4461
+ # @return [Time]
3636
4462
  #
3637
- class ImageResponseCard < Struct.new(
3638
- :title,
3639
- :subtitle,
3640
- :image_url,
3641
- :buttons)
4463
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ImportSummary AWS API Documentation
4464
+ #
4465
+ class ImportSummary < Struct.new(
4466
+ :import_id,
4467
+ :imported_resource_id,
4468
+ :imported_resource_name,
4469
+ :import_status,
4470
+ :merge_strategy,
4471
+ :creation_date_time,
4472
+ :last_updated_date_time)
3642
4473
  SENSITIVE = []
3643
4474
  include Aws::Structure
3644
4475
  end
@@ -4418,12 +5249,11 @@ module Aws::LexModelsV2
4418
5249
  # @!attribute [rw] locale_id
4419
5250
  # The identifier of the language and locale of the intents to list.
4420
5251
  # The string must match one of the supported locales. For more
4421
- # information, see
4422
- # [https://docs.aws.amazon.com/lex/latest/dg/supported-locales.html][1].
5252
+ # information, see [Supported languages][1].
4423
5253
  #
4424
5254
  #
4425
5255
  #
4426
- # [1]: https://docs.aws.amazon.com/lex/latest/dg/supported-locales.html
5256
+ # [1]: https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html
4427
5257
  # @return [String]
4428
5258
  #
4429
5259
  # @!attribute [rw] sort_by
@@ -4502,12 +5332,11 @@ module Aws::LexModelsV2
4502
5332
  # @!attribute [rw] locale_id
4503
5333
  # The identifier of the language and locale of the slot types to list.
4504
5334
  # The string must match one of the supported locales. For more
4505
- # information, see
4506
- # [https://docs.aws.amazon.com/lex/latest/dg/supported-locales.html][1].
5335
+ # information, see [Supported languages][1].
4507
5336
  #
4508
5337
  #
4509
5338
  #
4510
- # [1]: https://docs.aws.amazon.com/lex/latest/dg/supported-locales.html
5339
+ # [1]: https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html
4511
5340
  # @return [String]
4512
5341
  #
4513
5342
  # @!attribute [rw] sort_by
@@ -4570,6 +5399,206 @@ module Aws::LexModelsV2
4570
5399
  include Aws::Structure
4571
5400
  end
4572
5401
 
5402
+ # @note When making an API call, you may pass ListExportsRequest
5403
+ # data as a hash:
5404
+ #
5405
+ # {
5406
+ # bot_id: "Id",
5407
+ # bot_version: "BotVersion",
5408
+ # sort_by: {
5409
+ # attribute: "LastUpdatedDateTime", # required, accepts LastUpdatedDateTime
5410
+ # order: "Ascending", # required, accepts Ascending, Descending
5411
+ # },
5412
+ # filters: [
5413
+ # {
5414
+ # name: "ExportResourceType", # required, accepts ExportResourceType
5415
+ # values: ["FilterValue"], # required
5416
+ # operator: "CO", # required, accepts CO, EQ
5417
+ # },
5418
+ # ],
5419
+ # max_results: 1,
5420
+ # next_token: "NextToken",
5421
+ # }
5422
+ #
5423
+ # @!attribute [rw] bot_id
5424
+ # The unique identifier that Amazon Lex assigned to the bot.
5425
+ # @return [String]
5426
+ #
5427
+ # @!attribute [rw] bot_version
5428
+ # The version of the bot to list exports for.
5429
+ # @return [String]
5430
+ #
5431
+ # @!attribute [rw] sort_by
5432
+ # Determines the field that the list of exports is sorted by. You can
5433
+ # sort by the `LastUpdatedDateTime` field in ascending or descending
5434
+ # order.
5435
+ # @return [Types::ExportSortBy]
5436
+ #
5437
+ # @!attribute [rw] filters
5438
+ # Provides the specification of a filter used to limit the exports in
5439
+ # the response to only those that match the filter specification. You
5440
+ # can only specify one filter and one string to filter on.
5441
+ # @return [Array<Types::ExportFilter>]
5442
+ #
5443
+ # @!attribute [rw] max_results
5444
+ # The maximum number of exports to return in each page of results. If
5445
+ # there are fewer results than the max page size, only the actual
5446
+ # number of results are returned.
5447
+ # @return [Integer]
5448
+ #
5449
+ # @!attribute [rw] next_token
5450
+ # If the response from the `ListExports` operation contans more
5451
+ # results that specified in the `maxResults` parameter, a token is
5452
+ # returned in the response. Use that token in the `nextToken`
5453
+ # parameter to return the next page of results.
5454
+ # @return [String]
5455
+ #
5456
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ListExportsRequest AWS API Documentation
5457
+ #
5458
+ class ListExportsRequest < Struct.new(
5459
+ :bot_id,
5460
+ :bot_version,
5461
+ :sort_by,
5462
+ :filters,
5463
+ :max_results,
5464
+ :next_token)
5465
+ SENSITIVE = []
5466
+ include Aws::Structure
5467
+ end
5468
+
5469
+ # @!attribute [rw] bot_id
5470
+ # The unique identifier assigned to the bot by Amazon Lex.
5471
+ # @return [String]
5472
+ #
5473
+ # @!attribute [rw] bot_version
5474
+ # The version of the bot that was exported.
5475
+ # @return [String]
5476
+ #
5477
+ # @!attribute [rw] export_summaries
5478
+ # Summary information for the exports that meet the filter criteria
5479
+ # specified in the request. The length of the list is specified in the
5480
+ # `maxResults` parameter. If there are more exports available, the
5481
+ # `nextToken` field contains a token to get the next page of results.
5482
+ # @return [Array<Types::ExportSummary>]
5483
+ #
5484
+ # @!attribute [rw] next_token
5485
+ # A token that indicates whether there are more results to return in a
5486
+ # response to the `ListExports` operation. If the `nextToken` field is
5487
+ # present, you send the contents as the `nextToken` parameter of a
5488
+ # `ListExports` operation request to get the next page of results.
5489
+ # @return [String]
5490
+ #
5491
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ListExportsResponse AWS API Documentation
5492
+ #
5493
+ class ListExportsResponse < Struct.new(
5494
+ :bot_id,
5495
+ :bot_version,
5496
+ :export_summaries,
5497
+ :next_token)
5498
+ SENSITIVE = []
5499
+ include Aws::Structure
5500
+ end
5501
+
5502
+ # @note When making an API call, you may pass ListImportsRequest
5503
+ # data as a hash:
5504
+ #
5505
+ # {
5506
+ # bot_id: "Id",
5507
+ # bot_version: "DraftBotVersion",
5508
+ # sort_by: {
5509
+ # attribute: "LastUpdatedDateTime", # required, accepts LastUpdatedDateTime
5510
+ # order: "Ascending", # required, accepts Ascending, Descending
5511
+ # },
5512
+ # filters: [
5513
+ # {
5514
+ # name: "ImportResourceType", # required, accepts ImportResourceType
5515
+ # values: ["FilterValue"], # required
5516
+ # operator: "CO", # required, accepts CO, EQ
5517
+ # },
5518
+ # ],
5519
+ # max_results: 1,
5520
+ # next_token: "NextToken",
5521
+ # }
5522
+ #
5523
+ # @!attribute [rw] bot_id
5524
+ # The unique identifier that Amazon Lex assigned to the bot.
5525
+ # @return [String]
5526
+ #
5527
+ # @!attribute [rw] bot_version
5528
+ # The version of the bot to list imports for.
5529
+ # @return [String]
5530
+ #
5531
+ # @!attribute [rw] sort_by
5532
+ # Determines the field that the list of imports is sorted by. You can
5533
+ # sort by the `LastUpdatedDateTime` field in ascending or descending
5534
+ # order.
5535
+ # @return [Types::ImportSortBy]
5536
+ #
5537
+ # @!attribute [rw] filters
5538
+ # Provides the specification of a filter used to limit the bots in the
5539
+ # response to only those that match the filter specification. You can
5540
+ # only specify one filter and one string to filter on.
5541
+ # @return [Array<Types::ImportFilter>]
5542
+ #
5543
+ # @!attribute [rw] max_results
5544
+ # The maximum number of imports to return in each page of results. If
5545
+ # there are fewer results than the max page size, only the actual
5546
+ # number of results are returned.
5547
+ # @return [Integer]
5548
+ #
5549
+ # @!attribute [rw] next_token
5550
+ # If the response from the `ListImports` operation contains more
5551
+ # results than specified in the `maxResults` parameter, a token is
5552
+ # returned in the response. Use that token in the `nextToken`
5553
+ # parameter to return the next page of results.
5554
+ # @return [String]
5555
+ #
5556
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ListImportsRequest AWS API Documentation
5557
+ #
5558
+ class ListImportsRequest < Struct.new(
5559
+ :bot_id,
5560
+ :bot_version,
5561
+ :sort_by,
5562
+ :filters,
5563
+ :max_results,
5564
+ :next_token)
5565
+ SENSITIVE = []
5566
+ include Aws::Structure
5567
+ end
5568
+
5569
+ # @!attribute [rw] bot_id
5570
+ # The unique identifier assigned by Amazon Lex to the bot.
5571
+ # @return [String]
5572
+ #
5573
+ # @!attribute [rw] bot_version
5574
+ # The version of the bot that was imported. It will always be `DRAFT`.
5575
+ # @return [String]
5576
+ #
5577
+ # @!attribute [rw] import_summaries
5578
+ # Summary information for the imports that meet the filter criteria
5579
+ # specified in the request. The length of the list is specified in the
5580
+ # `maxResults` parameter. If there are more imports available, the
5581
+ # `nextToken` field contains a token to get the next page of results.
5582
+ # @return [Array<Types::ImportSummary>]
5583
+ #
5584
+ # @!attribute [rw] next_token
5585
+ # A token that indicates whether there are more results to return in a
5586
+ # response to the `ListImports` operation. If the `nextToken` field is
5587
+ # present, you send the contents as the `nextToken` parameter of a
5588
+ # `ListImports` operation request to get the next page of results.
5589
+ # @return [String]
5590
+ #
5591
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ListImportsResponse AWS API Documentation
5592
+ #
5593
+ class ListImportsResponse < Struct.new(
5594
+ :bot_id,
5595
+ :bot_version,
5596
+ :import_summaries,
5597
+ :next_token)
5598
+ SENSITIVE = []
5599
+ include Aws::Structure
5600
+ end
5601
+
4573
5602
  # @note When making an API call, you may pass ListIntentsRequest
4574
5603
  # data as a hash:
4575
5604
  #
@@ -4603,12 +5632,11 @@ module Aws::LexModelsV2
4603
5632
  # @!attribute [rw] locale_id
4604
5633
  # The identifier of the language and locale of the intents to list.
4605
5634
  # The string must match one of the supported locales. For more
4606
- # information, see
4607
- # [https://docs.aws.amazon.com/lex/latest/dg/supported-locales.html][1].
5635
+ # information, see [Supported languages][1].
4608
5636
  #
4609
5637
  #
4610
5638
  #
4611
- # [1]: https://docs.aws.amazon.com/lex/latest/dg/supported-locales.html
5639
+ # [1]: https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html
4612
5640
  # @return [String]
4613
5641
  #
4614
5642
  # @!attribute [rw] sort_by
@@ -4722,12 +5750,11 @@ module Aws::LexModelsV2
4722
5750
  # @!attribute [rw] locale_id
4723
5751
  # The identifier of the language and locale of the slot types to list.
4724
5752
  # The string must match one of the supported locales. For more
4725
- # information, see
4726
- # [https://docs.aws.amazon.com/lex/latest/dg/supported-locales.html][1].
5753
+ # information, see [Supported languages][1].
4727
5754
  #
4728
5755
  #
4729
5756
  #
4730
- # [1]: https://docs.aws.amazon.com/lex/latest/dg/supported-locales.html
5757
+ # [1]: https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html
4731
5758
  # @return [String]
4732
5759
  #
4733
5760
  # @!attribute [rw] sort_by
@@ -4842,12 +5869,11 @@ module Aws::LexModelsV2
4842
5869
  # @!attribute [rw] locale_id
4843
5870
  # The identifier of the language and locale of the slots to list. The
4844
5871
  # string must match one of the supported locales. For more
4845
- # information, see
4846
- # [https://docs.aws.amazon.com/lex/latest/dg/supported-locales.html][1].
5872
+ # information, see [Supported languages][1].
4847
5873
  #
4848
5874
  #
4849
5875
  #
4850
- # [1]: https://docs.aws.amazon.com/lex/latest/dg/supported-locales.html
5876
+ # [1]: https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html
4851
5877
  # @return [String]
4852
5878
  #
4853
5879
  # @!attribute [rw] intent_id
@@ -6181,6 +7207,109 @@ module Aws::LexModelsV2
6181
7207
  include Aws::Structure
6182
7208
  end
6183
7209
 
7210
+ # @note When making an API call, you may pass StartImportRequest
7211
+ # data as a hash:
7212
+ #
7213
+ # {
7214
+ # import_id: "Id", # required
7215
+ # resource_specification: { # required
7216
+ # bot_import_specification: {
7217
+ # bot_name: "Name", # required
7218
+ # role_arn: "RoleArn", # required
7219
+ # data_privacy: { # required
7220
+ # child_directed: false, # required
7221
+ # },
7222
+ # idle_session_ttl_in_seconds: 1,
7223
+ # bot_tags: {
7224
+ # "TagKey" => "TagValue",
7225
+ # },
7226
+ # test_bot_alias_tags: {
7227
+ # "TagKey" => "TagValue",
7228
+ # },
7229
+ # },
7230
+ # bot_locale_import_specification: {
7231
+ # bot_id: "Id", # required
7232
+ # bot_version: "DraftBotVersion", # required
7233
+ # locale_id: "LocaleId", # required
7234
+ # nlu_intent_confidence_threshold: 1.0,
7235
+ # voice_settings: {
7236
+ # voice_id: "VoiceId", # required
7237
+ # },
7238
+ # },
7239
+ # },
7240
+ # merge_strategy: "Overwrite", # required, accepts Overwrite, FailOnConflict
7241
+ # file_password: "ImportExportFilePassword",
7242
+ # }
7243
+ #
7244
+ # @!attribute [rw] import_id
7245
+ # The unique identifier for the import. It is included in the response
7246
+ # from the operation.
7247
+ # @return [String]
7248
+ #
7249
+ # @!attribute [rw] resource_specification
7250
+ # Parameters for creating the bot or bot locale.
7251
+ # @return [Types::ImportResourceSpecification]
7252
+ #
7253
+ # @!attribute [rw] merge_strategy
7254
+ # The strategy to use when there is a name conflict between the
7255
+ # imported resource and an existing resource. When the merge strategy
7256
+ # is `FailOnConflict` existing resources are not overwritten and the
7257
+ # import fails.
7258
+ # @return [String]
7259
+ #
7260
+ # @!attribute [rw] file_password
7261
+ # The password used to encrypt the zip archive that contains the bot
7262
+ # or bot locale definition. You should always encrypt the zip archive
7263
+ # to protect it during transit between your site and Amazon Lex.
7264
+ # @return [String]
7265
+ #
7266
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/StartImportRequest AWS API Documentation
7267
+ #
7268
+ class StartImportRequest < Struct.new(
7269
+ :import_id,
7270
+ :resource_specification,
7271
+ :merge_strategy,
7272
+ :file_password)
7273
+ SENSITIVE = [:file_password]
7274
+ include Aws::Structure
7275
+ end
7276
+
7277
+ # @!attribute [rw] import_id
7278
+ # A unique identifier for the import.
7279
+ # @return [String]
7280
+ #
7281
+ # @!attribute [rw] resource_specification
7282
+ # The parameters used when importing the bot or bot locale.
7283
+ # @return [Types::ImportResourceSpecification]
7284
+ #
7285
+ # @!attribute [rw] merge_strategy
7286
+ # The strategy used when there was a name conflict between the
7287
+ # imported resource and an existing resource. When the merge strategy
7288
+ # is `FailOnConflict` existing resources are not overwritten and the
7289
+ # import fails.
7290
+ # @return [String]
7291
+ #
7292
+ # @!attribute [rw] import_status
7293
+ # The current status of the import. When the status is `Complete` the
7294
+ # bot or bot alias is ready to use.
7295
+ # @return [String]
7296
+ #
7297
+ # @!attribute [rw] creation_date_time
7298
+ # The date and time that the import request was created.
7299
+ # @return [Time]
7300
+ #
7301
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/StartImportResponse AWS API Documentation
7302
+ #
7303
+ class StartImportResponse < Struct.new(
7304
+ :import_id,
7305
+ :resource_specification,
7306
+ :merge_strategy,
7307
+ :import_status,
7308
+ :creation_date_time)
7309
+ SENSITIVE = []
7310
+ include Aws::Structure
7311
+ end
7312
+
6184
7313
  # Defines the messages that Amazon Lex sends to a user to remind them
6185
7314
  # that the bot is waiting for a response.
6186
7315
  #
@@ -6603,11 +7732,11 @@ module Aws::LexModelsV2
6603
7732
  # @!attribute [rw] locale_id
6604
7733
  # The identifier of the language and locale to update. The string must
6605
7734
  # match one of the supported locales. For more information, see
6606
- # [https://docs.aws.amazon.com/lex/latest/dg/supported-locales.html][1].
7735
+ # [Supported languages][1].
6607
7736
  #
6608
7737
  #
6609
7738
  #
6610
- # [1]: https://docs.aws.amazon.com/lex/latest/dg/supported-locales.html
7739
+ # [1]: https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html
6611
7740
  # @return [String]
6612
7741
  #
6613
7742
  # @!attribute [rw] description
@@ -6823,6 +7952,70 @@ module Aws::LexModelsV2
6823
7952
  include Aws::Structure
6824
7953
  end
6825
7954
 
7955
+ # @note When making an API call, you may pass UpdateExportRequest
7956
+ # data as a hash:
7957
+ #
7958
+ # {
7959
+ # export_id: "Id", # required
7960
+ # file_password: "ImportExportFilePassword",
7961
+ # }
7962
+ #
7963
+ # @!attribute [rw] export_id
7964
+ # The unique identifier Amazon Lex assigned to the export.
7965
+ # @return [String]
7966
+ #
7967
+ # @!attribute [rw] file_password
7968
+ # The new password to use to encrypt the export zip archive.
7969
+ # @return [String]
7970
+ #
7971
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/UpdateExportRequest AWS API Documentation
7972
+ #
7973
+ class UpdateExportRequest < Struct.new(
7974
+ :export_id,
7975
+ :file_password)
7976
+ SENSITIVE = [:file_password]
7977
+ include Aws::Structure
7978
+ end
7979
+
7980
+ # @!attribute [rw] export_id
7981
+ # The unique identifier Amazon Lex assigned to the export.
7982
+ # @return [String]
7983
+ #
7984
+ # @!attribute [rw] resource_specification
7985
+ # A description of the type of resource that was exported, either a
7986
+ # bot or a bot locale.
7987
+ # @return [Types::ExportResourceSpecification]
7988
+ #
7989
+ # @!attribute [rw] file_format
7990
+ # The file format used for the files that define the resource.
7991
+ # @return [String]
7992
+ #
7993
+ # @!attribute [rw] export_status
7994
+ # The status of the export. When the status is `Completed` the export
7995
+ # archive is available for download.
7996
+ # @return [String]
7997
+ #
7998
+ # @!attribute [rw] creation_date_time
7999
+ # The date and time that the export was created.
8000
+ # @return [Time]
8001
+ #
8002
+ # @!attribute [rw] last_updated_date_time
8003
+ # The date and time that the export was last updated.
8004
+ # @return [Time]
8005
+ #
8006
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/UpdateExportResponse AWS API Documentation
8007
+ #
8008
+ class UpdateExportResponse < Struct.new(
8009
+ :export_id,
8010
+ :resource_specification,
8011
+ :file_format,
8012
+ :export_status,
8013
+ :creation_date_time,
8014
+ :last_updated_date_time)
8015
+ SENSITIVE = []
8016
+ include Aws::Structure
8017
+ end
8018
+
6826
8019
  # @note When making an API call, you may pass UpdateIntentRequest
6827
8020
  # data as a hash:
6828
8021
  #
@@ -7105,12 +8298,11 @@ module Aws::LexModelsV2
7105
8298
  # @!attribute [rw] locale_id
7106
8299
  # The identifier of the language and locale where this intent is used.
7107
8300
  # The string must match one of the supported locales. For more
7108
- # information, see
7109
- # [https://docs.aws.amazon.com/lex/latest/dg/supported-locales.html][1].
8301
+ # information, see [Supported languages][1].
7110
8302
  #
7111
8303
  #
7112
8304
  #
7113
- # [1]: https://docs.aws.amazon.com/lex/latest/dg/supported-locales.html
8305
+ # [1]: https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html
7114
8306
  # @return [String]
7115
8307
  #
7116
8308
  # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/UpdateIntentRequest AWS API Documentation
@@ -7530,12 +8722,11 @@ module Aws::LexModelsV2
7530
8722
  # @!attribute [rw] locale_id
7531
8723
  # The identifier of the language and locale that contains the slot.
7532
8724
  # The string must match one of the supported locales. For more
7533
- # information, see
7534
- # [https://docs.aws.amazon.com/lex/latest/dg/supported-locales.html][1].
8725
+ # information, see [Supported languages][1].
7535
8726
  #
7536
8727
  #
7537
8728
  #
7538
- # [1]: https://docs.aws.amazon.com/lex/latest/dg/supported-locales.html
8729
+ # [1]: https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html
7539
8730
  # @return [String]
7540
8731
  #
7541
8732
  # @!attribute [rw] intent_id
@@ -7699,12 +8890,11 @@ module Aws::LexModelsV2
7699
8890
  # @!attribute [rw] locale_id
7700
8891
  # The identifier of the language and locale that contains the slot
7701
8892
  # type. The string must match one of the supported locales. For more
7702
- # information, see
7703
- # [https://docs.aws.amazon.com/lex/latest/dg/supported-locales.html][1].
8893
+ # information, see [Supported languages][1].
7704
8894
  #
7705
8895
  #
7706
8896
  #
7707
- # [1]: https://docs.aws.amazon.com/lex/latest/dg/supported-locales.html
8897
+ # [1]: https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html
7708
8898
  # @return [String]
7709
8899
  #
7710
8900
  # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/UpdateSlotTypeRequest AWS API Documentation