aws-sdk-lexruntimev2 1.7.0 → 1.11.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-lexruntimev2/async_client.rb +14 -2
- data/lib/aws-sdk-lexruntimev2/client.rb +17 -2
- data/lib/aws-sdk-lexruntimev2/client_api.rb +2 -0
- data/lib/aws-sdk-lexruntimev2/types.rb +25 -1
- data/lib/aws-sdk-lexruntimev2.rb +1 -1
- 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: fe0196898a2b133753427ab86f39842ebafe17a651bef2fca6541f3b589751fe
|
4
|
+
data.tar.gz: 6d0e9a2c8bcbb188e694ad600ac216b728bc44272575209bf78dc474d46e8f21
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b9d104850d67993bc266c2c9d4b83b4464fbdfe25ce803e0ff6f82bc675b730a996f11c0537f15b9f8138d41f9e0fb8fe10b20fd590c5b0ca0ece65d3d383692
|
7
|
+
data.tar.gz: 7b4d2f95acdb120c95171ca372b1d63dcde4ad42d27ceb93f440654db479f66d4b6f5380d13a8b8b6c40fc1f5e14380942e139ddfa6cd1b590f6c2a67099214c
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,26 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.11.0 (2021-11-30)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.10.0 (2021-11-19)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Now supports styled slots in Lex V2 runtime. Customers can provide inputs like "a as in apple b for beta" which will be resolved to "ab" as slot value.
|
13
|
+
|
14
|
+
1.9.0 (2021-11-04)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
18
|
+
|
19
|
+
1.8.0 (2021-10-18)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
23
|
+
|
4
24
|
1.7.0 (2021-10-08)
|
5
25
|
------------------
|
6
26
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.11.0
|
@@ -98,7 +98,9 @@ module Aws::LexRuntimeV2
|
|
98
98
|
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
99
99
|
# are very aggressive. Construct and pass an instance of
|
100
100
|
# `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
|
101
|
-
# enable retries and extended timeouts.
|
101
|
+
# enable retries and extended timeouts. Instance profile credential
|
102
|
+
# fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
|
103
|
+
# to true.
|
102
104
|
#
|
103
105
|
# @option options [required, String] :region
|
104
106
|
# The AWS region to connect to. The configured `:region` is
|
@@ -220,6 +222,15 @@ module Aws::LexRuntimeV2
|
|
220
222
|
# ** Please note ** When response stubbing is enabled, no HTTP
|
221
223
|
# requests are made, and retries are disabled.
|
222
224
|
#
|
225
|
+
# @option options [Boolean] :use_dualstack_endpoint
|
226
|
+
# When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
|
227
|
+
# will be used if available.
|
228
|
+
#
|
229
|
+
# @option options [Boolean] :use_fips_endpoint
|
230
|
+
# When set to `true`, fips compatible endpoints will be used if available.
|
231
|
+
# When a `fips` region is used, the region is normalized and this config
|
232
|
+
# is set to `true`.
|
233
|
+
#
|
223
234
|
# @option options [Boolean] :validate_params (true)
|
224
235
|
# When `true`, request parameters are validated before
|
225
236
|
# sending the request.
|
@@ -505,6 +516,7 @@ module Aws::LexRuntimeV2
|
|
505
516
|
# event.interpretations[0].intent.confirmation_state #=> String, one of "Confirmed", "Denied", "None"
|
506
517
|
# event.session_state.dialog_action.type #=> String, one of "Close", "ConfirmIntent", "Delegate", "ElicitIntent", "ElicitSlot", "None"
|
507
518
|
# event.session_state.dialog_action.slot_to_elicit #=> String
|
519
|
+
# event.session_state.dialog_action.slot_elicitation_style #=> String, one of "Default", "SpellByLetter", "SpellByWord"
|
508
520
|
# event.session_state.intent.name #=> String
|
509
521
|
# event.session_state.intent.slots #=> Hash
|
510
522
|
# event.session_state.intent.slots["NonEmptyString"].value.original_value #=> String
|
@@ -617,7 +629,7 @@ module Aws::LexRuntimeV2
|
|
617
629
|
http_response: Seahorse::Client::Http::AsyncResponse.new,
|
618
630
|
config: config)
|
619
631
|
context[:gem_name] = 'aws-sdk-lexruntimev2'
|
620
|
-
context[:gem_version] = '1.
|
632
|
+
context[:gem_version] = '1.11.0'
|
621
633
|
Seahorse::Client::Request.new(handlers, context)
|
622
634
|
end
|
623
635
|
|
@@ -121,7 +121,9 @@ module Aws::LexRuntimeV2
|
|
121
121
|
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
122
122
|
# are very aggressive. Construct and pass an instance of
|
123
123
|
# `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
|
124
|
-
# enable retries and extended timeouts.
|
124
|
+
# enable retries and extended timeouts. Instance profile credential
|
125
|
+
# fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
|
126
|
+
# to true.
|
125
127
|
#
|
126
128
|
# @option options [required, String] :region
|
127
129
|
# The AWS region to connect to. The configured `:region` is
|
@@ -286,6 +288,15 @@ module Aws::LexRuntimeV2
|
|
286
288
|
# ** Please note ** When response stubbing is enabled, no HTTP
|
287
289
|
# requests are made, and retries are disabled.
|
288
290
|
#
|
291
|
+
# @option options [Boolean] :use_dualstack_endpoint
|
292
|
+
# When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
|
293
|
+
# will be used if available.
|
294
|
+
#
|
295
|
+
# @option options [Boolean] :use_fips_endpoint
|
296
|
+
# When set to `true`, fips compatible endpoints will be used if available.
|
297
|
+
# When a `fips` region is used, the region is normalized and this config
|
298
|
+
# is set to `true`.
|
299
|
+
#
|
289
300
|
# @option options [Boolean] :validate_params (true)
|
290
301
|
# When `true`, request parameters are validated before
|
291
302
|
# sending the request.
|
@@ -470,6 +481,7 @@ module Aws::LexRuntimeV2
|
|
470
481
|
# resp.interpretations[0].intent.confirmation_state #=> String, one of "Confirmed", "Denied", "None"
|
471
482
|
# resp.session_state.dialog_action.type #=> String, one of "Close", "ConfirmIntent", "Delegate", "ElicitIntent", "ElicitSlot", "None"
|
472
483
|
# resp.session_state.dialog_action.slot_to_elicit #=> String
|
484
|
+
# resp.session_state.dialog_action.slot_elicitation_style #=> String, one of "Default", "SpellByLetter", "SpellByWord"
|
473
485
|
# resp.session_state.intent.name #=> String
|
474
486
|
# resp.session_state.intent.slots #=> Hash
|
475
487
|
# resp.session_state.intent.slots["NonEmptyString"].value.original_value #=> String
|
@@ -579,6 +591,7 @@ module Aws::LexRuntimeV2
|
|
579
591
|
# dialog_action: {
|
580
592
|
# type: "Close", # required, accepts Close, ConfirmIntent, Delegate, ElicitIntent, ElicitSlot, None
|
581
593
|
# slot_to_elicit: "NonEmptyString",
|
594
|
+
# slot_elicitation_style: "Default", # accepts Default, SpellByLetter, SpellByWord
|
582
595
|
# },
|
583
596
|
# intent: {
|
584
597
|
# name: "NonEmptyString", # required
|
@@ -718,6 +731,7 @@ module Aws::LexRuntimeV2
|
|
718
731
|
# dialog_action: {
|
719
732
|
# type: "Close", # required, accepts Close, ConfirmIntent, Delegate, ElicitIntent, ElicitSlot, None
|
720
733
|
# slot_to_elicit: "NonEmptyString",
|
734
|
+
# slot_elicitation_style: "Default", # accepts Default, SpellByLetter, SpellByWord
|
721
735
|
# },
|
722
736
|
# intent: {
|
723
737
|
# name: "NonEmptyString", # required
|
@@ -774,6 +788,7 @@ module Aws::LexRuntimeV2
|
|
774
788
|
# resp.messages[0].image_response_card.buttons[0].value #=> String
|
775
789
|
# resp.session_state.dialog_action.type #=> String, one of "Close", "ConfirmIntent", "Delegate", "ElicitIntent", "ElicitSlot", "None"
|
776
790
|
# resp.session_state.dialog_action.slot_to_elicit #=> String
|
791
|
+
# resp.session_state.dialog_action.slot_elicitation_style #=> String, one of "Default", "SpellByLetter", "SpellByWord"
|
777
792
|
# resp.session_state.intent.name #=> String
|
778
793
|
# resp.session_state.intent.slots #=> Hash
|
779
794
|
# resp.session_state.intent.slots["NonEmptyString"].value.original_value #=> String
|
@@ -1029,7 +1044,7 @@ module Aws::LexRuntimeV2
|
|
1029
1044
|
params: params,
|
1030
1045
|
config: config)
|
1031
1046
|
context[:gem_name] = 'aws-sdk-lexruntimev2'
|
1032
|
-
context[:gem_version] = '1.
|
1047
|
+
context[:gem_version] = '1.11.0'
|
1033
1048
|
Seahorse::Client::Request.new(handlers, context)
|
1034
1049
|
end
|
1035
1050
|
|
@@ -94,6 +94,7 @@ module Aws::LexRuntimeV2
|
|
94
94
|
String = Shapes::StringShape.new(name: 'String')
|
95
95
|
StringList = Shapes::ListShape.new(name: 'StringList')
|
96
96
|
StringMap = Shapes::MapShape.new(name: 'StringMap')
|
97
|
+
StyleType = Shapes::StringShape.new(name: 'StyleType')
|
97
98
|
Text = Shapes::StringShape.new(name: 'Text')
|
98
99
|
TextInputEvent = Shapes::StructureShape.new(name: 'TextInputEvent')
|
99
100
|
TextResponseEvent = Shapes::StructureShape.new(name: 'TextResponseEvent')
|
@@ -177,6 +178,7 @@ module Aws::LexRuntimeV2
|
|
177
178
|
|
178
179
|
DialogAction.add_member(:type, Shapes::ShapeRef.new(shape: DialogActionType, required: true, location_name: "type"))
|
179
180
|
DialogAction.add_member(:slot_to_elicit, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "slotToElicit"))
|
181
|
+
DialogAction.add_member(:slot_elicitation_style, Shapes::ShapeRef.new(shape: StyleType, location_name: "slotElicitationStyle"))
|
180
182
|
DialogAction.struct_class = Types::DialogAction
|
181
183
|
|
182
184
|
DisconnectionEvent.add_member(:event_id, Shapes::ShapeRef.new(shape: EventId, location_name: "eventId"))
|
@@ -258,6 +258,7 @@ module Aws::LexRuntimeV2
|
|
258
258
|
# dialog_action: {
|
259
259
|
# type: "Close", # required, accepts Close, ConfirmIntent, Delegate, ElicitIntent, ElicitSlot, None
|
260
260
|
# slot_to_elicit: "NonEmptyString",
|
261
|
+
# slot_elicitation_style: "Default", # accepts Default, SpellByLetter, SpellByWord
|
261
262
|
# },
|
262
263
|
# intent: {
|
263
264
|
# name: "NonEmptyString", # required
|
@@ -538,6 +539,7 @@ module Aws::LexRuntimeV2
|
|
538
539
|
# {
|
539
540
|
# type: "Close", # required, accepts Close, ConfirmIntent, Delegate, ElicitIntent, ElicitSlot, None
|
540
541
|
# slot_to_elicit: "NonEmptyString",
|
542
|
+
# slot_elicitation_style: "Default", # accepts Default, SpellByLetter, SpellByWord
|
541
543
|
# }
|
542
544
|
#
|
543
545
|
# @!attribute [rw] type
|
@@ -562,11 +564,29 @@ module Aws::LexRuntimeV2
|
|
562
564
|
# The name of the slot that should be elicited from the user.
|
563
565
|
# @return [String]
|
564
566
|
#
|
567
|
+
# @!attribute [rw] slot_elicitation_style
|
568
|
+
# Configures the slot to use spell-by-letter or spell-by-word style.
|
569
|
+
# When you use a style on a slot, users can spell out their input to
|
570
|
+
# make it clear to your bot.
|
571
|
+
#
|
572
|
+
# * Spell by letter - "b" "o" "b"
|
573
|
+
#
|
574
|
+
# * Spell by word - "b as in boy" "o as in oscar" "b as in boy"
|
575
|
+
#
|
576
|
+
# For more information, see [ Using spelling to enter slot values
|
577
|
+
# ][1].
|
578
|
+
#
|
579
|
+
#
|
580
|
+
#
|
581
|
+
# [1]: https://docs.aws.amazon.com/lexv2/latest/dg/using-spelling.html
|
582
|
+
# @return [String]
|
583
|
+
#
|
565
584
|
# @see http://docs.aws.amazon.com/goto/WebAPI/runtime.lex.v2-2020-08-07/DialogAction AWS API Documentation
|
566
585
|
#
|
567
586
|
class DialogAction < Struct.new(
|
568
587
|
:type,
|
569
|
-
:slot_to_elicit
|
588
|
+
:slot_to_elicit,
|
589
|
+
:slot_elicitation_style)
|
570
590
|
SENSITIVE = []
|
571
591
|
include Aws::Structure
|
572
592
|
end
|
@@ -1047,6 +1067,7 @@ module Aws::LexRuntimeV2
|
|
1047
1067
|
# dialog_action: {
|
1048
1068
|
# type: "Close", # required, accepts Close, ConfirmIntent, Delegate, ElicitIntent, ElicitSlot, None
|
1049
1069
|
# slot_to_elicit: "NonEmptyString",
|
1070
|
+
# slot_elicitation_style: "Default", # accepts Default, SpellByLetter, SpellByWord
|
1050
1071
|
# },
|
1051
1072
|
# intent: {
|
1052
1073
|
# name: "NonEmptyString", # required
|
@@ -1212,6 +1233,7 @@ module Aws::LexRuntimeV2
|
|
1212
1233
|
# dialog_action: {
|
1213
1234
|
# type: "Close", # required, accepts Close, ConfirmIntent, Delegate, ElicitIntent, ElicitSlot, None
|
1214
1235
|
# slot_to_elicit: "NonEmptyString",
|
1236
|
+
# slot_elicitation_style: "Default", # accepts Default, SpellByLetter, SpellByWord
|
1215
1237
|
# },
|
1216
1238
|
# intent: {
|
1217
1239
|
# name: "NonEmptyString", # required
|
@@ -1664,6 +1686,7 @@ module Aws::LexRuntimeV2
|
|
1664
1686
|
# dialog_action: {
|
1665
1687
|
# type: "Close", # required, accepts Close, ConfirmIntent, Delegate, ElicitIntent, ElicitSlot, None
|
1666
1688
|
# slot_to_elicit: "NonEmptyString",
|
1689
|
+
# slot_elicitation_style: "Default", # accepts Default, SpellByLetter, SpellByWord
|
1667
1690
|
# },
|
1668
1691
|
# intent: {
|
1669
1692
|
# name: "NonEmptyString", # required
|
@@ -2024,6 +2047,7 @@ module Aws::LexRuntimeV2
|
|
2024
2047
|
# dialog_action: {
|
2025
2048
|
# type: "Close", # required, accepts Close, ConfirmIntent, Delegate, ElicitIntent, ElicitSlot, None
|
2026
2049
|
# slot_to_elicit: "NonEmptyString",
|
2050
|
+
# slot_elicitation_style: "Default", # accepts Default, SpellByLetter, SpellByWord
|
2027
2051
|
# },
|
2028
2052
|
# intent: {
|
2029
2053
|
# name: "NonEmptyString", # required
|
data/lib/aws-sdk-lexruntimev2.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-lexruntimev2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.11.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-11-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.122.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.122.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|