aws-sdk-lexmodelbuildingservice 1.29.0 → 1.35.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-lexmodelbuildingservice.rb +4 -2
- data/lib/aws-sdk-lexmodelbuildingservice/client.rb +139 -11
- data/lib/aws-sdk-lexmodelbuildingservice/client_api.rb +23 -0
- data/lib/aws-sdk-lexmodelbuildingservice/errors.rb +2 -0
- data/lib/aws-sdk-lexmodelbuildingservice/resource.rb +2 -0
- data/lib/aws-sdk-lexmodelbuildingservice/types.rb +330 -9
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 57d6bf3fef3186e8b26e887278ed87b254a12eb0b4b2c700ca655ab10dc4611a
|
4
|
+
data.tar.gz: 82ed4c0d4e54c085a3fae02e3d75ebddadc6da97448a5013a16fd26e13e28b9d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3593fc692017e0b6bcd55ac3db84ce836da6867f562b98905d06d0fdb36ea8fde3f2f41622b60571243ceee814a9529edf0b622ddbd6c9be1512f79427579302
|
7
|
+
data.tar.gz: 9f96b04266ca7c67016150b85af480179b3d74989b4f131c9745d44ec63a8187c507309c6c78ac166213854a335ab780d4ef816f2240485114abd3a695be9963
|
@@ -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:
|
@@ -42,9 +44,9 @@ require_relative 'aws-sdk-lexmodelbuildingservice/customizations'
|
|
42
44
|
#
|
43
45
|
# See {Errors} for more information.
|
44
46
|
#
|
45
|
-
#
|
47
|
+
# @!group service
|
46
48
|
module Aws::LexModelBuildingService
|
47
49
|
|
48
|
-
GEM_VERSION = '1.
|
50
|
+
GEM_VERSION = '1.35.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
|
|
@@ -81,13 +85,28 @@ module Aws::LexModelBuildingService
|
|
81
85
|
# * `Aws::Credentials` - Used for configuring static, non-refreshing
|
82
86
|
# credentials.
|
83
87
|
#
|
88
|
+
# * `Aws::SharedCredentials` - Used for loading static credentials from a
|
89
|
+
# shared file, such as `~/.aws/config`.
|
90
|
+
#
|
91
|
+
# * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
|
92
|
+
#
|
93
|
+
# * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to
|
94
|
+
# assume a role after providing credentials via the web.
|
95
|
+
#
|
96
|
+
# * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an
|
97
|
+
# access token generated from `aws login`.
|
98
|
+
#
|
99
|
+
# * `Aws::ProcessCredentials` - Used for loading credentials from a
|
100
|
+
# process that outputs to stdout.
|
101
|
+
#
|
84
102
|
# * `Aws::InstanceProfileCredentials` - Used for loading credentials
|
85
103
|
# from an EC2 IMDS on an EC2 instance.
|
86
104
|
#
|
87
|
-
# * `Aws::
|
88
|
-
#
|
105
|
+
# * `Aws::ECSCredentials` - Used for loading credentials from
|
106
|
+
# instances running in ECS.
|
89
107
|
#
|
90
|
-
# * `Aws::
|
108
|
+
# * `Aws::CognitoIdentityCredentials` - Used for loading credentials
|
109
|
+
# from the Cognito Identity service.
|
91
110
|
#
|
92
111
|
# When `:credentials` are not configured directly, the following
|
93
112
|
# locations will be searched for credentials:
|
@@ -97,10 +116,10 @@ module Aws::LexModelBuildingService
|
|
97
116
|
# * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
|
98
117
|
# * `~/.aws/credentials`
|
99
118
|
# * `~/.aws/config`
|
100
|
-
# * EC2 IMDS instance profile - When used by default, the timeouts
|
101
|
-
# very aggressive. Construct and pass an instance of
|
102
|
-
# `Aws::InstanceProfileCredentails`
|
103
|
-
# timeouts.
|
119
|
+
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
120
|
+
# are very aggressive. Construct and pass an instance of
|
121
|
+
# `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
|
122
|
+
# enable retries and extended timeouts.
|
104
123
|
#
|
105
124
|
# @option options [required, String] :region
|
106
125
|
# The AWS region to connect to. The configured `:region` is
|
@@ -161,7 +180,7 @@ module Aws::LexModelBuildingService
|
|
161
180
|
# @option options [String] :endpoint
|
162
181
|
# The client endpoint is normally constructed from the `:region`
|
163
182
|
# option. You should only configure an `:endpoint` when connecting
|
164
|
-
# to test endpoints. This should be a valid HTTP(S) URI.
|
183
|
+
# to test or custom endpoints. This should be a valid HTTP(S) URI.
|
165
184
|
#
|
166
185
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
167
186
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
@@ -176,7 +195,7 @@ module Aws::LexModelBuildingService
|
|
176
195
|
# requests fetching endpoints information. Defaults to 60 sec.
|
177
196
|
#
|
178
197
|
# @option options [Boolean] :endpoint_discovery (false)
|
179
|
-
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
198
|
+
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
180
199
|
#
|
181
200
|
# @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
|
182
201
|
# The log formatter.
|
@@ -354,6 +373,7 @@ module Aws::LexModelBuildingService
|
|
354
373
|
# * {Types::CreateBotVersionResponse#version #version} => String
|
355
374
|
# * {Types::CreateBotVersionResponse#locale #locale} => String
|
356
375
|
# * {Types::CreateBotVersionResponse#child_directed #child_directed} => Boolean
|
376
|
+
# * {Types::CreateBotVersionResponse#enable_model_improvements #enable_model_improvements} => Boolean
|
357
377
|
# * {Types::CreateBotVersionResponse#detect_sentiment #detect_sentiment} => Boolean
|
358
378
|
#
|
359
379
|
# @example Request syntax with placeholder values
|
@@ -391,6 +411,7 @@ module Aws::LexModelBuildingService
|
|
391
411
|
# resp.version #=> String
|
392
412
|
# resp.locale #=> String, one of "en-US", "en-GB", "de-DE"
|
393
413
|
# resp.child_directed #=> Boolean
|
414
|
+
# resp.enable_model_improvements #=> Boolean
|
394
415
|
# resp.detect_sentiment #=> Boolean
|
395
416
|
#
|
396
417
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/CreateBotVersion AWS API Documentation
|
@@ -449,6 +470,7 @@ module Aws::LexModelBuildingService
|
|
449
470
|
# * {Types::CreateIntentVersionResponse#created_date #created_date} => Time
|
450
471
|
# * {Types::CreateIntentVersionResponse#version #version} => String
|
451
472
|
# * {Types::CreateIntentVersionResponse#checksum #checksum} => String
|
473
|
+
# * {Types::CreateIntentVersionResponse#kendra_configuration #kendra_configuration} => Types::KendraConfiguration
|
452
474
|
#
|
453
475
|
# @example Request syntax with placeholder values
|
454
476
|
#
|
@@ -517,6 +539,9 @@ module Aws::LexModelBuildingService
|
|
517
539
|
# resp.created_date #=> Time
|
518
540
|
# resp.version #=> String
|
519
541
|
# resp.checksum #=> String
|
542
|
+
# resp.kendra_configuration.kendra_index #=> String
|
543
|
+
# resp.kendra_configuration.query_filter_string #=> String
|
544
|
+
# resp.kendra_configuration.role #=> String
|
520
545
|
#
|
521
546
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/CreateIntentVersion AWS API Documentation
|
522
547
|
#
|
@@ -951,6 +976,8 @@ module Aws::LexModelBuildingService
|
|
951
976
|
# * {Types::GetBotResponse#name #name} => String
|
952
977
|
# * {Types::GetBotResponse#description #description} => String
|
953
978
|
# * {Types::GetBotResponse#intents #intents} => Array<Types::Intent>
|
979
|
+
# * {Types::GetBotResponse#enable_model_improvements #enable_model_improvements} => Boolean
|
980
|
+
# * {Types::GetBotResponse#nlu_intent_confidence_threshold #nlu_intent_confidence_threshold} => Float
|
954
981
|
# * {Types::GetBotResponse#clarification_prompt #clarification_prompt} => Types::Prompt
|
955
982
|
# * {Types::GetBotResponse#abort_statement #abort_statement} => Types::Statement
|
956
983
|
# * {Types::GetBotResponse#status #status} => String
|
@@ -1034,6 +1061,8 @@ module Aws::LexModelBuildingService
|
|
1034
1061
|
# resp.intents #=> Array
|
1035
1062
|
# resp.intents[0].intent_name #=> String
|
1036
1063
|
# resp.intents[0].intent_version #=> String
|
1064
|
+
# resp.enable_model_improvements #=> Boolean
|
1065
|
+
# resp.nlu_intent_confidence_threshold #=> Float
|
1037
1066
|
# resp.clarification_prompt.messages #=> Array
|
1038
1067
|
# resp.clarification_prompt.messages[0].content_type #=> String, one of "PlainText", "SSML", "CustomPayload"
|
1039
1068
|
# resp.clarification_prompt.messages[0].content #=> String
|
@@ -1756,6 +1785,7 @@ module Aws::LexModelBuildingService
|
|
1756
1785
|
# * {Types::GetIntentResponse#created_date #created_date} => Time
|
1757
1786
|
# * {Types::GetIntentResponse#version #version} => String
|
1758
1787
|
# * {Types::GetIntentResponse#checksum #checksum} => String
|
1788
|
+
# * {Types::GetIntentResponse#kendra_configuration #kendra_configuration} => Types::KendraConfiguration
|
1759
1789
|
#
|
1760
1790
|
#
|
1761
1791
|
# @example Example: To get a information about an intent
|
@@ -1969,6 +1999,9 @@ module Aws::LexModelBuildingService
|
|
1969
1999
|
# resp.created_date #=> Time
|
1970
2000
|
# resp.version #=> String
|
1971
2001
|
# resp.checksum #=> String
|
2002
|
+
# resp.kendra_configuration.kendra_index #=> String
|
2003
|
+
# resp.kendra_configuration.query_filter_string #=> String
|
2004
|
+
# resp.kendra_configuration.role #=> String
|
1972
2005
|
#
|
1973
2006
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/GetIntent AWS API Documentation
|
1974
2007
|
#
|
@@ -2501,6 +2534,77 @@ module Aws::LexModelBuildingService
|
|
2501
2534
|
# user can express. For example, a pizza ordering bot might support an
|
2502
2535
|
# OrderPizza intent. For more information, see how-it-works.
|
2503
2536
|
#
|
2537
|
+
# @option params [Boolean] :enable_model_improvements
|
2538
|
+
# Set to `true` to enable the use of a new natural language
|
2539
|
+
# understanding (NLU) model. Using the new NLU may improve the
|
2540
|
+
# performance of your bot.
|
2541
|
+
#
|
2542
|
+
# When you set the `enableModelImprovements` parameter to `true` you can
|
2543
|
+
# use the `nluIntentConfidenceThreshold` parameter to configure
|
2544
|
+
# confidence scores. For more information, see [Confidence Scores][1].
|
2545
|
+
#
|
2546
|
+
# You can only set the `enableModelImprovements` parameter in certain
|
2547
|
+
# Regions. If you set the parameter to `true`, your bot will use the new
|
2548
|
+
# NLU. If you set the parameter to `false`, your bot will continue to
|
2549
|
+
# use the original NLU. If you set the parameter to `false` after
|
2550
|
+
# setting it to `true`, your bot will return to the original NLU.
|
2551
|
+
#
|
2552
|
+
# The Regions where you can set the `enableModelImprovements` parameter
|
2553
|
+
# to `true` are:
|
2554
|
+
#
|
2555
|
+
# * US East (N. Virginia) (us-east-1)
|
2556
|
+
#
|
2557
|
+
# * US West (Oregon) (us-west-2)
|
2558
|
+
#
|
2559
|
+
# * Asia Pacific (Sydney) (ap-southeast-2)
|
2560
|
+
#
|
2561
|
+
# * EU (Ireland) (eu-west-1)
|
2562
|
+
#
|
2563
|
+
# In other Regions, the `enableModelImprovements` parameter is set to
|
2564
|
+
# `true` by default. In these Regions setting the parameter to `false`
|
2565
|
+
# throws a `ValidationException` exception.
|
2566
|
+
#
|
2567
|
+
# * Asia Pacific (Singapore) (ap-southeast-1)
|
2568
|
+
#
|
2569
|
+
# * Asia Pacific (Tokyo) (ap-northeast-1)
|
2570
|
+
#
|
2571
|
+
# * EU (Frankfurt) (eu-central-1)
|
2572
|
+
#
|
2573
|
+
# * EU (London) (eu-west-2)
|
2574
|
+
#
|
2575
|
+
#
|
2576
|
+
#
|
2577
|
+
# [1]: https://docs.aws.amazon.com/lex/latest/dg/confidence-scores.html
|
2578
|
+
#
|
2579
|
+
# @option params [Float] :nlu_intent_confidence_threshold
|
2580
|
+
# Determines the threshold where Amazon Lex will insert the
|
2581
|
+
# `AMAZON.FallbackIntent`, `AMAZON.KendraSearchIntent`, or both when
|
2582
|
+
# returning alternative intents in a [PostContent][1] or [PostText][2]
|
2583
|
+
# response. `AMAZON.FallbackIntent` and `AMAZON.KendraSearchIntent` are
|
2584
|
+
# only inserted if they are configured for the bot.
|
2585
|
+
#
|
2586
|
+
# You must set the `enableModelImprovements` parameter to `true` to use
|
2587
|
+
# confidence scores.
|
2588
|
+
#
|
2589
|
+
# For example, suppose a bot is configured with the confidence threshold
|
2590
|
+
# of 0.80 and the `AMAZON.FallbackIntent`. Amazon Lex returns three
|
2591
|
+
# alternative intents with the following confidence scores: IntentA
|
2592
|
+
# (0.70), IntentB (0.60), IntentC (0.50). The response from the
|
2593
|
+
# `PostText` operation would be:
|
2594
|
+
#
|
2595
|
+
# * AMAZON.FallbackIntent
|
2596
|
+
#
|
2597
|
+
# * IntentA
|
2598
|
+
#
|
2599
|
+
# * IntentB
|
2600
|
+
#
|
2601
|
+
# * IntentC
|
2602
|
+
#
|
2603
|
+
#
|
2604
|
+
#
|
2605
|
+
# [1]: https://docs.aws.amazon.com/lex/latest/dg/API_runtime_PostContent.html
|
2606
|
+
# [2]: https://docs.aws.amazon.com/lex/latest/dg/API_runtime_PostText.html
|
2607
|
+
#
|
2504
2608
|
# @option params [Types::Prompt] :clarification_prompt
|
2505
2609
|
# When Amazon Lex doesn't understand the user's intent, it uses this
|
2506
2610
|
# message to get clarification. To specify how many times Amazon Lex
|
@@ -2675,6 +2779,8 @@ module Aws::LexModelBuildingService
|
|
2675
2779
|
# * {Types::PutBotResponse#name #name} => String
|
2676
2780
|
# * {Types::PutBotResponse#description #description} => String
|
2677
2781
|
# * {Types::PutBotResponse#intents #intents} => Array<Types::Intent>
|
2782
|
+
# * {Types::PutBotResponse#enable_model_improvements #enable_model_improvements} => Boolean
|
2783
|
+
# * {Types::PutBotResponse#nlu_intent_confidence_threshold #nlu_intent_confidence_threshold} => Float
|
2678
2784
|
# * {Types::PutBotResponse#clarification_prompt #clarification_prompt} => Types::Prompt
|
2679
2785
|
# * {Types::PutBotResponse#abort_statement #abort_statement} => Types::Statement
|
2680
2786
|
# * {Types::PutBotResponse#status #status} => String
|
@@ -2792,6 +2898,8 @@ module Aws::LexModelBuildingService
|
|
2792
2898
|
# intent_version: "Version", # required
|
2793
2899
|
# },
|
2794
2900
|
# ],
|
2901
|
+
# enable_model_improvements: false,
|
2902
|
+
# nlu_intent_confidence_threshold: 1.0,
|
2795
2903
|
# clarification_prompt: {
|
2796
2904
|
# messages: [ # required
|
2797
2905
|
# {
|
@@ -2836,6 +2944,8 @@ module Aws::LexModelBuildingService
|
|
2836
2944
|
# resp.intents #=> Array
|
2837
2945
|
# resp.intents[0].intent_name #=> String
|
2838
2946
|
# resp.intents[0].intent_version #=> String
|
2947
|
+
# resp.enable_model_improvements #=> Boolean
|
2948
|
+
# resp.nlu_intent_confidence_threshold #=> Float
|
2839
2949
|
# resp.clarification_prompt.messages #=> Array
|
2840
2950
|
# resp.clarification_prompt.messages[0].content_type #=> String, one of "PlainText", "SSML", "CustomPayload"
|
2841
2951
|
# resp.clarification_prompt.messages[0].content #=> String
|
@@ -3169,6 +3279,15 @@ module Aws::LexModelBuildingService
|
|
3169
3279
|
# This is the same as calling the `CreateIntentVersion` operation. If
|
3170
3280
|
# you do not specify `createVersion`, the default is `false`.
|
3171
3281
|
#
|
3282
|
+
# @option params [Types::KendraConfiguration] :kendra_configuration
|
3283
|
+
# Configuration information required to use the
|
3284
|
+
# `AMAZON.KendraSearchIntent` intent to connect to an Amazon Kendra
|
3285
|
+
# index. For more information, see [ AMAZON.KendraSearchIntent][1].
|
3286
|
+
#
|
3287
|
+
#
|
3288
|
+
#
|
3289
|
+
# [1]: http://docs.aws.amazon.com/lex/latest/dg/built-in-intent-kendra-search.html
|
3290
|
+
#
|
3172
3291
|
# @return [Types::PutIntentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3173
3292
|
#
|
3174
3293
|
# * {Types::PutIntentResponse#name #name} => String
|
@@ -3187,6 +3306,7 @@ module Aws::LexModelBuildingService
|
|
3187
3306
|
# * {Types::PutIntentResponse#version #version} => String
|
3188
3307
|
# * {Types::PutIntentResponse#checksum #checksum} => String
|
3189
3308
|
# * {Types::PutIntentResponse#create_version #create_version} => Boolean
|
3309
|
+
# * {Types::PutIntentResponse#kendra_configuration #kendra_configuration} => Types::KendraConfiguration
|
3190
3310
|
#
|
3191
3311
|
#
|
3192
3312
|
# @example Example: To create an intent
|
@@ -3556,6 +3676,11 @@ module Aws::LexModelBuildingService
|
|
3556
3676
|
# parent_intent_signature: "BuiltinIntentSignature",
|
3557
3677
|
# checksum: "String",
|
3558
3678
|
# create_version: false,
|
3679
|
+
# kendra_configuration: {
|
3680
|
+
# kendra_index: "KendraIndexArn", # required
|
3681
|
+
# query_filter_string: "QueryFilterString",
|
3682
|
+
# role: "roleArn", # required
|
3683
|
+
# },
|
3559
3684
|
# })
|
3560
3685
|
#
|
3561
3686
|
# @example Response structure
|
@@ -3619,6 +3744,9 @@ module Aws::LexModelBuildingService
|
|
3619
3744
|
# resp.version #=> String
|
3620
3745
|
# resp.checksum #=> String
|
3621
3746
|
# resp.create_version #=> Boolean
|
3747
|
+
# resp.kendra_configuration.kendra_index #=> String
|
3748
|
+
# resp.kendra_configuration.query_filter_string #=> String
|
3749
|
+
# resp.kendra_configuration.role #=> String
|
3622
3750
|
#
|
3623
3751
|
# @see http://docs.aws.amazon.com/goto/WebAPI/lex-models-2017-04-19/PutIntent AWS API Documentation
|
3624
3752
|
#
|
@@ -3822,7 +3950,7 @@ module Aws::LexModelBuildingService
|
|
3822
3950
|
|
3823
3951
|
# Starts a job to import a resource to Amazon Lex.
|
3824
3952
|
#
|
3825
|
-
# @option params [required, String,
|
3953
|
+
# @option params [required, String, StringIO, File] :payload
|
3826
3954
|
# A zip archive in binary format. The archive should contain one file, a
|
3827
3955
|
# JSON file containing the resource to import. The resource should match
|
3828
3956
|
# the type specified in the `resourceType` field.
|
@@ -3972,7 +4100,7 @@ module Aws::LexModelBuildingService
|
|
3972
4100
|
params: params,
|
3973
4101
|
config: config)
|
3974
4102
|
context[:gem_name] = 'aws-sdk-lexmodelbuildingservice'
|
3975
|
-
context[:gem_version] = '1.
|
4103
|
+
context[:gem_version] = '1.35.0'
|
3976
4104
|
Seahorse::Client::Request.new(handlers, context)
|
3977
4105
|
end
|
3978
4106
|
|
@@ -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"))
|