aws-sdk-lexmodelsv2 1.14.0 → 1.18.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.
@@ -119,7 +119,9 @@ module Aws::LexModelsV2
119
119
  # * EC2/ECS IMDS instance profile - When used by default, the timeouts
120
120
  # are very aggressive. Construct and pass an instance of
121
121
  # `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
122
- # enable retries and extended timeouts.
122
+ # enable retries and extended timeouts. Instance profile credential
123
+ # fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
124
+ # to true.
123
125
  #
124
126
  # @option options [required, String] :region
125
127
  # The AWS region to connect to. The configured `:region` is
@@ -342,7 +344,11 @@ module Aws::LexModelsV2
342
344
  #
343
345
  # @option params [required, String] :bot_id
344
346
  # The identifier of the bot to build. The identifier is returned in the
345
- # response from the operation.
347
+ # response from the [CreateBot][1] operation.
348
+ #
349
+ #
350
+ #
351
+ # [1]: https://docs.aws.amazon.com/lexv2/latest/dg/API_CreateBot.html
346
352
  #
347
353
  # @option params [required, String] :bot_version
348
354
  # The version of the bot to build. This can only be the draft version of
@@ -379,7 +385,7 @@ module Aws::LexModelsV2
379
385
  # resp.bot_id #=> String
380
386
  # resp.bot_version #=> String
381
387
  # resp.locale_id #=> String
382
- # resp.bot_locale_status #=> String, one of "Creating", "Building", "Built", "ReadyExpressTesting", "Failed", "Deleting", "NotBuilt", "Importing"
388
+ # resp.bot_locale_status #=> String, one of "Creating", "Building", "Built", "ReadyExpressTesting", "Failed", "Deleting", "NotBuilt", "Importing", "Processing"
383
389
  # resp.last_build_submitted_date_time #=> Time
384
390
  #
385
391
  # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/BuildBotLocale AWS API Documentation
@@ -501,7 +507,12 @@ module Aws::LexModelsV2
501
507
  #
502
508
  # @option params [String] :bot_version
503
509
  # The version of the bot that this alias points to. You can use the
504
- # operation to change the bot version associated with the alias.
510
+ # [UpdateBotAlias][1] operation to change the bot version associated
511
+ # with the alias.
512
+ #
513
+ #
514
+ #
515
+ # [1]: https://docs.aws.amazon.com/lexv2/latest/dg/API_UpdateBotAlias.html
505
516
  #
506
517
  # @option params [Hash<String,Types::BotAliasLocaleSettings>] :bot_alias_locale_settings
507
518
  # Maps configuration information to a specific locale. You can use this
@@ -700,6 +711,7 @@ module Aws::LexModelsV2
700
711
  # nlu_intent_confidence_threshold: 1.0, # required
701
712
  # voice_settings: {
702
713
  # voice_id: "VoiceId", # required
714
+ # engine: "standard", # accepts standard, neural
703
715
  # },
704
716
  # })
705
717
  #
@@ -712,7 +724,8 @@ module Aws::LexModelsV2
712
724
  # resp.description #=> String
713
725
  # resp.nlu_intent_confidence_threshold #=> Float
714
726
  # resp.voice_settings.voice_id #=> String
715
- # resp.bot_locale_status #=> String, one of "Creating", "Building", "Built", "ReadyExpressTesting", "Failed", "Deleting", "NotBuilt", "Importing"
727
+ # resp.voice_settings.engine #=> String, one of "standard", "neural"
728
+ # resp.bot_locale_status #=> String, one of "Creating", "Building", "Built", "ReadyExpressTesting", "Failed", "Deleting", "NotBuilt", "Importing", "Processing"
716
729
  # resp.creation_date_time #=> Time
717
730
  #
718
731
  # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/CreateBotLocale AWS API Documentation
@@ -2305,7 +2318,7 @@ module Aws::LexModelsV2
2305
2318
  # values that help train the machine learning model about the values
2306
2319
  # that it resolves for a slot.
2307
2320
  #
2308
- # @option params [required, Types::SlotValueSelectionSetting] :value_selection_setting
2321
+ # @option params [Types::SlotValueSelectionSetting] :value_selection_setting
2309
2322
  # Determines the strategy that Amazon Lex uses to select a value from
2310
2323
  # the list of possible values. The field can be set to one of the
2311
2324
  # following values:
@@ -2343,6 +2356,9 @@ module Aws::LexModelsV2
2343
2356
  #
2344
2357
  # [1]: https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html
2345
2358
  #
2359
+ # @option params [Types::ExternalSourceSetting] :external_source_setting
2360
+ # Sets the type of external information used to create the slot type.
2361
+ #
2346
2362
  # @return [Types::CreateSlotTypeResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2347
2363
  #
2348
2364
  # * {Types::CreateSlotTypeResponse#slot_type_id #slot_type_id} => String
@@ -2355,6 +2371,7 @@ module Aws::LexModelsV2
2355
2371
  # * {Types::CreateSlotTypeResponse#bot_version #bot_version} => String
2356
2372
  # * {Types::CreateSlotTypeResponse#locale_id #locale_id} => String
2357
2373
  # * {Types::CreateSlotTypeResponse#creation_date_time #creation_date_time} => Time
2374
+ # * {Types::CreateSlotTypeResponse#external_source_setting #external_source_setting} => Types::ExternalSourceSetting
2358
2375
  #
2359
2376
  # @example Request syntax with placeholder values
2360
2377
  #
@@ -2373,7 +2390,7 @@ module Aws::LexModelsV2
2373
2390
  # ],
2374
2391
  # },
2375
2392
  # ],
2376
- # value_selection_setting: { # required
2393
+ # value_selection_setting: {
2377
2394
  # resolution_strategy: "OriginalValue", # required, accepts OriginalValue, TopResolution
2378
2395
  # regex_filter: {
2379
2396
  # pattern: "RegexPattern", # required
@@ -2383,6 +2400,15 @@ module Aws::LexModelsV2
2383
2400
  # bot_id: "Id", # required
2384
2401
  # bot_version: "DraftBotVersion", # required
2385
2402
  # locale_id: "LocaleId", # required
2403
+ # external_source_setting: {
2404
+ # grammar_slot_type_setting: {
2405
+ # source: {
2406
+ # s3_bucket_name: "S3BucketName", # required
2407
+ # s3_object_key: "S3ObjectPath", # required
2408
+ # kms_key_arn: "KmsKeyArn",
2409
+ # },
2410
+ # },
2411
+ # },
2386
2412
  # })
2387
2413
  #
2388
2414
  # @example Response structure
@@ -2401,6 +2427,9 @@ module Aws::LexModelsV2
2401
2427
  # resp.bot_version #=> String
2402
2428
  # resp.locale_id #=> String
2403
2429
  # resp.creation_date_time #=> Time
2430
+ # resp.external_source_setting.grammar_slot_type_setting.source.s3_bucket_name #=> String
2431
+ # resp.external_source_setting.grammar_slot_type_setting.source.s3_object_key #=> String
2432
+ # resp.external_source_setting.grammar_slot_type_setting.source.kms_key_arn #=> String
2404
2433
  #
2405
2434
  # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/CreateSlotType AWS API Documentation
2406
2435
  #
@@ -2558,7 +2587,7 @@ module Aws::LexModelsV2
2558
2587
  # resp.bot_id #=> String
2559
2588
  # resp.bot_version #=> String
2560
2589
  # resp.locale_id #=> String
2561
- # resp.bot_locale_status #=> String, one of "Creating", "Building", "Built", "ReadyExpressTesting", "Failed", "Deleting", "NotBuilt", "Importing"
2590
+ # resp.bot_locale_status #=> String, one of "Creating", "Building", "Built", "ReadyExpressTesting", "Failed", "Deleting", "NotBuilt", "Importing", "Processing"
2562
2591
  #
2563
2592
  # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DeleteBotLocale AWS API Documentation
2564
2593
  #
@@ -2570,7 +2599,11 @@ module Aws::LexModelsV2
2570
2599
  end
2571
2600
 
2572
2601
  # Deletes a specific version of a bot. To delete all version of a bot,
2573
- # use the DeleteBot operation.
2602
+ # use the [DeleteBot][1] operation.
2603
+ #
2604
+ #
2605
+ #
2606
+ # [1]: https://docs.aws.amazon.com/lexv2/latest/dg/API_DeleteBot.html
2574
2607
  #
2575
2608
  # @option params [required, String] :bot_id
2576
2609
  # The identifier of the bot that contains the version.
@@ -2904,9 +2937,10 @@ module Aws::LexModelsV2
2904
2937
  # Deletes stored utterances.
2905
2938
  #
2906
2939
  # Amazon Lex stores the utterances that users send to your bot.
2907
- # Utterances are stored for 15 days for use with the operation, and then
2908
- # stored indefinitely for use in improving the ability of your bot to
2909
- # respond to user input..
2940
+ # Utterances are stored for 15 days for use with the
2941
+ # [ListAggregatedUtterances][1] operation, and then stored indefinitely
2942
+ # for use in improving the ability of your bot to respond to user
2943
+ # input..
2910
2944
  #
2911
2945
  # Use the `DeleteUtterances` operation to manually delete utterances for
2912
2946
  # a specific session. When you use the `DeleteUtterances` operation,
@@ -2914,6 +2948,10 @@ module Aws::LexModelsV2
2914
2948
  # input are deleted immediately. Utterances stored for use with the
2915
2949
  # `ListAggregatedUtterances` operation are deleted after 15 days.
2916
2950
  #
2951
+ #
2952
+ #
2953
+ # [1]: https://docs.aws.amazon.com/lexv2/latest/dg/API_ListAggregatedUtterances.html
2954
+ #
2917
2955
  # @option params [required, String] :bot_id
2918
2956
  # The unique identifier of the bot that contains the utterances.
2919
2957
  #
@@ -2928,7 +2966,13 @@ module Aws::LexModelsV2
2928
2966
  #
2929
2967
  # @option params [String] :session_id
2930
2968
  # The unique identifier of the session with the user. The ID is returned
2931
- # in the response from the and operations.
2969
+ # in the response from the [RecognizeText][1] and
2970
+ # [RecognizeUtterance][2] operations.
2971
+ #
2972
+ #
2973
+ #
2974
+ # [1]: https://docs.aws.amazon.com/lexv2/latest/dg/API_runtime_RecognizeText.html
2975
+ # [2]: https://docs.aws.amazon.com/lexv2/latest/dg/API_runtime_RecognizeUtterance.html
2932
2976
  #
2933
2977
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2934
2978
  #
@@ -3105,6 +3149,7 @@ module Aws::LexModelsV2
3105
3149
  # * {Types::DescribeBotLocaleResponse#last_updated_date_time #last_updated_date_time} => Time
3106
3150
  # * {Types::DescribeBotLocaleResponse#last_build_submitted_date_time #last_build_submitted_date_time} => Time
3107
3151
  # * {Types::DescribeBotLocaleResponse#bot_locale_history_events #bot_locale_history_events} => Array&lt;Types::BotLocaleHistoryEvent&gt;
3152
+ # * {Types::DescribeBotLocaleResponse#recommended_actions #recommended_actions} => Array&lt;String&gt;
3108
3153
  #
3109
3154
  # @example Request syntax with placeholder values
3110
3155
  #
@@ -3123,9 +3168,10 @@ module Aws::LexModelsV2
3123
3168
  # resp.description #=> String
3124
3169
  # resp.nlu_intent_confidence_threshold #=> Float
3125
3170
  # resp.voice_settings.voice_id #=> String
3171
+ # resp.voice_settings.engine #=> String, one of "standard", "neural"
3126
3172
  # resp.intents_count #=> Integer
3127
3173
  # resp.slot_types_count #=> Integer
3128
- # resp.bot_locale_status #=> String, one of "Creating", "Building", "Built", "ReadyExpressTesting", "Failed", "Deleting", "NotBuilt", "Importing"
3174
+ # resp.bot_locale_status #=> String, one of "Creating", "Building", "Built", "ReadyExpressTesting", "Failed", "Deleting", "NotBuilt", "Importing", "Processing"
3129
3175
  # resp.failure_reasons #=> Array
3130
3176
  # resp.failure_reasons[0] #=> String
3131
3177
  # resp.creation_date_time #=> Time
@@ -3134,6 +3180,8 @@ module Aws::LexModelsV2
3134
3180
  # resp.bot_locale_history_events #=> Array
3135
3181
  # resp.bot_locale_history_events[0].event #=> String
3136
3182
  # resp.bot_locale_history_events[0].event_date #=> Time
3183
+ # resp.recommended_actions #=> Array
3184
+ # resp.recommended_actions[0] #=> String
3137
3185
  #
3138
3186
  #
3139
3187
  # The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
@@ -3151,6 +3199,89 @@ module Aws::LexModelsV2
3151
3199
  req.send_request(options)
3152
3200
  end
3153
3201
 
3202
+ # Provides metadata information about a bot recommendation. This
3203
+ # information will enable you to get a description on the request
3204
+ # inputs, to download associated transcripts after processing is
3205
+ # complete, and to download intents and slot-types generated by the bot
3206
+ # recommendation.
3207
+ #
3208
+ # @option params [required, String] :bot_id
3209
+ # The unique identifier of the bot associated with the bot
3210
+ # recommendation.
3211
+ #
3212
+ # @option params [required, String] :bot_version
3213
+ # The version of the bot associated with the bot recommendation.
3214
+ #
3215
+ # @option params [required, String] :locale_id
3216
+ # The identifier of the language and locale of the bot recommendation to
3217
+ # describe. The string must match one of the supported locales. For more
3218
+ # information, see [Supported languages][1].
3219
+ #
3220
+ #
3221
+ #
3222
+ # [1]: https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html
3223
+ #
3224
+ # @option params [required, String] :bot_recommendation_id
3225
+ # The identifier of the bot recommendation to describe.
3226
+ #
3227
+ # @return [Types::DescribeBotRecommendationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3228
+ #
3229
+ # * {Types::DescribeBotRecommendationResponse#bot_id #bot_id} => String
3230
+ # * {Types::DescribeBotRecommendationResponse#bot_version #bot_version} => String
3231
+ # * {Types::DescribeBotRecommendationResponse#locale_id #locale_id} => String
3232
+ # * {Types::DescribeBotRecommendationResponse#bot_recommendation_status #bot_recommendation_status} => String
3233
+ # * {Types::DescribeBotRecommendationResponse#bot_recommendation_id #bot_recommendation_id} => String
3234
+ # * {Types::DescribeBotRecommendationResponse#failure_reasons #failure_reasons} => Array&lt;String&gt;
3235
+ # * {Types::DescribeBotRecommendationResponse#creation_date_time #creation_date_time} => Time
3236
+ # * {Types::DescribeBotRecommendationResponse#last_updated_date_time #last_updated_date_time} => Time
3237
+ # * {Types::DescribeBotRecommendationResponse#transcript_source_setting #transcript_source_setting} => Types::TranscriptSourceSetting
3238
+ # * {Types::DescribeBotRecommendationResponse#encryption_setting #encryption_setting} => Types::EncryptionSetting
3239
+ # * {Types::DescribeBotRecommendationResponse#bot_recommendation_results #bot_recommendation_results} => Types::BotRecommendationResults
3240
+ #
3241
+ # @example Request syntax with placeholder values
3242
+ #
3243
+ # resp = client.describe_bot_recommendation({
3244
+ # bot_id: "Id", # required
3245
+ # bot_version: "DraftBotVersion", # required
3246
+ # locale_id: "LocaleId", # required
3247
+ # bot_recommendation_id: "Id", # required
3248
+ # })
3249
+ #
3250
+ # @example Response structure
3251
+ #
3252
+ # resp.bot_id #=> String
3253
+ # resp.bot_version #=> String
3254
+ # resp.locale_id #=> String
3255
+ # resp.bot_recommendation_status #=> String, one of "Processing", "Deleting", "Deleted", "Downloading", "Updating", "Available", "Failed"
3256
+ # resp.bot_recommendation_id #=> String
3257
+ # resp.failure_reasons #=> Array
3258
+ # resp.failure_reasons[0] #=> String
3259
+ # resp.creation_date_time #=> Time
3260
+ # resp.last_updated_date_time #=> Time
3261
+ # resp.transcript_source_setting.s3_bucket_transcript_source.s3_bucket_name #=> String
3262
+ # resp.transcript_source_setting.s3_bucket_transcript_source.path_format.object_prefixes #=> Array
3263
+ # resp.transcript_source_setting.s3_bucket_transcript_source.path_format.object_prefixes[0] #=> String
3264
+ # resp.transcript_source_setting.s3_bucket_transcript_source.transcript_format #=> String, one of "Lex"
3265
+ # resp.transcript_source_setting.s3_bucket_transcript_source.transcript_filter.lex_transcript_filter.date_range_filter.start_date_time #=> Time
3266
+ # resp.transcript_source_setting.s3_bucket_transcript_source.transcript_filter.lex_transcript_filter.date_range_filter.end_date_time #=> Time
3267
+ # resp.transcript_source_setting.s3_bucket_transcript_source.kms_key_arn #=> String
3268
+ # resp.encryption_setting.kms_key_arn #=> String
3269
+ # resp.encryption_setting.bot_locale_export_password #=> String
3270
+ # resp.encryption_setting.associated_transcripts_password #=> String
3271
+ # resp.bot_recommendation_results.bot_locale_export_url #=> String
3272
+ # resp.bot_recommendation_results.associated_transcripts_url #=> String
3273
+ # resp.bot_recommendation_results.statistics.intents.discovered_intent_count #=> Integer
3274
+ # resp.bot_recommendation_results.statistics.slot_types.discovered_slot_type_count #=> Integer
3275
+ #
3276
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DescribeBotRecommendation AWS API Documentation
3277
+ #
3278
+ # @overload describe_bot_recommendation(params = {})
3279
+ # @param [Hash] params ({})
3280
+ def describe_bot_recommendation(params = {}, options = {})
3281
+ req = build_request(:describe_bot_recommendation, params)
3282
+ req.send_request(options)
3283
+ end
3284
+
3154
3285
  # Provides metadata about a version of a bot.
3155
3286
  #
3156
3287
  # @option params [required, String] :bot_id
@@ -3299,9 +3430,10 @@ module Aws::LexModelsV2
3299
3430
  # resp.resource_specification.bot_locale_import_specification.locale_id #=> String
3300
3431
  # resp.resource_specification.bot_locale_import_specification.nlu_intent_confidence_threshold #=> Float
3301
3432
  # resp.resource_specification.bot_locale_import_specification.voice_settings.voice_id #=> String
3433
+ # resp.resource_specification.bot_locale_import_specification.voice_settings.engine #=> String, one of "standard", "neural"
3302
3434
  # resp.imported_resource_id #=> String
3303
3435
  # resp.imported_resource_name #=> String
3304
- # resp.merge_strategy #=> String, one of "Overwrite", "FailOnConflict"
3436
+ # resp.merge_strategy #=> String, one of "Overwrite", "FailOnConflict", "Append"
3305
3437
  # resp.import_status #=> String, one of "InProgress", "Completed", "Failed", "Deleting"
3306
3438
  # resp.failure_reasons #=> Array
3307
3439
  # resp.failure_reasons[0] #=> String
@@ -3816,6 +3948,7 @@ module Aws::LexModelsV2
3816
3948
  # * {Types::DescribeSlotTypeResponse#locale_id #locale_id} => String
3817
3949
  # * {Types::DescribeSlotTypeResponse#creation_date_time #creation_date_time} => Time
3818
3950
  # * {Types::DescribeSlotTypeResponse#last_updated_date_time #last_updated_date_time} => Time
3951
+ # * {Types::DescribeSlotTypeResponse#external_source_setting #external_source_setting} => Types::ExternalSourceSetting
3819
3952
  #
3820
3953
  # @example Request syntax with placeholder values
3821
3954
  #
@@ -3843,6 +3976,9 @@ module Aws::LexModelsV2
3843
3976
  # resp.locale_id #=> String
3844
3977
  # resp.creation_date_time #=> Time
3845
3978
  # resp.last_updated_date_time #=> Time
3979
+ # resp.external_source_setting.grammar_slot_type_setting.source.s3_bucket_name #=> String
3980
+ # resp.external_source_setting.grammar_slot_type_setting.source.s3_object_key #=> String
3981
+ # resp.external_source_setting.grammar_slot_type_setting.source.kms_key_arn #=> String
3846
3982
  #
3847
3983
  # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/DescribeSlotType AWS API Documentation
3848
3984
  #
@@ -4113,7 +4249,7 @@ module Aws::LexModelsV2
4113
4249
  # resp.bot_locale_summaries[0].locale_id #=> String
4114
4250
  # resp.bot_locale_summaries[0].locale_name #=> String
4115
4251
  # resp.bot_locale_summaries[0].description #=> String
4116
- # resp.bot_locale_summaries[0].bot_locale_status #=> String, one of "Creating", "Building", "Built", "ReadyExpressTesting", "Failed", "Deleting", "NotBuilt", "Importing"
4252
+ # resp.bot_locale_summaries[0].bot_locale_status #=> String, one of "Creating", "Building", "Built", "ReadyExpressTesting", "Failed", "Deleting", "NotBuilt", "Importing", "Processing"
4117
4253
  # resp.bot_locale_summaries[0].last_updated_date_time #=> Time
4118
4254
  # resp.bot_locale_summaries[0].last_build_submitted_date_time #=> Time
4119
4255
  #
@@ -4126,6 +4262,71 @@ module Aws::LexModelsV2
4126
4262
  req.send_request(options)
4127
4263
  end
4128
4264
 
4265
+ # Get a list of bot recommendations that meet the specified criteria.
4266
+ #
4267
+ # @option params [required, String] :bot_id
4268
+ # The unique identifier of the bot that contains the bot recommendation
4269
+ # list.
4270
+ #
4271
+ # @option params [required, String] :bot_version
4272
+ # The version of the bot that contains the bot recommendation list.
4273
+ #
4274
+ # @option params [required, String] :locale_id
4275
+ # The identifier of the language and locale of the bot recommendation
4276
+ # list.
4277
+ #
4278
+ # @option params [Integer] :max_results
4279
+ # The maximum number of bot recommendations to return in each page of
4280
+ # results. If there are fewer results than the max page size, only the
4281
+ # actual number of results are returned.
4282
+ #
4283
+ # @option params [String] :next_token
4284
+ # If the response from the ListBotRecommendation operation contains more
4285
+ # results than specified in the maxResults parameter, a token is
4286
+ # returned in the response. Use that token in the nextToken parameter to
4287
+ # return the next page of results.
4288
+ #
4289
+ # @return [Types::ListBotRecommendationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4290
+ #
4291
+ # * {Types::ListBotRecommendationsResponse#bot_id #bot_id} => String
4292
+ # * {Types::ListBotRecommendationsResponse#bot_version #bot_version} => String
4293
+ # * {Types::ListBotRecommendationsResponse#locale_id #locale_id} => String
4294
+ # * {Types::ListBotRecommendationsResponse#bot_recommendation_summaries #bot_recommendation_summaries} => Array&lt;Types::BotRecommendationSummary&gt;
4295
+ # * {Types::ListBotRecommendationsResponse#next_token #next_token} => String
4296
+ #
4297
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
4298
+ #
4299
+ # @example Request syntax with placeholder values
4300
+ #
4301
+ # resp = client.list_bot_recommendations({
4302
+ # bot_id: "Id", # required
4303
+ # bot_version: "DraftBotVersion", # required
4304
+ # locale_id: "LocaleId", # required
4305
+ # max_results: 1,
4306
+ # next_token: "NextToken",
4307
+ # })
4308
+ #
4309
+ # @example Response structure
4310
+ #
4311
+ # resp.bot_id #=> String
4312
+ # resp.bot_version #=> String
4313
+ # resp.locale_id #=> String
4314
+ # resp.bot_recommendation_summaries #=> Array
4315
+ # resp.bot_recommendation_summaries[0].bot_recommendation_status #=> String, one of "Processing", "Deleting", "Deleted", "Downloading", "Updating", "Available", "Failed"
4316
+ # resp.bot_recommendation_summaries[0].bot_recommendation_id #=> String
4317
+ # resp.bot_recommendation_summaries[0].creation_date_time #=> Time
4318
+ # resp.bot_recommendation_summaries[0].last_updated_date_time #=> Time
4319
+ # resp.next_token #=> String
4320
+ #
4321
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ListBotRecommendations AWS API Documentation
4322
+ #
4323
+ # @overload list_bot_recommendations(params = {})
4324
+ # @param [Hash] params ({})
4325
+ def list_bot_recommendations(params = {}, options = {})
4326
+ req = build_request(:list_bot_recommendations, params)
4327
+ req.send_request(options)
4328
+ end
4329
+
4129
4330
  # Gets information about all of the versions of a bot.
4130
4331
  #
4131
4332
  # The `ListBotVersions` operation returns a summary of each version of a
@@ -4268,7 +4469,11 @@ module Aws::LexModelsV2
4268
4469
  # To use a built-in intent as a the base for your own intent, include
4269
4470
  # the built-in intent signature in the `parentIntentSignature` parameter
4270
4471
  # when you call the `CreateIntent` operation. For more information, see
4271
- # CreateIntent.
4472
+ # [CreateIntent][1].
4473
+ #
4474
+ #
4475
+ #
4476
+ # [1]: https://docs.aws.amazon.com/lexv2/latest/dg/API_CreateIntent.html
4272
4477
  #
4273
4478
  # @option params [required, String] :locale_id
4274
4479
  # The identifier of the language and locale of the intents to list. The
@@ -4549,7 +4754,7 @@ module Aws::LexModelsV2
4549
4754
  # resp.import_summaries[0].imported_resource_id #=> String
4550
4755
  # resp.import_summaries[0].imported_resource_name #=> String
4551
4756
  # resp.import_summaries[0].import_status #=> String, one of "InProgress", "Completed", "Failed", "Deleting"
4552
- # resp.import_summaries[0].merge_strategy #=> String, one of "Overwrite", "FailOnConflict"
4757
+ # resp.import_summaries[0].merge_strategy #=> String, one of "Overwrite", "FailOnConflict", "Append"
4553
4758
  # resp.import_summaries[0].creation_date_time #=> Time
4554
4759
  # resp.import_summaries[0].last_updated_date_time #=> Time
4555
4760
  # resp.next_token #=> String
@@ -4660,6 +4865,77 @@ module Aws::LexModelsV2
4660
4865
  req.send_request(options)
4661
4866
  end
4662
4867
 
4868
+ # Gets a list of recommended intents provided by the bot recommendation
4869
+ # that you can use in your bot.
4870
+ #
4871
+ # @option params [required, String] :bot_id
4872
+ # The unique identifier of the bot associated with the recommended
4873
+ # intents.
4874
+ #
4875
+ # @option params [required, String] :bot_version
4876
+ # The version of the bot that contains the recommended intents.
4877
+ #
4878
+ # @option params [required, String] :locale_id
4879
+ # The identifier of the language and locale of the recommended intents.
4880
+ #
4881
+ # @option params [required, String] :bot_recommendation_id
4882
+ # The identifier of the bot recommendation that contains the recommended
4883
+ # intents.
4884
+ #
4885
+ # @option params [String] :next_token
4886
+ # If the response from the ListRecommendedIntents operation contains
4887
+ # more results than specified in the maxResults parameter, a token is
4888
+ # returned in the response. Use that token in the nextToken parameter to
4889
+ # return the next page of results.
4890
+ #
4891
+ # @option params [Integer] :max_results
4892
+ # The maximum number of bot recommendations to return in each page of
4893
+ # results. If there are fewer results than the max page size, only the
4894
+ # actual number of results are returned.
4895
+ #
4896
+ # @return [Types::ListRecommendedIntentsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4897
+ #
4898
+ # * {Types::ListRecommendedIntentsResponse#bot_id #bot_id} => String
4899
+ # * {Types::ListRecommendedIntentsResponse#bot_version #bot_version} => String
4900
+ # * {Types::ListRecommendedIntentsResponse#locale_id #locale_id} => String
4901
+ # * {Types::ListRecommendedIntentsResponse#bot_recommendation_id #bot_recommendation_id} => String
4902
+ # * {Types::ListRecommendedIntentsResponse#summary_list #summary_list} => Array&lt;Types::RecommendedIntentSummary&gt;
4903
+ # * {Types::ListRecommendedIntentsResponse#next_token #next_token} => String
4904
+ #
4905
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
4906
+ #
4907
+ # @example Request syntax with placeholder values
4908
+ #
4909
+ # resp = client.list_recommended_intents({
4910
+ # bot_id: "Id", # required
4911
+ # bot_version: "DraftBotVersion", # required
4912
+ # locale_id: "LocaleId", # required
4913
+ # bot_recommendation_id: "Id", # required
4914
+ # next_token: "NextToken",
4915
+ # max_results: 1,
4916
+ # })
4917
+ #
4918
+ # @example Response structure
4919
+ #
4920
+ # resp.bot_id #=> String
4921
+ # resp.bot_version #=> String
4922
+ # resp.locale_id #=> String
4923
+ # resp.bot_recommendation_id #=> String
4924
+ # resp.summary_list #=> Array
4925
+ # resp.summary_list[0].intent_id #=> String
4926
+ # resp.summary_list[0].intent_name #=> String
4927
+ # resp.summary_list[0].sample_utterances_count #=> Integer
4928
+ # resp.next_token #=> String
4929
+ #
4930
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ListRecommendedIntents AWS API Documentation
4931
+ #
4932
+ # @overload list_recommended_intents(params = {})
4933
+ # @param [Hash] params ({})
4934
+ def list_recommended_intents(params = {}, options = {})
4935
+ req = build_request(:list_recommended_intents, params)
4936
+ req.send_request(options)
4937
+ end
4938
+
4663
4939
  # Gets a list of slot types that match the specified criteria.
4664
4940
  #
4665
4941
  # @option params [required, String] :bot_id
@@ -4720,7 +4996,7 @@ module Aws::LexModelsV2
4720
4996
  # },
4721
4997
  # filters: [
4722
4998
  # {
4723
- # name: "SlotTypeName", # required, accepts SlotTypeName
4999
+ # name: "SlotTypeName", # required, accepts SlotTypeName, ExternalSourceType
4724
5000
  # values: ["FilterValue"], # required
4725
5001
  # operator: "CO", # required, accepts CO, EQ
4726
5002
  # },
@@ -4740,6 +5016,7 @@ module Aws::LexModelsV2
4740
5016
  # resp.slot_type_summaries[0].description #=> String
4741
5017
  # resp.slot_type_summaries[0].parent_slot_type_signature #=> String
4742
5018
  # resp.slot_type_summaries[0].last_updated_date_time #=> Time
5019
+ # resp.slot_type_summaries[0].slot_type_category #=> String, one of "Custom", "Extended", "ExternalGrammar"
4743
5020
  # resp.next_token #=> String
4744
5021
  #
4745
5022
  # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/ListSlotTypes AWS API Documentation
@@ -4902,12 +5179,202 @@ module Aws::LexModelsV2
4902
5179
  req.send_request(options)
4903
5180
  end
4904
5181
 
5182
+ # Search for associated transcripts that meet the specified criteria.
5183
+ #
5184
+ # @option params [required, String] :bot_id
5185
+ # The unique identifier of the bot associated with the transcripts that
5186
+ # you are searching.
5187
+ #
5188
+ # @option params [required, String] :bot_version
5189
+ # The version of the bot containing the transcripts that you are
5190
+ # searching.
5191
+ #
5192
+ # @option params [required, String] :locale_id
5193
+ # The identifier of the language and locale of the transcripts to
5194
+ # search. The string must match one of the supported locales. For more
5195
+ # information, see [Supported languages][1]
5196
+ #
5197
+ #
5198
+ #
5199
+ # [1]: https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html
5200
+ #
5201
+ # @option params [required, String] :bot_recommendation_id
5202
+ # The unique identifier of the bot recommendation associated with the
5203
+ # transcripts to search.
5204
+ #
5205
+ # @option params [String] :search_order
5206
+ # How SearchResults are ordered. Valid values are Ascending or
5207
+ # Descending. The default is Descending.
5208
+ #
5209
+ # @option params [required, Array<Types::AssociatedTranscriptFilter>] :filters
5210
+ # A list of filter objects.
5211
+ #
5212
+ # @option params [Integer] :max_results
5213
+ # The maximum number of bot recommendations to return in each page of
5214
+ # results. If there are fewer results than the max page size, only the
5215
+ # actual number of results are returned.
5216
+ #
5217
+ # @option params [Integer] :next_index
5218
+ # If the response from the SearchAssociatedTranscriptsRequest operation
5219
+ # contains more results than specified in the maxResults parameter, an
5220
+ # index is returned in the response. Use that index in the nextIndex
5221
+ # parameter to return the next page of results.
5222
+ #
5223
+ # @return [Types::SearchAssociatedTranscriptsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5224
+ #
5225
+ # * {Types::SearchAssociatedTranscriptsResponse#bot_id #bot_id} => String
5226
+ # * {Types::SearchAssociatedTranscriptsResponse#bot_version #bot_version} => String
5227
+ # * {Types::SearchAssociatedTranscriptsResponse#locale_id #locale_id} => String
5228
+ # * {Types::SearchAssociatedTranscriptsResponse#bot_recommendation_id #bot_recommendation_id} => String
5229
+ # * {Types::SearchAssociatedTranscriptsResponse#next_index #next_index} => Integer
5230
+ # * {Types::SearchAssociatedTranscriptsResponse#associated_transcripts #associated_transcripts} => Array&lt;Types::AssociatedTranscript&gt;
5231
+ # * {Types::SearchAssociatedTranscriptsResponse#total_results #total_results} => Integer
5232
+ #
5233
+ # @example Request syntax with placeholder values
5234
+ #
5235
+ # resp = client.search_associated_transcripts({
5236
+ # bot_id: "Id", # required
5237
+ # bot_version: "BotVersion", # required
5238
+ # locale_id: "LocaleId", # required
5239
+ # bot_recommendation_id: "Id", # required
5240
+ # search_order: "Ascending", # accepts Ascending, Descending
5241
+ # filters: [ # required
5242
+ # {
5243
+ # name: "IntentId", # required, accepts IntentId, SlotTypeId
5244
+ # values: ["FilterValue"], # required
5245
+ # },
5246
+ # ],
5247
+ # max_results: 1,
5248
+ # next_index: 1,
5249
+ # })
5250
+ #
5251
+ # @example Response structure
5252
+ #
5253
+ # resp.bot_id #=> String
5254
+ # resp.bot_version #=> String
5255
+ # resp.locale_id #=> String
5256
+ # resp.bot_recommendation_id #=> String
5257
+ # resp.next_index #=> Integer
5258
+ # resp.associated_transcripts #=> Array
5259
+ # resp.associated_transcripts[0].transcript #=> String
5260
+ # resp.total_results #=> Integer
5261
+ #
5262
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/SearchAssociatedTranscripts AWS API Documentation
5263
+ #
5264
+ # @overload search_associated_transcripts(params = {})
5265
+ # @param [Hash] params ({})
5266
+ def search_associated_transcripts(params = {}, options = {})
5267
+ req = build_request(:search_associated_transcripts, params)
5268
+ req.send_request(options)
5269
+ end
5270
+
5271
+ # Use this to provide your transcript data, and to start the bot
5272
+ # recommendation process.
5273
+ #
5274
+ # @option params [required, String] :bot_id
5275
+ # The unique identifier of the bot containing the bot recommendation.
5276
+ #
5277
+ # @option params [required, String] :bot_version
5278
+ # The version of the bot containing the bot recommendation.
5279
+ #
5280
+ # @option params [required, String] :locale_id
5281
+ # The identifier of the language and locale of the bot recommendation to
5282
+ # start. The string must match one of the supported locales. For more
5283
+ # information, see [Supported languages][1]
5284
+ #
5285
+ #
5286
+ #
5287
+ # [1]: https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html
5288
+ #
5289
+ # @option params [required, Types::TranscriptSourceSetting] :transcript_source_setting
5290
+ # The object representing the Amazon S3 bucket containing the
5291
+ # transcript, as well as the associated metadata.
5292
+ #
5293
+ # @option params [Types::EncryptionSetting] :encryption_setting
5294
+ # The object representing the passwords that will be used to encrypt the
5295
+ # data related to the bot recommendation results, as well as the KMS key
5296
+ # ARN used to encrypt the associated metadata.
5297
+ #
5298
+ # @return [Types::StartBotRecommendationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5299
+ #
5300
+ # * {Types::StartBotRecommendationResponse#bot_id #bot_id} => String
5301
+ # * {Types::StartBotRecommendationResponse#bot_version #bot_version} => String
5302
+ # * {Types::StartBotRecommendationResponse#locale_id #locale_id} => String
5303
+ # * {Types::StartBotRecommendationResponse#bot_recommendation_status #bot_recommendation_status} => String
5304
+ # * {Types::StartBotRecommendationResponse#bot_recommendation_id #bot_recommendation_id} => String
5305
+ # * {Types::StartBotRecommendationResponse#creation_date_time #creation_date_time} => Time
5306
+ # * {Types::StartBotRecommendationResponse#transcript_source_setting #transcript_source_setting} => Types::TranscriptSourceSetting
5307
+ # * {Types::StartBotRecommendationResponse#encryption_setting #encryption_setting} => Types::EncryptionSetting
5308
+ #
5309
+ # @example Request syntax with placeholder values
5310
+ #
5311
+ # resp = client.start_bot_recommendation({
5312
+ # bot_id: "Id", # required
5313
+ # bot_version: "DraftBotVersion", # required
5314
+ # locale_id: "LocaleId", # required
5315
+ # transcript_source_setting: { # required
5316
+ # s3_bucket_transcript_source: {
5317
+ # s3_bucket_name: "S3BucketName", # required
5318
+ # path_format: {
5319
+ # object_prefixes: ["ObjectPrefix"],
5320
+ # },
5321
+ # transcript_format: "Lex", # required, accepts Lex
5322
+ # transcript_filter: {
5323
+ # lex_transcript_filter: {
5324
+ # date_range_filter: {
5325
+ # start_date_time: Time.now, # required
5326
+ # end_date_time: Time.now, # required
5327
+ # },
5328
+ # },
5329
+ # },
5330
+ # kms_key_arn: "KmsKeyArn",
5331
+ # },
5332
+ # },
5333
+ # encryption_setting: {
5334
+ # kms_key_arn: "KmsKeyArn",
5335
+ # bot_locale_export_password: "FilePassword",
5336
+ # associated_transcripts_password: "FilePassword",
5337
+ # },
5338
+ # })
5339
+ #
5340
+ # @example Response structure
5341
+ #
5342
+ # resp.bot_id #=> String
5343
+ # resp.bot_version #=> String
5344
+ # resp.locale_id #=> String
5345
+ # resp.bot_recommendation_status #=> String, one of "Processing", "Deleting", "Deleted", "Downloading", "Updating", "Available", "Failed"
5346
+ # resp.bot_recommendation_id #=> String
5347
+ # resp.creation_date_time #=> Time
5348
+ # resp.transcript_source_setting.s3_bucket_transcript_source.s3_bucket_name #=> String
5349
+ # resp.transcript_source_setting.s3_bucket_transcript_source.path_format.object_prefixes #=> Array
5350
+ # resp.transcript_source_setting.s3_bucket_transcript_source.path_format.object_prefixes[0] #=> String
5351
+ # resp.transcript_source_setting.s3_bucket_transcript_source.transcript_format #=> String, one of "Lex"
5352
+ # resp.transcript_source_setting.s3_bucket_transcript_source.transcript_filter.lex_transcript_filter.date_range_filter.start_date_time #=> Time
5353
+ # resp.transcript_source_setting.s3_bucket_transcript_source.transcript_filter.lex_transcript_filter.date_range_filter.end_date_time #=> Time
5354
+ # resp.transcript_source_setting.s3_bucket_transcript_source.kms_key_arn #=> String
5355
+ # resp.encryption_setting.kms_key_arn #=> String
5356
+ # resp.encryption_setting.bot_locale_export_password #=> String
5357
+ # resp.encryption_setting.associated_transcripts_password #=> String
5358
+ #
5359
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/StartBotRecommendation AWS API Documentation
5360
+ #
5361
+ # @overload start_bot_recommendation(params = {})
5362
+ # @param [Hash] params ({})
5363
+ def start_bot_recommendation(params = {}, options = {})
5364
+ req = build_request(:start_bot_recommendation, params)
5365
+ req.send_request(options)
5366
+ end
5367
+
4905
5368
  # Starts importing a bot or bot locale from a zip archive that you
4906
5369
  # uploaded to an S3 bucket.
4907
5370
  #
4908
5371
  # @option params [required, String] :import_id
4909
5372
  # The unique identifier for the import. It is included in the response
4910
- # from the operation.
5373
+ # from the [CreateUploadUrl][1] operation.
5374
+ #
5375
+ #
5376
+ #
5377
+ # [1]: https://docs.aws.amazon.com/lexv2/latest/dg/API_CreateUploadUrl.html
4911
5378
  #
4912
5379
  # @option params [required, Types::ImportResourceSpecification] :resource_specification
4913
5380
  # Parameters for creating the bot or bot locale.
@@ -4957,10 +5424,11 @@ module Aws::LexModelsV2
4957
5424
  # nlu_intent_confidence_threshold: 1.0,
4958
5425
  # voice_settings: {
4959
5426
  # voice_id: "VoiceId", # required
5427
+ # engine: "standard", # accepts standard, neural
4960
5428
  # },
4961
5429
  # },
4962
5430
  # },
4963
- # merge_strategy: "Overwrite", # required, accepts Overwrite, FailOnConflict
5431
+ # merge_strategy: "Overwrite", # required, accepts Overwrite, FailOnConflict, Append
4964
5432
  # file_password: "ImportExportFilePassword",
4965
5433
  # })
4966
5434
  #
@@ -4980,7 +5448,8 @@ module Aws::LexModelsV2
4980
5448
  # resp.resource_specification.bot_locale_import_specification.locale_id #=> String
4981
5449
  # resp.resource_specification.bot_locale_import_specification.nlu_intent_confidence_threshold #=> Float
4982
5450
  # resp.resource_specification.bot_locale_import_specification.voice_settings.voice_id #=> String
4983
- # resp.merge_strategy #=> String, one of "Overwrite", "FailOnConflict"
5451
+ # resp.resource_specification.bot_locale_import_specification.voice_settings.engine #=> String, one of "standard", "neural"
5452
+ # resp.merge_strategy #=> String, one of "Overwrite", "FailOnConflict", "Append"
4984
5453
  # resp.import_status #=> String, one of "InProgress", "Completed", "Failed", "Deleting"
4985
5454
  # resp.creation_date_time #=> Time
4986
5455
  #
@@ -5056,7 +5525,11 @@ module Aws::LexModelsV2
5056
5525
  #
5057
5526
  # @option params [required, String] :bot_id
5058
5527
  # The unique identifier of the bot to update. This identifier is
5059
- # returned by the CreateBot operation.
5528
+ # returned by the [CreateBot][1] operation.
5529
+ #
5530
+ #
5531
+ #
5532
+ # [1]: https://docs.aws.amazon.com/lexv2/latest/dg/API_CreateBot.html
5060
5533
  #
5061
5534
  # @option params [required, String] :bot_name
5062
5535
  # The new name of the bot. The name must be unique in the account that
@@ -5297,6 +5770,7 @@ module Aws::LexModelsV2
5297
5770
  # * {Types::UpdateBotLocaleResponse#failure_reasons #failure_reasons} => Array&lt;String&gt;
5298
5771
  # * {Types::UpdateBotLocaleResponse#creation_date_time #creation_date_time} => Time
5299
5772
  # * {Types::UpdateBotLocaleResponse#last_updated_date_time #last_updated_date_time} => Time
5773
+ # * {Types::UpdateBotLocaleResponse#recommended_actions #recommended_actions} => Array&lt;String&gt;
5300
5774
  #
5301
5775
  # @example Request syntax with placeholder values
5302
5776
  #
@@ -5308,6 +5782,7 @@ module Aws::LexModelsV2
5308
5782
  # nlu_intent_confidence_threshold: 1.0, # required
5309
5783
  # voice_settings: {
5310
5784
  # voice_id: "VoiceId", # required
5785
+ # engine: "standard", # accepts standard, neural
5311
5786
  # },
5312
5787
  # })
5313
5788
  #
@@ -5320,11 +5795,14 @@ module Aws::LexModelsV2
5320
5795
  # resp.description #=> String
5321
5796
  # resp.nlu_intent_confidence_threshold #=> Float
5322
5797
  # resp.voice_settings.voice_id #=> String
5323
- # resp.bot_locale_status #=> String, one of "Creating", "Building", "Built", "ReadyExpressTesting", "Failed", "Deleting", "NotBuilt", "Importing"
5798
+ # resp.voice_settings.engine #=> String, one of "standard", "neural"
5799
+ # resp.bot_locale_status #=> String, one of "Creating", "Building", "Built", "ReadyExpressTesting", "Failed", "Deleting", "NotBuilt", "Importing", "Processing"
5324
5800
  # resp.failure_reasons #=> Array
5325
5801
  # resp.failure_reasons[0] #=> String
5326
5802
  # resp.creation_date_time #=> Time
5327
5803
  # resp.last_updated_date_time #=> Time
5804
+ # resp.recommended_actions #=> Array
5805
+ # resp.recommended_actions[0] #=> String
5328
5806
  #
5329
5807
  # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/UpdateBotLocale AWS API Documentation
5330
5808
  #
@@ -5335,12 +5813,98 @@ module Aws::LexModelsV2
5335
5813
  req.send_request(options)
5336
5814
  end
5337
5815
 
5816
+ # Updates an existing bot recommendation request.
5817
+ #
5818
+ # @option params [required, String] :bot_id
5819
+ # The unique identifier of the bot containing the bot recommendation to
5820
+ # be updated.
5821
+ #
5822
+ # @option params [required, String] :bot_version
5823
+ # The version of the bot containing the bot recommendation to be
5824
+ # updated.
5825
+ #
5826
+ # @option params [required, String] :locale_id
5827
+ # The identifier of the language and locale of the bot recommendation to
5828
+ # update. The string must match one of the supported locales. For more
5829
+ # information, see [Supported languages][1]
5830
+ #
5831
+ #
5832
+ #
5833
+ # [1]: https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html
5834
+ #
5835
+ # @option params [required, String] :bot_recommendation_id
5836
+ # The unique identifier of the bot recommendation to be updated.
5837
+ #
5838
+ # @option params [required, Types::EncryptionSetting] :encryption_setting
5839
+ # The object representing the passwords that will be used to encrypt the
5840
+ # data related to the bot recommendation results, as well as the KMS key
5841
+ # ARN used to encrypt the associated metadata.
5842
+ #
5843
+ # @return [Types::UpdateBotRecommendationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5844
+ #
5845
+ # * {Types::UpdateBotRecommendationResponse#bot_id #bot_id} => String
5846
+ # * {Types::UpdateBotRecommendationResponse#bot_version #bot_version} => String
5847
+ # * {Types::UpdateBotRecommendationResponse#locale_id #locale_id} => String
5848
+ # * {Types::UpdateBotRecommendationResponse#bot_recommendation_status #bot_recommendation_status} => String
5849
+ # * {Types::UpdateBotRecommendationResponse#bot_recommendation_id #bot_recommendation_id} => String
5850
+ # * {Types::UpdateBotRecommendationResponse#creation_date_time #creation_date_time} => Time
5851
+ # * {Types::UpdateBotRecommendationResponse#last_updated_date_time #last_updated_date_time} => Time
5852
+ # * {Types::UpdateBotRecommendationResponse#transcript_source_setting #transcript_source_setting} => Types::TranscriptSourceSetting
5853
+ # * {Types::UpdateBotRecommendationResponse#encryption_setting #encryption_setting} => Types::EncryptionSetting
5854
+ #
5855
+ # @example Request syntax with placeholder values
5856
+ #
5857
+ # resp = client.update_bot_recommendation({
5858
+ # bot_id: "Id", # required
5859
+ # bot_version: "DraftBotVersion", # required
5860
+ # locale_id: "LocaleId", # required
5861
+ # bot_recommendation_id: "Id", # required
5862
+ # encryption_setting: { # required
5863
+ # kms_key_arn: "KmsKeyArn",
5864
+ # bot_locale_export_password: "FilePassword",
5865
+ # associated_transcripts_password: "FilePassword",
5866
+ # },
5867
+ # })
5868
+ #
5869
+ # @example Response structure
5870
+ #
5871
+ # resp.bot_id #=> String
5872
+ # resp.bot_version #=> String
5873
+ # resp.locale_id #=> String
5874
+ # resp.bot_recommendation_status #=> String, one of "Processing", "Deleting", "Deleted", "Downloading", "Updating", "Available", "Failed"
5875
+ # resp.bot_recommendation_id #=> String
5876
+ # resp.creation_date_time #=> Time
5877
+ # resp.last_updated_date_time #=> Time
5878
+ # resp.transcript_source_setting.s3_bucket_transcript_source.s3_bucket_name #=> String
5879
+ # resp.transcript_source_setting.s3_bucket_transcript_source.path_format.object_prefixes #=> Array
5880
+ # resp.transcript_source_setting.s3_bucket_transcript_source.path_format.object_prefixes[0] #=> String
5881
+ # resp.transcript_source_setting.s3_bucket_transcript_source.transcript_format #=> String, one of "Lex"
5882
+ # resp.transcript_source_setting.s3_bucket_transcript_source.transcript_filter.lex_transcript_filter.date_range_filter.start_date_time #=> Time
5883
+ # resp.transcript_source_setting.s3_bucket_transcript_source.transcript_filter.lex_transcript_filter.date_range_filter.end_date_time #=> Time
5884
+ # resp.transcript_source_setting.s3_bucket_transcript_source.kms_key_arn #=> String
5885
+ # resp.encryption_setting.kms_key_arn #=> String
5886
+ # resp.encryption_setting.bot_locale_export_password #=> String
5887
+ # resp.encryption_setting.associated_transcripts_password #=> String
5888
+ #
5889
+ # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/UpdateBotRecommendation AWS API Documentation
5890
+ #
5891
+ # @overload update_bot_recommendation(params = {})
5892
+ # @param [Hash] params ({})
5893
+ def update_bot_recommendation(params = {}, options = {})
5894
+ req = build_request(:update_bot_recommendation, params)
5895
+ req.send_request(options)
5896
+ end
5897
+
5338
5898
  # Updates the password used to protect an export zip archive.
5339
5899
  #
5340
5900
  # The password is not required. If you don't supply a password, Amazon
5341
5901
  # Lex generates a zip file that is not protected by a password. This is
5342
5902
  # the archive that is available at the pre-signed S3 URL provided by the
5343
- # operation.
5903
+ # [DescribeExport][1] operation.
5904
+ #
5905
+ #
5906
+ #
5907
+ # [1]: https://docs.aws.amazon.com/lexv2/latest/dg/API_DescribeExport.html
5344
5908
  #
5345
5909
  # @option params [required, String] :export_id
5346
5910
  # The unique identifier Amazon Lex assigned to the export.
@@ -6674,7 +7238,7 @@ module Aws::LexModelsV2
6674
7238
  # A new list of values and their optional synonyms that define the
6675
7239
  # values that the slot type can take.
6676
7240
  #
6677
- # @option params [required, Types::SlotValueSelectionSetting] :value_selection_setting
7241
+ # @option params [Types::SlotValueSelectionSetting] :value_selection_setting
6678
7242
  # The strategy that Amazon Lex should use when deciding on a value from
6679
7243
  # the list of slot type values.
6680
7244
  #
@@ -6697,6 +7261,10 @@ module Aws::LexModelsV2
6697
7261
  #
6698
7262
  # [1]: https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html
6699
7263
  #
7264
+ # @option params [Types::ExternalSourceSetting] :external_source_setting
7265
+ # Provides information about the external source of the slot type's
7266
+ # definition.
7267
+ #
6700
7268
  # @return [Types::UpdateSlotTypeResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
6701
7269
  #
6702
7270
  # * {Types::UpdateSlotTypeResponse#slot_type_id #slot_type_id} => String
@@ -6710,6 +7278,7 @@ module Aws::LexModelsV2
6710
7278
  # * {Types::UpdateSlotTypeResponse#locale_id #locale_id} => String
6711
7279
  # * {Types::UpdateSlotTypeResponse#creation_date_time #creation_date_time} => Time
6712
7280
  # * {Types::UpdateSlotTypeResponse#last_updated_date_time #last_updated_date_time} => Time
7281
+ # * {Types::UpdateSlotTypeResponse#external_source_setting #external_source_setting} => Types::ExternalSourceSetting
6713
7282
  #
6714
7283
  # @example Request syntax with placeholder values
6715
7284
  #
@@ -6729,7 +7298,7 @@ module Aws::LexModelsV2
6729
7298
  # ],
6730
7299
  # },
6731
7300
  # ],
6732
- # value_selection_setting: { # required
7301
+ # value_selection_setting: {
6733
7302
  # resolution_strategy: "OriginalValue", # required, accepts OriginalValue, TopResolution
6734
7303
  # regex_filter: {
6735
7304
  # pattern: "RegexPattern", # required
@@ -6739,6 +7308,15 @@ module Aws::LexModelsV2
6739
7308
  # bot_id: "Id", # required
6740
7309
  # bot_version: "DraftBotVersion", # required
6741
7310
  # locale_id: "LocaleId", # required
7311
+ # external_source_setting: {
7312
+ # grammar_slot_type_setting: {
7313
+ # source: {
7314
+ # s3_bucket_name: "S3BucketName", # required
7315
+ # s3_object_key: "S3ObjectPath", # required
7316
+ # kms_key_arn: "KmsKeyArn",
7317
+ # },
7318
+ # },
7319
+ # },
6742
7320
  # })
6743
7321
  #
6744
7322
  # @example Response structure
@@ -6758,6 +7336,9 @@ module Aws::LexModelsV2
6758
7336
  # resp.locale_id #=> String
6759
7337
  # resp.creation_date_time #=> Time
6760
7338
  # resp.last_updated_date_time #=> Time
7339
+ # resp.external_source_setting.grammar_slot_type_setting.source.s3_bucket_name #=> String
7340
+ # resp.external_source_setting.grammar_slot_type_setting.source.s3_object_key #=> String
7341
+ # resp.external_source_setting.grammar_slot_type_setting.source.kms_key_arn #=> String
6761
7342
  #
6762
7343
  # @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/UpdateSlotType AWS API Documentation
6763
7344
  #
@@ -6781,7 +7362,7 @@ module Aws::LexModelsV2
6781
7362
  params: params,
6782
7363
  config: config)
6783
7364
  context[:gem_name] = 'aws-sdk-lexmodelsv2'
6784
- context[:gem_version] = '1.14.0'
7365
+ context[:gem_version] = '1.18.0'
6785
7366
  Seahorse::Client::Request.new(handlers, context)
6786
7367
  end
6787
7368