aws-sdk-lexmodelsv2 1.14.0 → 1.18.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -129,6 +129,55 @@ module Aws::LexModelsV2
129
129
  include Aws::Structure
130
130
  end
131
131
 
132
+ # The object containing information that associates the recommended
133
+ # intent/slot type with a conversation.
134
+ #
135
+ # @!attribute [rw] transcript
136
+ # The content of the transcript that meets the search filter criteria.
137
+ # For the JSON format of the transcript, see [Output transcript
138
+ # format][1].
139
+ #
140
+ #
141
+ #
142
+ # [1]: https://docs.aws.amazon.com/lex/latest/dg/designing-output-format.html
143
+ # @return [String]
144
+ #
145
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/AssociatedTranscript AWS API Documentation
146
+ #
147
+ class AssociatedTranscript < Struct.new(
148
+ :transcript)
149
+ SENSITIVE = []
150
+ include Aws::Structure
151
+ end
152
+
153
+ # Filters to search for the associated transcript.
154
+ #
155
+ # @note When making an API call, you may pass AssociatedTranscriptFilter
156
+ # data as a hash:
157
+ #
158
+ # {
159
+ # name: "IntentId", # required, accepts IntentId, SlotTypeId
160
+ # values: ["FilterValue"], # required
161
+ # }
162
+ #
163
+ # @!attribute [rw] name
164
+ # The name of the field to use for filtering. The allowed names are
165
+ # IntentId and SlotTypeId.
166
+ # @return [String]
167
+ #
168
+ # @!attribute [rw] values
169
+ # The values to use to filter the transcript.
170
+ # @return [Array<String>]
171
+ #
172
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/AssociatedTranscriptFilter AWS API Documentation
173
+ #
174
+ class AssociatedTranscriptFilter < Struct.new(
175
+ :name,
176
+ :values)
177
+ SENSITIVE = []
178
+ include Aws::Structure
179
+ end
180
+
132
181
  # The location of audio log files collected when conversation logging is
133
182
  # enabled for a bot.
134
183
  #
@@ -145,8 +194,12 @@ module Aws::LexModelsV2
145
194
  #
146
195
  # @!attribute [rw] s3_bucket
147
196
  # The Amazon S3 bucket where the audio log files are stored. The IAM
148
- # role specified in the `roleArn` parameter of the CreateBot operation
149
- # must have permission to write to this bucket.
197
+ # role specified in the `roleArn` parameter of the [CreateBot][1]
198
+ # operation must have permission to write to this bucket.
199
+ #
200
+ #
201
+ #
202
+ # [1]: https://docs.aws.amazon.com/lexv2/latest/dg/API_CreateBot.html
150
203
  # @return [Types::S3BucketLogDestination]
151
204
  #
152
205
  # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/AudioLogDestination AWS API Documentation
@@ -252,13 +305,21 @@ module Aws::LexModelsV2
252
305
  include Aws::Structure
253
306
  end
254
307
 
255
- # Summary information about bot aliases returned from the ListBotAliases
256
- # operation.
308
+ # Summary information about bot aliases returned from the
309
+ # [ListBotAliases][1] operation.
310
+ #
311
+ #
312
+ #
313
+ # [1]: https://docs.aws.amazon.com/lexv2/latest/dg/API_ListBotAliases.html
257
314
  #
258
315
  # @!attribute [rw] bot_alias_id
259
316
  # The unique identifier assigned to the bot alias. You can use this ID
260
317
  # to get detailed information about the alias using the
261
- # DescribeBotAlias operation.
318
+ # [DescribeBotAlias][1] operation.
319
+ #
320
+ #
321
+ #
322
+ # [1]: https://docs.aws.amazon.com/lexv2/latest/dg/API_DescribeBotAlias.html
262
323
  # @return [String]
263
324
  #
264
325
  # @!attribute [rw] bot_alias_name
@@ -541,6 +602,7 @@ module Aws::LexModelsV2
541
602
  # nlu_intent_confidence_threshold: 1.0,
542
603
  # voice_settings: {
543
604
  # voice_id: "VoiceId", # required
605
+ # engine: "standard", # accepts standard, neural
544
606
  # },
545
607
  # }
546
608
  #
@@ -631,8 +693,12 @@ module Aws::LexModelsV2
631
693
  include Aws::Structure
632
694
  end
633
695
 
634
- # Summary information about bot locales returned by the ListBotLocales
635
- # operation.
696
+ # Summary information about bot locales returned by the
697
+ # [ListBotLocales][1] operation.
698
+ #
699
+ #
700
+ #
701
+ # [1]: https://docs.aws.amazon.com/lexv2/latest/dg/API_ListBotLocales.html
636
702
  #
637
703
  # @!attribute [rw] locale_id
638
704
  # The language and locale of the bot locale.
@@ -673,6 +739,87 @@ module Aws::LexModelsV2
673
739
  include Aws::Structure
674
740
  end
675
741
 
742
+ # A statistical summary of the bot recommendation results.
743
+ #
744
+ # @!attribute [rw] intents
745
+ # Statistical information about about the intents associated with the
746
+ # bot recommendation results.
747
+ # @return [Types::IntentStatistics]
748
+ #
749
+ # @!attribute [rw] slot_types
750
+ # Statistical information about the slot types associated with the bot
751
+ # recommendation results.
752
+ # @return [Types::SlotTypeStatistics]
753
+ #
754
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/BotRecommendationResultStatistics AWS API Documentation
755
+ #
756
+ class BotRecommendationResultStatistics < Struct.new(
757
+ :intents,
758
+ :slot_types)
759
+ SENSITIVE = []
760
+ include Aws::Structure
761
+ end
762
+
763
+ # The object representing the URL of the bot definition, the URL of the
764
+ # associated transcript and a statistical summary of the bot
765
+ # recommendation results.
766
+ #
767
+ # @!attribute [rw] bot_locale_export_url
768
+ # The presigned URL link of the recommended bot definition.
769
+ # @return [String]
770
+ #
771
+ # @!attribute [rw] associated_transcripts_url
772
+ # The presigned url link of the associated transcript.
773
+ # @return [String]
774
+ #
775
+ # @!attribute [rw] statistics
776
+ # The statistical summary of the bot recommendation results.
777
+ # @return [Types::BotRecommendationResultStatistics]
778
+ #
779
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/BotRecommendationResults AWS API Documentation
780
+ #
781
+ class BotRecommendationResults < Struct.new(
782
+ :bot_locale_export_url,
783
+ :associated_transcripts_url,
784
+ :statistics)
785
+ SENSITIVE = []
786
+ include Aws::Structure
787
+ end
788
+
789
+ # A summary of the bot recommendation.
790
+ #
791
+ # @!attribute [rw] bot_recommendation_status
792
+ # The status of the bot recommendation.
793
+ #
794
+ # If the status is Failed, then the reasons for the failure are listed
795
+ # in the failureReasons field.
796
+ # @return [String]
797
+ #
798
+ # @!attribute [rw] bot_recommendation_id
799
+ # The unique identifier of the bot recommendation to be updated.
800
+ # @return [String]
801
+ #
802
+ # @!attribute [rw] creation_date_time
803
+ # A timestamp of the date and time that the bot recommendation was
804
+ # created.
805
+ # @return [Time]
806
+ #
807
+ # @!attribute [rw] last_updated_date_time
808
+ # A timestamp of the date and time that the bot recommendation was
809
+ # last updated.
810
+ # @return [Time]
811
+ #
812
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/BotRecommendationSummary AWS API Documentation
813
+ #
814
+ class BotRecommendationSummary < Struct.new(
815
+ :bot_recommendation_status,
816
+ :bot_recommendation_id,
817
+ :creation_date_time,
818
+ :last_updated_date_time)
819
+ SENSITIVE = []
820
+ include Aws::Structure
821
+ end
822
+
676
823
  # Specifies attributes for sorting a list of bots.
677
824
  #
678
825
  # @note When making an API call, you may pass BotSortBy
@@ -700,11 +847,21 @@ module Aws::LexModelsV2
700
847
  include Aws::Structure
701
848
  end
702
849
 
703
- # Summary information about a bot returned by the ListBots operation.
850
+ # Summary information about a bot returned by the [ListBots][1]
851
+ # operation.
852
+ #
853
+ #
854
+ #
855
+ # [1]: https://docs.aws.amazon.com/lexv2/latest/dg/API_ListBots.html
704
856
  #
705
857
  # @!attribute [rw] bot_id
706
858
  # The unique identifier assigned to the bot. Use this ID to get
707
- # detailed information about the bot with the DescribeBot operation.
859
+ # detailed information about the bot with the [DescribeBot][1]
860
+ # operation.
861
+ #
862
+ #
863
+ #
864
+ # [1]: https://docs.aws.amazon.com/lexv2/latest/dg/API_DescribeBot.html
708
865
  # @return [String]
709
866
  #
710
867
  # @!attribute [rw] bot_name
@@ -791,7 +948,11 @@ module Aws::LexModelsV2
791
948
  end
792
949
 
793
950
  # Summary information about a bot version returned by the
794
- # ListBotVersions operation.
951
+ # [ListBotVersions][1] operation.
952
+ #
953
+ #
954
+ #
955
+ # [1]: https://docs.aws.amazon.com/lexv2/latest/dg/API_ListBotVersions.html
795
956
  #
796
957
  # @!attribute [rw] bot_name
797
958
  # The name of the bot associated with the version.
@@ -838,7 +999,11 @@ module Aws::LexModelsV2
838
999
  #
839
1000
  # @!attribute [rw] bot_id
840
1001
  # The identifier of the bot to build. The identifier is returned in
841
- # the response from the operation.
1002
+ # the response from the [CreateBot][1] operation.
1003
+ #
1004
+ #
1005
+ #
1006
+ # [1]: https://docs.aws.amazon.com/lexv2/latest/dg/API_CreateBot.html
842
1007
  # @return [String]
843
1008
  #
844
1009
  # @!attribute [rw] bot_version
@@ -932,8 +1097,12 @@ module Aws::LexModelsV2
932
1097
  include Aws::Structure
933
1098
  end
934
1099
 
935
- # Provides summary information about a built-in intent for the
936
- # ListBuiltInIntents operation.
1100
+ # Provides summary information about a built-in intent for the [
1101
+ # ListBuiltInIntents ][1] operation.
1102
+ #
1103
+ #
1104
+ #
1105
+ # [1]: https://docs.aws.amazon.com/lexv2/latest/dg/API_ListBuiltInIntents.html
937
1106
  #
938
1107
  # @!attribute [rw] intent_signature
939
1108
  # The signature of the built-in intent. Use this to specify the parent
@@ -980,8 +1149,12 @@ module Aws::LexModelsV2
980
1149
  include Aws::Structure
981
1150
  end
982
1151
 
983
- # Provides summary information about a built-in slot type for the
984
- # ListBuiltInSlotTypes operation.
1152
+ # Provides summary information about a built-in slot type for the [
1153
+ # ListBuiltInSlotTypes ][1] operation.
1154
+ #
1155
+ #
1156
+ #
1157
+ # [1]: https://docs.aws.amazon.com/lexv2/latest/dg/API_ListBuiltInSlotTypes.html
985
1158
  #
986
1159
  # @!attribute [rw] slot_type_signature
987
1160
  # The signature of the built-in slot type. Use this to specify the
@@ -1214,7 +1387,12 @@ module Aws::LexModelsV2
1214
1387
  #
1215
1388
  # @!attribute [rw] bot_version
1216
1389
  # The version of the bot that this alias points to. You can use the
1217
- # operation to change the bot version associated with the alias.
1390
+ # [UpdateBotAlias][1] operation to change the bot version associated
1391
+ # with the alias.
1392
+ #
1393
+ #
1394
+ #
1395
+ # [1]: https://docs.aws.amazon.com/lexv2/latest/dg/API_UpdateBotAlias.html
1218
1396
  # @return [String]
1219
1397
  #
1220
1398
  # @!attribute [rw] bot_alias_locale_settings
@@ -1339,6 +1517,7 @@ module Aws::LexModelsV2
1339
1517
  # nlu_intent_confidence_threshold: 1.0, # required
1340
1518
  # voice_settings: {
1341
1519
  # voice_id: "VoiceId", # required
1520
+ # engine: "standard", # accepts standard, neural
1342
1521
  # },
1343
1522
  # }
1344
1523
  #
@@ -1750,8 +1929,12 @@ module Aws::LexModelsV2
1750
1929
  #
1751
1930
  # @!attribute [rw] export_status
1752
1931
  # The status of the export. When the status is `Completed`, you can
1753
- # use the operation to get the pre-signed S3 URL link to your exported
1754
- # bot or bot locale.
1932
+ # use the [DescribeExport][1] operation to get the pre-signed S3 URL
1933
+ # link to your exported bot or bot locale.
1934
+ #
1935
+ #
1936
+ #
1937
+ # [1]: https://docs.aws.amazon.com/latest/dg/API_DescribeExport.html
1755
1938
  # @return [String]
1756
1939
  #
1757
1940
  # @!attribute [rw] creation_date_time
@@ -3077,7 +3260,7 @@ module Aws::LexModelsV2
3077
3260
  # ],
3078
3261
  # },
3079
3262
  # ],
3080
- # value_selection_setting: { # required
3263
+ # value_selection_setting: {
3081
3264
  # resolution_strategy: "OriginalValue", # required, accepts OriginalValue, TopResolution
3082
3265
  # regex_filter: {
3083
3266
  # pattern: "RegexPattern", # required
@@ -3087,6 +3270,15 @@ module Aws::LexModelsV2
3087
3270
  # bot_id: "Id", # required
3088
3271
  # bot_version: "DraftBotVersion", # required
3089
3272
  # locale_id: "LocaleId", # required
3273
+ # external_source_setting: {
3274
+ # grammar_slot_type_setting: {
3275
+ # source: {
3276
+ # s3_bucket_name: "S3BucketName", # required
3277
+ # s3_object_key: "S3ObjectPath", # required
3278
+ # kms_key_arn: "KmsKeyArn",
3279
+ # },
3280
+ # },
3281
+ # },
3090
3282
  # }
3091
3283
  #
3092
3284
  # @!attribute [rw] slot_type_name
@@ -3149,6 +3341,10 @@ module Aws::LexModelsV2
3149
3341
  # [1]: https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html
3150
3342
  # @return [String]
3151
3343
  #
3344
+ # @!attribute [rw] external_source_setting
3345
+ # Sets the type of external information used to create the slot type.
3346
+ # @return [Types::ExternalSourceSetting]
3347
+ #
3152
3348
  # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/CreateSlotTypeRequest AWS API Documentation
3153
3349
  #
3154
3350
  class CreateSlotTypeRequest < Struct.new(
@@ -3159,7 +3355,8 @@ module Aws::LexModelsV2
3159
3355
  :parent_slot_type_signature,
3160
3356
  :bot_id,
3161
3357
  :bot_version,
3162
- :locale_id)
3358
+ :locale_id,
3359
+ :external_source_setting)
3163
3360
  SENSITIVE = []
3164
3361
  include Aws::Structure
3165
3362
  end
@@ -3207,6 +3404,10 @@ module Aws::LexModelsV2
3207
3404
  # A timestamp of the date and time that the slot type was created.
3208
3405
  # @return [Time]
3209
3406
  #
3407
+ # @!attribute [rw] external_source_setting
3408
+ # The type of external information used to create the slot type.
3409
+ # @return [Types::ExternalSourceSetting]
3410
+ #
3210
3411
  # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/CreateSlotTypeResponse AWS API Documentation
3211
3412
  #
3212
3413
  class CreateSlotTypeResponse < Struct.new(
@@ -3219,7 +3420,8 @@ module Aws::LexModelsV2
3219
3420
  :bot_id,
3220
3421
  :bot_version,
3221
3422
  :locale_id,
3222
- :creation_date_time)
3423
+ :creation_date_time,
3424
+ :external_source_setting)
3223
3425
  SENSITIVE = []
3224
3426
  include Aws::Structure
3225
3427
  end
@@ -3232,7 +3434,11 @@ module Aws::LexModelsV2
3232
3434
 
3233
3435
  # @!attribute [rw] import_id
3234
3436
  # An identifier for a unique import job. Use it when you call the
3235
- # operation.
3437
+ # [StartImport][1] operation.
3438
+ #
3439
+ #
3440
+ #
3441
+ # [1]: https://docs.aws.amazon.com/lexv2/latest/dg/API_StartImport.html
3236
3442
  # @return [String]
3237
3443
  #
3238
3444
  # @!attribute [rw] upload_url
@@ -3322,6 +3528,34 @@ module Aws::LexModelsV2
3322
3528
  include Aws::Structure
3323
3529
  end
3324
3530
 
3531
+ # The object used for specifying the data range that the customer wants
3532
+ # Amazon Lex to read through in the input transcripts.
3533
+ #
3534
+ # @note When making an API call, you may pass DateRangeFilter
3535
+ # data as a hash:
3536
+ #
3537
+ # {
3538
+ # start_date_time: Time.now, # required
3539
+ # end_date_time: Time.now, # required
3540
+ # }
3541
+ #
3542
+ # @!attribute [rw] start_date_time
3543
+ # A timestamp indicating the start date for the date range filter.
3544
+ # @return [Time]
3545
+ #
3546
+ # @!attribute [rw] end_date_time
3547
+ # A timestamp indicating the end date for the date range filter.
3548
+ # @return [Time]
3549
+ #
3550
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DateRangeFilter AWS API Documentation
3551
+ #
3552
+ class DateRangeFilter < Struct.new(
3553
+ :start_date_time,
3554
+ :end_date_time)
3555
+ SENSITIVE = []
3556
+ include Aws::Structure
3557
+ end
3558
+
3325
3559
  # @note When making an API call, you may pass DeleteBotAliasRequest
3326
3560
  # data as a hash:
3327
3561
  #
@@ -3572,8 +3806,14 @@ module Aws::LexModelsV2
3572
3806
  #
3573
3807
  # @!attribute [rw] export_status
3574
3808
  # The current status of the deletion. When the deletion is complete,
3575
- # the export will no longer be returned by the operation and calls to
3576
- # the with the export identifier will fail.
3809
+ # the export will no longer be returned by the [ListExports][1]
3810
+ # operation and calls to the [ DescribeExport][2] operation with the
3811
+ # export identifier will fail.
3812
+ #
3813
+ #
3814
+ #
3815
+ # [1]: https://docs.aws.amazon.com/lexv2/latest/dg/API_ListExports.html
3816
+ # [2]: https://docs.aws.amazon.com/lexv2/latest/dg/API_DescribeExport.html
3577
3817
  # @return [String]
3578
3818
  #
3579
3819
  # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DeleteExportResponse AWS API Documentation
@@ -3610,8 +3850,14 @@ module Aws::LexModelsV2
3610
3850
  #
3611
3851
  # @!attribute [rw] import_status
3612
3852
  # The current status of the deletion. When the deletion is complete,
3613
- # the import will no longer be returned by the operation and calls to
3614
- # the with the import identifier will fail.
3853
+ # the import will no longer be returned by the [ListImports][1]
3854
+ # operation and calls to the [DescribeImport][2] operation with the
3855
+ # import identifier will fail.
3856
+ #
3857
+ #
3858
+ #
3859
+ # [1]: https://docs.aws.amazon.com/lexv2/latest/dg/API_ListImports.html
3860
+ # [2]: https://docs.aws.amazon.com/lexv2/latest/dg/API_DescribeImport.html
3615
3861
  # @return [String]
3616
3862
  #
3617
3863
  # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DeleteImportResponse AWS API Documentation
@@ -3901,7 +4147,13 @@ module Aws::LexModelsV2
3901
4147
  #
3902
4148
  # @!attribute [rw] session_id
3903
4149
  # The unique identifier of the session with the user. The ID is
3904
- # returned in the response from the and operations.
4150
+ # returned in the response from the [RecognizeText][1] and
4151
+ # [RecognizeUtterance][2] operations.
4152
+ #
4153
+ #
4154
+ #
4155
+ # [1]: https://docs.aws.amazon.com/lexv2/latest/dg/API_runtime_RecognizeText.html
4156
+ # [2]: https://docs.aws.amazon.com/lexv2/latest/dg/API_runtime_RecognizeUtterance.html
3905
4157
  # @return [String]
3906
4158
  #
3907
4159
  # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DeleteUtterancesRequest AWS API Documentation
@@ -4117,6 +4369,11 @@ module Aws::LexModelsV2
4117
4369
  # have taken place for the locale.
4118
4370
  # @return [Array<Types::BotLocaleHistoryEvent>]
4119
4371
  #
4372
+ # @!attribute [rw] recommended_actions
4373
+ # Recommended actions to take to resolve an error in the
4374
+ # `failureReasons` field.
4375
+ # @return [Array<String>]
4376
+ #
4120
4377
  # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DescribeBotLocaleResponse AWS API Documentation
4121
4378
  #
4122
4379
  class DescribeBotLocaleResponse < Struct.new(
@@ -4134,7 +4391,121 @@ module Aws::LexModelsV2
4134
4391
  :creation_date_time,
4135
4392
  :last_updated_date_time,
4136
4393
  :last_build_submitted_date_time,
4137
- :bot_locale_history_events)
4394
+ :bot_locale_history_events,
4395
+ :recommended_actions)
4396
+ SENSITIVE = []
4397
+ include Aws::Structure
4398
+ end
4399
+
4400
+ # @note When making an API call, you may pass DescribeBotRecommendationRequest
4401
+ # data as a hash:
4402
+ #
4403
+ # {
4404
+ # bot_id: "Id", # required
4405
+ # bot_version: "DraftBotVersion", # required
4406
+ # locale_id: "LocaleId", # required
4407
+ # bot_recommendation_id: "Id", # required
4408
+ # }
4409
+ #
4410
+ # @!attribute [rw] bot_id
4411
+ # The unique identifier of the bot associated with the bot
4412
+ # recommendation.
4413
+ # @return [String]
4414
+ #
4415
+ # @!attribute [rw] bot_version
4416
+ # The version of the bot associated with the bot recommendation.
4417
+ # @return [String]
4418
+ #
4419
+ # @!attribute [rw] locale_id
4420
+ # The identifier of the language and locale of the bot recommendation
4421
+ # to describe. The string must match one of the supported locales. For
4422
+ # more information, see [Supported languages][1].
4423
+ #
4424
+ #
4425
+ #
4426
+ # [1]: https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html
4427
+ # @return [String]
4428
+ #
4429
+ # @!attribute [rw] bot_recommendation_id
4430
+ # The identifier of the bot recommendation to describe.
4431
+ # @return [String]
4432
+ #
4433
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DescribeBotRecommendationRequest AWS API Documentation
4434
+ #
4435
+ class DescribeBotRecommendationRequest < Struct.new(
4436
+ :bot_id,
4437
+ :bot_version,
4438
+ :locale_id,
4439
+ :bot_recommendation_id)
4440
+ SENSITIVE = []
4441
+ include Aws::Structure
4442
+ end
4443
+
4444
+ # @!attribute [rw] bot_id
4445
+ # The identifier of the bot associated with the bot recommendation.
4446
+ # @return [String]
4447
+ #
4448
+ # @!attribute [rw] bot_version
4449
+ # The version of the bot associated with the bot recommendation.
4450
+ # @return [String]
4451
+ #
4452
+ # @!attribute [rw] locale_id
4453
+ # The identifier of the language and locale of the bot recommendation
4454
+ # to describe.
4455
+ # @return [String]
4456
+ #
4457
+ # @!attribute [rw] bot_recommendation_status
4458
+ # The status of the bot recommendation. If the status is Failed, then
4459
+ # the reasons for the failure are listed in the failureReasons field.
4460
+ # @return [String]
4461
+ #
4462
+ # @!attribute [rw] bot_recommendation_id
4463
+ # The identifier of the bot recommendation being described.
4464
+ # @return [String]
4465
+ #
4466
+ # @!attribute [rw] failure_reasons
4467
+ # If botRecommendationStatus is Failed, Amazon Lex explains why.
4468
+ # @return [Array<String>]
4469
+ #
4470
+ # @!attribute [rw] creation_date_time
4471
+ # The date and time that the bot recommendation was created.
4472
+ # @return [Time]
4473
+ #
4474
+ # @!attribute [rw] last_updated_date_time
4475
+ # The date and time that the bot recommendation was last updated.
4476
+ # @return [Time]
4477
+ #
4478
+ # @!attribute [rw] transcript_source_setting
4479
+ # The object representing the Amazon S3 bucket containing the
4480
+ # transcript, as well as the associated metadata.
4481
+ # @return [Types::TranscriptSourceSetting]
4482
+ #
4483
+ # @!attribute [rw] encryption_setting
4484
+ # The object representing the passwords that were used to encrypt the
4485
+ # data related to the bot recommendation results, as well as the KMS
4486
+ # key ARN used to encrypt the associated metadata.
4487
+ # @return [Types::EncryptionSetting]
4488
+ #
4489
+ # @!attribute [rw] bot_recommendation_results
4490
+ # The object representing the URL of the bot definition, the URL of
4491
+ # the associated transcript and a statistical summary of the bot
4492
+ # recommendation results.
4493
+ # @return [Types::BotRecommendationResults]
4494
+ #
4495
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DescribeBotRecommendationResponse AWS API Documentation
4496
+ #
4497
+ class DescribeBotRecommendationResponse < Struct.new(
4498
+ :bot_id,
4499
+ :bot_version,
4500
+ :locale_id,
4501
+ :bot_recommendation_status,
4502
+ :bot_recommendation_id,
4503
+ :failure_reasons,
4504
+ :creation_date_time,
4505
+ :last_updated_date_time,
4506
+ :transcript_source_setting,
4507
+ :encryption_setting,
4508
+ :bot_recommendation_results)
4138
4509
  SENSITIVE = []
4139
4510
  include Aws::Structure
4140
4511
  end
@@ -4866,6 +5237,11 @@ module Aws::LexModelsV2
4866
5237
  # updated.
4867
5238
  # @return [Time]
4868
5239
  #
5240
+ # @!attribute [rw] external_source_setting
5241
+ # Provides information about the external source of the slot type's
5242
+ # definition.
5243
+ # @return [Types::ExternalSourceSetting]
5244
+ #
4869
5245
  # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DescribeSlotTypeResponse AWS API Documentation
4870
5246
  #
4871
5247
  class DescribeSlotTypeResponse < Struct.new(
@@ -4879,7 +5255,8 @@ module Aws::LexModelsV2
4879
5255
  :bot_version,
4880
5256
  :locale_id,
4881
5257
  :creation_date_time,
4882
- :last_updated_date_time)
5258
+ :last_updated_date_time,
5259
+ :external_source_setting)
4883
5260
  SENSITIVE = []
4884
5261
  include Aws::Structure
4885
5262
  end
@@ -4906,7 +5283,48 @@ module Aws::LexModelsV2
4906
5283
  include Aws::Structure
4907
5284
  end
4908
5285
 
4909
- # Filters the response form the operation
5286
+ # The object representing the passwords that were used to encrypt the
5287
+ # data related to the bot recommendation, as well as the KMS key ARN
5288
+ # used to encrypt the associated metadata.
5289
+ #
5290
+ # @note When making an API call, you may pass EncryptionSetting
5291
+ # data as a hash:
5292
+ #
5293
+ # {
5294
+ # kms_key_arn: "KmsKeyArn",
5295
+ # bot_locale_export_password: "FilePassword",
5296
+ # associated_transcripts_password: "FilePassword",
5297
+ # }
5298
+ #
5299
+ # @!attribute [rw] kms_key_arn
5300
+ # The KMS key ARN used to encrypt the metadata associated with the bot
5301
+ # recommendation.
5302
+ # @return [String]
5303
+ #
5304
+ # @!attribute [rw] bot_locale_export_password
5305
+ # The password used to encrypt the recommended bot recommendation
5306
+ # file.
5307
+ # @return [String]
5308
+ #
5309
+ # @!attribute [rw] associated_transcripts_password
5310
+ # The password used to encrypt the associated transcript file.
5311
+ # @return [String]
5312
+ #
5313
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/EncryptionSetting AWS API Documentation
5314
+ #
5315
+ class EncryptionSetting < Struct.new(
5316
+ :kms_key_arn,
5317
+ :bot_locale_export_password,
5318
+ :associated_transcripts_password)
5319
+ SENSITIVE = [:bot_locale_export_password, :associated_transcripts_password]
5320
+ include Aws::Structure
5321
+ end
5322
+
5323
+ # Filters the response form the [ListExports][1] operation
5324
+ #
5325
+ #
5326
+ #
5327
+ # [1]: https://docs.aws.amazon.com/lexv2/latest/dg/API_ListExports.html
4910
5328
  #
4911
5329
  # @note When making an API call, you may pass ExportFilter
4912
5330
  # data as a hash:
@@ -5045,6 +5463,35 @@ module Aws::LexModelsV2
5045
5463
  include Aws::Structure
5046
5464
  end
5047
5465
 
5466
+ # Provides information about the external source of the slot type's
5467
+ # definition.
5468
+ #
5469
+ # @note When making an API call, you may pass ExternalSourceSetting
5470
+ # data as a hash:
5471
+ #
5472
+ # {
5473
+ # grammar_slot_type_setting: {
5474
+ # source: {
5475
+ # s3_bucket_name: "S3BucketName", # required
5476
+ # s3_object_key: "S3ObjectPath", # required
5477
+ # kms_key_arn: "KmsKeyArn",
5478
+ # },
5479
+ # },
5480
+ # }
5481
+ #
5482
+ # @!attribute [rw] grammar_slot_type_setting
5483
+ # Settings required for a slot type based on a grammar that you
5484
+ # provide.
5485
+ # @return [Types::GrammarSlotTypeSetting]
5486
+ #
5487
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ExternalSourceSetting AWS API Documentation
5488
+ #
5489
+ class ExternalSourceSetting < Struct.new(
5490
+ :grammar_slot_type_setting)
5491
+ SENSITIVE = []
5492
+ include Aws::Structure
5493
+ end
5494
+
5048
5495
  # Determines if a Lambda function should be invoked for a specific
5049
5496
  # intent.
5050
5497
  #
@@ -5683,6 +6130,66 @@ module Aws::LexModelsV2
5683
6130
  include Aws::Structure
5684
6131
  end
5685
6132
 
6133
+ # Settings requried for a slot type based on a grammar that you provide.
6134
+ #
6135
+ # @note When making an API call, you may pass GrammarSlotTypeSetting
6136
+ # data as a hash:
6137
+ #
6138
+ # {
6139
+ # source: {
6140
+ # s3_bucket_name: "S3BucketName", # required
6141
+ # s3_object_key: "S3ObjectPath", # required
6142
+ # kms_key_arn: "KmsKeyArn",
6143
+ # },
6144
+ # }
6145
+ #
6146
+ # @!attribute [rw] source
6147
+ # The source of the grammar used to create the slot type.
6148
+ # @return [Types::GrammarSlotTypeSource]
6149
+ #
6150
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/GrammarSlotTypeSetting AWS API Documentation
6151
+ #
6152
+ class GrammarSlotTypeSetting < Struct.new(
6153
+ :source)
6154
+ SENSITIVE = []
6155
+ include Aws::Structure
6156
+ end
6157
+
6158
+ # Describes the Amazon S3 bucket name and location for the grammar that
6159
+ # is the source for the slot type.
6160
+ #
6161
+ # @note When making an API call, you may pass GrammarSlotTypeSource
6162
+ # data as a hash:
6163
+ #
6164
+ # {
6165
+ # s3_bucket_name: "S3BucketName", # required
6166
+ # s3_object_key: "S3ObjectPath", # required
6167
+ # kms_key_arn: "KmsKeyArn",
6168
+ # }
6169
+ #
6170
+ # @!attribute [rw] s3_bucket_name
6171
+ # The name of the S3 bucket that contains the grammar source.
6172
+ # @return [String]
6173
+ #
6174
+ # @!attribute [rw] s3_object_key
6175
+ # The path to the grammar in the S3 bucket.
6176
+ # @return [String]
6177
+ #
6178
+ # @!attribute [rw] kms_key_arn
6179
+ # The Amazon KMS key required to decrypt the contents of the grammar,
6180
+ # if any.
6181
+ # @return [String]
6182
+ #
6183
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/GrammarSlotTypeSource AWS API Documentation
6184
+ #
6185
+ class GrammarSlotTypeSource < Struct.new(
6186
+ :s3_bucket_name,
6187
+ :s3_object_key,
6188
+ :kms_key_arn)
6189
+ SENSITIVE = []
6190
+ include Aws::Structure
6191
+ end
6192
+
5686
6193
  # A card that is shown to the user by a messaging platform. You define
5687
6194
  # the contents of the card, the card is displayed by the platform.
5688
6195
  #
@@ -5737,7 +6244,11 @@ module Aws::LexModelsV2
5737
6244
  include Aws::Structure
5738
6245
  end
5739
6246
 
5740
- # Filters the response from the operation.
6247
+ # Filters the response from the [ListImports][1] operation.
6248
+ #
6249
+ #
6250
+ #
6251
+ # [1]: https://docs.aws.amazon.com/lexv2/latest/dg/API_ListImports.html
5741
6252
  #
5742
6253
  # @note When making an API call, you may pass ImportFilter
5743
6254
  # data as a hash:
@@ -5802,6 +6313,7 @@ module Aws::LexModelsV2
5802
6313
  # nlu_intent_confidence_threshold: 1.0,
5803
6314
  # voice_settings: {
5804
6315
  # voice_id: "VoiceId", # required
6316
+ # engine: "standard", # accepts standard, neural
5805
6317
  # },
5806
6318
  # },
5807
6319
  # }
@@ -6217,6 +6729,22 @@ module Aws::LexModelsV2
6217
6729
  include Aws::Structure
6218
6730
  end
6219
6731
 
6732
+ # The object that contains the statistical summary of recommended
6733
+ # intents associated with the bot recommendation.
6734
+ #
6735
+ # @!attribute [rw] discovered_intent_count
6736
+ # The number of recommended intents associated with the bot
6737
+ # recommendation.
6738
+ # @return [Integer]
6739
+ #
6740
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/IntentStatistics AWS API Documentation
6741
+ #
6742
+ class IntentStatistics < Struct.new(
6743
+ :discovered_intent_count)
6744
+ SENSITIVE = []
6745
+ include Aws::Structure
6746
+ end
6747
+
6220
6748
  # Summary information about an intent returned by the `ListIntents`
6221
6749
  # operation.
6222
6750
  #
@@ -6355,6 +6883,33 @@ module Aws::LexModelsV2
6355
6883
  include Aws::Structure
6356
6884
  end
6357
6885
 
6886
+ # The object that contains transcript filter details that are associated
6887
+ # with a bot recommendation.
6888
+ #
6889
+ # @note When making an API call, you may pass LexTranscriptFilter
6890
+ # data as a hash:
6891
+ #
6892
+ # {
6893
+ # date_range_filter: {
6894
+ # start_date_time: Time.now, # required
6895
+ # end_date_time: Time.now, # required
6896
+ # },
6897
+ # }
6898
+ #
6899
+ # @!attribute [rw] date_range_filter
6900
+ # The object that contains a date range filter that will be applied to
6901
+ # the transcript. Specify this object if you want Amazon Lex to only
6902
+ # read the files that are within the date range.
6903
+ # @return [Types::DateRangeFilter]
6904
+ #
6905
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/LexTranscriptFilter AWS API Documentation
6906
+ #
6907
+ class LexTranscriptFilter < Struct.new(
6908
+ :date_range_filter)
6909
+ SENSITIVE = []
6910
+ include Aws::Structure
6911
+ end
6912
+
6358
6913
  # @note When making an API call, you may pass ListAggregatedUtterancesRequest
6359
6914
  # data as a hash:
6360
6915
  #
@@ -6698,6 +7253,98 @@ module Aws::LexModelsV2
6698
7253
  include Aws::Structure
6699
7254
  end
6700
7255
 
7256
+ # @note When making an API call, you may pass ListBotRecommendationsRequest
7257
+ # data as a hash:
7258
+ #
7259
+ # {
7260
+ # bot_id: "Id", # required
7261
+ # bot_version: "DraftBotVersion", # required
7262
+ # locale_id: "LocaleId", # required
7263
+ # max_results: 1,
7264
+ # next_token: "NextToken",
7265
+ # }
7266
+ #
7267
+ # @!attribute [rw] bot_id
7268
+ # The unique identifier of the bot that contains the bot
7269
+ # recommendation list.
7270
+ # @return [String]
7271
+ #
7272
+ # @!attribute [rw] bot_version
7273
+ # The version of the bot that contains the bot recommendation list.
7274
+ # @return [String]
7275
+ #
7276
+ # @!attribute [rw] locale_id
7277
+ # The identifier of the language and locale of the bot recommendation
7278
+ # list.
7279
+ # @return [String]
7280
+ #
7281
+ # @!attribute [rw] max_results
7282
+ # The maximum number of bot recommendations to return in each page of
7283
+ # results. If there are fewer results than the max page size, only the
7284
+ # actual number of results are returned.
7285
+ # @return [Integer]
7286
+ #
7287
+ # @!attribute [rw] next_token
7288
+ # If the response from the ListBotRecommendation operation contains
7289
+ # more results than specified in the maxResults parameter, a token is
7290
+ # returned in the response. Use that token in the nextToken parameter
7291
+ # to return the next page of results.
7292
+ # @return [String]
7293
+ #
7294
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ListBotRecommendationsRequest AWS API Documentation
7295
+ #
7296
+ class ListBotRecommendationsRequest < Struct.new(
7297
+ :bot_id,
7298
+ :bot_version,
7299
+ :locale_id,
7300
+ :max_results,
7301
+ :next_token)
7302
+ SENSITIVE = []
7303
+ include Aws::Structure
7304
+ end
7305
+
7306
+ # @!attribute [rw] bot_id
7307
+ # The unique identifier of the bot that contains the bot
7308
+ # recommendation list.
7309
+ # @return [String]
7310
+ #
7311
+ # @!attribute [rw] bot_version
7312
+ # The version of the bot that contains the bot recommendation list.
7313
+ # @return [String]
7314
+ #
7315
+ # @!attribute [rw] locale_id
7316
+ # The identifier of the language and locale of the bot recommendation
7317
+ # list.
7318
+ # @return [String]
7319
+ #
7320
+ # @!attribute [rw] bot_recommendation_summaries
7321
+ # Summary information for the bot recommendations that meet the filter
7322
+ # specified in this request. The length of the list is specified in
7323
+ # the maxResults parameter of the request. If there are more bot
7324
+ # recommendations available, the nextToken field contains a token to
7325
+ # get the next page of results.
7326
+ # @return [Array<Types::BotRecommendationSummary>]
7327
+ #
7328
+ # @!attribute [rw] next_token
7329
+ # A token that indicates whether there are more results to return in a
7330
+ # response to the ListBotRecommendations operation. If the nextToken
7331
+ # field is present, you send the contents as the nextToken parameter
7332
+ # of a ListBotRecommendations operation request to get the next page
7333
+ # of results.
7334
+ # @return [String]
7335
+ #
7336
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ListBotRecommendationsResponse AWS API Documentation
7337
+ #
7338
+ class ListBotRecommendationsResponse < Struct.new(
7339
+ :bot_id,
7340
+ :bot_version,
7341
+ :locale_id,
7342
+ :bot_recommendation_summaries,
7343
+ :next_token)
7344
+ SENSITIVE = []
7345
+ include Aws::Structure
7346
+ end
7347
+
6701
7348
  # @note When making an API call, you may pass ListBotVersionsRequest
6702
7349
  # data as a hash:
6703
7350
  #
@@ -7338,6 +7985,116 @@ module Aws::LexModelsV2
7338
7985
  include Aws::Structure
7339
7986
  end
7340
7987
 
7988
+ # @note When making an API call, you may pass ListRecommendedIntentsRequest
7989
+ # data as a hash:
7990
+ #
7991
+ # {
7992
+ # bot_id: "Id", # required
7993
+ # bot_version: "DraftBotVersion", # required
7994
+ # locale_id: "LocaleId", # required
7995
+ # bot_recommendation_id: "Id", # required
7996
+ # next_token: "NextToken",
7997
+ # max_results: 1,
7998
+ # }
7999
+ #
8000
+ # @!attribute [rw] bot_id
8001
+ # The unique identifier of the bot associated with the recommended
8002
+ # intents.
8003
+ # @return [String]
8004
+ #
8005
+ # @!attribute [rw] bot_version
8006
+ # The version of the bot that contains the recommended intents.
8007
+ # @return [String]
8008
+ #
8009
+ # @!attribute [rw] locale_id
8010
+ # The identifier of the language and locale of the recommended
8011
+ # intents.
8012
+ # @return [String]
8013
+ #
8014
+ # @!attribute [rw] bot_recommendation_id
8015
+ # The identifier of the bot recommendation that contains the
8016
+ # recommended intents.
8017
+ # @return [String]
8018
+ #
8019
+ # @!attribute [rw] next_token
8020
+ # If the response from the ListRecommendedIntents operation contains
8021
+ # more results than specified in the maxResults parameter, a token is
8022
+ # returned in the response. Use that token in the nextToken parameter
8023
+ # to return the next page of results.
8024
+ # @return [String]
8025
+ #
8026
+ # @!attribute [rw] max_results
8027
+ # The maximum number of bot recommendations to return in each page of
8028
+ # results. If there are fewer results than the max page size, only the
8029
+ # actual number of results are returned.
8030
+ # @return [Integer]
8031
+ #
8032
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ListRecommendedIntentsRequest AWS API Documentation
8033
+ #
8034
+ class ListRecommendedIntentsRequest < Struct.new(
8035
+ :bot_id,
8036
+ :bot_version,
8037
+ :locale_id,
8038
+ :bot_recommendation_id,
8039
+ :next_token,
8040
+ :max_results)
8041
+ SENSITIVE = []
8042
+ include Aws::Structure
8043
+ end
8044
+
8045
+ # @!attribute [rw] bot_id
8046
+ # The unique identifier of the bot associated with the recommended
8047
+ # intent.
8048
+ # @return [String]
8049
+ #
8050
+ # @!attribute [rw] bot_version
8051
+ # The version of the bot that contains the intent.
8052
+ # @return [String]
8053
+ #
8054
+ # @!attribute [rw] locale_id
8055
+ # The identifier of the language and locale of the intents to list.
8056
+ # The string must match one of the supported locales. For more
8057
+ # information, see [Supported languages][1].
8058
+ #
8059
+ #
8060
+ #
8061
+ # [1]: https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html
8062
+ # @return [String]
8063
+ #
8064
+ # @!attribute [rw] bot_recommendation_id
8065
+ # The identifier of the bot recommendation that contains the
8066
+ # recommended intent.
8067
+ # @return [String]
8068
+ #
8069
+ # @!attribute [rw] summary_list
8070
+ # Summary information for the intents that meet the filter criteria
8071
+ # specified in the request. The length of the list is specified in the
8072
+ # maxResults parameter of the request. If there are more intents
8073
+ # available, the nextToken field contains a token to get the next page
8074
+ # of results.
8075
+ # @return [Array<Types::RecommendedIntentSummary>]
8076
+ #
8077
+ # @!attribute [rw] next_token
8078
+ # A token that indicates whether there are more results to return in a
8079
+ # response to the ListRecommendedIntents operation. If the nextToken
8080
+ # field is present, you send the contents as the nextToken parameter
8081
+ # of a ListRecommendedIntents operation request to get the next page
8082
+ # of results.
8083
+ # @return [String]
8084
+ #
8085
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ListRecommendedIntentsResponse AWS API Documentation
8086
+ #
8087
+ class ListRecommendedIntentsResponse < Struct.new(
8088
+ :bot_id,
8089
+ :bot_version,
8090
+ :locale_id,
8091
+ :bot_recommendation_id,
8092
+ :summary_list,
8093
+ :next_token)
8094
+ SENSITIVE = []
8095
+ include Aws::Structure
8096
+ end
8097
+
7341
8098
  # @note When making an API call, you may pass ListSlotTypesRequest
7342
8099
  # data as a hash:
7343
8100
  #
@@ -7351,7 +8108,7 @@ module Aws::LexModelsV2
7351
8108
  # },
7352
8109
  # filters: [
7353
8110
  # {
7354
- # name: "SlotTypeName", # required, accepts SlotTypeName
8111
+ # name: "SlotTypeName", # required, accepts SlotTypeName, ExternalSourceType
7355
8112
  # values: ["FilterValue"], # required
7356
8113
  # operator: "CO", # required, accepts CO, EQ
7357
8114
  # },
@@ -7837,6 +8594,32 @@ module Aws::LexModelsV2
7837
8594
  include Aws::Structure
7838
8595
  end
7839
8596
 
8597
+ # The object that contains a path format that will be applied when
8598
+ # Amazon Lex reads the transcript file in the bucket you provide.
8599
+ # Specify this object if you only want Lex to read a subset of files in
8600
+ # your Amazon S3 bucket.
8601
+ #
8602
+ # @note When making an API call, you may pass PathFormat
8603
+ # data as a hash:
8604
+ #
8605
+ # {
8606
+ # object_prefixes: ["ObjectPrefix"],
8607
+ # }
8608
+ #
8609
+ # @!attribute [rw] object_prefixes
8610
+ # A list of Amazon S3 prefixes that points to sub-folders in the
8611
+ # Amazon S3 bucket. Specify this list if you only want Lex to read the
8612
+ # files under this set of sub-folders.
8613
+ # @return [Array<String>]
8614
+ #
8615
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/PathFormat AWS API Documentation
8616
+ #
8617
+ class PathFormat < Struct.new(
8618
+ :object_prefixes)
8619
+ SENSITIVE = []
8620
+ include Aws::Structure
8621
+ end
8622
+
7840
8623
  # Defines an ASCII text message to send to the user.
7841
8624
  #
7842
8625
  # @note When making an API call, you may pass PlainTextMessage
@@ -8191,6 +8974,33 @@ module Aws::LexModelsV2
8191
8974
  include Aws::Structure
8192
8975
  end
8193
8976
 
8977
+ # An object that contains a summary of a recommended intent.
8978
+ #
8979
+ # @!attribute [rw] intent_id
8980
+ # The unique identifier of a recommended intent associated with the
8981
+ # bot recommendation.
8982
+ # @return [String]
8983
+ #
8984
+ # @!attribute [rw] intent_name
8985
+ # The name of a recommended intent associated with the bot
8986
+ # recommendation.
8987
+ # @return [String]
8988
+ #
8989
+ # @!attribute [rw] sample_utterances_count
8990
+ # The count of sample utterances of a recommended intent that is
8991
+ # associated with a bot recommendation.
8992
+ # @return [Integer]
8993
+ #
8994
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/RecommendedIntentSummary AWS API Documentation
8995
+ #
8996
+ class RecommendedIntentSummary < Struct.new(
8997
+ :intent_id,
8998
+ :intent_name,
8999
+ :sample_utterances_count)
9000
+ SENSITIVE = []
9001
+ include Aws::Structure
9002
+ end
9003
+
8194
9004
  # Specifies the time window that utterance statistics are returned for.
8195
9005
  # The time window is always relative to the last time that the that
8196
9006
  # utterances were aggregated. For example, if the
@@ -8371,6 +9181,71 @@ module Aws::LexModelsV2
8371
9181
  include Aws::Structure
8372
9182
  end
8373
9183
 
9184
+ # The object representing the Amazon S3 bucket containing the
9185
+ # transcript, as well as the associated metadata.
9186
+ #
9187
+ # @note When making an API call, you may pass S3BucketTranscriptSource
9188
+ # data as a hash:
9189
+ #
9190
+ # {
9191
+ # s3_bucket_name: "S3BucketName", # required
9192
+ # path_format: {
9193
+ # object_prefixes: ["ObjectPrefix"],
9194
+ # },
9195
+ # transcript_format: "Lex", # required, accepts Lex
9196
+ # transcript_filter: {
9197
+ # lex_transcript_filter: {
9198
+ # date_range_filter: {
9199
+ # start_date_time: Time.now, # required
9200
+ # end_date_time: Time.now, # required
9201
+ # },
9202
+ # },
9203
+ # },
9204
+ # kms_key_arn: "KmsKeyArn",
9205
+ # }
9206
+ #
9207
+ # @!attribute [rw] s3_bucket_name
9208
+ # The name of the bucket containing the transcript and the associated
9209
+ # metadata.
9210
+ # @return [String]
9211
+ #
9212
+ # @!attribute [rw] path_format
9213
+ # The object that contains a path format that will be applied when
9214
+ # Amazon Lex reads the transcript file in the bucket you provide.
9215
+ # Specify this object if you only want Lex to read a subset of files
9216
+ # in your Amazon S3 bucket.
9217
+ # @return [Types::PathFormat]
9218
+ #
9219
+ # @!attribute [rw] transcript_format
9220
+ # The format of the transcript content. Currently, Genie only supports
9221
+ # the Amazon Lex transcript format.
9222
+ # @return [String]
9223
+ #
9224
+ # @!attribute [rw] transcript_filter
9225
+ # The object that contains the filter which will be applied when
9226
+ # Amazon Lex reads through the Amazon S3 bucket. Specify this object
9227
+ # if you want Amazon Lex to read only a subset of the Amazon S3 bucket
9228
+ # based on the filter you provide.
9229
+ # @return [Types::TranscriptFilter]
9230
+ #
9231
+ # @!attribute [rw] kms_key_arn
9232
+ # The ARN of the KMS key that customer use to encrypt their Amazon S3
9233
+ # bucket. Only use this field if your bucket is encrypted using a
9234
+ # customer managed KMS key.
9235
+ # @return [String]
9236
+ #
9237
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/S3BucketTranscriptSource AWS API Documentation
9238
+ #
9239
+ class S3BucketTranscriptSource < Struct.new(
9240
+ :s3_bucket_name,
9241
+ :path_format,
9242
+ :transcript_format,
9243
+ :transcript_filter,
9244
+ :kms_key_arn)
9245
+ SENSITIVE = []
9246
+ include Aws::Structure
9247
+ end
9248
+
8374
9249
  # Defines a Speech Synthesis Markup Language (SSML) prompt.
8375
9250
  #
8376
9251
  # @note When making an API call, you may pass SSMLMessage
@@ -8415,23 +9290,160 @@ module Aws::LexModelsV2
8415
9290
  include Aws::Structure
8416
9291
  end
8417
9292
 
8418
- # Defines one of the values for a slot type.
9293
+ # Defines one of the values for a slot type.
9294
+ #
9295
+ # @note When making an API call, you may pass SampleValue
9296
+ # data as a hash:
9297
+ #
9298
+ # {
9299
+ # value: "Value", # required
9300
+ # }
9301
+ #
9302
+ # @!attribute [rw] value
9303
+ # The value that can be used for a slot type.
9304
+ # @return [String]
9305
+ #
9306
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/SampleValue AWS API Documentation
9307
+ #
9308
+ class SampleValue < Struct.new(
9309
+ :value)
9310
+ SENSITIVE = []
9311
+ include Aws::Structure
9312
+ end
9313
+
9314
+ # @note When making an API call, you may pass SearchAssociatedTranscriptsRequest
9315
+ # data as a hash:
9316
+ #
9317
+ # {
9318
+ # bot_id: "Id", # required
9319
+ # bot_version: "BotVersion", # required
9320
+ # locale_id: "LocaleId", # required
9321
+ # bot_recommendation_id: "Id", # required
9322
+ # search_order: "Ascending", # accepts Ascending, Descending
9323
+ # filters: [ # required
9324
+ # {
9325
+ # name: "IntentId", # required, accepts IntentId, SlotTypeId
9326
+ # values: ["FilterValue"], # required
9327
+ # },
9328
+ # ],
9329
+ # max_results: 1,
9330
+ # next_index: 1,
9331
+ # }
9332
+ #
9333
+ # @!attribute [rw] bot_id
9334
+ # The unique identifier of the bot associated with the transcripts
9335
+ # that you are searching.
9336
+ # @return [String]
9337
+ #
9338
+ # @!attribute [rw] bot_version
9339
+ # The version of the bot containing the transcripts that you are
9340
+ # searching.
9341
+ # @return [String]
9342
+ #
9343
+ # @!attribute [rw] locale_id
9344
+ # The identifier of the language and locale of the transcripts to
9345
+ # search. The string must match one of the supported locales. For more
9346
+ # information, see [Supported languages][1]
9347
+ #
9348
+ #
9349
+ #
9350
+ # [1]: https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html
9351
+ # @return [String]
9352
+ #
9353
+ # @!attribute [rw] bot_recommendation_id
9354
+ # The unique identifier of the bot recommendation associated with the
9355
+ # transcripts to search.
9356
+ # @return [String]
9357
+ #
9358
+ # @!attribute [rw] search_order
9359
+ # How SearchResults are ordered. Valid values are Ascending or
9360
+ # Descending. The default is Descending.
9361
+ # @return [String]
9362
+ #
9363
+ # @!attribute [rw] filters
9364
+ # A list of filter objects.
9365
+ # @return [Array<Types::AssociatedTranscriptFilter>]
9366
+ #
9367
+ # @!attribute [rw] max_results
9368
+ # The maximum number of bot recommendations to return in each page of
9369
+ # results. If there are fewer results than the max page size, only the
9370
+ # actual number of results are returned.
9371
+ # @return [Integer]
9372
+ #
9373
+ # @!attribute [rw] next_index
9374
+ # If the response from the SearchAssociatedTranscriptsRequest
9375
+ # operation contains more results than specified in the maxResults
9376
+ # parameter, an index is returned in the response. Use that index in
9377
+ # the nextIndex parameter to return the next page of results.
9378
+ # @return [Integer]
9379
+ #
9380
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/SearchAssociatedTranscriptsRequest AWS API Documentation
9381
+ #
9382
+ class SearchAssociatedTranscriptsRequest < Struct.new(
9383
+ :bot_id,
9384
+ :bot_version,
9385
+ :locale_id,
9386
+ :bot_recommendation_id,
9387
+ :search_order,
9388
+ :filters,
9389
+ :max_results,
9390
+ :next_index)
9391
+ SENSITIVE = []
9392
+ include Aws::Structure
9393
+ end
9394
+
9395
+ # @!attribute [rw] bot_id
9396
+ # The unique identifier of the bot associated with the transcripts
9397
+ # that you are searching.
9398
+ # @return [String]
8419
9399
  #
8420
- # @note When making an API call, you may pass SampleValue
8421
- # data as a hash:
9400
+ # @!attribute [rw] bot_version
9401
+ # The version of the bot containing the transcripts that you are
9402
+ # searching.
9403
+ # @return [String]
8422
9404
  #
8423
- # {
8424
- # value: "Value", # required
8425
- # }
9405
+ # @!attribute [rw] locale_id
9406
+ # The identifier of the language and locale of the transcripts to
9407
+ # search. The string must match one of the supported locales. For more
9408
+ # information, see [Supported languages][1]
8426
9409
  #
8427
- # @!attribute [rw] value
8428
- # The value that can be used for a slot type.
9410
+ #
9411
+ #
9412
+ # [1]: https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html
8429
9413
  # @return [String]
8430
9414
  #
8431
- # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/SampleValue AWS API Documentation
9415
+ # @!attribute [rw] bot_recommendation_id
9416
+ # The unique identifier of the bot recommendation associated with the
9417
+ # transcripts to search.
9418
+ # @return [String]
8432
9419
  #
8433
- class SampleValue < Struct.new(
8434
- :value)
9420
+ # @!attribute [rw] next_index
9421
+ # A index that indicates whether there are more results to return in a
9422
+ # response to the SearchAssociatedTranscripts operation. If the
9423
+ # nextIndex field is present, you send the contents as the nextIndex
9424
+ # parameter of a SearchAssociatedTranscriptsRequest operation to get
9425
+ # the next page of results.
9426
+ # @return [Integer]
9427
+ #
9428
+ # @!attribute [rw] associated_transcripts
9429
+ # The object that contains the associated transcript that meet the
9430
+ # criteria you specified.
9431
+ # @return [Array<Types::AssociatedTranscript>]
9432
+ #
9433
+ # @!attribute [rw] total_results
9434
+ # The total number of transcripts returned by the search.
9435
+ # @return [Integer]
9436
+ #
9437
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/SearchAssociatedTranscriptsResponse AWS API Documentation
9438
+ #
9439
+ class SearchAssociatedTranscriptsResponse < Struct.new(
9440
+ :bot_id,
9441
+ :bot_version,
9442
+ :locale_id,
9443
+ :bot_recommendation_id,
9444
+ :next_index,
9445
+ :associated_transcripts,
9446
+ :total_results)
8435
9447
  SENSITIVE = []
8436
9448
  include Aws::Structure
8437
9449
  end
@@ -8666,7 +9678,7 @@ module Aws::LexModelsV2
8666
9678
  # data as a hash:
8667
9679
  #
8668
9680
  # {
8669
- # name: "SlotTypeName", # required, accepts SlotTypeName
9681
+ # name: "SlotTypeName", # required, accepts SlotTypeName, ExternalSourceType
8670
9682
  # values: ["FilterValue"], # required
8671
9683
  # operator: "CO", # required, accepts CO, EQ
8672
9684
  # }
@@ -8723,6 +9735,22 @@ module Aws::LexModelsV2
8723
9735
  include Aws::Structure
8724
9736
  end
8725
9737
 
9738
+ # The object that contains the statistical summary of the recommended
9739
+ # slot type associated with the bot recommendation.
9740
+ #
9741
+ # @!attribute [rw] discovered_slot_type_count
9742
+ # The number of recommended slot types associated with the bot
9743
+ # recommendation.
9744
+ # @return [Integer]
9745
+ #
9746
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/SlotTypeStatistics AWS API Documentation
9747
+ #
9748
+ class SlotTypeStatistics < Struct.new(
9749
+ :discovered_slot_type_count)
9750
+ SENSITIVE = []
9751
+ include Aws::Structure
9752
+ end
9753
+
8726
9754
  # Provides summary information about a slot type.
8727
9755
  #
8728
9756
  # @!attribute [rw] slot_type_id
@@ -8747,6 +9775,27 @@ module Aws::LexModelsV2
8747
9775
  # updated.
8748
9776
  # @return [Time]
8749
9777
  #
9778
+ # @!attribute [rw] slot_type_category
9779
+ # Indicates the type of the slot type.
9780
+ #
9781
+ # * `Custom` - A slot type that you created using custom values. For
9782
+ # more information, see [Creating custom slot types][1].
9783
+ #
9784
+ # * `Extended` - A slot type created by extending the
9785
+ # AMAZON.AlphaNumeric built-in slot type. For more information, see
9786
+ # [AMAZON.AlphaNumeric][2].
9787
+ #
9788
+ # * `ExternalGrammar` - A slot type using a custom GRXML grammar to
9789
+ # define values. For more information, see [Using a custom grammar
9790
+ # slot type][3].
9791
+ #
9792
+ #
9793
+ #
9794
+ # [1]: https://docs.aws.amazon.com/lexv2/latest/dg/custom-slot-types.html
9795
+ # [2]: https://docs.aws.amazon.com/lexv2/latest/dg/built-in-slot-alphanumerice.html
9796
+ # [3]: https://docs.aws.amazon.com/lexv2/latest/dg/building-grxml.html
9797
+ # @return [String]
9798
+ #
8750
9799
  # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/SlotTypeSummary AWS API Documentation
8751
9800
  #
8752
9801
  class SlotTypeSummary < Struct.new(
@@ -8754,7 +9803,8 @@ module Aws::LexModelsV2
8754
9803
  :slot_type_name,
8755
9804
  :description,
8756
9805
  :parent_slot_type_signature,
8757
- :last_updated_date_time)
9806
+ :last_updated_date_time,
9807
+ :slot_type_category)
8758
9808
  SENSITIVE = []
8759
9809
  include Aws::Structure
8760
9810
  end
@@ -9152,6 +10202,139 @@ module Aws::LexModelsV2
9152
10202
  include Aws::Structure
9153
10203
  end
9154
10204
 
10205
+ # @note When making an API call, you may pass StartBotRecommendationRequest
10206
+ # data as a hash:
10207
+ #
10208
+ # {
10209
+ # bot_id: "Id", # required
10210
+ # bot_version: "DraftBotVersion", # required
10211
+ # locale_id: "LocaleId", # required
10212
+ # transcript_source_setting: { # required
10213
+ # s3_bucket_transcript_source: {
10214
+ # s3_bucket_name: "S3BucketName", # required
10215
+ # path_format: {
10216
+ # object_prefixes: ["ObjectPrefix"],
10217
+ # },
10218
+ # transcript_format: "Lex", # required, accepts Lex
10219
+ # transcript_filter: {
10220
+ # lex_transcript_filter: {
10221
+ # date_range_filter: {
10222
+ # start_date_time: Time.now, # required
10223
+ # end_date_time: Time.now, # required
10224
+ # },
10225
+ # },
10226
+ # },
10227
+ # kms_key_arn: "KmsKeyArn",
10228
+ # },
10229
+ # },
10230
+ # encryption_setting: {
10231
+ # kms_key_arn: "KmsKeyArn",
10232
+ # bot_locale_export_password: "FilePassword",
10233
+ # associated_transcripts_password: "FilePassword",
10234
+ # },
10235
+ # }
10236
+ #
10237
+ # @!attribute [rw] bot_id
10238
+ # The unique identifier of the bot containing the bot recommendation.
10239
+ # @return [String]
10240
+ #
10241
+ # @!attribute [rw] bot_version
10242
+ # The version of the bot containing the bot recommendation.
10243
+ # @return [String]
10244
+ #
10245
+ # @!attribute [rw] locale_id
10246
+ # The identifier of the language and locale of the bot recommendation
10247
+ # to start. The string must match one of the supported locales. For
10248
+ # more information, see [Supported languages][1]
10249
+ #
10250
+ #
10251
+ #
10252
+ # [1]: https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html
10253
+ # @return [String]
10254
+ #
10255
+ # @!attribute [rw] transcript_source_setting
10256
+ # The object representing the Amazon S3 bucket containing the
10257
+ # transcript, as well as the associated metadata.
10258
+ # @return [Types::TranscriptSourceSetting]
10259
+ #
10260
+ # @!attribute [rw] encryption_setting
10261
+ # The object representing the passwords that will be used to encrypt
10262
+ # the data related to the bot recommendation results, as well as the
10263
+ # KMS key ARN used to encrypt the associated metadata.
10264
+ # @return [Types::EncryptionSetting]
10265
+ #
10266
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/StartBotRecommendationRequest AWS API Documentation
10267
+ #
10268
+ class StartBotRecommendationRequest < Struct.new(
10269
+ :bot_id,
10270
+ :bot_version,
10271
+ :locale_id,
10272
+ :transcript_source_setting,
10273
+ :encryption_setting)
10274
+ SENSITIVE = []
10275
+ include Aws::Structure
10276
+ end
10277
+
10278
+ # @!attribute [rw] bot_id
10279
+ # The unique identifier of the bot containing the bot recommendation.
10280
+ # @return [String]
10281
+ #
10282
+ # @!attribute [rw] bot_version
10283
+ # The version of the bot containing the bot recommendation.
10284
+ # @return [String]
10285
+ #
10286
+ # @!attribute [rw] locale_id
10287
+ # The identifier of the language and locale of the bot recommendation
10288
+ # to start. The string must match one of the supported locales. For
10289
+ # more information, see [Supported languages][1]
10290
+ #
10291
+ #
10292
+ #
10293
+ # [1]: https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html
10294
+ # @return [String]
10295
+ #
10296
+ # @!attribute [rw] bot_recommendation_status
10297
+ # The status of the bot recommendation.
10298
+ #
10299
+ # If the status is Failed, then the reasons for the failure are listed
10300
+ # in the failureReasons field.
10301
+ # @return [String]
10302
+ #
10303
+ # @!attribute [rw] bot_recommendation_id
10304
+ # The identifier of the bot recommendation that you have created.
10305
+ # @return [String]
10306
+ #
10307
+ # @!attribute [rw] creation_date_time
10308
+ # A timestamp of the date and time that the bot recommendation was
10309
+ # created.
10310
+ # @return [Time]
10311
+ #
10312
+ # @!attribute [rw] transcript_source_setting
10313
+ # The object representing the Amazon S3 bucket containing the
10314
+ # transcript, as well as the associated metadata.
10315
+ # @return [Types::TranscriptSourceSetting]
10316
+ #
10317
+ # @!attribute [rw] encryption_setting
10318
+ # The object representing the passwords that were used to encrypt the
10319
+ # data related to the bot recommendation results, as well as the KMS
10320
+ # key ARN used to encrypt the associated metadata.
10321
+ # @return [Types::EncryptionSetting]
10322
+ #
10323
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/StartBotRecommendationResponse AWS API Documentation
10324
+ #
10325
+ class StartBotRecommendationResponse < Struct.new(
10326
+ :bot_id,
10327
+ :bot_version,
10328
+ :locale_id,
10329
+ :bot_recommendation_status,
10330
+ :bot_recommendation_id,
10331
+ :creation_date_time,
10332
+ :transcript_source_setting,
10333
+ :encryption_setting)
10334
+ SENSITIVE = []
10335
+ include Aws::Structure
10336
+ end
10337
+
9155
10338
  # @note When making an API call, you may pass StartImportRequest
9156
10339
  # data as a hash:
9157
10340
  #
@@ -9179,16 +10362,21 @@ module Aws::LexModelsV2
9179
10362
  # nlu_intent_confidence_threshold: 1.0,
9180
10363
  # voice_settings: {
9181
10364
  # voice_id: "VoiceId", # required
10365
+ # engine: "standard", # accepts standard, neural
9182
10366
  # },
9183
10367
  # },
9184
10368
  # },
9185
- # merge_strategy: "Overwrite", # required, accepts Overwrite, FailOnConflict
10369
+ # merge_strategy: "Overwrite", # required, accepts Overwrite, FailOnConflict, Append
9186
10370
  # file_password: "ImportExportFilePassword",
9187
10371
  # }
9188
10372
  #
9189
10373
  # @!attribute [rw] import_id
9190
10374
  # The unique identifier for the import. It is included in the response
9191
- # from the operation.
10375
+ # from the [CreateUploadUrl][1] operation.
10376
+ #
10377
+ #
10378
+ #
10379
+ # [1]: https://docs.aws.amazon.com/lexv2/latest/dg/API_CreateUploadUrl.html
9192
10380
  # @return [String]
9193
10381
  #
9194
10382
  # @!attribute [rw] resource_specification
@@ -9457,6 +10645,72 @@ module Aws::LexModelsV2
9457
10645
  include Aws::Structure
9458
10646
  end
9459
10647
 
10648
+ # The object representing the filter that Amazon Lex will use to select
10649
+ # the appropriate transcript.
10650
+ #
10651
+ # @note When making an API call, you may pass TranscriptFilter
10652
+ # data as a hash:
10653
+ #
10654
+ # {
10655
+ # lex_transcript_filter: {
10656
+ # date_range_filter: {
10657
+ # start_date_time: Time.now, # required
10658
+ # end_date_time: Time.now, # required
10659
+ # },
10660
+ # },
10661
+ # }
10662
+ #
10663
+ # @!attribute [rw] lex_transcript_filter
10664
+ # The object representing the filter that Amazon Lex will use to
10665
+ # select the appropriate transcript when the transcript format is the
10666
+ # Amazon Lex format.
10667
+ # @return [Types::LexTranscriptFilter]
10668
+ #
10669
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/TranscriptFilter AWS API Documentation
10670
+ #
10671
+ class TranscriptFilter < Struct.new(
10672
+ :lex_transcript_filter)
10673
+ SENSITIVE = []
10674
+ include Aws::Structure
10675
+ end
10676
+
10677
+ # Indicates the setting of the location where the transcript is stored.
10678
+ #
10679
+ # @note When making an API call, you may pass TranscriptSourceSetting
10680
+ # data as a hash:
10681
+ #
10682
+ # {
10683
+ # s3_bucket_transcript_source: {
10684
+ # s3_bucket_name: "S3BucketName", # required
10685
+ # path_format: {
10686
+ # object_prefixes: ["ObjectPrefix"],
10687
+ # },
10688
+ # transcript_format: "Lex", # required, accepts Lex
10689
+ # transcript_filter: {
10690
+ # lex_transcript_filter: {
10691
+ # date_range_filter: {
10692
+ # start_date_time: Time.now, # required
10693
+ # end_date_time: Time.now, # required
10694
+ # },
10695
+ # },
10696
+ # },
10697
+ # kms_key_arn: "KmsKeyArn",
10698
+ # },
10699
+ # }
10700
+ #
10701
+ # @!attribute [rw] s3_bucket_transcript_source
10702
+ # Indicates the setting of the Amazon S3 bucket where the transcript
10703
+ # is stored.
10704
+ # @return [Types::S3BucketTranscriptSource]
10705
+ #
10706
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/TranscriptSourceSetting AWS API Documentation
10707
+ #
10708
+ class TranscriptSourceSetting < Struct.new(
10709
+ :s3_bucket_transcript_source)
10710
+ SENSITIVE = []
10711
+ include Aws::Structure
10712
+ end
10713
+
9460
10714
  # @note When making an API call, you may pass UntagResourceRequest
9461
10715
  # data as a hash:
9462
10716
  #
@@ -9664,6 +10918,7 @@ module Aws::LexModelsV2
9664
10918
  # nlu_intent_confidence_threshold: 1.0, # required
9665
10919
  # voice_settings: {
9666
10920
  # voice_id: "VoiceId", # required
10921
+ # engine: "standard", # accepts standard, neural
9667
10922
  # },
9668
10923
  # }
9669
10924
  #
@@ -9763,6 +11018,11 @@ module Aws::LexModelsV2
9763
11018
  # A timestamp of the date and time that the locale was last updated.
9764
11019
  # @return [Time]
9765
11020
  #
11021
+ # @!attribute [rw] recommended_actions
11022
+ # Recommended actions to take to resolve an error in the
11023
+ # `failureReasons` field.
11024
+ # @return [Array<String>]
11025
+ #
9766
11026
  # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/UpdateBotLocaleResponse AWS API Documentation
9767
11027
  #
9768
11028
  class UpdateBotLocaleResponse < Struct.new(
@@ -9776,7 +11036,133 @@ module Aws::LexModelsV2
9776
11036
  :bot_locale_status,
9777
11037
  :failure_reasons,
9778
11038
  :creation_date_time,
9779
- :last_updated_date_time)
11039
+ :last_updated_date_time,
11040
+ :recommended_actions)
11041
+ SENSITIVE = []
11042
+ include Aws::Structure
11043
+ end
11044
+
11045
+ # @note When making an API call, you may pass UpdateBotRecommendationRequest
11046
+ # data as a hash:
11047
+ #
11048
+ # {
11049
+ # bot_id: "Id", # required
11050
+ # bot_version: "DraftBotVersion", # required
11051
+ # locale_id: "LocaleId", # required
11052
+ # bot_recommendation_id: "Id", # required
11053
+ # encryption_setting: { # required
11054
+ # kms_key_arn: "KmsKeyArn",
11055
+ # bot_locale_export_password: "FilePassword",
11056
+ # associated_transcripts_password: "FilePassword",
11057
+ # },
11058
+ # }
11059
+ #
11060
+ # @!attribute [rw] bot_id
11061
+ # The unique identifier of the bot containing the bot recommendation
11062
+ # to be updated.
11063
+ # @return [String]
11064
+ #
11065
+ # @!attribute [rw] bot_version
11066
+ # The version of the bot containing the bot recommendation to be
11067
+ # updated.
11068
+ # @return [String]
11069
+ #
11070
+ # @!attribute [rw] locale_id
11071
+ # The identifier of the language and locale of the bot recommendation
11072
+ # to update. The string must match one of the supported locales. For
11073
+ # more information, see [Supported languages][1]
11074
+ #
11075
+ #
11076
+ #
11077
+ # [1]: https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html
11078
+ # @return [String]
11079
+ #
11080
+ # @!attribute [rw] bot_recommendation_id
11081
+ # The unique identifier of the bot recommendation to be updated.
11082
+ # @return [String]
11083
+ #
11084
+ # @!attribute [rw] encryption_setting
11085
+ # The object representing the passwords that will be used to encrypt
11086
+ # the data related to the bot recommendation results, as well as the
11087
+ # KMS key ARN used to encrypt the associated metadata.
11088
+ # @return [Types::EncryptionSetting]
11089
+ #
11090
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/UpdateBotRecommendationRequest AWS API Documentation
11091
+ #
11092
+ class UpdateBotRecommendationRequest < Struct.new(
11093
+ :bot_id,
11094
+ :bot_version,
11095
+ :locale_id,
11096
+ :bot_recommendation_id,
11097
+ :encryption_setting)
11098
+ SENSITIVE = []
11099
+ include Aws::Structure
11100
+ end
11101
+
11102
+ # @!attribute [rw] bot_id
11103
+ # The unique identifier of the bot containing the bot recommendation
11104
+ # that has been updated.
11105
+ # @return [String]
11106
+ #
11107
+ # @!attribute [rw] bot_version
11108
+ # The version of the bot containing the bot recommendation that has
11109
+ # been updated.
11110
+ # @return [String]
11111
+ #
11112
+ # @!attribute [rw] locale_id
11113
+ # The identifier of the language and locale of the bot recommendation
11114
+ # to update. The string must match one of the supported locales. For
11115
+ # more information, see [Supported languages][1]
11116
+ #
11117
+ #
11118
+ #
11119
+ # [1]: https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html
11120
+ # @return [String]
11121
+ #
11122
+ # @!attribute [rw] bot_recommendation_status
11123
+ # The status of the bot recommendation.
11124
+ #
11125
+ # If the status is Failed, then the reasons for the failure are listed
11126
+ # in the failureReasons field.
11127
+ # @return [String]
11128
+ #
11129
+ # @!attribute [rw] bot_recommendation_id
11130
+ # The unique identifier of the bot recommendation to be updated.
11131
+ # @return [String]
11132
+ #
11133
+ # @!attribute [rw] creation_date_time
11134
+ # A timestamp of the date and time that the bot recommendation was
11135
+ # created.
11136
+ # @return [Time]
11137
+ #
11138
+ # @!attribute [rw] last_updated_date_time
11139
+ # A timestamp of the date and time that the bot recommendation was
11140
+ # last updated.
11141
+ # @return [Time]
11142
+ #
11143
+ # @!attribute [rw] transcript_source_setting
11144
+ # The object representing the Amazon S3 bucket containing the
11145
+ # transcript, as well as the associated metadata.
11146
+ # @return [Types::TranscriptSourceSetting]
11147
+ #
11148
+ # @!attribute [rw] encryption_setting
11149
+ # The object representing the passwords that were used to encrypt the
11150
+ # data related to the bot recommendation results, as well as the KMS
11151
+ # key ARN used to encrypt the associated metadata.
11152
+ # @return [Types::EncryptionSetting]
11153
+ #
11154
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/UpdateBotRecommendationResponse AWS API Documentation
11155
+ #
11156
+ class UpdateBotRecommendationResponse < Struct.new(
11157
+ :bot_id,
11158
+ :bot_version,
11159
+ :locale_id,
11160
+ :bot_recommendation_status,
11161
+ :bot_recommendation_id,
11162
+ :creation_date_time,
11163
+ :last_updated_date_time,
11164
+ :transcript_source_setting,
11165
+ :encryption_setting)
9780
11166
  SENSITIVE = []
9781
11167
  include Aws::Structure
9782
11168
  end
@@ -9797,7 +11183,11 @@ module Aws::LexModelsV2
9797
11183
  #
9798
11184
  # @!attribute [rw] bot_id
9799
11185
  # The unique identifier of the bot to update. This identifier is
9800
- # returned by the CreateBot operation.
11186
+ # returned by the [CreateBot][1] operation.
11187
+ #
11188
+ #
11189
+ #
11190
+ # [1]: https://docs.aws.amazon.com/lexv2/latest/dg/API_CreateBot.html
9801
11191
  # @return [String]
9802
11192
  #
9803
11193
  # @!attribute [rw] bot_name
@@ -11151,7 +12541,7 @@ module Aws::LexModelsV2
11151
12541
  # ],
11152
12542
  # },
11153
12543
  # ],
11154
- # value_selection_setting: { # required
12544
+ # value_selection_setting: {
11155
12545
  # resolution_strategy: "OriginalValue", # required, accepts OriginalValue, TopResolution
11156
12546
  # regex_filter: {
11157
12547
  # pattern: "RegexPattern", # required
@@ -11161,6 +12551,15 @@ module Aws::LexModelsV2
11161
12551
  # bot_id: "Id", # required
11162
12552
  # bot_version: "DraftBotVersion", # required
11163
12553
  # locale_id: "LocaleId", # required
12554
+ # external_source_setting: {
12555
+ # grammar_slot_type_setting: {
12556
+ # source: {
12557
+ # s3_bucket_name: "S3BucketName", # required
12558
+ # s3_object_key: "S3ObjectPath", # required
12559
+ # kms_key_arn: "KmsKeyArn",
12560
+ # },
12561
+ # },
12562
+ # },
11164
12563
  # }
11165
12564
  #
11166
12565
  # @!attribute [rw] slot_type_id
@@ -11208,6 +12607,11 @@ module Aws::LexModelsV2
11208
12607
  # [1]: https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html
11209
12608
  # @return [String]
11210
12609
  #
12610
+ # @!attribute [rw] external_source_setting
12611
+ # Provides information about the external source of the slot type's
12612
+ # definition.
12613
+ # @return [Types::ExternalSourceSetting]
12614
+ #
11211
12615
  # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/UpdateSlotTypeRequest AWS API Documentation
11212
12616
  #
11213
12617
  class UpdateSlotTypeRequest < Struct.new(
@@ -11219,7 +12623,8 @@ module Aws::LexModelsV2
11219
12623
  :parent_slot_type_signature,
11220
12624
  :bot_id,
11221
12625
  :bot_version,
11222
- :locale_id)
12626
+ :locale_id,
12627
+ :external_source_setting)
11223
12628
  SENSITIVE = []
11224
12629
  include Aws::Structure
11225
12630
  end
@@ -11272,6 +12677,11 @@ module Aws::LexModelsV2
11272
12677
  # updated.
11273
12678
  # @return [Time]
11274
12679
  #
12680
+ # @!attribute [rw] external_source_setting
12681
+ # Provides information about the external source of the slot type's
12682
+ # definition.
12683
+ # @return [Types::ExternalSourceSetting]
12684
+ #
11275
12685
  # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/UpdateSlotTypeResponse AWS API Documentation
11276
12686
  #
11277
12687
  class UpdateSlotTypeResponse < Struct.new(
@@ -11285,7 +12695,8 @@ module Aws::LexModelsV2
11285
12695
  :bot_version,
11286
12696
  :locale_id,
11287
12697
  :creation_date_time,
11288
- :last_updated_date_time)
12698
+ :last_updated_date_time,
12699
+ :external_source_setting)
11289
12700
  SENSITIVE = []
11290
12701
  include Aws::Structure
11291
12702
  end
@@ -11337,16 +12748,31 @@ module Aws::LexModelsV2
11337
12748
  #
11338
12749
  # {
11339
12750
  # voice_id: "VoiceId", # required
12751
+ # engine: "standard", # accepts standard, neural
11340
12752
  # }
11341
12753
  #
11342
12754
  # @!attribute [rw] voice_id
11343
12755
  # The identifier of the Amazon Polly voice to use.
11344
12756
  # @return [String]
11345
12757
  #
12758
+ # @!attribute [rw] engine
12759
+ # Indicates the type of Amazon Polly voice that Amazon Lex should use
12760
+ # for voice interaction with the user. For more information, see the [
12761
+ # `engine` parameter of the `SynthesizeSpeech` operation][1] in the
12762
+ # *Amazon Polly developer guide*.
12763
+ #
12764
+ # If you do not specify a value, the default is `standard`.
12765
+ #
12766
+ #
12767
+ #
12768
+ # [1]: https://docs.aws.amazon.com/polly/latest/dg/API_SynthesizeSpeech.html#polly-SynthesizeSpeech-request-Engine
12769
+ # @return [String]
12770
+ #
11346
12771
  # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/VoiceSettings AWS API Documentation
11347
12772
  #
11348
12773
  class VoiceSettings < Struct.new(
11349
- :voice_id)
12774
+ :voice_id,
12775
+ :engine)
11350
12776
  SENSITIVE = []
11351
12777
  include Aws::Structure
11352
12778
  end