aws-sdk-lexmodelsv2 1.16.0 → 1.20.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.
@@ -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
  #
@@ -129,6 +152,55 @@ module Aws::LexModelsV2
129
152
  include Aws::Structure
130
153
  end
131
154
 
155
+ # The object containing information that associates the recommended
156
+ # intent/slot type with a conversation.
157
+ #
158
+ # @!attribute [rw] transcript
159
+ # The content of the transcript that meets the search filter criteria.
160
+ # For the JSON format of the transcript, see [Output transcript
161
+ # format][1].
162
+ #
163
+ #
164
+ #
165
+ # [1]: https://docs.aws.amazon.com/lex/latest/dg/designing-output-format.html
166
+ # @return [String]
167
+ #
168
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/AssociatedTranscript AWS API Documentation
169
+ #
170
+ class AssociatedTranscript < Struct.new(
171
+ :transcript)
172
+ SENSITIVE = []
173
+ include Aws::Structure
174
+ end
175
+
176
+ # Filters to search for the associated transcript.
177
+ #
178
+ # @note When making an API call, you may pass AssociatedTranscriptFilter
179
+ # data as a hash:
180
+ #
181
+ # {
182
+ # name: "IntentId", # required, accepts IntentId, SlotTypeId
183
+ # values: ["FilterValue"], # required
184
+ # }
185
+ #
186
+ # @!attribute [rw] name
187
+ # The name of the field to use for filtering. The allowed names are
188
+ # IntentId and SlotTypeId.
189
+ # @return [String]
190
+ #
191
+ # @!attribute [rw] values
192
+ # The values to use to filter the transcript.
193
+ # @return [Array<String>]
194
+ #
195
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/AssociatedTranscriptFilter AWS API Documentation
196
+ #
197
+ class AssociatedTranscriptFilter < Struct.new(
198
+ :name,
199
+ :values)
200
+ SENSITIVE = []
201
+ include Aws::Structure
202
+ end
203
+
132
204
  # The location of audio log files collected when conversation logging is
133
205
  # enabled for a bot.
134
206
  #
@@ -690,6 +762,87 @@ module Aws::LexModelsV2
690
762
  include Aws::Structure
691
763
  end
692
764
 
765
+ # A statistical summary of the bot recommendation results.
766
+ #
767
+ # @!attribute [rw] intents
768
+ # Statistical information about about the intents associated with the
769
+ # bot recommendation results.
770
+ # @return [Types::IntentStatistics]
771
+ #
772
+ # @!attribute [rw] slot_types
773
+ # Statistical information about the slot types associated with the bot
774
+ # recommendation results.
775
+ # @return [Types::SlotTypeStatistics]
776
+ #
777
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/BotRecommendationResultStatistics AWS API Documentation
778
+ #
779
+ class BotRecommendationResultStatistics < Struct.new(
780
+ :intents,
781
+ :slot_types)
782
+ SENSITIVE = []
783
+ include Aws::Structure
784
+ end
785
+
786
+ # The object representing the URL of the bot definition, the URL of the
787
+ # associated transcript and a statistical summary of the bot
788
+ # recommendation results.
789
+ #
790
+ # @!attribute [rw] bot_locale_export_url
791
+ # The presigned URL link of the recommended bot definition.
792
+ # @return [String]
793
+ #
794
+ # @!attribute [rw] associated_transcripts_url
795
+ # The presigned url link of the associated transcript.
796
+ # @return [String]
797
+ #
798
+ # @!attribute [rw] statistics
799
+ # The statistical summary of the bot recommendation results.
800
+ # @return [Types::BotRecommendationResultStatistics]
801
+ #
802
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/BotRecommendationResults AWS API Documentation
803
+ #
804
+ class BotRecommendationResults < Struct.new(
805
+ :bot_locale_export_url,
806
+ :associated_transcripts_url,
807
+ :statistics)
808
+ SENSITIVE = []
809
+ include Aws::Structure
810
+ end
811
+
812
+ # A summary of the bot recommendation.
813
+ #
814
+ # @!attribute [rw] bot_recommendation_status
815
+ # The status of the bot recommendation.
816
+ #
817
+ # If the status is Failed, then the reasons for the failure are listed
818
+ # in the failureReasons field.
819
+ # @return [String]
820
+ #
821
+ # @!attribute [rw] bot_recommendation_id
822
+ # The unique identifier of the bot recommendation to be updated.
823
+ # @return [String]
824
+ #
825
+ # @!attribute [rw] creation_date_time
826
+ # A timestamp of the date and time that the bot recommendation was
827
+ # created.
828
+ # @return [Time]
829
+ #
830
+ # @!attribute [rw] last_updated_date_time
831
+ # A timestamp of the date and time that the bot recommendation was
832
+ # last updated.
833
+ # @return [Time]
834
+ #
835
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/BotRecommendationSummary AWS API Documentation
836
+ #
837
+ class BotRecommendationSummary < Struct.new(
838
+ :bot_recommendation_status,
839
+ :bot_recommendation_id,
840
+ :creation_date_time,
841
+ :last_updated_date_time)
842
+ SENSITIVE = []
843
+ include Aws::Structure
844
+ end
845
+
693
846
  # Specifies attributes for sorting a list of bots.
694
847
  #
695
848
  # @note When making an API call, you may pass BotSortBy
@@ -1754,8 +1907,13 @@ module Aws::LexModelsV2
1754
1907
  # bot_version: "BotVersion", # required
1755
1908
  # locale_id: "LocaleId", # required
1756
1909
  # },
1910
+ # custom_vocabulary_export_specification: {
1911
+ # bot_id: "Id", # required
1912
+ # bot_version: "BotVersion", # required
1913
+ # locale_id: "LocaleId", # required
1914
+ # },
1757
1915
  # },
1758
- # file_format: "LexJson", # required, accepts LexJson
1916
+ # file_format: "LexJson", # required, accepts LexJson, TSV
1759
1917
  # file_password: "ImportExportFilePassword",
1760
1918
  # }
1761
1919
  #
@@ -3130,16 +3288,28 @@ module Aws::LexModelsV2
3130
3288
  # ],
3131
3289
  # },
3132
3290
  # ],
3133
- # value_selection_setting: { # required
3291
+ # value_selection_setting: {
3134
3292
  # resolution_strategy: "OriginalValue", # required, accepts OriginalValue, TopResolution
3135
3293
  # regex_filter: {
3136
3294
  # pattern: "RegexPattern", # required
3137
3295
  # },
3296
+ # advanced_recognition_setting: {
3297
+ # audio_recognition_strategy: "UseSlotValuesAsCustomVocabulary", # accepts UseSlotValuesAsCustomVocabulary
3298
+ # },
3138
3299
  # },
3139
3300
  # parent_slot_type_signature: "SlotTypeSignature",
3140
3301
  # bot_id: "Id", # required
3141
3302
  # bot_version: "DraftBotVersion", # required
3142
3303
  # locale_id: "LocaleId", # required
3304
+ # external_source_setting: {
3305
+ # grammar_slot_type_setting: {
3306
+ # source: {
3307
+ # s3_bucket_name: "S3BucketName", # required
3308
+ # s3_object_key: "S3ObjectPath", # required
3309
+ # kms_key_arn: "KmsKeyArn",
3310
+ # },
3311
+ # },
3312
+ # },
3143
3313
  # }
3144
3314
  #
3145
3315
  # @!attribute [rw] slot_type_name
@@ -3202,6 +3372,10 @@ module Aws::LexModelsV2
3202
3372
  # [1]: https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html
3203
3373
  # @return [String]
3204
3374
  #
3375
+ # @!attribute [rw] external_source_setting
3376
+ # Sets the type of external information used to create the slot type.
3377
+ # @return [Types::ExternalSourceSetting]
3378
+ #
3205
3379
  # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/CreateSlotTypeRequest AWS API Documentation
3206
3380
  #
3207
3381
  class CreateSlotTypeRequest < Struct.new(
@@ -3212,7 +3386,8 @@ module Aws::LexModelsV2
3212
3386
  :parent_slot_type_signature,
3213
3387
  :bot_id,
3214
3388
  :bot_version,
3215
- :locale_id)
3389
+ :locale_id,
3390
+ :external_source_setting)
3216
3391
  SENSITIVE = []
3217
3392
  include Aws::Structure
3218
3393
  end
@@ -3260,6 +3435,10 @@ module Aws::LexModelsV2
3260
3435
  # A timestamp of the date and time that the slot type was created.
3261
3436
  # @return [Time]
3262
3437
  #
3438
+ # @!attribute [rw] external_source_setting
3439
+ # The type of external information used to create the slot type.
3440
+ # @return [Types::ExternalSourceSetting]
3441
+ #
3263
3442
  # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/CreateSlotTypeResponse AWS API Documentation
3264
3443
  #
3265
3444
  class CreateSlotTypeResponse < Struct.new(
@@ -3272,7 +3451,8 @@ module Aws::LexModelsV2
3272
3451
  :bot_id,
3273
3452
  :bot_version,
3274
3453
  :locale_id,
3275
- :creation_date_time)
3454
+ :creation_date_time,
3455
+ :external_source_setting)
3276
3456
  SENSITIVE = []
3277
3457
  include Aws::Structure
3278
3458
  end
@@ -3328,6 +3508,75 @@ module Aws::LexModelsV2
3328
3508
  include Aws::Structure
3329
3509
  end
3330
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
+
3331
3580
  # By default, data stored by Amazon Lex is encrypted. The `DataPrivacy`
3332
3581
  # structure provides settings that determine how Amazon Lex handles
3333
3582
  # special cases of securing the data for your bot.
@@ -3379,6 +3628,34 @@ module Aws::LexModelsV2
3379
3628
  include Aws::Structure
3380
3629
  end
3381
3630
 
3631
+ # The object used for specifying the data range that the customer wants
3632
+ # Amazon Lex to read through in the input transcripts.
3633
+ #
3634
+ # @note When making an API call, you may pass DateRangeFilter
3635
+ # data as a hash:
3636
+ #
3637
+ # {
3638
+ # start_date_time: Time.now, # required
3639
+ # end_date_time: Time.now, # required
3640
+ # }
3641
+ #
3642
+ # @!attribute [rw] start_date_time
3643
+ # A timestamp indicating the start date for the date range filter.
3644
+ # @return [Time]
3645
+ #
3646
+ # @!attribute [rw] end_date_time
3647
+ # A timestamp indicating the end date for the date range filter.
3648
+ # @return [Time]
3649
+ #
3650
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DateRangeFilter AWS API Documentation
3651
+ #
3652
+ class DateRangeFilter < Struct.new(
3653
+ :start_date_time,
3654
+ :end_date_time)
3655
+ SENSITIVE = []
3656
+ include Aws::Structure
3657
+ end
3658
+
3382
3659
  # @note When making an API call, you may pass DeleteBotAliasRequest
3383
3660
  # data as a hash:
3384
3661
  #
@@ -3604,6 +3881,68 @@ module Aws::LexModelsV2
3604
3881
  include Aws::Structure
3605
3882
  end
3606
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
+
3607
3946
  # @note When making an API call, you may pass DeleteExportRequest
3608
3947
  # data as a hash:
3609
3948
  #
@@ -4192,6 +4531,11 @@ module Aws::LexModelsV2
4192
4531
  # have taken place for the locale.
4193
4532
  # @return [Array<Types::BotLocaleHistoryEvent>]
4194
4533
  #
4534
+ # @!attribute [rw] recommended_actions
4535
+ # Recommended actions to take to resolve an error in the
4536
+ # `failureReasons` field.
4537
+ # @return [Array<String>]
4538
+ #
4195
4539
  # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DescribeBotLocaleResponse AWS API Documentation
4196
4540
  #
4197
4541
  class DescribeBotLocaleResponse < Struct.new(
@@ -4209,58 +4553,172 @@ module Aws::LexModelsV2
4209
4553
  :creation_date_time,
4210
4554
  :last_updated_date_time,
4211
4555
  :last_build_submitted_date_time,
4212
- :bot_locale_history_events)
4556
+ :bot_locale_history_events,
4557
+ :recommended_actions)
4213
4558
  SENSITIVE = []
4214
4559
  include Aws::Structure
4215
4560
  end
4216
4561
 
4217
- # @note When making an API call, you may pass DescribeBotRequest
4562
+ # @note When making an API call, you may pass DescribeBotRecommendationRequest
4218
4563
  # data as a hash:
4219
4564
  #
4220
4565
  # {
4221
4566
  # bot_id: "Id", # required
4567
+ # bot_version: "DraftBotVersion", # required
4568
+ # locale_id: "LocaleId", # required
4569
+ # bot_recommendation_id: "Id", # required
4222
4570
  # }
4223
4571
  #
4224
4572
  # @!attribute [rw] bot_id
4225
- # The unique identifier of the bot to describe.
4573
+ # The unique identifier of the bot associated with the bot
4574
+ # recommendation.
4226
4575
  # @return [String]
4227
4576
  #
4228
- # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DescribeBotRequest AWS API Documentation
4577
+ # @!attribute [rw] bot_version
4578
+ # The version of the bot associated with the bot recommendation.
4579
+ # @return [String]
4229
4580
  #
4230
- class DescribeBotRequest < Struct.new(
4231
- :bot_id)
4581
+ # @!attribute [rw] locale_id
4582
+ # The identifier of the language and locale of the bot recommendation
4583
+ # to describe. The string must match one of the supported locales. For
4584
+ # more information, see [Supported languages][1].
4585
+ #
4586
+ #
4587
+ #
4588
+ # [1]: https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html
4589
+ # @return [String]
4590
+ #
4591
+ # @!attribute [rw] bot_recommendation_id
4592
+ # The identifier of the bot recommendation to describe.
4593
+ # @return [String]
4594
+ #
4595
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DescribeBotRecommendationRequest AWS API Documentation
4596
+ #
4597
+ class DescribeBotRecommendationRequest < Struct.new(
4598
+ :bot_id,
4599
+ :bot_version,
4600
+ :locale_id,
4601
+ :bot_recommendation_id)
4232
4602
  SENSITIVE = []
4233
4603
  include Aws::Structure
4234
4604
  end
4235
4605
 
4236
4606
  # @!attribute [rw] bot_id
4237
- # The unique identifier of the bot.
4607
+ # The identifier of the bot associated with the bot recommendation.
4238
4608
  # @return [String]
4239
4609
  #
4240
- # @!attribute [rw] bot_name
4241
- # The name of the bot.
4610
+ # @!attribute [rw] bot_version
4611
+ # The version of the bot associated with the bot recommendation.
4242
4612
  # @return [String]
4243
4613
  #
4244
- # @!attribute [rw] description
4245
- # The description of the bot.
4614
+ # @!attribute [rw] locale_id
4615
+ # The identifier of the language and locale of the bot recommendation
4616
+ # to describe.
4246
4617
  # @return [String]
4247
4618
  #
4248
- # @!attribute [rw] role_arn
4249
- # The Amazon Resource Name (ARN) of an IAM role that has permission to
4250
- # access the bot.
4619
+ # @!attribute [rw] bot_recommendation_status
4620
+ # The status of the bot recommendation. If the status is Failed, then
4621
+ # the reasons for the failure are listed in the failureReasons field.
4251
4622
  # @return [String]
4252
4623
  #
4253
- # @!attribute [rw] data_privacy
4254
- # Settings for managing data privacy of the bot and its conversations
4255
- # with users.
4256
- # @return [Types::DataPrivacy]
4624
+ # @!attribute [rw] bot_recommendation_id
4625
+ # The identifier of the bot recommendation being described.
4626
+ # @return [String]
4257
4627
  #
4258
- # @!attribute [rw] idle_session_ttl_in_seconds
4259
- # The maximum time in seconds that Amazon Lex retains the data
4260
- # gathered in a conversation.
4261
- # @return [Integer]
4628
+ # @!attribute [rw] failure_reasons
4629
+ # If botRecommendationStatus is Failed, Amazon Lex explains why.
4630
+ # @return [Array<String>]
4262
4631
  #
4263
- # @!attribute [rw] bot_status
4632
+ # @!attribute [rw] creation_date_time
4633
+ # The date and time that the bot recommendation was created.
4634
+ # @return [Time]
4635
+ #
4636
+ # @!attribute [rw] last_updated_date_time
4637
+ # The date and time that the bot recommendation was last updated.
4638
+ # @return [Time]
4639
+ #
4640
+ # @!attribute [rw] transcript_source_setting
4641
+ # The object representing the Amazon S3 bucket containing the
4642
+ # transcript, as well as the associated metadata.
4643
+ # @return [Types::TranscriptSourceSetting]
4644
+ #
4645
+ # @!attribute [rw] encryption_setting
4646
+ # The object representing the passwords that were used to encrypt the
4647
+ # data related to the bot recommendation results, as well as the KMS
4648
+ # key ARN used to encrypt the associated metadata.
4649
+ # @return [Types::EncryptionSetting]
4650
+ #
4651
+ # @!attribute [rw] bot_recommendation_results
4652
+ # The object representing the URL of the bot definition, the URL of
4653
+ # the associated transcript and a statistical summary of the bot
4654
+ # recommendation results.
4655
+ # @return [Types::BotRecommendationResults]
4656
+ #
4657
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DescribeBotRecommendationResponse AWS API Documentation
4658
+ #
4659
+ class DescribeBotRecommendationResponse < Struct.new(
4660
+ :bot_id,
4661
+ :bot_version,
4662
+ :locale_id,
4663
+ :bot_recommendation_status,
4664
+ :bot_recommendation_id,
4665
+ :failure_reasons,
4666
+ :creation_date_time,
4667
+ :last_updated_date_time,
4668
+ :transcript_source_setting,
4669
+ :encryption_setting,
4670
+ :bot_recommendation_results)
4671
+ SENSITIVE = []
4672
+ include Aws::Structure
4673
+ end
4674
+
4675
+ # @note When making an API call, you may pass DescribeBotRequest
4676
+ # data as a hash:
4677
+ #
4678
+ # {
4679
+ # bot_id: "Id", # required
4680
+ # }
4681
+ #
4682
+ # @!attribute [rw] bot_id
4683
+ # The unique identifier of the bot to describe.
4684
+ # @return [String]
4685
+ #
4686
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DescribeBotRequest AWS API Documentation
4687
+ #
4688
+ class DescribeBotRequest < Struct.new(
4689
+ :bot_id)
4690
+ SENSITIVE = []
4691
+ include Aws::Structure
4692
+ end
4693
+
4694
+ # @!attribute [rw] bot_id
4695
+ # The unique identifier of the bot.
4696
+ # @return [String]
4697
+ #
4698
+ # @!attribute [rw] bot_name
4699
+ # The name of the bot.
4700
+ # @return [String]
4701
+ #
4702
+ # @!attribute [rw] description
4703
+ # The description of the bot.
4704
+ # @return [String]
4705
+ #
4706
+ # @!attribute [rw] role_arn
4707
+ # The Amazon Resource Name (ARN) of an IAM role that has permission to
4708
+ # access the bot.
4709
+ # @return [String]
4710
+ #
4711
+ # @!attribute [rw] data_privacy
4712
+ # Settings for managing data privacy of the bot and its conversations
4713
+ # with users.
4714
+ # @return [Types::DataPrivacy]
4715
+ #
4716
+ # @!attribute [rw] idle_session_ttl_in_seconds
4717
+ # The maximum time in seconds that Amazon Lex retains the data
4718
+ # gathered in a conversation.
4719
+ # @return [Integer]
4720
+ #
4721
+ # @!attribute [rw] bot_status
4264
4722
  # The current status of the bot. When the status is `Available` the
4265
4723
  # bot is ready to be used in conversations with users.
4266
4724
  # @return [String]
@@ -4376,6 +4834,78 @@ module Aws::LexModelsV2
4376
4834
  include Aws::Structure
4377
4835
  end
4378
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
+
4379
4909
  # @note When making an API call, you may pass DescribeExportRequest
4380
4910
  # data as a hash:
4381
4911
  #
@@ -4405,8 +4935,7 @@ module Aws::LexModelsV2
4405
4935
  # @return [Types::ExportResourceSpecification]
4406
4936
  #
4407
4937
  # @!attribute [rw] file_format
4408
- # The file format used in the files that describe the bot or bot
4409
- # locale.
4938
+ # The file format used in the files that describe the resource.
4410
4939
  # @return [String]
4411
4940
  #
4412
4941
  # @!attribute [rw] export_status
@@ -4472,7 +5001,8 @@ module Aws::LexModelsV2
4472
5001
  # @return [String]
4473
5002
  #
4474
5003
  # @!attribute [rw] resource_specification
4475
- # The specifications of the imported bot or bot locale.
5004
+ # The specifications of the imported bot, bot locale, or custom
5005
+ # vocabulary.
4476
5006
  # @return [Types::ImportResourceSpecification]
4477
5007
  #
4478
5008
  # @!attribute [rw] imported_resource_id
@@ -4941,6 +5471,11 @@ module Aws::LexModelsV2
4941
5471
  # updated.
4942
5472
  # @return [Time]
4943
5473
  #
5474
+ # @!attribute [rw] external_source_setting
5475
+ # Provides information about the external source of the slot type's
5476
+ # definition.
5477
+ # @return [Types::ExternalSourceSetting]
5478
+ #
4944
5479
  # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DescribeSlotTypeResponse AWS API Documentation
4945
5480
  #
4946
5481
  class DescribeSlotTypeResponse < Struct.new(
@@ -4954,7 +5489,8 @@ module Aws::LexModelsV2
4954
5489
  :bot_version,
4955
5490
  :locale_id,
4956
5491
  :creation_date_time,
4957
- :last_updated_date_time)
5492
+ :last_updated_date_time,
5493
+ :external_source_setting)
4958
5494
  SENSITIVE = []
4959
5495
  include Aws::Structure
4960
5496
  end
@@ -4981,6 +5517,43 @@ module Aws::LexModelsV2
4981
5517
  include Aws::Structure
4982
5518
  end
4983
5519
 
5520
+ # The object representing the passwords that were used to encrypt the
5521
+ # data related to the bot recommendation, as well as the KMS key ARN
5522
+ # used to encrypt the associated metadata.
5523
+ #
5524
+ # @note When making an API call, you may pass EncryptionSetting
5525
+ # data as a hash:
5526
+ #
5527
+ # {
5528
+ # kms_key_arn: "KmsKeyArn",
5529
+ # bot_locale_export_password: "FilePassword",
5530
+ # associated_transcripts_password: "FilePassword",
5531
+ # }
5532
+ #
5533
+ # @!attribute [rw] kms_key_arn
5534
+ # The KMS key ARN used to encrypt the metadata associated with the bot
5535
+ # recommendation.
5536
+ # @return [String]
5537
+ #
5538
+ # @!attribute [rw] bot_locale_export_password
5539
+ # The password used to encrypt the recommended bot recommendation
5540
+ # file.
5541
+ # @return [String]
5542
+ #
5543
+ # @!attribute [rw] associated_transcripts_password
5544
+ # The password used to encrypt the associated transcript file.
5545
+ # @return [String]
5546
+ #
5547
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/EncryptionSetting AWS API Documentation
5548
+ #
5549
+ class EncryptionSetting < Struct.new(
5550
+ :kms_key_arn,
5551
+ :bot_locale_export_password,
5552
+ :associated_transcripts_password)
5553
+ SENSITIVE = [:bot_locale_export_password, :associated_transcripts_password]
5554
+ include Aws::Structure
5555
+ end
5556
+
4984
5557
  # Filters the response form the [ListExports][1] operation
4985
5558
  #
4986
5559
  #
@@ -5001,7 +5574,8 @@ module Aws::LexModelsV2
5001
5574
  # @return [String]
5002
5575
  #
5003
5576
  # @!attribute [rw] values
5004
- # 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`.
5005
5579
  # @return [Array<String>]
5006
5580
  #
5007
5581
  # @!attribute [rw] operator
@@ -5038,6 +5612,11 @@ module Aws::LexModelsV2
5038
5612
  # bot_version: "BotVersion", # required
5039
5613
  # locale_id: "LocaleId", # required
5040
5614
  # },
5615
+ # custom_vocabulary_export_specification: {
5616
+ # bot_id: "Id", # required
5617
+ # bot_version: "BotVersion", # required
5618
+ # locale_id: "LocaleId", # required
5619
+ # },
5041
5620
  # }
5042
5621
  #
5043
5622
  # @!attribute [rw] bot_export_specification
@@ -5048,11 +5627,16 @@ module Aws::LexModelsV2
5048
5627
  # Parameters for exporting a bot locale.
5049
5628
  # @return [Types::BotLocaleExportSpecification]
5050
5629
  #
5630
+ # @!attribute [rw] custom_vocabulary_export_specification
5631
+ # The parameters required to export a custom vocabulary.
5632
+ # @return [Types::CustomVocabularyExportSpecification]
5633
+ #
5051
5634
  # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ExportResourceSpecification AWS API Documentation
5052
5635
  #
5053
5636
  class ExportResourceSpecification < Struct.new(
5054
5637
  :bot_export_specification,
5055
- :bot_locale_export_specification)
5638
+ :bot_locale_export_specification,
5639
+ :custom_vocabulary_export_specification)
5056
5640
  SENSITIVE = []
5057
5641
  include Aws::Structure
5058
5642
  end
@@ -5124,6 +5708,35 @@ module Aws::LexModelsV2
5124
5708
  include Aws::Structure
5125
5709
  end
5126
5710
 
5711
+ # Provides information about the external source of the slot type's
5712
+ # definition.
5713
+ #
5714
+ # @note When making an API call, you may pass ExternalSourceSetting
5715
+ # data as a hash:
5716
+ #
5717
+ # {
5718
+ # grammar_slot_type_setting: {
5719
+ # source: {
5720
+ # s3_bucket_name: "S3BucketName", # required
5721
+ # s3_object_key: "S3ObjectPath", # required
5722
+ # kms_key_arn: "KmsKeyArn",
5723
+ # },
5724
+ # },
5725
+ # }
5726
+ #
5727
+ # @!attribute [rw] grammar_slot_type_setting
5728
+ # Settings required for a slot type based on a grammar that you
5729
+ # provide.
5730
+ # @return [Types::GrammarSlotTypeSetting]
5731
+ #
5732
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ExternalSourceSetting AWS API Documentation
5733
+ #
5734
+ class ExternalSourceSetting < Struct.new(
5735
+ :grammar_slot_type_setting)
5736
+ SENSITIVE = []
5737
+ include Aws::Structure
5738
+ end
5739
+
5127
5740
  # Determines if a Lambda function should be invoked for a specific
5128
5741
  # intent.
5129
5742
  #
@@ -5762,6 +6375,66 @@ module Aws::LexModelsV2
5762
6375
  include Aws::Structure
5763
6376
  end
5764
6377
 
6378
+ # Settings requried for a slot type based on a grammar that you provide.
6379
+ #
6380
+ # @note When making an API call, you may pass GrammarSlotTypeSetting
6381
+ # data as a hash:
6382
+ #
6383
+ # {
6384
+ # source: {
6385
+ # s3_bucket_name: "S3BucketName", # required
6386
+ # s3_object_key: "S3ObjectPath", # required
6387
+ # kms_key_arn: "KmsKeyArn",
6388
+ # },
6389
+ # }
6390
+ #
6391
+ # @!attribute [rw] source
6392
+ # The source of the grammar used to create the slot type.
6393
+ # @return [Types::GrammarSlotTypeSource]
6394
+ #
6395
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/GrammarSlotTypeSetting AWS API Documentation
6396
+ #
6397
+ class GrammarSlotTypeSetting < Struct.new(
6398
+ :source)
6399
+ SENSITIVE = []
6400
+ include Aws::Structure
6401
+ end
6402
+
6403
+ # Describes the Amazon S3 bucket name and location for the grammar that
6404
+ # is the source for the slot type.
6405
+ #
6406
+ # @note When making an API call, you may pass GrammarSlotTypeSource
6407
+ # data as a hash:
6408
+ #
6409
+ # {
6410
+ # s3_bucket_name: "S3BucketName", # required
6411
+ # s3_object_key: "S3ObjectPath", # required
6412
+ # kms_key_arn: "KmsKeyArn",
6413
+ # }
6414
+ #
6415
+ # @!attribute [rw] s3_bucket_name
6416
+ # The name of the S3 bucket that contains the grammar source.
6417
+ # @return [String]
6418
+ #
6419
+ # @!attribute [rw] s3_object_key
6420
+ # The path to the grammar in the S3 bucket.
6421
+ # @return [String]
6422
+ #
6423
+ # @!attribute [rw] kms_key_arn
6424
+ # The Amazon KMS key required to decrypt the contents of the grammar,
6425
+ # if any.
6426
+ # @return [String]
6427
+ #
6428
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/GrammarSlotTypeSource AWS API Documentation
6429
+ #
6430
+ class GrammarSlotTypeSource < Struct.new(
6431
+ :s3_bucket_name,
6432
+ :s3_object_key,
6433
+ :kms_key_arn)
6434
+ SENSITIVE = []
6435
+ include Aws::Structure
6436
+ end
6437
+
5765
6438
  # A card that is shown to the user by a messaging platform. You define
5766
6439
  # the contents of the card, the card is displayed by the platform.
5767
6440
  #
@@ -5836,7 +6509,8 @@ module Aws::LexModelsV2
5836
6509
  # @return [String]
5837
6510
  #
5838
6511
  # @!attribute [rw] values
5839
- # 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`.
5840
6514
  # @return [Array<String>]
5841
6515
  #
5842
6516
  # @!attribute [rw] operator
@@ -5888,6 +6562,11 @@ module Aws::LexModelsV2
5888
6562
  # engine: "standard", # accepts standard, neural
5889
6563
  # },
5890
6564
  # },
6565
+ # custom_vocabulary_import_specification: {
6566
+ # bot_id: "Id", # required
6567
+ # bot_version: "DraftBotVersion", # required
6568
+ # locale_id: "LocaleId", # required
6569
+ # },
5891
6570
  # }
5892
6571
  #
5893
6572
  # @!attribute [rw] bot_import_specification
@@ -5898,11 +6577,16 @@ module Aws::LexModelsV2
5898
6577
  # Parameters for importing a bot locale.
5899
6578
  # @return [Types::BotLocaleImportSpecification]
5900
6579
  #
6580
+ # @!attribute [rw] custom_vocabulary_import_specification
6581
+ # Provides the parameters required for importing a custom vocabulary.
6582
+ # @return [Types::CustomVocabularyImportSpecification]
6583
+ #
5901
6584
  # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ImportResourceSpecification AWS API Documentation
5902
6585
  #
5903
6586
  class ImportResourceSpecification < Struct.new(
5904
6587
  :bot_import_specification,
5905
- :bot_locale_import_specification)
6588
+ :bot_locale_import_specification,
6589
+ :custom_vocabulary_import_specification)
5906
6590
  SENSITIVE = []
5907
6591
  include Aws::Structure
5908
6592
  end
@@ -5967,6 +6651,10 @@ module Aws::LexModelsV2
5967
6651
  # The date and time that the import was last updated.
5968
6652
  # @return [Time]
5969
6653
  #
6654
+ # @!attribute [rw] imported_resource_type
6655
+ # The type of resource that was imported.
6656
+ # @return [String]
6657
+ #
5970
6658
  # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ImportSummary AWS API Documentation
5971
6659
  #
5972
6660
  class ImportSummary < Struct.new(
@@ -5976,7 +6664,8 @@ module Aws::LexModelsV2
5976
6664
  :import_status,
5977
6665
  :merge_strategy,
5978
6666
  :creation_date_time,
5979
- :last_updated_date_time)
6667
+ :last_updated_date_time,
6668
+ :imported_resource_type)
5980
6669
  SENSITIVE = []
5981
6670
  include Aws::Structure
5982
6671
  end
@@ -6301,6 +6990,22 @@ module Aws::LexModelsV2
6301
6990
  include Aws::Structure
6302
6991
  end
6303
6992
 
6993
+ # The object that contains the statistical summary of recommended
6994
+ # intents associated with the bot recommendation.
6995
+ #
6996
+ # @!attribute [rw] discovered_intent_count
6997
+ # The number of recommended intents associated with the bot
6998
+ # recommendation.
6999
+ # @return [Integer]
7000
+ #
7001
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/IntentStatistics AWS API Documentation
7002
+ #
7003
+ class IntentStatistics < Struct.new(
7004
+ :discovered_intent_count)
7005
+ SENSITIVE = []
7006
+ include Aws::Structure
7007
+ end
7008
+
6304
7009
  # Summary information about an intent returned by the `ListIntents`
6305
7010
  # operation.
6306
7011
  #
@@ -6439,6 +7144,33 @@ module Aws::LexModelsV2
6439
7144
  include Aws::Structure
6440
7145
  end
6441
7146
 
7147
+ # The object that contains transcript filter details that are associated
7148
+ # with a bot recommendation.
7149
+ #
7150
+ # @note When making an API call, you may pass LexTranscriptFilter
7151
+ # data as a hash:
7152
+ #
7153
+ # {
7154
+ # date_range_filter: {
7155
+ # start_date_time: Time.now, # required
7156
+ # end_date_time: Time.now, # required
7157
+ # },
7158
+ # }
7159
+ #
7160
+ # @!attribute [rw] date_range_filter
7161
+ # The object that contains a date range filter that will be applied to
7162
+ # the transcript. Specify this object if you want Amazon Lex to only
7163
+ # read the files that are within the date range.
7164
+ # @return [Types::DateRangeFilter]
7165
+ #
7166
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/LexTranscriptFilter AWS API Documentation
7167
+ #
7168
+ class LexTranscriptFilter < Struct.new(
7169
+ :date_range_filter)
7170
+ SENSITIVE = []
7171
+ include Aws::Structure
7172
+ end
7173
+
6442
7174
  # @note When making an API call, you may pass ListAggregatedUtterancesRequest
6443
7175
  # data as a hash:
6444
7176
  #
@@ -6782,48 +7514,140 @@ module Aws::LexModelsV2
6782
7514
  include Aws::Structure
6783
7515
  end
6784
7516
 
6785
- # @note When making an API call, you may pass ListBotVersionsRequest
7517
+ # @note When making an API call, you may pass ListBotRecommendationsRequest
6786
7518
  # data as a hash:
6787
7519
  #
6788
7520
  # {
6789
7521
  # bot_id: "Id", # required
6790
- # sort_by: {
6791
- # attribute: "BotVersion", # required, accepts BotVersion
6792
- # order: "Ascending", # required, accepts Ascending, Descending
6793
- # },
7522
+ # bot_version: "DraftBotVersion", # required
7523
+ # locale_id: "LocaleId", # required
6794
7524
  # max_results: 1,
6795
7525
  # next_token: "NextToken",
6796
7526
  # }
6797
7527
  #
6798
7528
  # @!attribute [rw] bot_id
6799
- # The identifier of the bot to list versions for.
7529
+ # The unique identifier of the bot that contains the bot
7530
+ # recommendation list.
6800
7531
  # @return [String]
6801
7532
  #
6802
- # @!attribute [rw] sort_by
6803
- # Specifies sorting parameters for the list of versions. You can
6804
- # specify that the list be sorted by version name in either ascending
6805
- # or descending order.
6806
- # @return [Types::BotVersionSortBy]
7533
+ # @!attribute [rw] bot_version
7534
+ # The version of the bot that contains the bot recommendation list.
7535
+ # @return [String]
7536
+ #
7537
+ # @!attribute [rw] locale_id
7538
+ # The identifier of the language and locale of the bot recommendation
7539
+ # list.
7540
+ # @return [String]
6807
7541
  #
6808
7542
  # @!attribute [rw] max_results
6809
- # The maximum number of versions to return in each page of results. If
6810
- # there are fewer results than the max page size, only the actual
6811
- # number of results are returned.
7543
+ # The maximum number of bot recommendations to return in each page of
7544
+ # results. If there are fewer results than the max page size, only the
7545
+ # actual number of results are returned.
6812
7546
  # @return [Integer]
6813
7547
  #
6814
7548
  # @!attribute [rw] next_token
6815
- # If the response to the `ListBotVersion` operation contains more
6816
- # results than specified in the `maxResults` parameter, a token is
6817
- # returned in the response. Use that token in the `nextToken`
6818
- # parameter to return the next page of results.
7549
+ # If the response from the ListBotRecommendation operation contains
7550
+ # more results than specified in the maxResults parameter, a token is
7551
+ # returned in the response. Use that token in the nextToken parameter
7552
+ # to return the next page of results.
6819
7553
  # @return [String]
6820
7554
  #
6821
- # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ListBotVersionsRequest AWS API Documentation
7555
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ListBotRecommendationsRequest AWS API Documentation
6822
7556
  #
6823
- class ListBotVersionsRequest < Struct.new(
7557
+ class ListBotRecommendationsRequest < Struct.new(
6824
7558
  :bot_id,
6825
- :sort_by,
6826
- :max_results,
7559
+ :bot_version,
7560
+ :locale_id,
7561
+ :max_results,
7562
+ :next_token)
7563
+ SENSITIVE = []
7564
+ include Aws::Structure
7565
+ end
7566
+
7567
+ # @!attribute [rw] bot_id
7568
+ # The unique identifier of the bot that contains the bot
7569
+ # recommendation list.
7570
+ # @return [String]
7571
+ #
7572
+ # @!attribute [rw] bot_version
7573
+ # The version of the bot that contains the bot recommendation list.
7574
+ # @return [String]
7575
+ #
7576
+ # @!attribute [rw] locale_id
7577
+ # The identifier of the language and locale of the bot recommendation
7578
+ # list.
7579
+ # @return [String]
7580
+ #
7581
+ # @!attribute [rw] bot_recommendation_summaries
7582
+ # Summary information for the bot recommendations that meet the filter
7583
+ # specified in this request. The length of the list is specified in
7584
+ # the maxResults parameter of the request. If there are more bot
7585
+ # recommendations available, the nextToken field contains a token to
7586
+ # get the next page of results.
7587
+ # @return [Array<Types::BotRecommendationSummary>]
7588
+ #
7589
+ # @!attribute [rw] next_token
7590
+ # A token that indicates whether there are more results to return in a
7591
+ # response to the ListBotRecommendations operation. If the nextToken
7592
+ # field is present, you send the contents as the nextToken parameter
7593
+ # of a ListBotRecommendations operation request to get the next page
7594
+ # of results.
7595
+ # @return [String]
7596
+ #
7597
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ListBotRecommendationsResponse AWS API Documentation
7598
+ #
7599
+ class ListBotRecommendationsResponse < Struct.new(
7600
+ :bot_id,
7601
+ :bot_version,
7602
+ :locale_id,
7603
+ :bot_recommendation_summaries,
7604
+ :next_token)
7605
+ SENSITIVE = []
7606
+ include Aws::Structure
7607
+ end
7608
+
7609
+ # @note When making an API call, you may pass ListBotVersionsRequest
7610
+ # data as a hash:
7611
+ #
7612
+ # {
7613
+ # bot_id: "Id", # required
7614
+ # sort_by: {
7615
+ # attribute: "BotVersion", # required, accepts BotVersion
7616
+ # order: "Ascending", # required, accepts Ascending, Descending
7617
+ # },
7618
+ # max_results: 1,
7619
+ # next_token: "NextToken",
7620
+ # }
7621
+ #
7622
+ # @!attribute [rw] bot_id
7623
+ # The identifier of the bot to list versions for.
7624
+ # @return [String]
7625
+ #
7626
+ # @!attribute [rw] sort_by
7627
+ # Specifies sorting parameters for the list of versions. You can
7628
+ # specify that the list be sorted by version name in either ascending
7629
+ # or descending order.
7630
+ # @return [Types::BotVersionSortBy]
7631
+ #
7632
+ # @!attribute [rw] max_results
7633
+ # The maximum number of versions to return in each page of results. If
7634
+ # there are fewer results than the max page size, only the actual
7635
+ # number of results are returned.
7636
+ # @return [Integer]
7637
+ #
7638
+ # @!attribute [rw] next_token
7639
+ # If the response to the `ListBotVersion` operation contains more
7640
+ # results than specified in the `maxResults` parameter, a token is
7641
+ # returned in the response. Use that token in the `nextToken`
7642
+ # parameter to return the next page of results.
7643
+ # @return [String]
7644
+ #
7645
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ListBotVersionsRequest AWS API Documentation
7646
+ #
7647
+ class ListBotVersionsRequest < Struct.new(
7648
+ :bot_id,
7649
+ :sort_by,
7650
+ :max_results,
6827
7651
  :next_token)
6828
7652
  SENSITIVE = []
6829
7653
  include Aws::Structure
@@ -6899,8 +7723,12 @@ module Aws::LexModelsV2
6899
7723
  # @!attribute [rw] next_token
6900
7724
  # If the response from the `ListBots` operation contains more results
6901
7725
  # than specified in the `maxResults` parameter, a token is returned in
6902
- # the response. Use that token in the `nextToken` parameter to return
6903
- # 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.
6904
7732
  # @return [String]
6905
7733
  #
6906
7734
  # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ListBotsRequest AWS API Documentation
@@ -7123,6 +7951,7 @@ module Aws::LexModelsV2
7123
7951
  # ],
7124
7952
  # max_results: 1,
7125
7953
  # next_token: "NextToken",
7954
+ # locale_id: "LocaleId",
7126
7955
  # }
7127
7956
  #
7128
7957
  # @!attribute [rw] bot_id
@@ -7154,8 +7983,18 @@ module Aws::LexModelsV2
7154
7983
  # @!attribute [rw] next_token
7155
7984
  # If the response from the `ListExports` operation contains more
7156
7985
  # results that specified in the `maxResults` parameter, a token is
7157
- # returned in the response. Use that token in the `nextToken`
7158
- # 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.
7159
7998
  # @return [String]
7160
7999
  #
7161
8000
  # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ListExportsRequest AWS API Documentation
@@ -7166,7 +8005,8 @@ module Aws::LexModelsV2
7166
8005
  :sort_by,
7167
8006
  :filters,
7168
8007
  :max_results,
7169
- :next_token)
8008
+ :next_token,
8009
+ :locale_id)
7170
8010
  SENSITIVE = []
7171
8011
  include Aws::Structure
7172
8012
  end
@@ -7193,13 +8033,18 @@ module Aws::LexModelsV2
7193
8033
  # `ListExports` operation request to get the next page of results.
7194
8034
  # @return [String]
7195
8035
  #
8036
+ # @!attribute [rw] locale_id
8037
+ # The locale specified in the request.
8038
+ # @return [String]
8039
+ #
7196
8040
  # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ListExportsResponse AWS API Documentation
7197
8041
  #
7198
8042
  class ListExportsResponse < Struct.new(
7199
8043
  :bot_id,
7200
8044
  :bot_version,
7201
8045
  :export_summaries,
7202
- :next_token)
8046
+ :next_token,
8047
+ :locale_id)
7203
8048
  SENSITIVE = []
7204
8049
  include Aws::Structure
7205
8050
  end
@@ -7223,6 +8068,7 @@ module Aws::LexModelsV2
7223
8068
  # ],
7224
8069
  # max_results: 1,
7225
8070
  # next_token: "NextToken",
8071
+ # locale_id: "LocaleId",
7226
8072
  # }
7227
8073
  #
7228
8074
  # @!attribute [rw] bot_id
@@ -7254,8 +8100,18 @@ module Aws::LexModelsV2
7254
8100
  # @!attribute [rw] next_token
7255
8101
  # If the response from the `ListImports` operation contains more
7256
8102
  # results than specified in the `maxResults` parameter, a token is
7257
- # returned in the response. Use that token in the `nextToken`
7258
- # 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.
7259
8115
  # @return [String]
7260
8116
  #
7261
8117
  # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ListImportsRequest AWS API Documentation
@@ -7266,7 +8122,8 @@ module Aws::LexModelsV2
7266
8122
  :sort_by,
7267
8123
  :filters,
7268
8124
  :max_results,
7269
- :next_token)
8125
+ :next_token,
8126
+ :locale_id)
7270
8127
  SENSITIVE = []
7271
8128
  include Aws::Structure
7272
8129
  end
@@ -7293,13 +8150,18 @@ module Aws::LexModelsV2
7293
8150
  # `ListImports` operation request to get the next page of results.
7294
8151
  # @return [String]
7295
8152
  #
8153
+ # @!attribute [rw] locale_id
8154
+ # The locale specified in the request.
8155
+ # @return [String]
8156
+ #
7296
8157
  # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ListImportsResponse AWS API Documentation
7297
8158
  #
7298
8159
  class ListImportsResponse < Struct.new(
7299
8160
  :bot_id,
7300
8161
  :bot_version,
7301
8162
  :import_summaries,
7302
- :next_token)
8163
+ :next_token,
8164
+ :locale_id)
7303
8165
  SENSITIVE = []
7304
8166
  include Aws::Structure
7305
8167
  end
@@ -7365,8 +8227,12 @@ module Aws::LexModelsV2
7365
8227
  # @!attribute [rw] next_token
7366
8228
  # If the response from the `ListIntents` operation contains more
7367
8229
  # results than specified in the `maxResults` parameter, a token is
7368
- # returned in the response. Use that token in the `nextToken`
7369
- # 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.
7370
8236
  # @return [String]
7371
8237
  #
7372
8238
  # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ListIntentsRequest AWS API Documentation
@@ -7422,6 +8288,116 @@ module Aws::LexModelsV2
7422
8288
  include Aws::Structure
7423
8289
  end
7424
8290
 
8291
+ # @note When making an API call, you may pass ListRecommendedIntentsRequest
8292
+ # data as a hash:
8293
+ #
8294
+ # {
8295
+ # bot_id: "Id", # required
8296
+ # bot_version: "DraftBotVersion", # required
8297
+ # locale_id: "LocaleId", # required
8298
+ # bot_recommendation_id: "Id", # required
8299
+ # next_token: "NextToken",
8300
+ # max_results: 1,
8301
+ # }
8302
+ #
8303
+ # @!attribute [rw] bot_id
8304
+ # The unique identifier of the bot associated with the recommended
8305
+ # intents.
8306
+ # @return [String]
8307
+ #
8308
+ # @!attribute [rw] bot_version
8309
+ # The version of the bot that contains the recommended intents.
8310
+ # @return [String]
8311
+ #
8312
+ # @!attribute [rw] locale_id
8313
+ # The identifier of the language and locale of the recommended
8314
+ # intents.
8315
+ # @return [String]
8316
+ #
8317
+ # @!attribute [rw] bot_recommendation_id
8318
+ # The identifier of the bot recommendation that contains the
8319
+ # recommended intents.
8320
+ # @return [String]
8321
+ #
8322
+ # @!attribute [rw] next_token
8323
+ # If the response from the ListRecommendedIntents operation contains
8324
+ # more results than specified in the maxResults parameter, a token is
8325
+ # returned in the response. Use that token in the nextToken parameter
8326
+ # to return the next page of results.
8327
+ # @return [String]
8328
+ #
8329
+ # @!attribute [rw] max_results
8330
+ # The maximum number of bot recommendations to return in each page of
8331
+ # results. If there are fewer results than the max page size, only the
8332
+ # actual number of results are returned.
8333
+ # @return [Integer]
8334
+ #
8335
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ListRecommendedIntentsRequest AWS API Documentation
8336
+ #
8337
+ class ListRecommendedIntentsRequest < Struct.new(
8338
+ :bot_id,
8339
+ :bot_version,
8340
+ :locale_id,
8341
+ :bot_recommendation_id,
8342
+ :next_token,
8343
+ :max_results)
8344
+ SENSITIVE = []
8345
+ include Aws::Structure
8346
+ end
8347
+
8348
+ # @!attribute [rw] bot_id
8349
+ # The unique identifier of the bot associated with the recommended
8350
+ # intent.
8351
+ # @return [String]
8352
+ #
8353
+ # @!attribute [rw] bot_version
8354
+ # The version of the bot that contains the intent.
8355
+ # @return [String]
8356
+ #
8357
+ # @!attribute [rw] locale_id
8358
+ # The identifier of the language and locale of the intents to list.
8359
+ # The string must match one of the supported locales. For more
8360
+ # information, see [Supported languages][1].
8361
+ #
8362
+ #
8363
+ #
8364
+ # [1]: https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html
8365
+ # @return [String]
8366
+ #
8367
+ # @!attribute [rw] bot_recommendation_id
8368
+ # The identifier of the bot recommendation that contains the
8369
+ # recommended intent.
8370
+ # @return [String]
8371
+ #
8372
+ # @!attribute [rw] summary_list
8373
+ # Summary information for the intents that meet the filter criteria
8374
+ # specified in the request. The length of the list is specified in the
8375
+ # maxResults parameter of the request. If there are more intents
8376
+ # available, the nextToken field contains a token to get the next page
8377
+ # of results.
8378
+ # @return [Array<Types::RecommendedIntentSummary>]
8379
+ #
8380
+ # @!attribute [rw] next_token
8381
+ # A token that indicates whether there are more results to return in a
8382
+ # response to the ListRecommendedIntents operation. If the nextToken
8383
+ # field is present, you send the contents as the nextToken parameter
8384
+ # of a ListRecommendedIntents operation request to get the next page
8385
+ # of results.
8386
+ # @return [String]
8387
+ #
8388
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ListRecommendedIntentsResponse AWS API Documentation
8389
+ #
8390
+ class ListRecommendedIntentsResponse < Struct.new(
8391
+ :bot_id,
8392
+ :bot_version,
8393
+ :locale_id,
8394
+ :bot_recommendation_id,
8395
+ :summary_list,
8396
+ :next_token)
8397
+ SENSITIVE = []
8398
+ include Aws::Structure
8399
+ end
8400
+
7425
8401
  # @note When making an API call, you may pass ListSlotTypesRequest
7426
8402
  # data as a hash:
7427
8403
  #
@@ -7435,7 +8411,7 @@ module Aws::LexModelsV2
7435
8411
  # },
7436
8412
  # filters: [
7437
8413
  # {
7438
- # name: "SlotTypeName", # required, accepts SlotTypeName
8414
+ # name: "SlotTypeName", # required, accepts SlotTypeName, ExternalSourceType
7439
8415
  # values: ["FilterValue"], # required
7440
8416
  # operator: "CO", # required, accepts CO, EQ
7441
8417
  # },
@@ -7921,6 +8897,32 @@ module Aws::LexModelsV2
7921
8897
  include Aws::Structure
7922
8898
  end
7923
8899
 
8900
+ # The object that contains a path format that will be applied when
8901
+ # Amazon Lex reads the transcript file in the bucket you provide.
8902
+ # Specify this object if you only want Lex to read a subset of files in
8903
+ # your Amazon S3 bucket.
8904
+ #
8905
+ # @note When making an API call, you may pass PathFormat
8906
+ # data as a hash:
8907
+ #
8908
+ # {
8909
+ # object_prefixes: ["ObjectPrefix"],
8910
+ # }
8911
+ #
8912
+ # @!attribute [rw] object_prefixes
8913
+ # A list of Amazon S3 prefixes that points to sub-folders in the
8914
+ # Amazon S3 bucket. Specify this list if you only want Lex to read the
8915
+ # files under this set of sub-folders.
8916
+ # @return [Array<String>]
8917
+ #
8918
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/PathFormat AWS API Documentation
8919
+ #
8920
+ class PathFormat < Struct.new(
8921
+ :object_prefixes)
8922
+ SENSITIVE = []
8923
+ include Aws::Structure
8924
+ end
8925
+
7924
8926
  # Defines an ASCII text message to send to the user.
7925
8927
  #
7926
8928
  # @note When making an API call, you may pass PlainTextMessage
@@ -8275,6 +9277,33 @@ module Aws::LexModelsV2
8275
9277
  include Aws::Structure
8276
9278
  end
8277
9279
 
9280
+ # An object that contains a summary of a recommended intent.
9281
+ #
9282
+ # @!attribute [rw] intent_id
9283
+ # The unique identifier of a recommended intent associated with the
9284
+ # bot recommendation.
9285
+ # @return [String]
9286
+ #
9287
+ # @!attribute [rw] intent_name
9288
+ # The name of a recommended intent associated with the bot
9289
+ # recommendation.
9290
+ # @return [String]
9291
+ #
9292
+ # @!attribute [rw] sample_utterances_count
9293
+ # The count of sample utterances of a recommended intent that is
9294
+ # associated with a bot recommendation.
9295
+ # @return [Integer]
9296
+ #
9297
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/RecommendedIntentSummary AWS API Documentation
9298
+ #
9299
+ class RecommendedIntentSummary < Struct.new(
9300
+ :intent_id,
9301
+ :intent_name,
9302
+ :sample_utterances_count)
9303
+ SENSITIVE = []
9304
+ include Aws::Structure
9305
+ end
9306
+
8278
9307
  # Specifies the time window that utterance statistics are returned for.
8279
9308
  # The time window is always relative to the last time that the that
8280
9309
  # utterances were aggregated. For example, if the
@@ -8455,6 +9484,71 @@ module Aws::LexModelsV2
8455
9484
  include Aws::Structure
8456
9485
  end
8457
9486
 
9487
+ # The object representing the Amazon S3 bucket containing the
9488
+ # transcript, as well as the associated metadata.
9489
+ #
9490
+ # @note When making an API call, you may pass S3BucketTranscriptSource
9491
+ # data as a hash:
9492
+ #
9493
+ # {
9494
+ # s3_bucket_name: "S3BucketName", # required
9495
+ # path_format: {
9496
+ # object_prefixes: ["ObjectPrefix"],
9497
+ # },
9498
+ # transcript_format: "Lex", # required, accepts Lex
9499
+ # transcript_filter: {
9500
+ # lex_transcript_filter: {
9501
+ # date_range_filter: {
9502
+ # start_date_time: Time.now, # required
9503
+ # end_date_time: Time.now, # required
9504
+ # },
9505
+ # },
9506
+ # },
9507
+ # kms_key_arn: "KmsKeyArn",
9508
+ # }
9509
+ #
9510
+ # @!attribute [rw] s3_bucket_name
9511
+ # The name of the bucket containing the transcript and the associated
9512
+ # metadata.
9513
+ # @return [String]
9514
+ #
9515
+ # @!attribute [rw] path_format
9516
+ # The object that contains a path format that will be applied when
9517
+ # Amazon Lex reads the transcript file in the bucket you provide.
9518
+ # Specify this object if you only want Lex to read a subset of files
9519
+ # in your Amazon S3 bucket.
9520
+ # @return [Types::PathFormat]
9521
+ #
9522
+ # @!attribute [rw] transcript_format
9523
+ # The format of the transcript content. Currently, Genie only supports
9524
+ # the Amazon Lex transcript format.
9525
+ # @return [String]
9526
+ #
9527
+ # @!attribute [rw] transcript_filter
9528
+ # The object that contains the filter which will be applied when
9529
+ # Amazon Lex reads through the Amazon S3 bucket. Specify this object
9530
+ # if you want Amazon Lex to read only a subset of the Amazon S3 bucket
9531
+ # based on the filter you provide.
9532
+ # @return [Types::TranscriptFilter]
9533
+ #
9534
+ # @!attribute [rw] kms_key_arn
9535
+ # The ARN of the KMS key that customer use to encrypt their Amazon S3
9536
+ # bucket. Only use this field if your bucket is encrypted using a
9537
+ # customer managed KMS key.
9538
+ # @return [String]
9539
+ #
9540
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/S3BucketTranscriptSource AWS API Documentation
9541
+ #
9542
+ class S3BucketTranscriptSource < Struct.new(
9543
+ :s3_bucket_name,
9544
+ :path_format,
9545
+ :transcript_format,
9546
+ :transcript_filter,
9547
+ :kms_key_arn)
9548
+ SENSITIVE = []
9549
+ include Aws::Structure
9550
+ end
9551
+
8458
9552
  # Defines a Speech Synthesis Markup Language (SSML) prompt.
8459
9553
  #
8460
9554
  # @note When making an API call, you may pass SSMLMessage
@@ -8491,31 +9585,168 @@ module Aws::LexModelsV2
8491
9585
  # machine-learning model to recognize intents.
8492
9586
  # @return [String]
8493
9587
  #
8494
- # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/SampleUtterance AWS API Documentation
9588
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/SampleUtterance AWS API Documentation
9589
+ #
9590
+ class SampleUtterance < Struct.new(
9591
+ :utterance)
9592
+ SENSITIVE = []
9593
+ include Aws::Structure
9594
+ end
9595
+
9596
+ # Defines one of the values for a slot type.
9597
+ #
9598
+ # @note When making an API call, you may pass SampleValue
9599
+ # data as a hash:
9600
+ #
9601
+ # {
9602
+ # value: "Value", # required
9603
+ # }
9604
+ #
9605
+ # @!attribute [rw] value
9606
+ # The value that can be used for a slot type.
9607
+ # @return [String]
9608
+ #
9609
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/SampleValue AWS API Documentation
9610
+ #
9611
+ class SampleValue < Struct.new(
9612
+ :value)
9613
+ SENSITIVE = []
9614
+ include Aws::Structure
9615
+ end
9616
+
9617
+ # @note When making an API call, you may pass SearchAssociatedTranscriptsRequest
9618
+ # data as a hash:
9619
+ #
9620
+ # {
9621
+ # bot_id: "Id", # required
9622
+ # bot_version: "BotVersion", # required
9623
+ # locale_id: "LocaleId", # required
9624
+ # bot_recommendation_id: "Id", # required
9625
+ # search_order: "Ascending", # accepts Ascending, Descending
9626
+ # filters: [ # required
9627
+ # {
9628
+ # name: "IntentId", # required, accepts IntentId, SlotTypeId
9629
+ # values: ["FilterValue"], # required
9630
+ # },
9631
+ # ],
9632
+ # max_results: 1,
9633
+ # next_index: 1,
9634
+ # }
9635
+ #
9636
+ # @!attribute [rw] bot_id
9637
+ # The unique identifier of the bot associated with the transcripts
9638
+ # that you are searching.
9639
+ # @return [String]
9640
+ #
9641
+ # @!attribute [rw] bot_version
9642
+ # The version of the bot containing the transcripts that you are
9643
+ # searching.
9644
+ # @return [String]
9645
+ #
9646
+ # @!attribute [rw] locale_id
9647
+ # The identifier of the language and locale of the transcripts to
9648
+ # search. The string must match one of the supported locales. For more
9649
+ # information, see [Supported languages][1]
9650
+ #
9651
+ #
9652
+ #
9653
+ # [1]: https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html
9654
+ # @return [String]
9655
+ #
9656
+ # @!attribute [rw] bot_recommendation_id
9657
+ # The unique identifier of the bot recommendation associated with the
9658
+ # transcripts to search.
9659
+ # @return [String]
9660
+ #
9661
+ # @!attribute [rw] search_order
9662
+ # How SearchResults are ordered. Valid values are Ascending or
9663
+ # Descending. The default is Descending.
9664
+ # @return [String]
9665
+ #
9666
+ # @!attribute [rw] filters
9667
+ # A list of filter objects.
9668
+ # @return [Array<Types::AssociatedTranscriptFilter>]
9669
+ #
9670
+ # @!attribute [rw] max_results
9671
+ # The maximum number of bot recommendations to return in each page of
9672
+ # results. If there are fewer results than the max page size, only the
9673
+ # actual number of results are returned.
9674
+ # @return [Integer]
9675
+ #
9676
+ # @!attribute [rw] next_index
9677
+ # If the response from the SearchAssociatedTranscriptsRequest
9678
+ # operation contains more results than specified in the maxResults
9679
+ # parameter, an index is returned in the response. Use that index in
9680
+ # the nextIndex parameter to return the next page of results.
9681
+ # @return [Integer]
8495
9682
  #
8496
- class SampleUtterance < Struct.new(
8497
- :utterance)
9683
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/SearchAssociatedTranscriptsRequest AWS API Documentation
9684
+ #
9685
+ class SearchAssociatedTranscriptsRequest < Struct.new(
9686
+ :bot_id,
9687
+ :bot_version,
9688
+ :locale_id,
9689
+ :bot_recommendation_id,
9690
+ :search_order,
9691
+ :filters,
9692
+ :max_results,
9693
+ :next_index)
8498
9694
  SENSITIVE = []
8499
9695
  include Aws::Structure
8500
9696
  end
8501
9697
 
8502
- # Defines one of the values for a slot type.
9698
+ # @!attribute [rw] bot_id
9699
+ # The unique identifier of the bot associated with the transcripts
9700
+ # that you are searching.
9701
+ # @return [String]
8503
9702
  #
8504
- # @note When making an API call, you may pass SampleValue
8505
- # data as a hash:
9703
+ # @!attribute [rw] bot_version
9704
+ # The version of the bot containing the transcripts that you are
9705
+ # searching.
9706
+ # @return [String]
8506
9707
  #
8507
- # {
8508
- # value: "Value", # required
8509
- # }
9708
+ # @!attribute [rw] locale_id
9709
+ # The identifier of the language and locale of the transcripts to
9710
+ # search. The string must match one of the supported locales. For more
9711
+ # information, see [Supported languages][1]
8510
9712
  #
8511
- # @!attribute [rw] value
8512
- # The value that can be used for a slot type.
9713
+ #
9714
+ #
9715
+ # [1]: https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html
8513
9716
  # @return [String]
8514
9717
  #
8515
- # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/SampleValue AWS API Documentation
9718
+ # @!attribute [rw] bot_recommendation_id
9719
+ # The unique identifier of the bot recommendation associated with the
9720
+ # transcripts to search.
9721
+ # @return [String]
8516
9722
  #
8517
- class SampleValue < Struct.new(
8518
- :value)
9723
+ # @!attribute [rw] next_index
9724
+ # A index that indicates whether there are more results to return in a
9725
+ # response to the SearchAssociatedTranscripts operation. If the
9726
+ # nextIndex field is present, you send the contents as the nextIndex
9727
+ # parameter of a SearchAssociatedTranscriptsRequest operation to get
9728
+ # the next page of results.
9729
+ # @return [Integer]
9730
+ #
9731
+ # @!attribute [rw] associated_transcripts
9732
+ # The object that contains the associated transcript that meet the
9733
+ # criteria you specified.
9734
+ # @return [Array<Types::AssociatedTranscript>]
9735
+ #
9736
+ # @!attribute [rw] total_results
9737
+ # The total number of transcripts returned by the search.
9738
+ # @return [Integer]
9739
+ #
9740
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/SearchAssociatedTranscriptsResponse AWS API Documentation
9741
+ #
9742
+ class SearchAssociatedTranscriptsResponse < Struct.new(
9743
+ :bot_id,
9744
+ :bot_version,
9745
+ :locale_id,
9746
+ :bot_recommendation_id,
9747
+ :next_index,
9748
+ :associated_transcripts,
9749
+ :total_results)
8519
9750
  SENSITIVE = []
8520
9751
  include Aws::Structure
8521
9752
  end
@@ -8750,7 +9981,7 @@ module Aws::LexModelsV2
8750
9981
  # data as a hash:
8751
9982
  #
8752
9983
  # {
8753
- # name: "SlotTypeName", # required, accepts SlotTypeName
9984
+ # name: "SlotTypeName", # required, accepts SlotTypeName, ExternalSourceType
8754
9985
  # values: ["FilterValue"], # required
8755
9986
  # operator: "CO", # required, accepts CO, EQ
8756
9987
  # }
@@ -8807,6 +10038,22 @@ module Aws::LexModelsV2
8807
10038
  include Aws::Structure
8808
10039
  end
8809
10040
 
10041
+ # The object that contains the statistical summary of the recommended
10042
+ # slot type associated with the bot recommendation.
10043
+ #
10044
+ # @!attribute [rw] discovered_slot_type_count
10045
+ # The number of recommended slot types associated with the bot
10046
+ # recommendation.
10047
+ # @return [Integer]
10048
+ #
10049
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/SlotTypeStatistics AWS API Documentation
10050
+ #
10051
+ class SlotTypeStatistics < Struct.new(
10052
+ :discovered_slot_type_count)
10053
+ SENSITIVE = []
10054
+ include Aws::Structure
10055
+ end
10056
+
8810
10057
  # Provides summary information about a slot type.
8811
10058
  #
8812
10059
  # @!attribute [rw] slot_type_id
@@ -8831,6 +10078,27 @@ module Aws::LexModelsV2
8831
10078
  # updated.
8832
10079
  # @return [Time]
8833
10080
  #
10081
+ # @!attribute [rw] slot_type_category
10082
+ # Indicates the type of the slot type.
10083
+ #
10084
+ # * `Custom` - A slot type that you created using custom values. For
10085
+ # more information, see [Creating custom slot types][1].
10086
+ #
10087
+ # * `Extended` - A slot type created by extending the
10088
+ # AMAZON.AlphaNumeric built-in slot type. For more information, see
10089
+ # [AMAZON.AlphaNumeric][2].
10090
+ #
10091
+ # * `ExternalGrammar` - A slot type using a custom GRXML grammar to
10092
+ # define values. For more information, see [Using a custom grammar
10093
+ # slot type][3].
10094
+ #
10095
+ #
10096
+ #
10097
+ # [1]: https://docs.aws.amazon.com/lexv2/latest/dg/custom-slot-types.html
10098
+ # [2]: https://docs.aws.amazon.com/lexv2/latest/dg/built-in-slot-alphanumerice.html
10099
+ # [3]: https://docs.aws.amazon.com/lexv2/latest/dg/building-grxml.html
10100
+ # @return [String]
10101
+ #
8834
10102
  # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/SlotTypeSummary AWS API Documentation
8835
10103
  #
8836
10104
  class SlotTypeSummary < Struct.new(
@@ -8838,7 +10106,8 @@ module Aws::LexModelsV2
8838
10106
  :slot_type_name,
8839
10107
  :description,
8840
10108
  :parent_slot_type_signature,
8841
- :last_updated_date_time)
10109
+ :last_updated_date_time,
10110
+ :slot_type_category)
8842
10111
  SENSITIVE = []
8843
10112
  include Aws::Structure
8844
10113
  end
@@ -9205,6 +10474,9 @@ module Aws::LexModelsV2
9205
10474
  # regex_filter: {
9206
10475
  # pattern: "RegexPattern", # required
9207
10476
  # },
10477
+ # advanced_recognition_setting: {
10478
+ # audio_recognition_strategy: "UseSlotValuesAsCustomVocabulary", # accepts UseSlotValuesAsCustomVocabulary
10479
+ # },
9208
10480
  # }
9209
10481
  #
9210
10482
  # @!attribute [rw] resolution_strategy
@@ -9227,11 +10499,150 @@ module Aws::LexModelsV2
9227
10499
  # A regular expression used to validate the value of a slot.
9228
10500
  # @return [Types::SlotValueRegexFilter]
9229
10501
  #
10502
+ # @!attribute [rw] advanced_recognition_setting
10503
+ # Provides settings that enable advanced recognition settings for slot
10504
+ # values.
10505
+ # @return [Types::AdvancedRecognitionSetting]
10506
+ #
9230
10507
  # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/SlotValueSelectionSetting AWS API Documentation
9231
10508
  #
9232
10509
  class SlotValueSelectionSetting < Struct.new(
9233
10510
  :resolution_strategy,
9234
- :regex_filter)
10511
+ :regex_filter,
10512
+ :advanced_recognition_setting)
10513
+ SENSITIVE = []
10514
+ include Aws::Structure
10515
+ end
10516
+
10517
+ # @note When making an API call, you may pass StartBotRecommendationRequest
10518
+ # data as a hash:
10519
+ #
10520
+ # {
10521
+ # bot_id: "Id", # required
10522
+ # bot_version: "DraftBotVersion", # required
10523
+ # locale_id: "LocaleId", # required
10524
+ # transcript_source_setting: { # required
10525
+ # s3_bucket_transcript_source: {
10526
+ # s3_bucket_name: "S3BucketName", # required
10527
+ # path_format: {
10528
+ # object_prefixes: ["ObjectPrefix"],
10529
+ # },
10530
+ # transcript_format: "Lex", # required, accepts Lex
10531
+ # transcript_filter: {
10532
+ # lex_transcript_filter: {
10533
+ # date_range_filter: {
10534
+ # start_date_time: Time.now, # required
10535
+ # end_date_time: Time.now, # required
10536
+ # },
10537
+ # },
10538
+ # },
10539
+ # kms_key_arn: "KmsKeyArn",
10540
+ # },
10541
+ # },
10542
+ # encryption_setting: {
10543
+ # kms_key_arn: "KmsKeyArn",
10544
+ # bot_locale_export_password: "FilePassword",
10545
+ # associated_transcripts_password: "FilePassword",
10546
+ # },
10547
+ # }
10548
+ #
10549
+ # @!attribute [rw] bot_id
10550
+ # The unique identifier of the bot containing the bot recommendation.
10551
+ # @return [String]
10552
+ #
10553
+ # @!attribute [rw] bot_version
10554
+ # The version of the bot containing the bot recommendation.
10555
+ # @return [String]
10556
+ #
10557
+ # @!attribute [rw] locale_id
10558
+ # The identifier of the language and locale of the bot recommendation
10559
+ # to start. The string must match one of the supported locales. For
10560
+ # more information, see [Supported languages][1]
10561
+ #
10562
+ #
10563
+ #
10564
+ # [1]: https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html
10565
+ # @return [String]
10566
+ #
10567
+ # @!attribute [rw] transcript_source_setting
10568
+ # The object representing the Amazon S3 bucket containing the
10569
+ # transcript, as well as the associated metadata.
10570
+ # @return [Types::TranscriptSourceSetting]
10571
+ #
10572
+ # @!attribute [rw] encryption_setting
10573
+ # The object representing the passwords that will be used to encrypt
10574
+ # the data related to the bot recommendation results, as well as the
10575
+ # KMS key ARN used to encrypt the associated metadata.
10576
+ # @return [Types::EncryptionSetting]
10577
+ #
10578
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/StartBotRecommendationRequest AWS API Documentation
10579
+ #
10580
+ class StartBotRecommendationRequest < Struct.new(
10581
+ :bot_id,
10582
+ :bot_version,
10583
+ :locale_id,
10584
+ :transcript_source_setting,
10585
+ :encryption_setting)
10586
+ SENSITIVE = []
10587
+ include Aws::Structure
10588
+ end
10589
+
10590
+ # @!attribute [rw] bot_id
10591
+ # The unique identifier of the bot containing the bot recommendation.
10592
+ # @return [String]
10593
+ #
10594
+ # @!attribute [rw] bot_version
10595
+ # The version of the bot containing the bot recommendation.
10596
+ # @return [String]
10597
+ #
10598
+ # @!attribute [rw] locale_id
10599
+ # The identifier of the language and locale of the bot recommendation
10600
+ # to start. The string must match one of the supported locales. For
10601
+ # more information, see [Supported languages][1]
10602
+ #
10603
+ #
10604
+ #
10605
+ # [1]: https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html
10606
+ # @return [String]
10607
+ #
10608
+ # @!attribute [rw] bot_recommendation_status
10609
+ # The status of the bot recommendation.
10610
+ #
10611
+ # If the status is Failed, then the reasons for the failure are listed
10612
+ # in the failureReasons field.
10613
+ # @return [String]
10614
+ #
10615
+ # @!attribute [rw] bot_recommendation_id
10616
+ # The identifier of the bot recommendation that you have created.
10617
+ # @return [String]
10618
+ #
10619
+ # @!attribute [rw] creation_date_time
10620
+ # A timestamp of the date and time that the bot recommendation was
10621
+ # created.
10622
+ # @return [Time]
10623
+ #
10624
+ # @!attribute [rw] transcript_source_setting
10625
+ # The object representing the Amazon S3 bucket containing the
10626
+ # transcript, as well as the associated metadata.
10627
+ # @return [Types::TranscriptSourceSetting]
10628
+ #
10629
+ # @!attribute [rw] encryption_setting
10630
+ # The object representing the passwords that were used to encrypt the
10631
+ # data related to the bot recommendation results, as well as the KMS
10632
+ # key ARN used to encrypt the associated metadata.
10633
+ # @return [Types::EncryptionSetting]
10634
+ #
10635
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/StartBotRecommendationResponse AWS API Documentation
10636
+ #
10637
+ class StartBotRecommendationResponse < Struct.new(
10638
+ :bot_id,
10639
+ :bot_version,
10640
+ :locale_id,
10641
+ :bot_recommendation_status,
10642
+ :bot_recommendation_id,
10643
+ :creation_date_time,
10644
+ :transcript_source_setting,
10645
+ :encryption_setting)
9235
10646
  SENSITIVE = []
9236
10647
  include Aws::Structure
9237
10648
  end
@@ -9266,8 +10677,13 @@ module Aws::LexModelsV2
9266
10677
  # engine: "standard", # accepts standard, neural
9267
10678
  # },
9268
10679
  # },
10680
+ # custom_vocabulary_import_specification: {
10681
+ # bot_id: "Id", # required
10682
+ # bot_version: "DraftBotVersion", # required
10683
+ # locale_id: "LocaleId", # required
10684
+ # },
9269
10685
  # },
9270
- # merge_strategy: "Overwrite", # required, accepts Overwrite, FailOnConflict
10686
+ # merge_strategy: "Overwrite", # required, accepts Overwrite, FailOnConflict, Append
9271
10687
  # file_password: "ImportExportFilePassword",
9272
10688
  # }
9273
10689
  #
@@ -9281,7 +10697,7 @@ module Aws::LexModelsV2
9281
10697
  # @return [String]
9282
10698
  #
9283
10699
  # @!attribute [rw] resource_specification
9284
- # Parameters for creating the bot or bot locale.
10700
+ # Parameters for creating the bot, bot locale or custom vocabulary.
9285
10701
  # @return [Types::ImportResourceSpecification]
9286
10702
  #
9287
10703
  # @!attribute [rw] merge_strategy
@@ -9292,9 +10708,9 @@ module Aws::LexModelsV2
9292
10708
  # @return [String]
9293
10709
  #
9294
10710
  # @!attribute [rw] file_password
9295
- # The password used to encrypt the zip archive that contains the bot
9296
- # or bot locale definition. You should always encrypt the zip archive
9297
- # 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.
9298
10714
  # @return [String]
9299
10715
  #
9300
10716
  # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/StartImportRequest AWS API Documentation
@@ -9313,7 +10729,7 @@ module Aws::LexModelsV2
9313
10729
  # @return [String]
9314
10730
  #
9315
10731
  # @!attribute [rw] resource_specification
9316
- # The parameters used when importing the bot or bot locale.
10732
+ # The parameters used when importing the resource.
9317
10733
  # @return [Types::ImportResourceSpecification]
9318
10734
  #
9319
10735
  # @!attribute [rw] merge_strategy
@@ -9325,7 +10741,7 @@ module Aws::LexModelsV2
9325
10741
  #
9326
10742
  # @!attribute [rw] import_status
9327
10743
  # The current status of the import. When the status is `Complete` the
9328
- # bot or bot alias is ready to use.
10744
+ # bot, bot alias, or custom vocabulary is ready to use.
9329
10745
  # @return [String]
9330
10746
  #
9331
10747
  # @!attribute [rw] creation_date_time
@@ -9546,6 +10962,72 @@ module Aws::LexModelsV2
9546
10962
  include Aws::Structure
9547
10963
  end
9548
10964
 
10965
+ # The object representing the filter that Amazon Lex will use to select
10966
+ # the appropriate transcript.
10967
+ #
10968
+ # @note When making an API call, you may pass TranscriptFilter
10969
+ # data as a hash:
10970
+ #
10971
+ # {
10972
+ # lex_transcript_filter: {
10973
+ # date_range_filter: {
10974
+ # start_date_time: Time.now, # required
10975
+ # end_date_time: Time.now, # required
10976
+ # },
10977
+ # },
10978
+ # }
10979
+ #
10980
+ # @!attribute [rw] lex_transcript_filter
10981
+ # The object representing the filter that Amazon Lex will use to
10982
+ # select the appropriate transcript when the transcript format is the
10983
+ # Amazon Lex format.
10984
+ # @return [Types::LexTranscriptFilter]
10985
+ #
10986
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/TranscriptFilter AWS API Documentation
10987
+ #
10988
+ class TranscriptFilter < Struct.new(
10989
+ :lex_transcript_filter)
10990
+ SENSITIVE = []
10991
+ include Aws::Structure
10992
+ end
10993
+
10994
+ # Indicates the setting of the location where the transcript is stored.
10995
+ #
10996
+ # @note When making an API call, you may pass TranscriptSourceSetting
10997
+ # data as a hash:
10998
+ #
10999
+ # {
11000
+ # s3_bucket_transcript_source: {
11001
+ # s3_bucket_name: "S3BucketName", # required
11002
+ # path_format: {
11003
+ # object_prefixes: ["ObjectPrefix"],
11004
+ # },
11005
+ # transcript_format: "Lex", # required, accepts Lex
11006
+ # transcript_filter: {
11007
+ # lex_transcript_filter: {
11008
+ # date_range_filter: {
11009
+ # start_date_time: Time.now, # required
11010
+ # end_date_time: Time.now, # required
11011
+ # },
11012
+ # },
11013
+ # },
11014
+ # kms_key_arn: "KmsKeyArn",
11015
+ # },
11016
+ # }
11017
+ #
11018
+ # @!attribute [rw] s3_bucket_transcript_source
11019
+ # Indicates the setting of the Amazon S3 bucket where the transcript
11020
+ # is stored.
11021
+ # @return [Types::S3BucketTranscriptSource]
11022
+ #
11023
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/TranscriptSourceSetting AWS API Documentation
11024
+ #
11025
+ class TranscriptSourceSetting < Struct.new(
11026
+ :s3_bucket_transcript_source)
11027
+ SENSITIVE = []
11028
+ include Aws::Structure
11029
+ end
11030
+
9549
11031
  # @note When making an API call, you may pass UntagResourceRequest
9550
11032
  # data as a hash:
9551
11033
  #
@@ -9853,6 +11335,11 @@ module Aws::LexModelsV2
9853
11335
  # A timestamp of the date and time that the locale was last updated.
9854
11336
  # @return [Time]
9855
11337
  #
11338
+ # @!attribute [rw] recommended_actions
11339
+ # Recommended actions to take to resolve an error in the
11340
+ # `failureReasons` field.
11341
+ # @return [Array<String>]
11342
+ #
9856
11343
  # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/UpdateBotLocaleResponse AWS API Documentation
9857
11344
  #
9858
11345
  class UpdateBotLocaleResponse < Struct.new(
@@ -9866,7 +11353,133 @@ module Aws::LexModelsV2
9866
11353
  :bot_locale_status,
9867
11354
  :failure_reasons,
9868
11355
  :creation_date_time,
9869
- :last_updated_date_time)
11356
+ :last_updated_date_time,
11357
+ :recommended_actions)
11358
+ SENSITIVE = []
11359
+ include Aws::Structure
11360
+ end
11361
+
11362
+ # @note When making an API call, you may pass UpdateBotRecommendationRequest
11363
+ # data as a hash:
11364
+ #
11365
+ # {
11366
+ # bot_id: "Id", # required
11367
+ # bot_version: "DraftBotVersion", # required
11368
+ # locale_id: "LocaleId", # required
11369
+ # bot_recommendation_id: "Id", # required
11370
+ # encryption_setting: { # required
11371
+ # kms_key_arn: "KmsKeyArn",
11372
+ # bot_locale_export_password: "FilePassword",
11373
+ # associated_transcripts_password: "FilePassword",
11374
+ # },
11375
+ # }
11376
+ #
11377
+ # @!attribute [rw] bot_id
11378
+ # The unique identifier of the bot containing the bot recommendation
11379
+ # to be updated.
11380
+ # @return [String]
11381
+ #
11382
+ # @!attribute [rw] bot_version
11383
+ # The version of the bot containing the bot recommendation to be
11384
+ # updated.
11385
+ # @return [String]
11386
+ #
11387
+ # @!attribute [rw] locale_id
11388
+ # The identifier of the language and locale of the bot recommendation
11389
+ # to update. The string must match one of the supported locales. For
11390
+ # more information, see [Supported languages][1]
11391
+ #
11392
+ #
11393
+ #
11394
+ # [1]: https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html
11395
+ # @return [String]
11396
+ #
11397
+ # @!attribute [rw] bot_recommendation_id
11398
+ # The unique identifier of the bot recommendation to be updated.
11399
+ # @return [String]
11400
+ #
11401
+ # @!attribute [rw] encryption_setting
11402
+ # The object representing the passwords that will be used to encrypt
11403
+ # the data related to the bot recommendation results, as well as the
11404
+ # KMS key ARN used to encrypt the associated metadata.
11405
+ # @return [Types::EncryptionSetting]
11406
+ #
11407
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/UpdateBotRecommendationRequest AWS API Documentation
11408
+ #
11409
+ class UpdateBotRecommendationRequest < Struct.new(
11410
+ :bot_id,
11411
+ :bot_version,
11412
+ :locale_id,
11413
+ :bot_recommendation_id,
11414
+ :encryption_setting)
11415
+ SENSITIVE = []
11416
+ include Aws::Structure
11417
+ end
11418
+
11419
+ # @!attribute [rw] bot_id
11420
+ # The unique identifier of the bot containing the bot recommendation
11421
+ # that has been updated.
11422
+ # @return [String]
11423
+ #
11424
+ # @!attribute [rw] bot_version
11425
+ # The version of the bot containing the bot recommendation that has
11426
+ # been updated.
11427
+ # @return [String]
11428
+ #
11429
+ # @!attribute [rw] locale_id
11430
+ # The identifier of the language and locale of the bot recommendation
11431
+ # to update. The string must match one of the supported locales. For
11432
+ # more information, see [Supported languages][1]
11433
+ #
11434
+ #
11435
+ #
11436
+ # [1]: https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html
11437
+ # @return [String]
11438
+ #
11439
+ # @!attribute [rw] bot_recommendation_status
11440
+ # The status of the bot recommendation.
11441
+ #
11442
+ # If the status is Failed, then the reasons for the failure are listed
11443
+ # in the failureReasons field.
11444
+ # @return [String]
11445
+ #
11446
+ # @!attribute [rw] bot_recommendation_id
11447
+ # The unique identifier of the bot recommendation to be updated.
11448
+ # @return [String]
11449
+ #
11450
+ # @!attribute [rw] creation_date_time
11451
+ # A timestamp of the date and time that the bot recommendation was
11452
+ # created.
11453
+ # @return [Time]
11454
+ #
11455
+ # @!attribute [rw] last_updated_date_time
11456
+ # A timestamp of the date and time that the bot recommendation was
11457
+ # last updated.
11458
+ # @return [Time]
11459
+ #
11460
+ # @!attribute [rw] transcript_source_setting
11461
+ # The object representing the Amazon S3 bucket containing the
11462
+ # transcript, as well as the associated metadata.
11463
+ # @return [Types::TranscriptSourceSetting]
11464
+ #
11465
+ # @!attribute [rw] encryption_setting
11466
+ # The object representing the passwords that were used to encrypt the
11467
+ # data related to the bot recommendation results, as well as the KMS
11468
+ # key ARN used to encrypt the associated metadata.
11469
+ # @return [Types::EncryptionSetting]
11470
+ #
11471
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/UpdateBotRecommendationResponse AWS API Documentation
11472
+ #
11473
+ class UpdateBotRecommendationResponse < Struct.new(
11474
+ :bot_id,
11475
+ :bot_version,
11476
+ :locale_id,
11477
+ :bot_recommendation_status,
11478
+ :bot_recommendation_id,
11479
+ :creation_date_time,
11480
+ :last_updated_date_time,
11481
+ :transcript_source_setting,
11482
+ :encryption_setting)
9870
11483
  SENSITIVE = []
9871
11484
  include Aws::Structure
9872
11485
  end
@@ -10028,7 +11641,9 @@ module Aws::LexModelsV2
10028
11641
  # @return [Types::ExportResourceSpecification]
10029
11642
  #
10030
11643
  # @!attribute [rw] file_format
10031
- # 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.
10032
11647
  # @return [String]
10033
11648
  #
10034
11649
  # @!attribute [rw] export_status
@@ -11245,16 +12860,28 @@ module Aws::LexModelsV2
11245
12860
  # ],
11246
12861
  # },
11247
12862
  # ],
11248
- # value_selection_setting: { # required
12863
+ # value_selection_setting: {
11249
12864
  # resolution_strategy: "OriginalValue", # required, accepts OriginalValue, TopResolution
11250
12865
  # regex_filter: {
11251
12866
  # pattern: "RegexPattern", # required
11252
12867
  # },
12868
+ # advanced_recognition_setting: {
12869
+ # audio_recognition_strategy: "UseSlotValuesAsCustomVocabulary", # accepts UseSlotValuesAsCustomVocabulary
12870
+ # },
11253
12871
  # },
11254
12872
  # parent_slot_type_signature: "SlotTypeSignature",
11255
12873
  # bot_id: "Id", # required
11256
12874
  # bot_version: "DraftBotVersion", # required
11257
12875
  # locale_id: "LocaleId", # required
12876
+ # external_source_setting: {
12877
+ # grammar_slot_type_setting: {
12878
+ # source: {
12879
+ # s3_bucket_name: "S3BucketName", # required
12880
+ # s3_object_key: "S3ObjectPath", # required
12881
+ # kms_key_arn: "KmsKeyArn",
12882
+ # },
12883
+ # },
12884
+ # },
11258
12885
  # }
11259
12886
  #
11260
12887
  # @!attribute [rw] slot_type_id
@@ -11302,6 +12929,11 @@ module Aws::LexModelsV2
11302
12929
  # [1]: https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html
11303
12930
  # @return [String]
11304
12931
  #
12932
+ # @!attribute [rw] external_source_setting
12933
+ # Provides information about the external source of the slot type's
12934
+ # definition.
12935
+ # @return [Types::ExternalSourceSetting]
12936
+ #
11305
12937
  # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/UpdateSlotTypeRequest AWS API Documentation
11306
12938
  #
11307
12939
  class UpdateSlotTypeRequest < Struct.new(
@@ -11313,7 +12945,8 @@ module Aws::LexModelsV2
11313
12945
  :parent_slot_type_signature,
11314
12946
  :bot_id,
11315
12947
  :bot_version,
11316
- :locale_id)
12948
+ :locale_id,
12949
+ :external_source_setting)
11317
12950
  SENSITIVE = []
11318
12951
  include Aws::Structure
11319
12952
  end
@@ -11366,6 +12999,11 @@ module Aws::LexModelsV2
11366
12999
  # updated.
11367
13000
  # @return [Time]
11368
13001
  #
13002
+ # @!attribute [rw] external_source_setting
13003
+ # Provides information about the external source of the slot type's
13004
+ # definition.
13005
+ # @return [Types::ExternalSourceSetting]
13006
+ #
11369
13007
  # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/UpdateSlotTypeResponse AWS API Documentation
11370
13008
  #
11371
13009
  class UpdateSlotTypeResponse < Struct.new(
@@ -11379,7 +13017,8 @@ module Aws::LexModelsV2
11379
13017
  :bot_version,
11380
13018
  :locale_id,
11381
13019
  :creation_date_time,
11382
- :last_updated_date_time)
13020
+ :last_updated_date_time,
13021
+ :external_source_setting)
11383
13022
  SENSITIVE = []
11384
13023
  include Aws::Structure
11385
13024
  end
@@ -11440,12 +13079,15 @@ module Aws::LexModelsV2
11440
13079
  #
11441
13080
  # @!attribute [rw] engine
11442
13081
  # Indicates the type of Amazon Polly voice that Amazon Lex should use
11443
- # for voice interaction with the user. For more information, see
11444
- # [Voices in Amazon Polly][1].
13082
+ # for voice interaction with the user. For more information, see the [
13083
+ # `engine` parameter of the `SynthesizeSpeech` operation][1] in the
13084
+ # *Amazon Polly developer guide*.
13085
+ #
13086
+ # If you do not specify a value, the default is `standard`.
11445
13087
  #
11446
13088
  #
11447
13089
  #
11448
- # [1]: https://docs.aws.amazon.com/polly/latest/dg/voicelist.html
13090
+ # [1]: https://docs.aws.amazon.com/polly/latest/dg/API_SynthesizeSpeech.html#polly-SynthesizeSpeech-request-Engine
11449
13091
  # @return [String]
11450
13092
  #
11451
13093
  # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/VoiceSettings AWS API Documentation