aws-sdk-lexmodelbuildingservice 1.28.0 → 1.34.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8b03bd2a3ed4c95039bd1699a8e610b815fd1e40bb85300f465a6b7846225228
4
- data.tar.gz: fa226777d54b5962a74ccec698581eaa8e75d5306e8eb0ba458aced4978323bb
3
+ metadata.gz: 34bb74aba61d93f9b0e6d164ed7cc05d4369bc0020604217767fecf98d2a13d7
4
+ data.tar.gz: f1294af7f42e486b52268296b028cc16f9186b009aaa4d1762a5e92fadca9775
5
5
  SHA512:
6
- metadata.gz: 7f52b4bf040cd45f2f9e46204d319d87357a30d5d95d2b29841c4bd1621b4afec7bde461cf8d2aecc42761f5fbf5fce403c831cddd149e659c747f94e30b7eeb
7
- data.tar.gz: f19945ddcb887582172e8c1ca84342c0ed908e8cb9317caa17a8f6a16b0514b6df60d02a14322e81b4afad86610bcdbaf4efc272b9526a7de15f4d03f0dc9956
6
+ metadata.gz: 404de0085c2462be4cb2eb6f9a95affa834a2375a7855c25275714ca5668551f1716070b650819f1c6358e6d7683e1d333993bd1a6ded8653e31165de6c59c8d
7
+ data.tar.gz: 3341c544a2f3771cbbcc2383c0e65a32e03d3a6be2bd53bb66918fb391a9573d30a50e98269045ad82171a941f22e1547cd13306e2b3029c9c30f61afbc9b278
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -45,6 +47,6 @@ require_relative 'aws-sdk-lexmodelbuildingservice/customizations'
45
47
  # @service
46
48
  module Aws::LexModelBuildingService
47
49
 
48
- GEM_VERSION = '1.28.0'
50
+ GEM_VERSION = '1.34.0'
49
51
 
50
52
  end
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -24,6 +26,7 @@ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
24
26
  require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
25
27
  require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
26
28
  require 'aws-sdk-core/plugins/transfer_encoding.rb'
29
+ require 'aws-sdk-core/plugins/http_checksum.rb'
27
30
  require 'aws-sdk-core/plugins/signature_v4.rb'
28
31
  require 'aws-sdk-core/plugins/protocols/rest_json.rb'
29
32
 
@@ -69,6 +72,7 @@ module Aws::LexModelBuildingService
69
72
  add_plugin(Aws::Plugins::ClientMetricsPlugin)
70
73
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
71
74
  add_plugin(Aws::Plugins::TransferEncoding)
75
+ add_plugin(Aws::Plugins::HttpChecksum)
72
76
  add_plugin(Aws::Plugins::SignatureV4)
73
77
  add_plugin(Aws::Plugins::Protocols::RestJson)
74
78
 
@@ -105,7 +109,7 @@ module Aws::LexModelBuildingService
105
109
  # @option options [required, String] :region
106
110
  # The AWS region to connect to. The configured `:region` is
107
111
  # used to determine the service `:endpoint`. When not passed,
108
- # a default `:region` is search for in the following locations:
112
+ # a default `:region` is searched for in the following locations:
109
113
  #
110
114
  # * `Aws.config[:region]`
111
115
  # * `ENV['AWS_REGION']`
@@ -161,7 +165,7 @@ module Aws::LexModelBuildingService
161
165
  # @option options [String] :endpoint
162
166
  # The client endpoint is normally constructed from the `:region`
163
167
  # option. You should only configure an `:endpoint` when connecting
164
- # to test endpoints. This should be avalid HTTP(S) URI.
168
+ # to test or custom endpoints. This should be a valid HTTP(S) URI.
165
169
  #
166
170
  # @option options [Integer] :endpoint_cache_max_entries (1000)
167
171
  # Used for the maximum size limit of the LRU cache storing endpoints data
@@ -176,7 +180,7 @@ module Aws::LexModelBuildingService
176
180
  # requests fetching endpoints information. Defaults to 60 sec.
177
181
  #
178
182
  # @option options [Boolean] :endpoint_discovery (false)
179
- # When set to `true`, endpoint discovery will be enabled for operations when available. Defaults to `false`.
183
+ # When set to `true`, endpoint discovery will be enabled for operations when available.
180
184
  #
181
185
  # @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
182
186
  # The log formatter.
@@ -269,8 +273,7 @@ module Aws::LexModelBuildingService
269
273
  #
270
274
  # @option options [Integer] :http_read_timeout (60) The default
271
275
  # number of seconds to wait for response data. This value can
272
- # safely be set
273
- # per-request on the session yielded by {#session_for}.
276
+ # safely be set per-request on the session.
274
277
  #
275
278
  # @option options [Float] :http_idle_timeout (5) The number of
276
279
  # seconds a connection is allowed to sit idle before it is
@@ -282,7 +285,7 @@ module Aws::LexModelBuildingService
282
285
  # request body. This option has no effect unless the request has
283
286
  # "Expect" header set to "100-continue". Defaults to `nil` which
284
287
  # disables this behaviour. This value can safely be set per
285
- # request on the session yielded by {#session_for}.
288
+ # request on the session.
286
289
  #
287
290
  # @option options [Boolean] :http_wire_trace (false) When `true`,
288
291
  # HTTP debug output will be sent to the `:logger`.
@@ -355,6 +358,7 @@ module Aws::LexModelBuildingService
355
358
  # * {Types::CreateBotVersionResponse#version #version} => String
356
359
  # * {Types::CreateBotVersionResponse#locale #locale} => String
357
360
  # * {Types::CreateBotVersionResponse#child_directed #child_directed} => Boolean
361
+ # * {Types::CreateBotVersionResponse#enable_model_improvements #enable_model_improvements} => Boolean
358
362
  # * {Types::CreateBotVersionResponse#detect_sentiment #detect_sentiment} => Boolean
359
363
  #
360
364
  # @example Request syntax with placeholder values
@@ -392,6 +396,7 @@ module Aws::LexModelBuildingService
392
396
  # resp.version #=> String
393
397
  # resp.locale #=> String, one of "en-US", "en-GB", "de-DE"
394
398
  # resp.child_directed #=> Boolean
399
+ # resp.enable_model_improvements #=> Boolean
395
400
  # resp.detect_sentiment #=> Boolean
396
401
  #
397
402
  # @see http://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/CreateBotVersion AWS API Documentation
@@ -450,6 +455,7 @@ module Aws::LexModelBuildingService
450
455
  # * {Types::CreateIntentVersionResponse#created_date #created_date} => Time
451
456
  # * {Types::CreateIntentVersionResponse#version #version} => String
452
457
  # * {Types::CreateIntentVersionResponse#checksum #checksum} => String
458
+ # * {Types::CreateIntentVersionResponse#kendra_configuration #kendra_configuration} => Types::KendraConfiguration
453
459
  #
454
460
  # @example Request syntax with placeholder values
455
461
  #
@@ -518,6 +524,9 @@ module Aws::LexModelBuildingService
518
524
  # resp.created_date #=> Time
519
525
  # resp.version #=> String
520
526
  # resp.checksum #=> String
527
+ # resp.kendra_configuration.kendra_index #=> String
528
+ # resp.kendra_configuration.query_filter_string #=> String
529
+ # resp.kendra_configuration.role #=> String
521
530
  #
522
531
  # @see http://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/CreateIntentVersion AWS API Documentation
523
532
  #
@@ -952,6 +961,8 @@ module Aws::LexModelBuildingService
952
961
  # * {Types::GetBotResponse#name #name} => String
953
962
  # * {Types::GetBotResponse#description #description} => String
954
963
  # * {Types::GetBotResponse#intents #intents} => Array<Types::Intent>
964
+ # * {Types::GetBotResponse#enable_model_improvements #enable_model_improvements} => Boolean
965
+ # * {Types::GetBotResponse#nlu_intent_confidence_threshold #nlu_intent_confidence_threshold} => Float
955
966
  # * {Types::GetBotResponse#clarification_prompt #clarification_prompt} => Types::Prompt
956
967
  # * {Types::GetBotResponse#abort_statement #abort_statement} => Types::Statement
957
968
  # * {Types::GetBotResponse#status #status} => String
@@ -1035,6 +1046,8 @@ module Aws::LexModelBuildingService
1035
1046
  # resp.intents #=> Array
1036
1047
  # resp.intents[0].intent_name #=> String
1037
1048
  # resp.intents[0].intent_version #=> String
1049
+ # resp.enable_model_improvements #=> Boolean
1050
+ # resp.nlu_intent_confidence_threshold #=> Float
1038
1051
  # resp.clarification_prompt.messages #=> Array
1039
1052
  # resp.clarification_prompt.messages[0].content_type #=> String, one of "PlainText", "SSML", "CustomPayload"
1040
1053
  # resp.clarification_prompt.messages[0].content #=> String
@@ -1150,6 +1163,8 @@ module Aws::LexModelBuildingService
1150
1163
  # * {Types::GetBotAliasesResponse#bot_aliases #bot_aliases} => Array<Types::BotAliasMetadata>
1151
1164
  # * {Types::GetBotAliasesResponse#next_token #next_token} => String
1152
1165
  #
1166
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1167
+ #
1153
1168
  # @example Request syntax with placeholder values
1154
1169
  #
1155
1170
  # resp = client.get_bot_aliases({
@@ -1281,6 +1296,8 @@ module Aws::LexModelBuildingService
1281
1296
  # * {Types::GetBotChannelAssociationsResponse#bot_channel_associations #bot_channel_associations} => Array<Types::BotChannelAssociation>
1282
1297
  # * {Types::GetBotChannelAssociationsResponse#next_token #next_token} => String
1283
1298
  #
1299
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1300
+ #
1284
1301
  # @example Request syntax with placeholder values
1285
1302
  #
1286
1303
  # resp = client.get_bot_channel_associations({
@@ -1347,6 +1364,8 @@ module Aws::LexModelBuildingService
1347
1364
  # * {Types::GetBotVersionsResponse#bots #bots} => Array<Types::BotMetadata>
1348
1365
  # * {Types::GetBotVersionsResponse#next_token #next_token} => String
1349
1366
  #
1367
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1368
+ #
1350
1369
  # @example Request syntax with placeholder values
1351
1370
  #
1352
1371
  # resp = client.get_bot_versions({
@@ -1406,6 +1425,8 @@ module Aws::LexModelBuildingService
1406
1425
  # * {Types::GetBotsResponse#bots #bots} => Array<Types::BotMetadata>
1407
1426
  # * {Types::GetBotsResponse#next_token #next_token} => String
1408
1427
  #
1428
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1429
+ #
1409
1430
  #
1410
1431
  # @example Example: To get a list of bots
1411
1432
  #
@@ -1535,6 +1556,8 @@ module Aws::LexModelBuildingService
1535
1556
  # * {Types::GetBuiltinIntentsResponse#intents #intents} => Array<Types::BuiltinIntentMetadata>
1536
1557
  # * {Types::GetBuiltinIntentsResponse#next_token #next_token} => String
1537
1558
  #
1559
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1560
+ #
1538
1561
  # @example Request syntax with placeholder values
1539
1562
  #
1540
1563
  # resp = client.get_builtin_intents({
@@ -1596,6 +1619,8 @@ module Aws::LexModelBuildingService
1596
1619
  # * {Types::GetBuiltinSlotTypesResponse#slot_types #slot_types} => Array<Types::BuiltinSlotTypeMetadata>
1597
1620
  # * {Types::GetBuiltinSlotTypesResponse#next_token #next_token} => String
1598
1621
  #
1622
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1623
+ #
1599
1624
  # @example Request syntax with placeholder values
1600
1625
  #
1601
1626
  # resp = client.get_builtin_slot_types({
@@ -1745,6 +1770,7 @@ module Aws::LexModelBuildingService
1745
1770
  # * {Types::GetIntentResponse#created_date #created_date} => Time
1746
1771
  # * {Types::GetIntentResponse#version #version} => String
1747
1772
  # * {Types::GetIntentResponse#checksum #checksum} => String
1773
+ # * {Types::GetIntentResponse#kendra_configuration #kendra_configuration} => Types::KendraConfiguration
1748
1774
  #
1749
1775
  #
1750
1776
  # @example Example: To get a information about an intent
@@ -1958,6 +1984,9 @@ module Aws::LexModelBuildingService
1958
1984
  # resp.created_date #=> Time
1959
1985
  # resp.version #=> String
1960
1986
  # resp.checksum #=> String
1987
+ # resp.kendra_configuration.kendra_index #=> String
1988
+ # resp.kendra_configuration.query_filter_string #=> String
1989
+ # resp.kendra_configuration.role #=> String
1961
1990
  #
1962
1991
  # @see http://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetIntent AWS API Documentation
1963
1992
  #
@@ -2000,6 +2029,8 @@ module Aws::LexModelBuildingService
2000
2029
  # * {Types::GetIntentVersionsResponse#intents #intents} => Array<Types::IntentMetadata>
2001
2030
  # * {Types::GetIntentVersionsResponse#next_token #next_token} => String
2002
2031
  #
2032
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2033
+ #
2003
2034
  # @example Request syntax with placeholder values
2004
2035
  #
2005
2036
  # resp = client.get_intent_versions({
@@ -2057,6 +2088,8 @@ module Aws::LexModelBuildingService
2057
2088
  # * {Types::GetIntentsResponse#intents #intents} => Array<Types::IntentMetadata>
2058
2089
  # * {Types::GetIntentsResponse#next_token #next_token} => String
2059
2090
  #
2091
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2092
+ #
2060
2093
  #
2061
2094
  # @example Example: To get a list of intents
2062
2095
  #
@@ -2225,6 +2258,8 @@ module Aws::LexModelBuildingService
2225
2258
  # * {Types::GetSlotTypeVersionsResponse#slot_types #slot_types} => Array<Types::SlotTypeMetadata>
2226
2259
  # * {Types::GetSlotTypeVersionsResponse#next_token #next_token} => String
2227
2260
  #
2261
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2262
+ #
2228
2263
  # @example Request syntax with placeholder values
2229
2264
  #
2230
2265
  # resp = client.get_slot_type_versions({
@@ -2282,6 +2317,8 @@ module Aws::LexModelBuildingService
2282
2317
  # * {Types::GetSlotTypesResponse#slot_types #slot_types} => Array<Types::SlotTypeMetadata>
2283
2318
  # * {Types::GetSlotTypesResponse#next_token #next_token} => String
2284
2319
  #
2320
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2321
+ #
2285
2322
  #
2286
2323
  # @example Example: To get a list of slot types
2287
2324
  #
@@ -2482,6 +2519,77 @@ module Aws::LexModelBuildingService
2482
2519
  # user can express. For example, a pizza ordering bot might support an
2483
2520
  # OrderPizza intent. For more information, see how-it-works.
2484
2521
  #
2522
+ # @option params [Boolean] :enable_model_improvements
2523
+ # Set to `true` to enable the use of a new natural language
2524
+ # understanding (NLU) model. Using the new NLU may improve the
2525
+ # performance of your bot.
2526
+ #
2527
+ # When you set the `enableModelImprovements` parameter to `true` you can
2528
+ # use the `nluIntentConfidenceThreshold` parameter to configure
2529
+ # confidence scores. For more information, see [Confidence Scores][1].
2530
+ #
2531
+ # You can only set the `enableModelImprovements` parameter in certain
2532
+ # Regions. If you set the parameter to `true`, your bot will use the new
2533
+ # NLU. If you set the parameter to `false`, your bot will continue to
2534
+ # use the original NLU. If you set the parameter to `false` after
2535
+ # setting it to `true`, your bot will return to the original NLU.
2536
+ #
2537
+ # The Regions where you can set the `enableModelImprovements` parameter
2538
+ # to `true` are:
2539
+ #
2540
+ # * US East (N. Virginia) (us-east-1)
2541
+ #
2542
+ # * US West (Oregon) (us-west-2)
2543
+ #
2544
+ # * Asia Pacific (Sydney) (ap-southeast-2)
2545
+ #
2546
+ # * EU (Ireland) (eu-west-1)
2547
+ #
2548
+ # In other Regions, the `enableModelImprovements` parameter is set to
2549
+ # `true` by default. In these Regions setting the parameter to `false`
2550
+ # throws a `ValidationException` exception.
2551
+ #
2552
+ # * Asia Pacific (Singapore) (ap-southeast-1)
2553
+ #
2554
+ # * Asia Pacific (Tokyo) (ap-northeast-1)
2555
+ #
2556
+ # * EU (Frankfurt) (eu-central-1)
2557
+ #
2558
+ # * EU (London) (eu-west-2)
2559
+ #
2560
+ #
2561
+ #
2562
+ # [1]: https://docs.aws.amazon.com/lex/latest/dg/confidence-scores.html
2563
+ #
2564
+ # @option params [Float] :nlu_intent_confidence_threshold
2565
+ # Determines the threshold where Amazon Lex will insert the
2566
+ # `AMAZON.FallbackIntent`, `AMAZON.KendraSearchIntent`, or both when
2567
+ # returning alternative intents in a [PostContent][1] or [PostText][2]
2568
+ # response. `AMAZON.FallbackIntent` and `AMAZON.KendraSearchIntent` are
2569
+ # only inserted if they are configured for the bot.
2570
+ #
2571
+ # You must set the `enableModelImprovements` parameter to `true` to use
2572
+ # confidence scores.
2573
+ #
2574
+ # For example, suppose a bot is configured with the confidence threshold
2575
+ # of 0.80 and the `AMAZON.FallbackIntent`. Amazon Lex returns three
2576
+ # alternative intents with the following confidence scores: IntentA
2577
+ # (0.70), IntentB (0.60), IntentC (0.50). The response from the
2578
+ # `PostText` operation would be:
2579
+ #
2580
+ # * AMAZON.FallbackIntent
2581
+ #
2582
+ # * IntentA
2583
+ #
2584
+ # * IntentB
2585
+ #
2586
+ # * IntentC
2587
+ #
2588
+ #
2589
+ #
2590
+ # [1]: https://docs.aws.amazon.com/lex/latest/dg/API_runtime_PostContent.html
2591
+ # [2]: https://docs.aws.amazon.com/lex/latest/dg/API_runtime_PostText.html
2592
+ #
2485
2593
  # @option params [Types::Prompt] :clarification_prompt
2486
2594
  # When Amazon Lex doesn't understand the user's intent, it uses this
2487
2595
  # message to get clarification. To specify how many times Amazon Lex
@@ -2656,6 +2764,8 @@ module Aws::LexModelBuildingService
2656
2764
  # * {Types::PutBotResponse#name #name} => String
2657
2765
  # * {Types::PutBotResponse#description #description} => String
2658
2766
  # * {Types::PutBotResponse#intents #intents} => Array<Types::Intent>
2767
+ # * {Types::PutBotResponse#enable_model_improvements #enable_model_improvements} => Boolean
2768
+ # * {Types::PutBotResponse#nlu_intent_confidence_threshold #nlu_intent_confidence_threshold} => Float
2659
2769
  # * {Types::PutBotResponse#clarification_prompt #clarification_prompt} => Types::Prompt
2660
2770
  # * {Types::PutBotResponse#abort_statement #abort_statement} => Types::Statement
2661
2771
  # * {Types::PutBotResponse#status #status} => String
@@ -2773,6 +2883,8 @@ module Aws::LexModelBuildingService
2773
2883
  # intent_version: "Version", # required
2774
2884
  # },
2775
2885
  # ],
2886
+ # enable_model_improvements: false,
2887
+ # nlu_intent_confidence_threshold: 1.0,
2776
2888
  # clarification_prompt: {
2777
2889
  # messages: [ # required
2778
2890
  # {
@@ -2817,6 +2929,8 @@ module Aws::LexModelBuildingService
2817
2929
  # resp.intents #=> Array
2818
2930
  # resp.intents[0].intent_name #=> String
2819
2931
  # resp.intents[0].intent_version #=> String
2932
+ # resp.enable_model_improvements #=> Boolean
2933
+ # resp.nlu_intent_confidence_threshold #=> Float
2820
2934
  # resp.clarification_prompt.messages #=> Array
2821
2935
  # resp.clarification_prompt.messages[0].content_type #=> String, one of "PlainText", "SSML", "CustomPayload"
2822
2936
  # resp.clarification_prompt.messages[0].content #=> String
@@ -3150,6 +3264,15 @@ module Aws::LexModelBuildingService
3150
3264
  # This is the same as calling the `CreateIntentVersion` operation. If
3151
3265
  # you do not specify `createVersion`, the default is `false`.
3152
3266
  #
3267
+ # @option params [Types::KendraConfiguration] :kendra_configuration
3268
+ # Configuration information required to use the
3269
+ # `AMAZON.KendraSearchIntent` intent to connect to an Amazon Kendra
3270
+ # index. For more information, see [ AMAZON.KendraSearchIntent][1].
3271
+ #
3272
+ #
3273
+ #
3274
+ # [1]: http://docs.aws.amazon.com/lex/latest/dg/built-in-intent-kendra-search.html
3275
+ #
3153
3276
  # @return [Types::PutIntentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3154
3277
  #
3155
3278
  # * {Types::PutIntentResponse#name #name} => String
@@ -3168,6 +3291,7 @@ module Aws::LexModelBuildingService
3168
3291
  # * {Types::PutIntentResponse#version #version} => String
3169
3292
  # * {Types::PutIntentResponse#checksum #checksum} => String
3170
3293
  # * {Types::PutIntentResponse#create_version #create_version} => Boolean
3294
+ # * {Types::PutIntentResponse#kendra_configuration #kendra_configuration} => Types::KendraConfiguration
3171
3295
  #
3172
3296
  #
3173
3297
  # @example Example: To create an intent
@@ -3537,6 +3661,11 @@ module Aws::LexModelBuildingService
3537
3661
  # parent_intent_signature: "BuiltinIntentSignature",
3538
3662
  # checksum: "String",
3539
3663
  # create_version: false,
3664
+ # kendra_configuration: {
3665
+ # kendra_index: "KendraIndexArn", # required
3666
+ # query_filter_string: "QueryFilterString",
3667
+ # role: "roleArn", # required
3668
+ # },
3540
3669
  # })
3541
3670
  #
3542
3671
  # @example Response structure
@@ -3600,6 +3729,9 @@ module Aws::LexModelBuildingService
3600
3729
  # resp.version #=> String
3601
3730
  # resp.checksum #=> String
3602
3731
  # resp.create_version #=> Boolean
3732
+ # resp.kendra_configuration.kendra_index #=> String
3733
+ # resp.kendra_configuration.query_filter_string #=> String
3734
+ # resp.kendra_configuration.role #=> String
3603
3735
  #
3604
3736
  # @see http://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/PutIntent AWS API Documentation
3605
3737
  #
@@ -3803,7 +3935,7 @@ module Aws::LexModelBuildingService
3803
3935
 
3804
3936
  # Starts a job to import a resource to Amazon Lex.
3805
3937
  #
3806
- # @option params [required, String, IO] :payload
3938
+ # @option params [required, String, StringIO, File] :payload
3807
3939
  # A zip archive in binary format. The archive should contain one file, a
3808
3940
  # JSON file containing the resource to import. The resource should match
3809
3941
  # the type specified in the `resourceType` field.
@@ -3953,7 +4085,7 @@ module Aws::LexModelBuildingService
3953
4085
  params: params,
3954
4086
  config: config)
3955
4087
  context[:gem_name] = 'aws-sdk-lexmodelbuildingservice'
3956
- context[:gem_version] = '1.28.0'
4088
+ context[:gem_version] = '1.34.0'
3957
4089
  Seahorse::Client::Request.new(handlers, context)
3958
4090
  end
3959
4091
 
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -38,6 +40,7 @@ module Aws::LexModelBuildingService
38
40
  ChannelStatus = Shapes::StringShape.new(name: 'ChannelStatus')
39
41
  ChannelType = Shapes::StringShape.new(name: 'ChannelType')
40
42
  CodeHook = Shapes::StructureShape.new(name: 'CodeHook')
43
+ ConfidenceThreshold = Shapes::FloatShape.new(name: 'ConfidenceThreshold')
41
44
  ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
42
45
  ContentString = Shapes::StringShape.new(name: 'ContentString')
43
46
  ContentType = Shapes::StringShape.new(name: 'ContentType')
@@ -117,6 +120,8 @@ module Aws::LexModelBuildingService
117
120
  IntentName = Shapes::StringShape.new(name: 'IntentName')
118
121
  IntentUtteranceList = Shapes::ListShape.new(name: 'IntentUtteranceList')
119
122
  InternalFailureException = Shapes::StructureShape.new(name: 'InternalFailureException')
123
+ KendraConfiguration = Shapes::StructureShape.new(name: 'KendraConfiguration')
124
+ KendraIndexArn = Shapes::StringShape.new(name: 'KendraIndexArn')
120
125
  KmsKeyArn = Shapes::StringShape.new(name: 'KmsKeyArn')
121
126
  LambdaARN = Shapes::StringShape.new(name: 'LambdaARN')
122
127
  LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
@@ -154,6 +159,7 @@ module Aws::LexModelBuildingService
154
159
  PutIntentResponse = Shapes::StructureShape.new(name: 'PutIntentResponse')
155
160
  PutSlotTypeRequest = Shapes::StructureShape.new(name: 'PutSlotTypeRequest')
156
161
  PutSlotTypeResponse = Shapes::StructureShape.new(name: 'PutSlotTypeResponse')
162
+ QueryFilterString = Shapes::StringShape.new(name: 'QueryFilterString')
157
163
  ReferenceType = Shapes::StringShape.new(name: 'ReferenceType')
158
164
  RegexPattern = Shapes::StringShape.new(name: 'RegexPattern')
159
165
  ResourceArn = Shapes::StringShape.new(name: 'ResourceArn')
@@ -200,6 +206,7 @@ module Aws::LexModelBuildingService
200
206
  UtteranceString = Shapes::StringShape.new(name: 'UtteranceString')
201
207
  Value = Shapes::StringShape.new(name: 'Value')
202
208
  Version = Shapes::StringShape.new(name: 'Version')
209
+ roleArn = Shapes::StringShape.new(name: 'roleArn')
203
210
 
204
211
  BadRequestException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
205
212
  BadRequestException.struct_class = Types::BadRequestException
@@ -295,6 +302,7 @@ module Aws::LexModelBuildingService
295
302
  CreateBotVersionResponse.add_member(:version, Shapes::ShapeRef.new(shape: Version, location_name: "version"))
296
303
  CreateBotVersionResponse.add_member(:locale, Shapes::ShapeRef.new(shape: Locale, location_name: "locale"))
297
304
  CreateBotVersionResponse.add_member(:child_directed, Shapes::ShapeRef.new(shape: Boolean, location_name: "childDirected"))
305
+ CreateBotVersionResponse.add_member(:enable_model_improvements, Shapes::ShapeRef.new(shape: Boolean, location_name: "enableModelImprovements"))
298
306
  CreateBotVersionResponse.add_member(:detect_sentiment, Shapes::ShapeRef.new(shape: Boolean, location_name: "detectSentiment"))
299
307
  CreateBotVersionResponse.struct_class = Types::CreateBotVersionResponse
300
308
 
@@ -317,6 +325,7 @@ module Aws::LexModelBuildingService
317
325
  CreateIntentVersionResponse.add_member(:created_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "createdDate"))
318
326
  CreateIntentVersionResponse.add_member(:version, Shapes::ShapeRef.new(shape: Version, location_name: "version"))
319
327
  CreateIntentVersionResponse.add_member(:checksum, Shapes::ShapeRef.new(shape: String, location_name: "checksum"))
328
+ CreateIntentVersionResponse.add_member(:kendra_configuration, Shapes::ShapeRef.new(shape: KendraConfiguration, location_name: "kendraConfiguration"))
320
329
  CreateIntentVersionResponse.struct_class = Types::CreateIntentVersionResponse
321
330
 
322
331
  CreateSlotTypeVersionRequest.add_member(:name, Shapes::ShapeRef.new(shape: SlotTypeName, required: true, location: "uri", location_name: "name"))
@@ -441,6 +450,8 @@ module Aws::LexModelBuildingService
441
450
  GetBotResponse.add_member(:name, Shapes::ShapeRef.new(shape: BotName, location_name: "name"))
442
451
  GetBotResponse.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
443
452
  GetBotResponse.add_member(:intents, Shapes::ShapeRef.new(shape: IntentList, location_name: "intents"))
453
+ GetBotResponse.add_member(:enable_model_improvements, Shapes::ShapeRef.new(shape: Boolean, location_name: "enableModelImprovements"))
454
+ GetBotResponse.add_member(:nlu_intent_confidence_threshold, Shapes::ShapeRef.new(shape: ConfidenceThreshold, location_name: "nluIntentConfidenceThreshold"))
444
455
  GetBotResponse.add_member(:clarification_prompt, Shapes::ShapeRef.new(shape: Prompt, location_name: "clarificationPrompt"))
445
456
  GetBotResponse.add_member(:abort_statement, Shapes::ShapeRef.new(shape: Statement, location_name: "abortStatement"))
446
457
  GetBotResponse.add_member(:status, Shapes::ShapeRef.new(shape: Status, location_name: "status"))
@@ -548,6 +559,7 @@ module Aws::LexModelBuildingService
548
559
  GetIntentResponse.add_member(:created_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "createdDate"))
549
560
  GetIntentResponse.add_member(:version, Shapes::ShapeRef.new(shape: Version, location_name: "version"))
550
561
  GetIntentResponse.add_member(:checksum, Shapes::ShapeRef.new(shape: String, location_name: "checksum"))
562
+ GetIntentResponse.add_member(:kendra_configuration, Shapes::ShapeRef.new(shape: KendraConfiguration, location_name: "kendraConfiguration"))
551
563
  GetIntentResponse.struct_class = Types::GetIntentResponse
552
564
 
553
565
  GetIntentVersionsRequest.add_member(:name, Shapes::ShapeRef.new(shape: IntentName, required: true, location: "uri", location_name: "name"))
@@ -631,6 +643,11 @@ module Aws::LexModelBuildingService
631
643
  InternalFailureException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
632
644
  InternalFailureException.struct_class = Types::InternalFailureException
633
645
 
646
+ KendraConfiguration.add_member(:kendra_index, Shapes::ShapeRef.new(shape: KendraIndexArn, required: true, location_name: "kendraIndex"))
647
+ KendraConfiguration.add_member(:query_filter_string, Shapes::ShapeRef.new(shape: QueryFilterString, location_name: "queryFilterString"))
648
+ KendraConfiguration.add_member(:role, Shapes::ShapeRef.new(shape: roleArn, required: true, location_name: "role"))
649
+ KendraConfiguration.struct_class = Types::KendraConfiguration
650
+
634
651
  LimitExceededException.add_member(:retry_after_seconds, Shapes::ShapeRef.new(shape: String, location: "header", location_name: "Retry-After"))
635
652
  LimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
636
653
  LimitExceededException.struct_class = Types::LimitExceededException
@@ -705,6 +722,8 @@ module Aws::LexModelBuildingService
705
722
  PutBotRequest.add_member(:name, Shapes::ShapeRef.new(shape: BotName, required: true, location: "uri", location_name: "name"))
706
723
  PutBotRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
707
724
  PutBotRequest.add_member(:intents, Shapes::ShapeRef.new(shape: IntentList, location_name: "intents"))
725
+ PutBotRequest.add_member(:enable_model_improvements, Shapes::ShapeRef.new(shape: Boolean, location_name: "enableModelImprovements"))
726
+ PutBotRequest.add_member(:nlu_intent_confidence_threshold, Shapes::ShapeRef.new(shape: ConfidenceThreshold, location_name: "nluIntentConfidenceThreshold"))
708
727
  PutBotRequest.add_member(:clarification_prompt, Shapes::ShapeRef.new(shape: Prompt, location_name: "clarificationPrompt"))
709
728
  PutBotRequest.add_member(:abort_statement, Shapes::ShapeRef.new(shape: Statement, location_name: "abortStatement"))
710
729
  PutBotRequest.add_member(:idle_session_ttl_in_seconds, Shapes::ShapeRef.new(shape: SessionTTL, location_name: "idleSessionTTLInSeconds"))
@@ -721,6 +740,8 @@ module Aws::LexModelBuildingService
721
740
  PutBotResponse.add_member(:name, Shapes::ShapeRef.new(shape: BotName, location_name: "name"))
722
741
  PutBotResponse.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
723
742
  PutBotResponse.add_member(:intents, Shapes::ShapeRef.new(shape: IntentList, location_name: "intents"))
743
+ PutBotResponse.add_member(:enable_model_improvements, Shapes::ShapeRef.new(shape: Boolean, location_name: "enableModelImprovements"))
744
+ PutBotResponse.add_member(:nlu_intent_confidence_threshold, Shapes::ShapeRef.new(shape: ConfidenceThreshold, location_name: "nluIntentConfidenceThreshold"))
724
745
  PutBotResponse.add_member(:clarification_prompt, Shapes::ShapeRef.new(shape: Prompt, location_name: "clarificationPrompt"))
725
746
  PutBotResponse.add_member(:abort_statement, Shapes::ShapeRef.new(shape: Statement, location_name: "abortStatement"))
726
747
  PutBotResponse.add_member(:status, Shapes::ShapeRef.new(shape: Status, location_name: "status"))
@@ -751,6 +772,7 @@ module Aws::LexModelBuildingService
751
772
  PutIntentRequest.add_member(:parent_intent_signature, Shapes::ShapeRef.new(shape: BuiltinIntentSignature, location_name: "parentIntentSignature"))
752
773
  PutIntentRequest.add_member(:checksum, Shapes::ShapeRef.new(shape: String, location_name: "checksum"))
753
774
  PutIntentRequest.add_member(:create_version, Shapes::ShapeRef.new(shape: Boolean, location_name: "createVersion"))
775
+ PutIntentRequest.add_member(:kendra_configuration, Shapes::ShapeRef.new(shape: KendraConfiguration, location_name: "kendraConfiguration"))
754
776
  PutIntentRequest.struct_class = Types::PutIntentRequest
755
777
 
756
778
  PutIntentResponse.add_member(:name, Shapes::ShapeRef.new(shape: IntentName, location_name: "name"))
@@ -769,6 +791,7 @@ module Aws::LexModelBuildingService
769
791
  PutIntentResponse.add_member(:version, Shapes::ShapeRef.new(shape: Version, location_name: "version"))
770
792
  PutIntentResponse.add_member(:checksum, Shapes::ShapeRef.new(shape: String, location_name: "checksum"))
771
793
  PutIntentResponse.add_member(:create_version, Shapes::ShapeRef.new(shape: Boolean, location_name: "createVersion"))
794
+ PutIntentResponse.add_member(:kendra_configuration, Shapes::ShapeRef.new(shape: KendraConfiguration, location_name: "kendraConfiguration"))
772
795
  PutIntentResponse.struct_class = Types::PutIntentResponse
773
796
 
774
797
  PutSlotTypeRequest.add_member(:name, Shapes::ShapeRef.new(shape: SlotTypeName, required: true, location: "uri", location_name: "name"))