aws-sdk-lexmodelsv2 1.19.0 → 1.22.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -10,6 +10,29 @@
10
10
  module Aws::LexModelsV2
11
11
  module Types
12
12
 
13
+ # Provides settings that enable advanced recognition settings for slot
14
+ # values.
15
+ #
16
+ # @note When making an API call, you may pass AdvancedRecognitionSetting
17
+ # data as a hash:
18
+ #
19
+ # {
20
+ # audio_recognition_strategy: "UseSlotValuesAsCustomVocabulary", # accepts UseSlotValuesAsCustomVocabulary
21
+ # }
22
+ #
23
+ # @!attribute [rw] audio_recognition_strategy
24
+ # Enables using the slot values as a custom vocabulary for recognizing
25
+ # user utterances.
26
+ # @return [String]
27
+ #
28
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/AdvancedRecognitionSetting AWS API Documentation
29
+ #
30
+ class AdvancedRecognitionSetting < Struct.new(
31
+ :audio_recognition_strategy)
32
+ SENSITIVE = []
33
+ include Aws::Structure
34
+ end
35
+
13
36
  # Filters responses returned by the `ListAggregatedUtterances`
14
37
  # operation.
15
38
  #
@@ -1884,8 +1907,13 @@ module Aws::LexModelsV2
1884
1907
  # bot_version: "BotVersion", # required
1885
1908
  # locale_id: "LocaleId", # required
1886
1909
  # },
1910
+ # custom_vocabulary_export_specification: {
1911
+ # bot_id: "Id", # required
1912
+ # bot_version: "BotVersion", # required
1913
+ # locale_id: "LocaleId", # required
1914
+ # },
1887
1915
  # },
1888
- # file_format: "LexJson", # required, accepts LexJson
1916
+ # file_format: "LexJson", # required, accepts LexJson, TSV
1889
1917
  # file_password: "ImportExportFilePassword",
1890
1918
  # }
1891
1919
  #
@@ -3265,6 +3293,9 @@ module Aws::LexModelsV2
3265
3293
  # regex_filter: {
3266
3294
  # pattern: "RegexPattern", # required
3267
3295
  # },
3296
+ # advanced_recognition_setting: {
3297
+ # audio_recognition_strategy: "UseSlotValuesAsCustomVocabulary", # accepts UseSlotValuesAsCustomVocabulary
3298
+ # },
3268
3299
  # },
3269
3300
  # parent_slot_type_signature: "SlotTypeSignature",
3270
3301
  # bot_id: "Id", # required
@@ -3477,6 +3508,75 @@ module Aws::LexModelsV2
3477
3508
  include Aws::Structure
3478
3509
  end
3479
3510
 
3511
+ # Provides the parameters required for exporting a custom vocabulary.
3512
+ #
3513
+ # @note When making an API call, you may pass CustomVocabularyExportSpecification
3514
+ # data as a hash:
3515
+ #
3516
+ # {
3517
+ # bot_id: "Id", # required
3518
+ # bot_version: "BotVersion", # required
3519
+ # locale_id: "LocaleId", # required
3520
+ # }
3521
+ #
3522
+ # @!attribute [rw] bot_id
3523
+ # The identifier of the bot that contains the custom vocabulary to
3524
+ # export.
3525
+ # @return [String]
3526
+ #
3527
+ # @!attribute [rw] bot_version
3528
+ # The version of the bot that contains the custom vocabulary to
3529
+ # export.
3530
+ # @return [String]
3531
+ #
3532
+ # @!attribute [rw] locale_id
3533
+ # The locale of the bot that contains the custom vocabulary to export.
3534
+ # @return [String]
3535
+ #
3536
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/CustomVocabularyExportSpecification AWS API Documentation
3537
+ #
3538
+ class CustomVocabularyExportSpecification < Struct.new(
3539
+ :bot_id,
3540
+ :bot_version,
3541
+ :locale_id)
3542
+ SENSITIVE = []
3543
+ include Aws::Structure
3544
+ end
3545
+
3546
+ # Provides the parameters required for importing a custom vocabulary.
3547
+ #
3548
+ # @note When making an API call, you may pass CustomVocabularyImportSpecification
3549
+ # data as a hash:
3550
+ #
3551
+ # {
3552
+ # bot_id: "Id", # required
3553
+ # bot_version: "DraftBotVersion", # required
3554
+ # locale_id: "LocaleId", # required
3555
+ # }
3556
+ #
3557
+ # @!attribute [rw] bot_id
3558
+ # The identifier of the bot to import the custom vocabulary to.
3559
+ # @return [String]
3560
+ #
3561
+ # @!attribute [rw] bot_version
3562
+ # The version of the bot to import the custom vocabulary to.
3563
+ # @return [String]
3564
+ #
3565
+ # @!attribute [rw] locale_id
3566
+ # The identifier of the local to import the custom vocabulary to. The
3567
+ # value must be `en_GB`.
3568
+ # @return [String]
3569
+ #
3570
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/CustomVocabularyImportSpecification AWS API Documentation
3571
+ #
3572
+ class CustomVocabularyImportSpecification < Struct.new(
3573
+ :bot_id,
3574
+ :bot_version,
3575
+ :locale_id)
3576
+ SENSITIVE = []
3577
+ include Aws::Structure
3578
+ end
3579
+
3480
3580
  # By default, data stored by Amazon Lex is encrypted. The `DataPrivacy`
3481
3581
  # structure provides settings that determine how Amazon Lex handles
3482
3582
  # special cases of securing the data for your bot.
@@ -3781,6 +3881,68 @@ module Aws::LexModelsV2
3781
3881
  include Aws::Structure
3782
3882
  end
3783
3883
 
3884
+ # @note When making an API call, you may pass DeleteCustomVocabularyRequest
3885
+ # data as a hash:
3886
+ #
3887
+ # {
3888
+ # bot_id: "Id", # required
3889
+ # bot_version: "DraftBotVersion", # required
3890
+ # locale_id: "LocaleId", # required
3891
+ # }
3892
+ #
3893
+ # @!attribute [rw] bot_id
3894
+ # The unique identifier of the bot to remove the custom vocabulary
3895
+ # from.
3896
+ # @return [String]
3897
+ #
3898
+ # @!attribute [rw] bot_version
3899
+ # The version of the bot to remove the custom vocabulary from.
3900
+ # @return [String]
3901
+ #
3902
+ # @!attribute [rw] locale_id
3903
+ # The locale identifier for the locale that contains the custom
3904
+ # vocabulary to remove.
3905
+ # @return [String]
3906
+ #
3907
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DeleteCustomVocabularyRequest AWS API Documentation
3908
+ #
3909
+ class DeleteCustomVocabularyRequest < Struct.new(
3910
+ :bot_id,
3911
+ :bot_version,
3912
+ :locale_id)
3913
+ SENSITIVE = []
3914
+ include Aws::Structure
3915
+ end
3916
+
3917
+ # @!attribute [rw] bot_id
3918
+ # The identifier of the bot that the custom vocabulary was removed
3919
+ # from.
3920
+ # @return [String]
3921
+ #
3922
+ # @!attribute [rw] bot_version
3923
+ # The version of the bot that the custom vocabulary was removed from.
3924
+ # @return [String]
3925
+ #
3926
+ # @!attribute [rw] locale_id
3927
+ # The locale identifier for the locale that the custom vocabulary was
3928
+ # removed from.
3929
+ # @return [String]
3930
+ #
3931
+ # @!attribute [rw] custom_vocabulary_status
3932
+ # The status of removing the custom vocabulary.
3933
+ # @return [String]
3934
+ #
3935
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DeleteCustomVocabularyResponse AWS API Documentation
3936
+ #
3937
+ class DeleteCustomVocabularyResponse < Struct.new(
3938
+ :bot_id,
3939
+ :bot_version,
3940
+ :locale_id,
3941
+ :custom_vocabulary_status)
3942
+ SENSITIVE = []
3943
+ include Aws::Structure
3944
+ end
3945
+
3784
3946
  # @note When making an API call, you may pass DeleteExportRequest
3785
3947
  # data as a hash:
3786
3948
  #
@@ -4672,6 +4834,78 @@ module Aws::LexModelsV2
4672
4834
  include Aws::Structure
4673
4835
  end
4674
4836
 
4837
+ # @note When making an API call, you may pass DescribeCustomVocabularyMetadataRequest
4838
+ # data as a hash:
4839
+ #
4840
+ # {
4841
+ # bot_id: "Id", # required
4842
+ # bot_version: "BotVersion", # required
4843
+ # locale_id: "LocaleId", # required
4844
+ # }
4845
+ #
4846
+ # @!attribute [rw] bot_id
4847
+ # The unique identifier of the bot that contains the custom
4848
+ # vocabulary.
4849
+ # @return [String]
4850
+ #
4851
+ # @!attribute [rw] bot_version
4852
+ # The bot version of the bot to return metadata for.
4853
+ # @return [String]
4854
+ #
4855
+ # @!attribute [rw] locale_id
4856
+ # The locale to return the custom vocabulary information for. The
4857
+ # locale must be `en_GB`.
4858
+ # @return [String]
4859
+ #
4860
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DescribeCustomVocabularyMetadataRequest AWS API Documentation
4861
+ #
4862
+ class DescribeCustomVocabularyMetadataRequest < Struct.new(
4863
+ :bot_id,
4864
+ :bot_version,
4865
+ :locale_id)
4866
+ SENSITIVE = []
4867
+ include Aws::Structure
4868
+ end
4869
+
4870
+ # @!attribute [rw] bot_id
4871
+ # The identifier of the bot that contains the custom vocabulary.
4872
+ # @return [String]
4873
+ #
4874
+ # @!attribute [rw] bot_version
4875
+ # The version of the bot that contains the custom vocabulary to
4876
+ # describe.
4877
+ # @return [String]
4878
+ #
4879
+ # @!attribute [rw] locale_id
4880
+ # The locale that contains the custom vocabulary to describe.
4881
+ # @return [String]
4882
+ #
4883
+ # @!attribute [rw] custom_vocabulary_status
4884
+ # The status of the custom vocabulary. If the status is `Ready` the
4885
+ # custom vocabulary is ready to use.
4886
+ # @return [String]
4887
+ #
4888
+ # @!attribute [rw] creation_date_time
4889
+ # The date and time that the custom vocabulary was created.
4890
+ # @return [Time]
4891
+ #
4892
+ # @!attribute [rw] last_updated_date_time
4893
+ # The date and time that the custom vocabulary was last updated.
4894
+ # @return [Time]
4895
+ #
4896
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DescribeCustomVocabularyMetadataResponse AWS API Documentation
4897
+ #
4898
+ class DescribeCustomVocabularyMetadataResponse < Struct.new(
4899
+ :bot_id,
4900
+ :bot_version,
4901
+ :locale_id,
4902
+ :custom_vocabulary_status,
4903
+ :creation_date_time,
4904
+ :last_updated_date_time)
4905
+ SENSITIVE = []
4906
+ include Aws::Structure
4907
+ end
4908
+
4675
4909
  # @note When making an API call, you may pass DescribeExportRequest
4676
4910
  # data as a hash:
4677
4911
  #
@@ -4701,8 +4935,7 @@ module Aws::LexModelsV2
4701
4935
  # @return [Types::ExportResourceSpecification]
4702
4936
  #
4703
4937
  # @!attribute [rw] file_format
4704
- # The file format used in the files that describe the bot or bot
4705
- # locale.
4938
+ # The file format used in the files that describe the resource.
4706
4939
  # @return [String]
4707
4940
  #
4708
4941
  # @!attribute [rw] export_status
@@ -4768,7 +5001,8 @@ module Aws::LexModelsV2
4768
5001
  # @return [String]
4769
5002
  #
4770
5003
  # @!attribute [rw] resource_specification
4771
- # The specifications of the imported bot or bot locale.
5004
+ # The specifications of the imported bot, bot locale, or custom
5005
+ # vocabulary.
4772
5006
  # @return [Types::ImportResourceSpecification]
4773
5007
  #
4774
5008
  # @!attribute [rw] imported_resource_id
@@ -5340,7 +5574,8 @@ module Aws::LexModelsV2
5340
5574
  # @return [String]
5341
5575
  #
5342
5576
  # @!attribute [rw] values
5343
- # The values to use to filter the response.
5577
+ # The values to use to filter the response. The values must be `Bot`,
5578
+ # `BotLocale`, or `CustomVocabulary`.
5344
5579
  # @return [Array<String>]
5345
5580
  #
5346
5581
  # @!attribute [rw] operator
@@ -5377,6 +5612,11 @@ module Aws::LexModelsV2
5377
5612
  # bot_version: "BotVersion", # required
5378
5613
  # locale_id: "LocaleId", # required
5379
5614
  # },
5615
+ # custom_vocabulary_export_specification: {
5616
+ # bot_id: "Id", # required
5617
+ # bot_version: "BotVersion", # required
5618
+ # locale_id: "LocaleId", # required
5619
+ # },
5380
5620
  # }
5381
5621
  #
5382
5622
  # @!attribute [rw] bot_export_specification
@@ -5387,11 +5627,16 @@ module Aws::LexModelsV2
5387
5627
  # Parameters for exporting a bot locale.
5388
5628
  # @return [Types::BotLocaleExportSpecification]
5389
5629
  #
5630
+ # @!attribute [rw] custom_vocabulary_export_specification
5631
+ # The parameters required to export a custom vocabulary.
5632
+ # @return [Types::CustomVocabularyExportSpecification]
5633
+ #
5390
5634
  # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ExportResourceSpecification AWS API Documentation
5391
5635
  #
5392
5636
  class ExportResourceSpecification < Struct.new(
5393
5637
  :bot_export_specification,
5394
- :bot_locale_export_specification)
5638
+ :bot_locale_export_specification,
5639
+ :custom_vocabulary_export_specification)
5395
5640
  SENSITIVE = []
5396
5641
  include Aws::Structure
5397
5642
  end
@@ -6264,7 +6509,8 @@ module Aws::LexModelsV2
6264
6509
  # @return [String]
6265
6510
  #
6266
6511
  # @!attribute [rw] values
6267
- # The values to use to filter the response.
6512
+ # The values to use to filter the response. The values must be `Bot`,
6513
+ # `BotLocale`, or `CustomVocabulary`.
6268
6514
  # @return [Array<String>]
6269
6515
  #
6270
6516
  # @!attribute [rw] operator
@@ -6316,6 +6562,11 @@ module Aws::LexModelsV2
6316
6562
  # engine: "standard", # accepts standard, neural
6317
6563
  # },
6318
6564
  # },
6565
+ # custom_vocabulary_import_specification: {
6566
+ # bot_id: "Id", # required
6567
+ # bot_version: "DraftBotVersion", # required
6568
+ # locale_id: "LocaleId", # required
6569
+ # },
6319
6570
  # }
6320
6571
  #
6321
6572
  # @!attribute [rw] bot_import_specification
@@ -6326,11 +6577,16 @@ module Aws::LexModelsV2
6326
6577
  # Parameters for importing a bot locale.
6327
6578
  # @return [Types::BotLocaleImportSpecification]
6328
6579
  #
6580
+ # @!attribute [rw] custom_vocabulary_import_specification
6581
+ # Provides the parameters required for importing a custom vocabulary.
6582
+ # @return [Types::CustomVocabularyImportSpecification]
6583
+ #
6329
6584
  # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ImportResourceSpecification AWS API Documentation
6330
6585
  #
6331
6586
  class ImportResourceSpecification < Struct.new(
6332
6587
  :bot_import_specification,
6333
- :bot_locale_import_specification)
6588
+ :bot_locale_import_specification,
6589
+ :custom_vocabulary_import_specification)
6334
6590
  SENSITIVE = []
6335
6591
  include Aws::Structure
6336
6592
  end
@@ -6395,6 +6651,10 @@ module Aws::LexModelsV2
6395
6651
  # The date and time that the import was last updated.
6396
6652
  # @return [Time]
6397
6653
  #
6654
+ # @!attribute [rw] imported_resource_type
6655
+ # The type of resource that was imported.
6656
+ # @return [String]
6657
+ #
6398
6658
  # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ImportSummary AWS API Documentation
6399
6659
  #
6400
6660
  class ImportSummary < Struct.new(
@@ -6404,7 +6664,8 @@ module Aws::LexModelsV2
6404
6664
  :import_status,
6405
6665
  :merge_strategy,
6406
6666
  :creation_date_time,
6407
- :last_updated_date_time)
6667
+ :last_updated_date_time,
6668
+ :imported_resource_type)
6408
6669
  SENSITIVE = []
6409
6670
  include Aws::Structure
6410
6671
  end
@@ -7462,8 +7723,12 @@ module Aws::LexModelsV2
7462
7723
  # @!attribute [rw] next_token
7463
7724
  # If the response from the `ListBots` operation contains more results
7464
7725
  # than specified in the `maxResults` parameter, a token is returned in
7465
- # the response. Use that token in the `nextToken` parameter to return
7466
- # the next page of results.
7726
+ # the response.
7727
+ #
7728
+ # Use the returned token in the `nextToken` parameter of a `ListBots`
7729
+ # request to return the next page of results. For a complete set of
7730
+ # results, call the `ListBots` operation until the `nextToken`
7731
+ # returned in the response is null.
7467
7732
  # @return [String]
7468
7733
  #
7469
7734
  # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ListBotsRequest AWS API Documentation
@@ -7686,6 +7951,7 @@ module Aws::LexModelsV2
7686
7951
  # ],
7687
7952
  # max_results: 1,
7688
7953
  # next_token: "NextToken",
7954
+ # locale_id: "LocaleId",
7689
7955
  # }
7690
7956
  #
7691
7957
  # @!attribute [rw] bot_id
@@ -7717,8 +7983,18 @@ module Aws::LexModelsV2
7717
7983
  # @!attribute [rw] next_token
7718
7984
  # If the response from the `ListExports` operation contains more
7719
7985
  # results that specified in the `maxResults` parameter, a token is
7720
- # returned in the response. Use that token in the `nextToken`
7721
- # parameter to return the next page of results.
7986
+ # returned in the response.
7987
+ #
7988
+ # Use the returned token in the `nextToken` parameter of a
7989
+ # `ListExports` request to return the next page of results. For a
7990
+ # complete set of results, call the `ListExports` operation until the
7991
+ # `nextToken` returned in the response is null.
7992
+ # @return [String]
7993
+ #
7994
+ # @!attribute [rw] locale_id
7995
+ # Specifies the resources that should be exported. If you don't
7996
+ # specify a resource type in the `filters` parameter, both bot locales
7997
+ # and custom vocabularies are exported.
7722
7998
  # @return [String]
7723
7999
  #
7724
8000
  # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ListExportsRequest AWS API Documentation
@@ -7729,7 +8005,8 @@ module Aws::LexModelsV2
7729
8005
  :sort_by,
7730
8006
  :filters,
7731
8007
  :max_results,
7732
- :next_token)
8008
+ :next_token,
8009
+ :locale_id)
7733
8010
  SENSITIVE = []
7734
8011
  include Aws::Structure
7735
8012
  end
@@ -7756,13 +8033,18 @@ module Aws::LexModelsV2
7756
8033
  # `ListExports` operation request to get the next page of results.
7757
8034
  # @return [String]
7758
8035
  #
8036
+ # @!attribute [rw] locale_id
8037
+ # The locale specified in the request.
8038
+ # @return [String]
8039
+ #
7759
8040
  # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ListExportsResponse AWS API Documentation
7760
8041
  #
7761
8042
  class ListExportsResponse < Struct.new(
7762
8043
  :bot_id,
7763
8044
  :bot_version,
7764
8045
  :export_summaries,
7765
- :next_token)
8046
+ :next_token,
8047
+ :locale_id)
7766
8048
  SENSITIVE = []
7767
8049
  include Aws::Structure
7768
8050
  end
@@ -7786,6 +8068,7 @@ module Aws::LexModelsV2
7786
8068
  # ],
7787
8069
  # max_results: 1,
7788
8070
  # next_token: "NextToken",
8071
+ # locale_id: "LocaleId",
7789
8072
  # }
7790
8073
  #
7791
8074
  # @!attribute [rw] bot_id
@@ -7817,8 +8100,18 @@ module Aws::LexModelsV2
7817
8100
  # @!attribute [rw] next_token
7818
8101
  # If the response from the `ListImports` operation contains more
7819
8102
  # results than specified in the `maxResults` parameter, a token is
7820
- # returned in the response. Use that token in the `nextToken`
7821
- # parameter to return the next page of results.
8103
+ # returned in the response.
8104
+ #
8105
+ # Use the returned token in the `nextToken` parameter of a
8106
+ # `ListImports` request to return the next page of results. For a
8107
+ # complete set of results, call the `ListImports` operation until the
8108
+ # `nextToken` returned in the response is null.
8109
+ # @return [String]
8110
+ #
8111
+ # @!attribute [rw] locale_id
8112
+ # Specifies the locale that should be present in the list. If you
8113
+ # don't specify a resource type in the `filters` parameter, the list
8114
+ # contains both bot locales and custom vocabularies.
7822
8115
  # @return [String]
7823
8116
  #
7824
8117
  # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ListImportsRequest AWS API Documentation
@@ -7829,7 +8122,8 @@ module Aws::LexModelsV2
7829
8122
  :sort_by,
7830
8123
  :filters,
7831
8124
  :max_results,
7832
- :next_token)
8125
+ :next_token,
8126
+ :locale_id)
7833
8127
  SENSITIVE = []
7834
8128
  include Aws::Structure
7835
8129
  end
@@ -7856,13 +8150,18 @@ module Aws::LexModelsV2
7856
8150
  # `ListImports` operation request to get the next page of results.
7857
8151
  # @return [String]
7858
8152
  #
8153
+ # @!attribute [rw] locale_id
8154
+ # The locale specified in the request.
8155
+ # @return [String]
8156
+ #
7859
8157
  # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ListImportsResponse AWS API Documentation
7860
8158
  #
7861
8159
  class ListImportsResponse < Struct.new(
7862
8160
  :bot_id,
7863
8161
  :bot_version,
7864
8162
  :import_summaries,
7865
- :next_token)
8163
+ :next_token,
8164
+ :locale_id)
7866
8165
  SENSITIVE = []
7867
8166
  include Aws::Structure
7868
8167
  end
@@ -7928,8 +8227,12 @@ module Aws::LexModelsV2
7928
8227
  # @!attribute [rw] next_token
7929
8228
  # If the response from the `ListIntents` operation contains more
7930
8229
  # results than specified in the `maxResults` parameter, a token is
7931
- # returned in the response. Use that token in the `nextToken`
7932
- # parameter to return the next page of results.
8230
+ # returned in the response.
8231
+ #
8232
+ # Use the returned token in the `nextToken` parameter of a
8233
+ # `ListIntents` request to return the next page of results. For a
8234
+ # complete set of results, call the `ListIntents` operation until the
8235
+ # `nextToken` returned in the response is null.
7933
8236
  # @return [String]
7934
8237
  #
7935
8238
  # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ListIntentsRequest AWS API Documentation
@@ -10171,6 +10474,9 @@ module Aws::LexModelsV2
10171
10474
  # regex_filter: {
10172
10475
  # pattern: "RegexPattern", # required
10173
10476
  # },
10477
+ # advanced_recognition_setting: {
10478
+ # audio_recognition_strategy: "UseSlotValuesAsCustomVocabulary", # accepts UseSlotValuesAsCustomVocabulary
10479
+ # },
10174
10480
  # }
10175
10481
  #
10176
10482
  # @!attribute [rw] resolution_strategy
@@ -10193,11 +10499,17 @@ module Aws::LexModelsV2
10193
10499
  # A regular expression used to validate the value of a slot.
10194
10500
  # @return [Types::SlotValueRegexFilter]
10195
10501
  #
10502
+ # @!attribute [rw] advanced_recognition_setting
10503
+ # Provides settings that enable advanced recognition settings for slot
10504
+ # values.
10505
+ # @return [Types::AdvancedRecognitionSetting]
10506
+ #
10196
10507
  # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/SlotValueSelectionSetting AWS API Documentation
10197
10508
  #
10198
10509
  class SlotValueSelectionSetting < Struct.new(
10199
10510
  :resolution_strategy,
10200
- :regex_filter)
10511
+ :regex_filter,
10512
+ :advanced_recognition_setting)
10201
10513
  SENSITIVE = []
10202
10514
  include Aws::Structure
10203
10515
  end
@@ -10365,6 +10677,11 @@ module Aws::LexModelsV2
10365
10677
  # engine: "standard", # accepts standard, neural
10366
10678
  # },
10367
10679
  # },
10680
+ # custom_vocabulary_import_specification: {
10681
+ # bot_id: "Id", # required
10682
+ # bot_version: "DraftBotVersion", # required
10683
+ # locale_id: "LocaleId", # required
10684
+ # },
10368
10685
  # },
10369
10686
  # merge_strategy: "Overwrite", # required, accepts Overwrite, FailOnConflict, Append
10370
10687
  # file_password: "ImportExportFilePassword",
@@ -10380,7 +10697,7 @@ module Aws::LexModelsV2
10380
10697
  # @return [String]
10381
10698
  #
10382
10699
  # @!attribute [rw] resource_specification
10383
- # Parameters for creating the bot or bot locale.
10700
+ # Parameters for creating the bot, bot locale or custom vocabulary.
10384
10701
  # @return [Types::ImportResourceSpecification]
10385
10702
  #
10386
10703
  # @!attribute [rw] merge_strategy
@@ -10391,9 +10708,9 @@ module Aws::LexModelsV2
10391
10708
  # @return [String]
10392
10709
  #
10393
10710
  # @!attribute [rw] file_password
10394
- # The password used to encrypt the zip archive that contains the bot
10395
- # or bot locale definition. You should always encrypt the zip archive
10396
- # to protect it during transit between your site and Amazon Lex.
10711
+ # The password used to encrypt the zip archive that contains the
10712
+ # resource definition. You should always encrypt the zip archive to
10713
+ # protect it during transit between your site and Amazon Lex.
10397
10714
  # @return [String]
10398
10715
  #
10399
10716
  # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/StartImportRequest AWS API Documentation
@@ -10412,7 +10729,7 @@ module Aws::LexModelsV2
10412
10729
  # @return [String]
10413
10730
  #
10414
10731
  # @!attribute [rw] resource_specification
10415
- # The parameters used when importing the bot or bot locale.
10732
+ # The parameters used when importing the resource.
10416
10733
  # @return [Types::ImportResourceSpecification]
10417
10734
  #
10418
10735
  # @!attribute [rw] merge_strategy
@@ -10424,7 +10741,7 @@ module Aws::LexModelsV2
10424
10741
  #
10425
10742
  # @!attribute [rw] import_status
10426
10743
  # The current status of the import. When the status is `Complete` the
10427
- # bot or bot alias is ready to use.
10744
+ # bot, bot alias, or custom vocabulary is ready to use.
10428
10745
  # @return [String]
10429
10746
  #
10430
10747
  # @!attribute [rw] creation_date_time
@@ -11324,7 +11641,9 @@ module Aws::LexModelsV2
11324
11641
  # @return [Types::ExportResourceSpecification]
11325
11642
  #
11326
11643
  # @!attribute [rw] file_format
11327
- # The file format used for the files that define the resource.
11644
+ # The file format used for the files that define the resource. The
11645
+ # `TSV` format is required to export a custom vocabulary only;
11646
+ # otherwise use `LexJson` format.
11328
11647
  # @return [String]
11329
11648
  #
11330
11649
  # @!attribute [rw] export_status
@@ -12546,6 +12865,9 @@ module Aws::LexModelsV2
12546
12865
  # regex_filter: {
12547
12866
  # pattern: "RegexPattern", # required
12548
12867
  # },
12868
+ # advanced_recognition_setting: {
12869
+ # audio_recognition_strategy: "UseSlotValuesAsCustomVocabulary", # accepts UseSlotValuesAsCustomVocabulary
12870
+ # },
12549
12871
  # },
12550
12872
  # parent_slot_type_signature: "SlotTypeSignature",
12551
12873
  # bot_id: "Id", # required
@@ -49,6 +49,6 @@ require_relative 'aws-sdk-lexmodelsv2/customizations'
49
49
  # @!group service
50
50
  module Aws::LexModelsV2
51
51
 
52
- GEM_VERSION = '1.19.0'
52
+ GEM_VERSION = '1.22.0'
53
53
 
54
54
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-lexmodelsv2
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.19.0
4
+ version: 1.22.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-12-21 00:00:00.000000000 Z
11
+ date: 2022-02-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.125.0
22
+ version: 3.127.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.125.0
32
+ version: 3.127.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement