aws-sdk-lexruntimev2 1.29.0 → 1.30.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 59026ec64e5bfc0676d3cc24bc1af00a107a9ae144eec1c3ce6799f157233d3c
4
- data.tar.gz: b2d21ddfaf9c2a6ac55f1f95d2293105c179420d01ec62ec247d8a55be492572
3
+ metadata.gz: 44cb9c2212a040afa4bcbc09f09bbe4f371a5907ce1d178df4220aecdb65820e
4
+ data.tar.gz: 7d4b83a040c3d2a085460f70c52c6098214bfc14c563d7cda4cc75dba4a93f37
5
5
  SHA512:
6
- metadata.gz: d26b85aacf705eaaef863419123f8d8def30d0dce101edf2c64594c8c1c2391157ade6b5ac4878b13f3bdce6d3ed5a7321647752651917e39194329541e87cd9
7
- data.tar.gz: 36e3d4a30cc59f40db30e31510c18d4889d5e3190e02b0ba09e68778680a331bddd07fe38c86b5932ade8a18e0df88b0d6f6118b1580250a2cb9103264242cd6
6
+ metadata.gz: 880a5cebedb83454f7002179302b6c6b1385375b6c96f4c4b8beb529453d83f3e801a01347dfe44d6483adf0940cb3fcd1b58a4a2f89906fff8becaf907cbb38
7
+ data.tar.gz: 5fc51375eb770bae01b697e9b85a0ee2082c882a5c52f95a0fa917804f006c987c0d30a32e599471cc7a0068b31c6847b0d961e2545e77b38b580debb507790c
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.30.0 (2024-01-26)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
4
9
  1.29.0 (2023-11-28)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.29.0
1
+ 1.30.0
@@ -688,7 +688,7 @@ module Aws::LexRuntimeV2
688
688
  http_response: Seahorse::Client::Http::AsyncResponse.new,
689
689
  config: config)
690
690
  context[:gem_name] = 'aws-sdk-lexruntimev2'
691
- context[:gem_version] = '1.29.0'
691
+ context[:gem_version] = '1.30.0'
692
692
  Seahorse::Client::Request.new(handlers, context)
693
693
  end
694
694
 
@@ -1169,7 +1169,7 @@ module Aws::LexRuntimeV2
1169
1169
  params: params,
1170
1170
  config: config)
1171
1171
  context[:gem_name] = 'aws-sdk-lexruntimev2'
1172
- context[:gem_version] = '1.29.0'
1172
+ context[:gem_version] = '1.30.0'
1173
1173
  Seahorse::Client::Request.new(handlers, context)
1174
1174
  end
1175
1175
 
@@ -14,6 +14,7 @@ module Aws::LexRuntimeV2
14
14
  option(
15
15
  :endpoint_provider,
16
16
  doc_type: 'Aws::LexRuntimeV2::EndpointProvider',
17
+ rbs_type: 'untyped',
17
18
  docstring: 'The endpoint provider used to resolve endpoints. Any '\
18
19
  'object that responds to `#resolve_endpoint(parameters)` '\
19
20
  'where `parameters` is a Struct similar to '\
@@ -54,6 +54,6 @@ require_relative 'aws-sdk-lexruntimev2/event_streams'
54
54
  # @!group service
55
55
  module Aws::LexRuntimeV2
56
56
 
57
- GEM_VERSION = '1.29.0'
57
+ GEM_VERSION = '1.30.0'
58
58
 
59
59
  end
data/sig/client.rbs ADDED
@@ -0,0 +1,311 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module LexRuntimeV2
10
+ class Client < ::Seahorse::Client::Base
11
+ include ::Aws::ClientStubs
12
+
13
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LexRuntimeV2/Client.html#initialize-instance_method
14
+ def self.new: (
15
+ ?credentials: untyped,
16
+ ?region: String,
17
+ ?access_key_id: String,
18
+ ?active_endpoint_cache: bool,
19
+ ?adaptive_retry_wait_to_fill: bool,
20
+ ?client_side_monitoring: bool,
21
+ ?client_side_monitoring_client_id: String,
22
+ ?client_side_monitoring_host: String,
23
+ ?client_side_monitoring_port: Integer,
24
+ ?client_side_monitoring_publisher: untyped,
25
+ ?convert_params: bool,
26
+ ?correct_clock_skew: bool,
27
+ ?defaults_mode: String,
28
+ ?disable_host_prefix_injection: bool,
29
+ ?disable_request_compression: bool,
30
+ ?endpoint: String,
31
+ ?endpoint_cache_max_entries: Integer,
32
+ ?endpoint_cache_max_threads: Integer,
33
+ ?endpoint_cache_poll_interval: Integer,
34
+ ?endpoint_discovery: bool,
35
+ ?event_stream_handler: Proc,
36
+ ?ignore_configured_endpoint_urls: bool,
37
+ ?input_event_stream_handler: Proc,
38
+ ?log_formatter: untyped,
39
+ ?log_level: Symbol,
40
+ ?logger: untyped,
41
+ ?max_attempts: Integer,
42
+ ?output_event_stream_handler: Proc,
43
+ ?profile: String,
44
+ ?request_min_compression_size_bytes: Integer,
45
+ ?retry_backoff: Proc,
46
+ ?retry_base_delay: Float,
47
+ ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
48
+ ?retry_limit: Integer,
49
+ ?retry_max_delay: Integer,
50
+ ?retry_mode: ("legacy" | "standard" | "adaptive"),
51
+ ?sdk_ua_app_id: String,
52
+ ?secret_access_key: String,
53
+ ?session_token: String,
54
+ ?stub_responses: untyped,
55
+ ?token_provider: untyped,
56
+ ?use_dualstack_endpoint: bool,
57
+ ?use_fips_endpoint: bool,
58
+ ?validate_params: bool,
59
+ ?endpoint_provider: untyped,
60
+ ?http_proxy: String,
61
+ ?http_open_timeout: (Float | Integer),
62
+ ?http_read_timeout: (Float | Integer),
63
+ ?http_idle_timeout: (Float | Integer),
64
+ ?http_continue_timeout: (Float | Integer),
65
+ ?ssl_timeout: (Float | Integer | nil),
66
+ ?http_wire_trace: bool,
67
+ ?ssl_verify_peer: bool,
68
+ ?ssl_ca_bundle: String,
69
+ ?ssl_ca_directory: String,
70
+ ?ssl_ca_store: String,
71
+ ?on_chunk_received: Proc,
72
+ ?on_chunk_sent: Proc,
73
+ ?raise_response_errors: bool
74
+ ) -> instance
75
+ | (?Hash[Symbol, untyped]) -> instance
76
+
77
+
78
+ interface _DeleteSessionResponseSuccess
79
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteSessionResponse]
80
+ def bot_id: () -> ::String
81
+ def bot_alias_id: () -> ::String
82
+ def locale_id: () -> ::String
83
+ def session_id: () -> ::String
84
+ end
85
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LexRuntimeV2/Client.html#delete_session-instance_method
86
+ def delete_session: (
87
+ bot_id: ::String,
88
+ bot_alias_id: ::String,
89
+ locale_id: ::String,
90
+ session_id: ::String
91
+ ) -> _DeleteSessionResponseSuccess
92
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteSessionResponseSuccess
93
+
94
+ interface _GetSessionResponseSuccess
95
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetSessionResponse]
96
+ def session_id: () -> ::String
97
+ def messages: () -> ::Array[Types::Message]
98
+ def interpretations: () -> ::Array[Types::Interpretation]
99
+ def session_state: () -> Types::SessionState
100
+ end
101
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LexRuntimeV2/Client.html#get_session-instance_method
102
+ def get_session: (
103
+ bot_id: ::String,
104
+ bot_alias_id: ::String,
105
+ locale_id: ::String,
106
+ session_id: ::String
107
+ ) -> _GetSessionResponseSuccess
108
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetSessionResponseSuccess
109
+
110
+ interface _PutSessionResponseSuccess
111
+ include ::Seahorse::Client::_ResponseSuccess[Types::PutSessionResponse]
112
+ def content_type: () -> ::String
113
+ def messages: () -> ::String
114
+ def session_state: () -> ::String
115
+ def request_attributes: () -> ::String
116
+ def session_id: () -> ::String
117
+ def audio_stream: () -> ::IO
118
+ end
119
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LexRuntimeV2/Client.html#put_session-instance_method
120
+ def put_session: (
121
+ bot_id: ::String,
122
+ bot_alias_id: ::String,
123
+ locale_id: ::String,
124
+ session_id: ::String,
125
+ ?messages: Array[
126
+ {
127
+ content: ::String?,
128
+ content_type: ("CustomPayload" | "ImageResponseCard" | "PlainText" | "SSML"),
129
+ image_response_card: {
130
+ title: ::String,
131
+ subtitle: ::String?,
132
+ image_url: ::String?,
133
+ buttons: Array[
134
+ {
135
+ text: ::String,
136
+ value: ::String
137
+ },
138
+ ]?
139
+ }?
140
+ },
141
+ ],
142
+ session_state: {
143
+ dialog_action: {
144
+ type: ("Close" | "ConfirmIntent" | "Delegate" | "ElicitIntent" | "ElicitSlot" | "None"),
145
+ slot_to_elicit: ::String?,
146
+ slot_elicitation_style: ("Default" | "SpellByLetter" | "SpellByWord")?,
147
+ sub_slot_to_elicit: {
148
+ name: ::String,
149
+ sub_slot_to_elicit: untyped?
150
+ }?
151
+ }?,
152
+ intent: {
153
+ name: ::String,
154
+ slots: Hash[::String, {
155
+ value: {
156
+ original_value: ::String?,
157
+ interpreted_value: ::String,
158
+ resolved_values: Array[::String]?
159
+ }?,
160
+ shape: ("Scalar" | "List" | "Composite")?,
161
+ values: Array[
162
+ untyped,
163
+ ]?,
164
+ sub_slots: untyped?
165
+ }]?,
166
+ state: ("Failed" | "Fulfilled" | "InProgress" | "ReadyForFulfillment" | "Waiting" | "FulfillmentInProgress")?,
167
+ confirmation_state: ("Confirmed" | "Denied" | "None")?
168
+ }?,
169
+ active_contexts: Array[
170
+ {
171
+ name: ::String,
172
+ time_to_live: {
173
+ time_to_live_in_seconds: ::Integer,
174
+ turns_to_live: ::Integer
175
+ },
176
+ context_attributes: Hash[::String, ::String]
177
+ },
178
+ ]?,
179
+ session_attributes: Hash[::String, ::String]?,
180
+ originating_request_id: ::String?,
181
+ runtime_hints: {
182
+ slot_hints: Hash[::String, Hash[::String, {
183
+ runtime_hint_values: Array[
184
+ {
185
+ phrase: ::String
186
+ },
187
+ ]?,
188
+ sub_slot_hints: untyped?
189
+ }]]?
190
+ }?
191
+ },
192
+ ?request_attributes: Hash[::String, ::String],
193
+ ?response_content_type: ::String
194
+ ) ?{ (*untyped) -> void } -> _PutSessionResponseSuccess
195
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) ?{ (*untyped) -> void } -> _PutSessionResponseSuccess
196
+
197
+ interface _RecognizeTextResponseSuccess
198
+ include ::Seahorse::Client::_ResponseSuccess[Types::RecognizeTextResponse]
199
+ def messages: () -> ::Array[Types::Message]
200
+ def session_state: () -> Types::SessionState
201
+ def interpretations: () -> ::Array[Types::Interpretation]
202
+ def request_attributes: () -> ::Hash[::String, ::String]
203
+ def session_id: () -> ::String
204
+ def recognized_bot_member: () -> Types::RecognizedBotMember
205
+ end
206
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LexRuntimeV2/Client.html#recognize_text-instance_method
207
+ def recognize_text: (
208
+ bot_id: ::String,
209
+ bot_alias_id: ::String,
210
+ locale_id: ::String,
211
+ session_id: ::String,
212
+ text: ::String,
213
+ ?session_state: {
214
+ dialog_action: {
215
+ type: ("Close" | "ConfirmIntent" | "Delegate" | "ElicitIntent" | "ElicitSlot" | "None"),
216
+ slot_to_elicit: ::String?,
217
+ slot_elicitation_style: ("Default" | "SpellByLetter" | "SpellByWord")?,
218
+ sub_slot_to_elicit: {
219
+ name: ::String,
220
+ sub_slot_to_elicit: untyped?
221
+ }?
222
+ }?,
223
+ intent: {
224
+ name: ::String,
225
+ slots: Hash[::String, {
226
+ value: {
227
+ original_value: ::String?,
228
+ interpreted_value: ::String,
229
+ resolved_values: Array[::String]?
230
+ }?,
231
+ shape: ("Scalar" | "List" | "Composite")?,
232
+ values: Array[
233
+ untyped,
234
+ ]?,
235
+ sub_slots: untyped?
236
+ }]?,
237
+ state: ("Failed" | "Fulfilled" | "InProgress" | "ReadyForFulfillment" | "Waiting" | "FulfillmentInProgress")?,
238
+ confirmation_state: ("Confirmed" | "Denied" | "None")?
239
+ }?,
240
+ active_contexts: Array[
241
+ {
242
+ name: ::String,
243
+ time_to_live: {
244
+ time_to_live_in_seconds: ::Integer,
245
+ turns_to_live: ::Integer
246
+ },
247
+ context_attributes: Hash[::String, ::String]
248
+ },
249
+ ]?,
250
+ session_attributes: Hash[::String, ::String]?,
251
+ originating_request_id: ::String?,
252
+ runtime_hints: {
253
+ slot_hints: Hash[::String, Hash[::String, {
254
+ runtime_hint_values: Array[
255
+ {
256
+ phrase: ::String
257
+ },
258
+ ]?,
259
+ sub_slot_hints: untyped?
260
+ }]]?
261
+ }?
262
+ },
263
+ ?request_attributes: Hash[::String, ::String]
264
+ ) -> _RecognizeTextResponseSuccess
265
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RecognizeTextResponseSuccess
266
+
267
+ interface _RecognizeUtteranceResponseSuccess
268
+ include ::Seahorse::Client::_ResponseSuccess[Types::RecognizeUtteranceResponse]
269
+ def input_mode: () -> ::String
270
+ def content_type: () -> ::String
271
+ def messages: () -> ::String
272
+ def interpretations: () -> ::String
273
+ def session_state: () -> ::String
274
+ def request_attributes: () -> ::String
275
+ def session_id: () -> ::String
276
+ def input_transcript: () -> ::String
277
+ def audio_stream: () -> ::IO
278
+ def recognized_bot_member: () -> ::String
279
+ end
280
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LexRuntimeV2/Client.html#recognize_utterance-instance_method
281
+ def recognize_utterance: (
282
+ bot_id: ::String,
283
+ bot_alias_id: ::String,
284
+ locale_id: ::String,
285
+ session_id: ::String,
286
+ ?session_state: ::String,
287
+ ?request_attributes: ::String,
288
+ request_content_type: ::String,
289
+ ?response_content_type: ::String,
290
+ ?input_stream: ::String
291
+ ) ?{ (*untyped) -> void } -> _RecognizeUtteranceResponseSuccess
292
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) ?{ (*untyped) -> void } -> _RecognizeUtteranceResponseSuccess
293
+
294
+ interface _StartConversationResponseSuccess
295
+ include ::Seahorse::Client::_ResponseSuccess[Types::StartConversationResponse]
296
+ def response_event_stream: () -> Types::StartConversationResponseEventStream
297
+ end
298
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LexRuntimeV2/Client.html#start_conversation-instance_method
299
+ def start_conversation: (
300
+ bot_id: ::String,
301
+ bot_alias_id: ::String,
302
+ locale_id: ::String,
303
+ session_id: ::String,
304
+ ?conversation_mode: ("AUDIO" | "TEXT"),
305
+ input_event_stream_hander: untyped
306
+ ) ?{ (*untyped) -> void } -> _StartConversationResponseSuccess
307
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) ?{ (*untyped) -> void } -> _StartConversationResponseSuccess
308
+ end
309
+ end
310
+ end
311
+
data/sig/errors.rbs ADDED
@@ -0,0 +1,16 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module LexRuntimeV2
10
+ module Errors
11
+ class ServiceError < ::Aws::Errors::ServiceError
12
+ end
13
+
14
+ end
15
+ end
16
+ end
data/sig/resource.rbs ADDED
@@ -0,0 +1,82 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module LexRuntimeV2
10
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LexRuntimeV2/Resource.html
11
+ class Resource
12
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LexRuntimeV2/Resource.html#initialize-instance_method
13
+ def initialize: (
14
+ ?client: Client,
15
+ ?credentials: untyped,
16
+ ?region: String,
17
+ ?access_key_id: String,
18
+ ?active_endpoint_cache: bool,
19
+ ?adaptive_retry_wait_to_fill: bool,
20
+ ?client_side_monitoring: bool,
21
+ ?client_side_monitoring_client_id: String,
22
+ ?client_side_monitoring_host: String,
23
+ ?client_side_monitoring_port: Integer,
24
+ ?client_side_monitoring_publisher: untyped,
25
+ ?convert_params: bool,
26
+ ?correct_clock_skew: bool,
27
+ ?defaults_mode: String,
28
+ ?disable_host_prefix_injection: bool,
29
+ ?disable_request_compression: bool,
30
+ ?endpoint: String,
31
+ ?endpoint_cache_max_entries: Integer,
32
+ ?endpoint_cache_max_threads: Integer,
33
+ ?endpoint_cache_poll_interval: Integer,
34
+ ?endpoint_discovery: bool,
35
+ ?event_stream_handler: Proc,
36
+ ?ignore_configured_endpoint_urls: bool,
37
+ ?input_event_stream_handler: Proc,
38
+ ?log_formatter: untyped,
39
+ ?log_level: Symbol,
40
+ ?logger: untyped,
41
+ ?max_attempts: Integer,
42
+ ?output_event_stream_handler: Proc,
43
+ ?profile: String,
44
+ ?request_min_compression_size_bytes: Integer,
45
+ ?retry_backoff: Proc,
46
+ ?retry_base_delay: Float,
47
+ ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
48
+ ?retry_limit: Integer,
49
+ ?retry_max_delay: Integer,
50
+ ?retry_mode: ("legacy" | "standard" | "adaptive"),
51
+ ?sdk_ua_app_id: String,
52
+ ?secret_access_key: String,
53
+ ?session_token: String,
54
+ ?stub_responses: untyped,
55
+ ?token_provider: untyped,
56
+ ?use_dualstack_endpoint: bool,
57
+ ?use_fips_endpoint: bool,
58
+ ?validate_params: bool,
59
+ ?endpoint_provider: untyped,
60
+ ?http_proxy: String,
61
+ ?http_open_timeout: (Float | Integer),
62
+ ?http_read_timeout: (Float | Integer),
63
+ ?http_idle_timeout: (Float | Integer),
64
+ ?http_continue_timeout: (Float | Integer),
65
+ ?ssl_timeout: (Float | Integer | nil),
66
+ ?http_wire_trace: bool,
67
+ ?ssl_verify_peer: bool,
68
+ ?ssl_ca_bundle: String,
69
+ ?ssl_ca_directory: String,
70
+ ?ssl_ca_store: String,
71
+ ?on_chunk_received: Proc,
72
+ ?on_chunk_sent: Proc,
73
+ ?raise_response_errors: bool
74
+ ) -> void
75
+ | (?Hash[Symbol, untyped]) -> void
76
+
77
+ def client: () -> Client
78
+
79
+
80
+ end
81
+ end
82
+ end
data/sig/types.rbs ADDED
@@ -0,0 +1,413 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws::LexRuntimeV2
9
+ module Types
10
+
11
+ class AccessDeniedException
12
+ attr_accessor message: ::String
13
+ attr_accessor event_type: untyped
14
+ SENSITIVE: []
15
+ end
16
+
17
+ class ActiveContext
18
+ attr_accessor name: ::String
19
+ attr_accessor time_to_live: Types::ActiveContextTimeToLive
20
+ attr_accessor context_attributes: ::Hash[::String, ::String]
21
+ SENSITIVE: []
22
+ end
23
+
24
+ class ActiveContextTimeToLive
25
+ attr_accessor time_to_live_in_seconds: ::Integer
26
+ attr_accessor turns_to_live: ::Integer
27
+ SENSITIVE: []
28
+ end
29
+
30
+ class AudioInputEvent
31
+ attr_accessor audio_chunk: ::String
32
+ attr_accessor content_type: ::String
33
+ attr_accessor event_id: ::String
34
+ attr_accessor client_timestamp_millis: ::Integer
35
+ attr_accessor event_type: untyped
36
+ SENSITIVE: []
37
+ end
38
+
39
+ class AudioResponseEvent
40
+ attr_accessor audio_chunk: ::String
41
+ attr_accessor content_type: ::String
42
+ attr_accessor event_id: ::String
43
+ attr_accessor event_type: untyped
44
+ SENSITIVE: []
45
+ end
46
+
47
+ class BadGatewayException
48
+ attr_accessor message: ::String
49
+ attr_accessor event_type: untyped
50
+ SENSITIVE: []
51
+ end
52
+
53
+ class Button
54
+ attr_accessor text: ::String
55
+ attr_accessor value: ::String
56
+ SENSITIVE: []
57
+ end
58
+
59
+ class ConfidenceScore
60
+ attr_accessor score: ::Float
61
+ SENSITIVE: []
62
+ end
63
+
64
+ class ConfigurationEvent
65
+ attr_accessor request_attributes: ::Hash[::String, ::String]
66
+ attr_accessor response_content_type: ::String
67
+ attr_accessor session_state: Types::SessionState
68
+ attr_accessor welcome_messages: ::Array[Types::Message]
69
+ attr_accessor disable_playback: bool
70
+ attr_accessor event_id: ::String
71
+ attr_accessor client_timestamp_millis: ::Integer
72
+ attr_accessor event_type: untyped
73
+ SENSITIVE: []
74
+ end
75
+
76
+ class ConflictException
77
+ attr_accessor message: ::String
78
+ attr_accessor event_type: untyped
79
+ SENSITIVE: []
80
+ end
81
+
82
+ class DTMFInputEvent
83
+ attr_accessor input_character: ::String
84
+ attr_accessor event_id: ::String
85
+ attr_accessor client_timestamp_millis: ::Integer
86
+ attr_accessor event_type: untyped
87
+ SENSITIVE: [:input_character]
88
+ end
89
+
90
+ class DeleteSessionRequest
91
+ attr_accessor bot_id: ::String
92
+ attr_accessor bot_alias_id: ::String
93
+ attr_accessor locale_id: ::String
94
+ attr_accessor session_id: ::String
95
+ SENSITIVE: []
96
+ end
97
+
98
+ class DeleteSessionResponse
99
+ attr_accessor bot_id: ::String
100
+ attr_accessor bot_alias_id: ::String
101
+ attr_accessor locale_id: ::String
102
+ attr_accessor session_id: ::String
103
+ SENSITIVE: []
104
+ end
105
+
106
+ class DependencyFailedException
107
+ attr_accessor message: ::String
108
+ attr_accessor event_type: untyped
109
+ SENSITIVE: []
110
+ end
111
+
112
+ class DialogAction
113
+ attr_accessor type: ("Close" | "ConfirmIntent" | "Delegate" | "ElicitIntent" | "ElicitSlot" | "None")
114
+ attr_accessor slot_to_elicit: ::String
115
+ attr_accessor slot_elicitation_style: ("Default" | "SpellByLetter" | "SpellByWord")
116
+ attr_accessor sub_slot_to_elicit: Types::ElicitSubSlot
117
+ SENSITIVE: []
118
+ end
119
+
120
+ class DisconnectionEvent
121
+ attr_accessor event_id: ::String
122
+ attr_accessor client_timestamp_millis: ::Integer
123
+ attr_accessor event_type: untyped
124
+ SENSITIVE: []
125
+ end
126
+
127
+ class ElicitSubSlot
128
+ attr_accessor name: ::String
129
+ attr_accessor sub_slot_to_elicit: Types::ElicitSubSlot
130
+ SENSITIVE: []
131
+ end
132
+
133
+ class GetSessionRequest
134
+ attr_accessor bot_id: ::String
135
+ attr_accessor bot_alias_id: ::String
136
+ attr_accessor locale_id: ::String
137
+ attr_accessor session_id: ::String
138
+ SENSITIVE: []
139
+ end
140
+
141
+ class GetSessionResponse
142
+ attr_accessor session_id: ::String
143
+ attr_accessor messages: ::Array[Types::Message]
144
+ attr_accessor interpretations: ::Array[Types::Interpretation]
145
+ attr_accessor session_state: Types::SessionState
146
+ SENSITIVE: []
147
+ end
148
+
149
+ class HeartbeatEvent
150
+ attr_accessor event_id: ::String
151
+ attr_accessor event_type: untyped
152
+ SENSITIVE: []
153
+ end
154
+
155
+ class ImageResponseCard
156
+ attr_accessor title: ::String
157
+ attr_accessor subtitle: ::String
158
+ attr_accessor image_url: ::String
159
+ attr_accessor buttons: ::Array[Types::Button]
160
+ SENSITIVE: []
161
+ end
162
+
163
+ class Intent
164
+ attr_accessor name: ::String
165
+ attr_accessor slots: ::Hash[::String, Types::Slot]
166
+ attr_accessor state: ("Failed" | "Fulfilled" | "InProgress" | "ReadyForFulfillment" | "Waiting" | "FulfillmentInProgress")
167
+ attr_accessor confirmation_state: ("Confirmed" | "Denied" | "None")
168
+ SENSITIVE: []
169
+ end
170
+
171
+ class IntentResultEvent
172
+ attr_accessor input_mode: ("Text" | "Speech" | "DTMF")
173
+ attr_accessor interpretations: ::Array[Types::Interpretation]
174
+ attr_accessor session_state: Types::SessionState
175
+ attr_accessor request_attributes: ::Hash[::String, ::String]
176
+ attr_accessor session_id: ::String
177
+ attr_accessor event_id: ::String
178
+ attr_accessor recognized_bot_member: Types::RecognizedBotMember
179
+ attr_accessor event_type: untyped
180
+ SENSITIVE: []
181
+ end
182
+
183
+ class InternalServerException
184
+ attr_accessor message: ::String
185
+ attr_accessor event_type: untyped
186
+ SENSITIVE: []
187
+ end
188
+
189
+ class Interpretation
190
+ attr_accessor nlu_confidence: Types::ConfidenceScore
191
+ attr_accessor sentiment_response: Types::SentimentResponse
192
+ attr_accessor intent: Types::Intent
193
+ attr_accessor interpretation_source: ("Bedrock" | "Lex")
194
+ SENSITIVE: []
195
+ end
196
+
197
+ class Message
198
+ attr_accessor content: ::String
199
+ attr_accessor content_type: ("CustomPayload" | "ImageResponseCard" | "PlainText" | "SSML")
200
+ attr_accessor image_response_card: Types::ImageResponseCard
201
+ SENSITIVE: [:content]
202
+ end
203
+
204
+ class PlaybackCompletionEvent
205
+ attr_accessor event_id: ::String
206
+ attr_accessor client_timestamp_millis: ::Integer
207
+ attr_accessor event_type: untyped
208
+ SENSITIVE: []
209
+ end
210
+
211
+ class PlaybackInterruptionEvent
212
+ attr_accessor event_reason: ("DTMF_START_DETECTED" | "TEXT_DETECTED" | "VOICE_START_DETECTED")
213
+ attr_accessor caused_by_event_id: ::String
214
+ attr_accessor event_id: ::String
215
+ attr_accessor event_type: untyped
216
+ SENSITIVE: []
217
+ end
218
+
219
+ class PutSessionRequest
220
+ attr_accessor bot_id: ::String
221
+ attr_accessor bot_alias_id: ::String
222
+ attr_accessor locale_id: ::String
223
+ attr_accessor session_id: ::String
224
+ attr_accessor messages: ::Array[Types::Message]
225
+ attr_accessor session_state: Types::SessionState
226
+ attr_accessor request_attributes: ::Hash[::String, ::String]
227
+ attr_accessor response_content_type: ::String
228
+ SENSITIVE: []
229
+ end
230
+
231
+ class PutSessionResponse
232
+ attr_accessor content_type: ::String
233
+ attr_accessor messages: ::String
234
+ attr_accessor session_state: ::String
235
+ attr_accessor request_attributes: ::String
236
+ attr_accessor session_id: ::String
237
+ attr_accessor audio_stream: ::IO
238
+ SENSITIVE: []
239
+ end
240
+
241
+ class RecognizeTextRequest
242
+ attr_accessor bot_id: ::String
243
+ attr_accessor bot_alias_id: ::String
244
+ attr_accessor locale_id: ::String
245
+ attr_accessor session_id: ::String
246
+ attr_accessor text: ::String
247
+ attr_accessor session_state: Types::SessionState
248
+ attr_accessor request_attributes: ::Hash[::String, ::String]
249
+ SENSITIVE: [:text]
250
+ end
251
+
252
+ class RecognizeTextResponse
253
+ attr_accessor messages: ::Array[Types::Message]
254
+ attr_accessor session_state: Types::SessionState
255
+ attr_accessor interpretations: ::Array[Types::Interpretation]
256
+ attr_accessor request_attributes: ::Hash[::String, ::String]
257
+ attr_accessor session_id: ::String
258
+ attr_accessor recognized_bot_member: Types::RecognizedBotMember
259
+ SENSITIVE: []
260
+ end
261
+
262
+ class RecognizeUtteranceRequest
263
+ attr_accessor bot_id: ::String
264
+ attr_accessor bot_alias_id: ::String
265
+ attr_accessor locale_id: ::String
266
+ attr_accessor session_id: ::String
267
+ attr_accessor session_state: ::String
268
+ attr_accessor request_attributes: ::String
269
+ attr_accessor request_content_type: ::String
270
+ attr_accessor response_content_type: ::String
271
+ attr_accessor input_stream: ::IO
272
+ SENSITIVE: [:session_state, :request_attributes]
273
+ end
274
+
275
+ class RecognizeUtteranceResponse
276
+ attr_accessor input_mode: ::String
277
+ attr_accessor content_type: ::String
278
+ attr_accessor messages: ::String
279
+ attr_accessor interpretations: ::String
280
+ attr_accessor session_state: ::String
281
+ attr_accessor request_attributes: ::String
282
+ attr_accessor session_id: ::String
283
+ attr_accessor input_transcript: ::String
284
+ attr_accessor audio_stream: ::IO
285
+ attr_accessor recognized_bot_member: ::String
286
+ SENSITIVE: []
287
+ end
288
+
289
+ class RecognizedBotMember
290
+ attr_accessor bot_id: ::String
291
+ attr_accessor bot_name: ::String
292
+ SENSITIVE: []
293
+ end
294
+
295
+ class ResourceNotFoundException
296
+ attr_accessor message: ::String
297
+ attr_accessor event_type: untyped
298
+ SENSITIVE: []
299
+ end
300
+
301
+ class RuntimeHintDetails
302
+ attr_accessor runtime_hint_values: ::Array[Types::RuntimeHintValue]
303
+ attr_accessor sub_slot_hints: ::Hash[::String, Types::RuntimeHintDetails]
304
+ SENSITIVE: []
305
+ end
306
+
307
+ class RuntimeHintValue
308
+ attr_accessor phrase: ::String
309
+ SENSITIVE: []
310
+ end
311
+
312
+ class RuntimeHints
313
+ attr_accessor slot_hints: ::Hash[::String, ::Hash[::String, Types::RuntimeHintDetails]]
314
+ SENSITIVE: []
315
+ end
316
+
317
+ class SentimentResponse
318
+ attr_accessor sentiment: ("MIXED" | "NEGATIVE" | "NEUTRAL" | "POSITIVE")
319
+ attr_accessor sentiment_score: Types::SentimentScore
320
+ SENSITIVE: []
321
+ end
322
+
323
+ class SentimentScore
324
+ attr_accessor positive: ::Float
325
+ attr_accessor negative: ::Float
326
+ attr_accessor neutral: ::Float
327
+ attr_accessor mixed: ::Float
328
+ SENSITIVE: []
329
+ end
330
+
331
+ class SessionState
332
+ attr_accessor dialog_action: Types::DialogAction
333
+ attr_accessor intent: Types::Intent
334
+ attr_accessor active_contexts: ::Array[Types::ActiveContext]
335
+ attr_accessor session_attributes: ::Hash[::String, ::String]
336
+ attr_accessor originating_request_id: ::String
337
+ attr_accessor runtime_hints: Types::RuntimeHints
338
+ SENSITIVE: []
339
+ end
340
+
341
+ class Slot
342
+ attr_accessor value: Types::Value
343
+ attr_accessor shape: ("Scalar" | "List" | "Composite")
344
+ attr_accessor values: ::Array[Types::Slot]
345
+ attr_accessor sub_slots: ::Hash[::String, Types::Slot]
346
+ SENSITIVE: []
347
+ end
348
+
349
+ class StartConversationRequest
350
+ attr_accessor bot_id: ::String
351
+ attr_accessor bot_alias_id: ::String
352
+ attr_accessor locale_id: ::String
353
+ attr_accessor session_id: ::String
354
+ attr_accessor conversation_mode: ("AUDIO" | "TEXT")
355
+ attr_accessor request_event_stream: Types::StartConversationRequestEventStream
356
+ SENSITIVE: []
357
+ end
358
+
359
+ class StartConversationResponse
360
+ attr_accessor response_event_stream: Types::StartConversationResponseEventStream
361
+ SENSITIVE: []
362
+ end
363
+
364
+ class TextInputEvent
365
+ attr_accessor text: ::String
366
+ attr_accessor event_id: ::String
367
+ attr_accessor client_timestamp_millis: ::Integer
368
+ attr_accessor event_type: untyped
369
+ SENSITIVE: [:text]
370
+ end
371
+
372
+ class TextResponseEvent
373
+ attr_accessor messages: ::Array[Types::Message]
374
+ attr_accessor event_id: ::String
375
+ attr_accessor event_type: untyped
376
+ SENSITIVE: []
377
+ end
378
+
379
+ class ThrottlingException
380
+ attr_accessor message: ::String
381
+ attr_accessor event_type: untyped
382
+ SENSITIVE: []
383
+ end
384
+
385
+ class TranscriptEvent
386
+ attr_accessor transcript: ::String
387
+ attr_accessor event_id: ::String
388
+ attr_accessor event_type: untyped
389
+ SENSITIVE: []
390
+ end
391
+
392
+ class ValidationException
393
+ attr_accessor message: ::String
394
+ attr_accessor event_type: untyped
395
+ SENSITIVE: []
396
+ end
397
+
398
+ class Value
399
+ attr_accessor original_value: ::String
400
+ attr_accessor interpreted_value: ::String
401
+ attr_accessor resolved_values: ::Array[::String]
402
+ SENSITIVE: []
403
+ end
404
+
405
+ class StartConversationRequestEventStream < Enumerator[untyped, untyped]
406
+ def event_types: () -> [:configuration_event, :audio_input_event, :dtmf_input_event, :text_input_event, :playback_completion_event, :disconnection_event]
407
+ end
408
+
409
+ class StartConversationResponseEventStream < Enumerator[untyped, untyped]
410
+ def event_types: () -> [:playback_interruption_event, :transcript_event, :intent_result_event, :text_response_event, :audio_response_event, :heartbeat_event, :access_denied_exception, :resource_not_found_exception, :validation_exception, :throttling_exception, :internal_server_exception, :conflict_exception, :dependency_failed_exception, :bad_gateway_exception]
411
+ end
412
+ end
413
+ end
data/sig/waiters.rbs ADDED
@@ -0,0 +1,13 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module LexRuntimeV2
10
+ module Waiters
11
+ end
12
+ end
13
+ end
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.29.0
4
+ version: 1.30.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-11-28 00:00:00.000000000 Z
11
+ date: 2024-01-26 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.188.0
22
+ version: 3.191.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.188.0
32
+ version: 3.191.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -68,13 +68,18 @@ files:
68
68
  - lib/aws-sdk-lexruntimev2/plugins/endpoints.rb
69
69
  - lib/aws-sdk-lexruntimev2/resource.rb
70
70
  - lib/aws-sdk-lexruntimev2/types.rb
71
+ - sig/client.rbs
72
+ - sig/errors.rbs
73
+ - sig/resource.rbs
74
+ - sig/types.rbs
75
+ - sig/waiters.rbs
71
76
  homepage: https://github.com/aws/aws-sdk-ruby
72
77
  licenses:
73
78
  - Apache-2.0
74
79
  metadata:
75
80
  source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-lexruntimev2
76
81
  changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-lexruntimev2/CHANGELOG.md
77
- post_install_message:
82
+ post_install_message:
78
83
  rdoc_options: []
79
84
  require_paths:
80
85
  - lib
@@ -89,8 +94,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
89
94
  - !ruby/object:Gem::Version
90
95
  version: '0'
91
96
  requirements: []
92
- rubygems_version: 3.1.6
93
- signing_key:
97
+ rubygems_version: 3.4.10
98
+ signing_key:
94
99
  specification_version: 4
95
100
  summary: AWS SDK for Ruby - Lex Runtime V2
96
101
  test_files: []