aws-sdk-lex 1.22.0 → 1.23.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.
- checksums.yaml +4 -4
- data/lib/aws-sdk-lex.rb +1 -1
- data/lib/aws-sdk-lex/client.rb +5 -1
- data/lib/aws-sdk-lex/client_api.rb +2 -0
- data/lib/aws-sdk-lex/types.rb +12 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e1b712050da372656b243bfd53232e486d359d1e
|
4
|
+
data.tar.gz: d0a42b1921a6cf5530ce4bb0c4d7d4b24f63bd9d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 56b352af69dbfa11f3ffd47ae1ba7f4278ac3ef9852ae84aee7e68395552e51c4bef64cfb536527f87a355f478d4bf80407ed7f7f8440bbabace8bb4fc4ae7ae
|
7
|
+
data.tar.gz: 3ba12fb919c19dc8078caf3993e33ddad6070a928bfb8a2e7ef438902b1f6fa74bec1161430f9a33ecbdfbb65699dfe27e390f0d2f98e8a51b28bf1700988730
|
data/lib/aws-sdk-lex.rb
CHANGED
data/lib/aws-sdk-lex/client.rb
CHANGED
@@ -579,6 +579,7 @@ module Aws::Lex
|
|
579
579
|
# * {Types::PostContentResponse#slot_to_elicit #slot_to_elicit} => String
|
580
580
|
# * {Types::PostContentResponse#input_transcript #input_transcript} => String
|
581
581
|
# * {Types::PostContentResponse#audio_stream #audio_stream} => IO
|
582
|
+
# * {Types::PostContentResponse#session_id #session_id} => String
|
582
583
|
#
|
583
584
|
# @example Request syntax with placeholder values
|
584
585
|
#
|
@@ -606,6 +607,7 @@ module Aws::Lex
|
|
606
607
|
# resp.slot_to_elicit #=> String
|
607
608
|
# resp.input_transcript #=> String
|
608
609
|
# resp.audio_stream #=> IO
|
610
|
+
# resp.session_id #=> String
|
609
611
|
#
|
610
612
|
# @see http://docs.aws.amazon.com/goto/WebAPI/runtime.lex-2016-11-28/PostContent AWS API Documentation
|
611
613
|
#
|
@@ -742,6 +744,7 @@ module Aws::Lex
|
|
742
744
|
# * {Types::PostTextResponse#dialog_state #dialog_state} => String
|
743
745
|
# * {Types::PostTextResponse#slot_to_elicit #slot_to_elicit} => String
|
744
746
|
# * {Types::PostTextResponse#response_card #response_card} => Types::ResponseCard
|
747
|
+
# * {Types::PostTextResponse#session_id #session_id} => String
|
745
748
|
#
|
746
749
|
# @example Request syntax with placeholder values
|
747
750
|
#
|
@@ -781,6 +784,7 @@ module Aws::Lex
|
|
781
784
|
# resp.response_card.generic_attachments[0].buttons #=> Array
|
782
785
|
# resp.response_card.generic_attachments[0].buttons[0].text #=> String
|
783
786
|
# resp.response_card.generic_attachments[0].buttons[0].value #=> String
|
787
|
+
# resp.session_id #=> String
|
784
788
|
#
|
785
789
|
# @see http://docs.aws.amazon.com/goto/WebAPI/runtime.lex-2016-11-28/PostText AWS API Documentation
|
786
790
|
#
|
@@ -955,7 +959,7 @@ module Aws::Lex
|
|
955
959
|
params: params,
|
956
960
|
config: config)
|
957
961
|
context[:gem_name] = 'aws-sdk-lex'
|
958
|
-
context[:gem_version] = '1.
|
962
|
+
context[:gem_version] = '1.23.0'
|
959
963
|
Seahorse::Client::Request.new(handlers, context)
|
960
964
|
end
|
961
965
|
|
@@ -172,6 +172,7 @@ module Aws::Lex
|
|
172
172
|
PostContentResponse.add_member(:slot_to_elicit, Shapes::ShapeRef.new(shape: String, location: "header", location_name: "x-amz-lex-slot-to-elicit"))
|
173
173
|
PostContentResponse.add_member(:input_transcript, Shapes::ShapeRef.new(shape: String, location: "header", location_name: "x-amz-lex-input-transcript"))
|
174
174
|
PostContentResponse.add_member(:audio_stream, Shapes::ShapeRef.new(shape: BlobStream, location_name: "audioStream"))
|
175
|
+
PostContentResponse.add_member(:session_id, Shapes::ShapeRef.new(shape: String, location: "header", location_name: "x-amz-lex-session-id"))
|
175
176
|
PostContentResponse.struct_class = Types::PostContentResponse
|
176
177
|
PostContentResponse[:payload] = :audio_stream
|
177
178
|
PostContentResponse[:payload_member] = PostContentResponse.member(:audio_stream)
|
@@ -193,6 +194,7 @@ module Aws::Lex
|
|
193
194
|
PostTextResponse.add_member(:dialog_state, Shapes::ShapeRef.new(shape: DialogState, location_name: "dialogState"))
|
194
195
|
PostTextResponse.add_member(:slot_to_elicit, Shapes::ShapeRef.new(shape: String, location_name: "slotToElicit"))
|
195
196
|
PostTextResponse.add_member(:response_card, Shapes::ShapeRef.new(shape: ResponseCard, location_name: "responseCard"))
|
197
|
+
PostTextResponse.add_member(:session_id, Shapes::ShapeRef.new(shape: String, location_name: "sessionId"))
|
196
198
|
PostTextResponse.struct_class = Types::PostTextResponse
|
197
199
|
|
198
200
|
PutSessionRequest.add_member(:bot_name, Shapes::ShapeRef.new(shape: BotName, required: true, location: "uri", location_name: "botName"))
|
data/lib/aws-sdk-lex/types.rb
CHANGED
@@ -848,6 +848,10 @@ module Aws::Lex
|
|
848
848
|
# Amazon Lex sends that message in the response.
|
849
849
|
# @return [IO]
|
850
850
|
#
|
851
|
+
# @!attribute [rw] session_id
|
852
|
+
# The unique identifier for the session.
|
853
|
+
# @return [String]
|
854
|
+
#
|
851
855
|
# @see http://docs.aws.amazon.com/goto/WebAPI/runtime.lex-2016-11-28/PostContentResponse AWS API Documentation
|
852
856
|
#
|
853
857
|
class PostContentResponse < Struct.new(
|
@@ -861,7 +865,8 @@ module Aws::Lex
|
|
861
865
|
:dialog_state,
|
862
866
|
:slot_to_elicit,
|
863
867
|
:input_transcript,
|
864
|
-
:audio_stream
|
868
|
+
:audio_stream,
|
869
|
+
:session_id)
|
865
870
|
include Aws::Structure
|
866
871
|
end
|
867
872
|
|
@@ -1088,6 +1093,10 @@ module Aws::Lex
|
|
1088
1093
|
# from a code hook (Lambda function).
|
1089
1094
|
# @return [Types::ResponseCard]
|
1090
1095
|
#
|
1096
|
+
# @!attribute [rw] session_id
|
1097
|
+
# A unique identifier for the session.
|
1098
|
+
# @return [String]
|
1099
|
+
#
|
1091
1100
|
# @see http://docs.aws.amazon.com/goto/WebAPI/runtime.lex-2016-11-28/PostTextResponse AWS API Documentation
|
1092
1101
|
#
|
1093
1102
|
class PostTextResponse < Struct.new(
|
@@ -1099,7 +1108,8 @@ module Aws::Lex
|
|
1099
1108
|
:message_format,
|
1100
1109
|
:dialog_state,
|
1101
1110
|
:slot_to_elicit,
|
1102
|
-
:response_card
|
1111
|
+
:response_card,
|
1112
|
+
:session_id)
|
1103
1113
|
include Aws::Structure
|
1104
1114
|
end
|
1105
1115
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-lex
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.23.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: 2019-11-
|
11
|
+
date: 2019-11-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|