aws-sdk-lex 1.56.0 → 1.58.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: 9290f1ab2c4463f614ff04e14b19eca0dd4b92659d916f46472c92421f3b99e5
4
- data.tar.gz: 2922733abec7d5522ee77f37290a5fff2ef1f02cda7d94525fa6f0e7a9f4c64b
3
+ metadata.gz: 2e47e2ea3d347acbafa8b71662c701e85362b70c5df01d930894474c5c11c9c9
4
+ data.tar.gz: 9cc788d0477b0f044cfff23c61b67c4822b733426dec9318cda4bfc990518cc2
5
5
  SHA512:
6
- metadata.gz: 59fb5e1590e05fc11d29123cb7eb3b181600cb25764ac89556f9bd5699cd8ee7bd5a3de24a3fa055209901b9fe24a3f9e379837ff5d65dbd596af2c31c33e623
7
- data.tar.gz: cbafdb55908ecc0b6891f5d2f1cc0c377803a88588ed1c738f418f8676690f6d7103354cf7ddb3b45adad73741a2063a883d6b49e9c8ead945522095d76f3a38
6
+ metadata.gz: 133a98e491b092dcdf2d4a7803f37f31f88250110a4f6478abffad6d0aab8df11b5dfcfa7022301bb0eb4658c0abb8693ba0125dcf6afc1553e34c1b6dfaf388
7
+ data.tar.gz: 32939bbb69e9eb00415c29338a0bf143adb39148a0a405f8d9bb61436df122e94d4375c4272cf3bfb272bc043e97f96bcf58a44b7316761fb4d7ddd95caa99e9
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.58.0 (2024-04-25)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.57.0 (2024-01-26)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.56.0 (2023-11-28)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.56.0
1
+ 1.58.0
@@ -22,6 +22,7 @@ require 'aws-sdk-core/plugins/endpoint_pattern.rb'
22
22
  require 'aws-sdk-core/plugins/response_paging.rb'
23
23
  require 'aws-sdk-core/plugins/stub_responses.rb'
24
24
  require 'aws-sdk-core/plugins/idempotency_token.rb'
25
+ require 'aws-sdk-core/plugins/invocation_id.rb'
25
26
  require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
26
27
  require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
27
28
  require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
@@ -72,6 +73,7 @@ module Aws::Lex
72
73
  add_plugin(Aws::Plugins::ResponsePaging)
73
74
  add_plugin(Aws::Plugins::StubResponses)
74
75
  add_plugin(Aws::Plugins::IdempotencyToken)
76
+ add_plugin(Aws::Plugins::InvocationId)
75
77
  add_plugin(Aws::Plugins::JsonvalueConverter)
76
78
  add_plugin(Aws::Plugins::ClientMetricsPlugin)
77
79
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
@@ -196,10 +198,17 @@ module Aws::Lex
196
198
  # When set to 'true' the request body will not be compressed
197
199
  # for supported operations.
198
200
  #
199
- # @option options [String] :endpoint
200
- # The client endpoint is normally constructed from the `:region`
201
- # option. You should only configure an `:endpoint` when connecting
202
- # to test or custom endpoints. This should be a valid HTTP(S) URI.
201
+ # @option options [String, URI::HTTPS, URI::HTTP] :endpoint
202
+ # Normally you should not configure the `:endpoint` option
203
+ # directly. This is normally constructed from the `:region`
204
+ # option. Configuring `:endpoint` is normally reserved for
205
+ # connecting to test or custom endpoints. The endpoint should
206
+ # be a URI formatted like:
207
+ #
208
+ # 'http://example.com'
209
+ # 'https://example.com'
210
+ # 'http://example.com:123'
211
+ #
203
212
  #
204
213
  # @option options [Integer] :endpoint_cache_max_entries (1000)
205
214
  # Used for the maximum size limit of the LRU cache storing endpoints data
@@ -337,50 +346,65 @@ module Aws::Lex
337
346
  # @option options [Aws::Lex::EndpointProvider] :endpoint_provider
338
347
  # The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::Lex::EndpointParameters`
339
348
  #
340
- # @option options [URI::HTTP,String] :http_proxy A proxy to send
341
- # requests through. Formatted like 'http://proxy.com:123'.
342
- #
343
- # @option options [Float] :http_open_timeout (15) The number of
344
- # seconds to wait when opening a HTTP session before raising a
345
- # `Timeout::Error`.
346
- #
347
- # @option options [Float] :http_read_timeout (60) The default
348
- # number of seconds to wait for response data. This value can
349
- # safely be set per-request on the session.
350
- #
351
- # @option options [Float] :http_idle_timeout (5) The number of
352
- # seconds a connection is allowed to sit idle before it is
353
- # considered stale. Stale connections are closed and removed
354
- # from the pool before making a request.
355
- #
356
- # @option options [Float] :http_continue_timeout (1) The number of
357
- # seconds to wait for a 100-continue response before sending the
358
- # request body. This option has no effect unless the request has
359
- # "Expect" header set to "100-continue". Defaults to `nil` which
360
- # disables this behaviour. This value can safely be set per
361
- # request on the session.
362
- #
363
- # @option options [Float] :ssl_timeout (nil) Sets the SSL timeout
364
- # in seconds.
349
+ # @option options [Float] :http_continue_timeout (1)
350
+ # The number of seconds to wait for a 100-continue response before sending the
351
+ # request body. This option has no effect unless the request has "Expect"
352
+ # header set to "100-continue". Defaults to `nil` which disables this
353
+ # behaviour. This value can safely be set per request on the session.
354
+ #
355
+ # @option options [Float] :http_idle_timeout (5)
356
+ # The number of seconds a connection is allowed to sit idle before it
357
+ # is considered stale. Stale connections are closed and removed from the
358
+ # pool before making a request.
359
+ #
360
+ # @option options [Float] :http_open_timeout (15)
361
+ # The default number of seconds to wait for response data.
362
+ # This value can safely be set per-request on the session.
363
+ #
364
+ # @option options [URI::HTTP,String] :http_proxy
365
+ # A proxy to send requests through. Formatted like 'http://proxy.com:123'.
366
+ #
367
+ # @option options [Float] :http_read_timeout (60)
368
+ # The default number of seconds to wait for response data.
369
+ # This value can safely be set per-request on the session.
370
+ #
371
+ # @option options [Boolean] :http_wire_trace (false)
372
+ # When `true`, HTTP debug output will be sent to the `:logger`.
373
+ #
374
+ # @option options [Proc] :on_chunk_received
375
+ # When a Proc object is provided, it will be used as callback when each chunk
376
+ # of the response body is received. It provides three arguments: the chunk,
377
+ # the number of bytes received, and the total number of
378
+ # bytes in the response (or nil if the server did not send a `content-length`).
379
+ #
380
+ # @option options [Proc] :on_chunk_sent
381
+ # When a Proc object is provided, it will be used as callback when each chunk
382
+ # of the request body is sent. It provides three arguments: the chunk,
383
+ # the number of bytes read from the body, and the total number of
384
+ # bytes in the body.
385
+ #
386
+ # @option options [Boolean] :raise_response_errors (true)
387
+ # When `true`, response errors are raised.
388
+ #
389
+ # @option options [String] :ssl_ca_bundle
390
+ # Full path to the SSL certificate authority bundle file that should be used when
391
+ # verifying peer certificates. If you do not pass `:ssl_ca_bundle` or
392
+ # `:ssl_ca_directory` the the system default will be used if available.
393
+ #
394
+ # @option options [String] :ssl_ca_directory
395
+ # Full path of the directory that contains the unbundled SSL certificate
396
+ # authority files for verifying peer certificates. If you do
397
+ # not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the system
398
+ # default will be used if available.
365
399
  #
366
- # @option options [Boolean] :http_wire_trace (false) When `true`,
367
- # HTTP debug output will be sent to the `:logger`.
400
+ # @option options [String] :ssl_ca_store
401
+ # Sets the X509::Store to verify peer certificate.
368
402
  #
369
- # @option options [Boolean] :ssl_verify_peer (true) When `true`,
370
- # SSL peer certificates are verified when establishing a
371
- # connection.
403
+ # @option options [Float] :ssl_timeout
404
+ # Sets the SSL timeout in seconds
372
405
  #
373
- # @option options [String] :ssl_ca_bundle Full path to the SSL
374
- # certificate authority bundle file that should be used when
375
- # verifying peer certificates. If you do not pass
376
- # `:ssl_ca_bundle` or `:ssl_ca_directory` the the system default
377
- # will be used if available.
378
- #
379
- # @option options [String] :ssl_ca_directory Full path of the
380
- # directory that contains the unbundled SSL certificate
381
- # authority files for verifying peer certificates. If you do
382
- # not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the
383
- # system default will be used if available.
406
+ # @option options [Boolean] :ssl_verify_peer (true)
407
+ # When `true`, SSL peer certificates are verified when establishing a connection.
384
408
  #
385
409
  def initialize(*args)
386
410
  super
@@ -1189,7 +1213,7 @@ module Aws::Lex
1189
1213
  params: params,
1190
1214
  config: config)
1191
1215
  context[:gem_name] = 'aws-sdk-lex'
1192
- context[:gem_version] = '1.56.0'
1216
+ context[:gem_version] = '1.58.0'
1193
1217
  Seahorse::Client::Request.new(handlers, context)
1194
1218
  end
1195
1219
 
@@ -14,6 +14,7 @@ module Aws::Lex
14
14
  option(
15
15
  :endpoint_provider,
16
16
  doc_type: 'Aws::Lex::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 '\
data/lib/aws-sdk-lex.rb CHANGED
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-lex/customizations'
52
52
  # @!group service
53
53
  module Aws::Lex
54
54
 
55
- GEM_VERSION = '1.56.0'
55
+ GEM_VERSION = '1.58.0'
56
56
 
57
57
  end
data/sig/client.rbs ADDED
@@ -0,0 +1,237 @@
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 Lex
10
+ class Client < ::Seahorse::Client::Base
11
+ include ::Aws::ClientStubs
12
+
13
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Lex/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
+ ?ignore_configured_endpoint_urls: bool,
36
+ ?log_formatter: untyped,
37
+ ?log_level: Symbol,
38
+ ?logger: untyped,
39
+ ?max_attempts: Integer,
40
+ ?profile: String,
41
+ ?request_min_compression_size_bytes: Integer,
42
+ ?retry_backoff: Proc,
43
+ ?retry_base_delay: Float,
44
+ ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
45
+ ?retry_limit: Integer,
46
+ ?retry_max_delay: Integer,
47
+ ?retry_mode: ("legacy" | "standard" | "adaptive"),
48
+ ?sdk_ua_app_id: String,
49
+ ?secret_access_key: String,
50
+ ?session_token: String,
51
+ ?stub_responses: untyped,
52
+ ?token_provider: untyped,
53
+ ?use_dualstack_endpoint: bool,
54
+ ?use_fips_endpoint: bool,
55
+ ?validate_params: bool,
56
+ ?endpoint_provider: untyped,
57
+ ?http_proxy: String,
58
+ ?http_open_timeout: (Float | Integer),
59
+ ?http_read_timeout: (Float | Integer),
60
+ ?http_idle_timeout: (Float | Integer),
61
+ ?http_continue_timeout: (Float | Integer),
62
+ ?ssl_timeout: (Float | Integer | nil),
63
+ ?http_wire_trace: bool,
64
+ ?ssl_verify_peer: bool,
65
+ ?ssl_ca_bundle: String,
66
+ ?ssl_ca_directory: String,
67
+ ?ssl_ca_store: String,
68
+ ?on_chunk_received: Proc,
69
+ ?on_chunk_sent: Proc,
70
+ ?raise_response_errors: bool
71
+ ) -> instance
72
+ | (?Hash[Symbol, untyped]) -> instance
73
+
74
+
75
+ interface _DeleteSessionResponseSuccess
76
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteSessionResponse]
77
+ def bot_name: () -> ::String
78
+ def bot_alias: () -> ::String
79
+ def user_id: () -> ::String
80
+ def session_id: () -> ::String
81
+ end
82
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Lex/Client.html#delete_session-instance_method
83
+ def delete_session: (
84
+ bot_name: ::String,
85
+ bot_alias: ::String,
86
+ user_id: ::String
87
+ ) -> _DeleteSessionResponseSuccess
88
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteSessionResponseSuccess
89
+
90
+ interface _GetSessionResponseSuccess
91
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetSessionResponse]
92
+ def recent_intent_summary_view: () -> ::Array[Types::IntentSummary]
93
+ def session_attributes: () -> ::Hash[::String, ::String]
94
+ def session_id: () -> ::String
95
+ def dialog_action: () -> Types::DialogAction
96
+ def active_contexts: () -> ::Array[Types::ActiveContext]
97
+ end
98
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Lex/Client.html#get_session-instance_method
99
+ def get_session: (
100
+ bot_name: ::String,
101
+ bot_alias: ::String,
102
+ user_id: ::String,
103
+ ?checkpoint_label_filter: ::String
104
+ ) -> _GetSessionResponseSuccess
105
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetSessionResponseSuccess
106
+
107
+ interface _PostContentResponseSuccess
108
+ include ::Seahorse::Client::_ResponseSuccess[Types::PostContentResponse]
109
+ def content_type: () -> ::String
110
+ def intent_name: () -> ::String
111
+ def nlu_intent_confidence: () -> ::String
112
+ def alternative_intents: () -> ::String
113
+ def slots: () -> ::String
114
+ def session_attributes: () -> ::String
115
+ def sentiment_response: () -> ::String
116
+ def message: () -> ::String
117
+ def encoded_message: () -> ::String
118
+ def message_format: () -> ("PlainText" | "CustomPayload" | "SSML" | "Composite")
119
+ def dialog_state: () -> ("ElicitIntent" | "ConfirmIntent" | "ElicitSlot" | "Fulfilled" | "ReadyForFulfillment" | "Failed")
120
+ def slot_to_elicit: () -> ::String
121
+ def input_transcript: () -> ::String
122
+ def encoded_input_transcript: () -> ::String
123
+ def audio_stream: () -> ::IO
124
+ def bot_version: () -> ::String
125
+ def session_id: () -> ::String
126
+ def active_contexts: () -> ::String
127
+ end
128
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Lex/Client.html#post_content-instance_method
129
+ def post_content: (
130
+ bot_name: ::String,
131
+ bot_alias: ::String,
132
+ user_id: ::String,
133
+ ?session_attributes: ::String,
134
+ ?request_attributes: ::String,
135
+ content_type: ::String,
136
+ ?accept: ::String,
137
+ input_stream: ::String,
138
+ ?active_contexts: ::String
139
+ ) ?{ (*untyped) -> void } -> _PostContentResponseSuccess
140
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) ?{ (*untyped) -> void } -> _PostContentResponseSuccess
141
+
142
+ interface _PostTextResponseSuccess
143
+ include ::Seahorse::Client::_ResponseSuccess[Types::PostTextResponse]
144
+ def intent_name: () -> ::String
145
+ def nlu_intent_confidence: () -> Types::IntentConfidence
146
+ def alternative_intents: () -> ::Array[Types::PredictedIntent]
147
+ def slots: () -> ::Hash[::String, ::String]
148
+ def session_attributes: () -> ::Hash[::String, ::String]
149
+ def message: () -> ::String
150
+ def sentiment_response: () -> Types::SentimentResponse
151
+ def message_format: () -> ("PlainText" | "CustomPayload" | "SSML" | "Composite")
152
+ def dialog_state: () -> ("ElicitIntent" | "ConfirmIntent" | "ElicitSlot" | "Fulfilled" | "ReadyForFulfillment" | "Failed")
153
+ def slot_to_elicit: () -> ::String
154
+ def response_card: () -> Types::ResponseCard
155
+ def session_id: () -> ::String
156
+ def bot_version: () -> ::String
157
+ def active_contexts: () -> ::Array[Types::ActiveContext]
158
+ end
159
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Lex/Client.html#post_text-instance_method
160
+ def post_text: (
161
+ bot_name: ::String,
162
+ bot_alias: ::String,
163
+ user_id: ::String,
164
+ ?session_attributes: Hash[::String, ::String],
165
+ ?request_attributes: Hash[::String, ::String],
166
+ input_text: ::String,
167
+ ?active_contexts: Array[
168
+ {
169
+ name: ::String,
170
+ time_to_live: {
171
+ time_to_live_in_seconds: ::Integer?,
172
+ turns_to_live: ::Integer?
173
+ },
174
+ parameters: Hash[::String, ::String]
175
+ },
176
+ ]
177
+ ) -> _PostTextResponseSuccess
178
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PostTextResponseSuccess
179
+
180
+ interface _PutSessionResponseSuccess
181
+ include ::Seahorse::Client::_ResponseSuccess[Types::PutSessionResponse]
182
+ def content_type: () -> ::String
183
+ def intent_name: () -> ::String
184
+ def slots: () -> ::String
185
+ def session_attributes: () -> ::String
186
+ def message: () -> ::String
187
+ def encoded_message: () -> ::String
188
+ def message_format: () -> ("PlainText" | "CustomPayload" | "SSML" | "Composite")
189
+ def dialog_state: () -> ("ElicitIntent" | "ConfirmIntent" | "ElicitSlot" | "Fulfilled" | "ReadyForFulfillment" | "Failed")
190
+ def slot_to_elicit: () -> ::String
191
+ def audio_stream: () -> ::IO
192
+ def session_id: () -> ::String
193
+ def active_contexts: () -> ::String
194
+ end
195
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Lex/Client.html#put_session-instance_method
196
+ def put_session: (
197
+ bot_name: ::String,
198
+ bot_alias: ::String,
199
+ user_id: ::String,
200
+ ?session_attributes: Hash[::String, ::String],
201
+ ?dialog_action: {
202
+ type: ("ElicitIntent" | "ConfirmIntent" | "ElicitSlot" | "Close" | "Delegate"),
203
+ intent_name: ::String?,
204
+ slots: Hash[::String, ::String]?,
205
+ slot_to_elicit: ::String?,
206
+ fulfillment_state: ("Fulfilled" | "Failed" | "ReadyForFulfillment")?,
207
+ message: ::String?,
208
+ message_format: ("PlainText" | "CustomPayload" | "SSML" | "Composite")?
209
+ },
210
+ ?recent_intent_summary_view: Array[
211
+ {
212
+ intent_name: ::String?,
213
+ checkpoint_label: ::String?,
214
+ slots: Hash[::String, ::String]?,
215
+ confirmation_status: ("None" | "Confirmed" | "Denied")?,
216
+ dialog_action_type: ("ElicitIntent" | "ConfirmIntent" | "ElicitSlot" | "Close" | "Delegate"),
217
+ fulfillment_state: ("Fulfilled" | "Failed" | "ReadyForFulfillment")?,
218
+ slot_to_elicit: ::String?
219
+ },
220
+ ],
221
+ ?accept: ::String,
222
+ ?active_contexts: Array[
223
+ {
224
+ name: ::String,
225
+ time_to_live: {
226
+ time_to_live_in_seconds: ::Integer?,
227
+ turns_to_live: ::Integer?
228
+ },
229
+ parameters: Hash[::String, ::String]
230
+ },
231
+ ]
232
+ ) ?{ (*untyped) -> void } -> _PutSessionResponseSuccess
233
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) ?{ (*untyped) -> void } -> _PutSessionResponseSuccess
234
+ end
235
+ end
236
+ end
237
+
data/sig/errors.rbs ADDED
@@ -0,0 +1,50 @@
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 Lex
10
+ module Errors
11
+ class ServiceError < ::Aws::Errors::ServiceError
12
+ end
13
+
14
+ class BadGatewayException < ::Aws::Errors::ServiceError
15
+ def message: () -> ::String
16
+ end
17
+ class BadRequestException < ::Aws::Errors::ServiceError
18
+ def message: () -> ::String
19
+ end
20
+ class ConflictException < ::Aws::Errors::ServiceError
21
+ def message: () -> ::String
22
+ end
23
+ class DependencyFailedException < ::Aws::Errors::ServiceError
24
+ def message: () -> ::String
25
+ end
26
+ class InternalFailureException < ::Aws::Errors::ServiceError
27
+ def message: () -> ::String
28
+ end
29
+ class LimitExceededException < ::Aws::Errors::ServiceError
30
+ def retry_after_seconds: () -> ::String
31
+ def message: () -> ::String
32
+ end
33
+ class LoopDetectedException < ::Aws::Errors::ServiceError
34
+ def message: () -> ::String
35
+ end
36
+ class NotAcceptableException < ::Aws::Errors::ServiceError
37
+ def message: () -> ::String
38
+ end
39
+ class NotFoundException < ::Aws::Errors::ServiceError
40
+ def message: () -> ::String
41
+ end
42
+ class RequestTimeoutException < ::Aws::Errors::ServiceError
43
+ def message: () -> ::String
44
+ end
45
+ class UnsupportedMediaTypeException < ::Aws::Errors::ServiceError
46
+ def message: () -> ::String
47
+ end
48
+ end
49
+ end
50
+ end
data/sig/resource.rbs ADDED
@@ -0,0 +1,79 @@
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 Lex
10
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Lex/Resource.html
11
+ class Resource
12
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Lex/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
+ ?ignore_configured_endpoint_urls: bool,
36
+ ?log_formatter: untyped,
37
+ ?log_level: Symbol,
38
+ ?logger: untyped,
39
+ ?max_attempts: Integer,
40
+ ?profile: String,
41
+ ?request_min_compression_size_bytes: Integer,
42
+ ?retry_backoff: Proc,
43
+ ?retry_base_delay: Float,
44
+ ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
45
+ ?retry_limit: Integer,
46
+ ?retry_max_delay: Integer,
47
+ ?retry_mode: ("legacy" | "standard" | "adaptive"),
48
+ ?sdk_ua_app_id: String,
49
+ ?secret_access_key: String,
50
+ ?session_token: String,
51
+ ?stub_responses: untyped,
52
+ ?token_provider: untyped,
53
+ ?use_dualstack_endpoint: bool,
54
+ ?use_fips_endpoint: bool,
55
+ ?validate_params: bool,
56
+ ?endpoint_provider: untyped,
57
+ ?http_proxy: String,
58
+ ?http_open_timeout: (Float | Integer),
59
+ ?http_read_timeout: (Float | Integer),
60
+ ?http_idle_timeout: (Float | Integer),
61
+ ?http_continue_timeout: (Float | Integer),
62
+ ?ssl_timeout: (Float | Integer | nil),
63
+ ?http_wire_trace: bool,
64
+ ?ssl_verify_peer: bool,
65
+ ?ssl_ca_bundle: String,
66
+ ?ssl_ca_directory: String,
67
+ ?ssl_ca_store: String,
68
+ ?on_chunk_received: Proc,
69
+ ?on_chunk_sent: Proc,
70
+ ?raise_response_errors: bool
71
+ ) -> void
72
+ | (?Hash[Symbol, untyped]) -> void
73
+
74
+ def client: () -> Client
75
+
76
+
77
+ end
78
+ end
79
+ end
data/sig/types.rbs ADDED
@@ -0,0 +1,266 @@
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::Lex
9
+ module Types
10
+
11
+ class ActiveContext
12
+ attr_accessor name: ::String
13
+ attr_accessor time_to_live: Types::ActiveContextTimeToLive
14
+ attr_accessor parameters: ::Hash[::String, ::String]
15
+ SENSITIVE: []
16
+ end
17
+
18
+ class ActiveContextTimeToLive
19
+ attr_accessor time_to_live_in_seconds: ::Integer
20
+ attr_accessor turns_to_live: ::Integer
21
+ SENSITIVE: []
22
+ end
23
+
24
+ class BadGatewayException
25
+ attr_accessor message: ::String
26
+ SENSITIVE: []
27
+ end
28
+
29
+ class BadRequestException
30
+ attr_accessor message: ::String
31
+ SENSITIVE: []
32
+ end
33
+
34
+ class Button
35
+ attr_accessor text: ::String
36
+ attr_accessor value: ::String
37
+ SENSITIVE: []
38
+ end
39
+
40
+ class ConflictException
41
+ attr_accessor message: ::String
42
+ SENSITIVE: []
43
+ end
44
+
45
+ class DeleteSessionRequest
46
+ attr_accessor bot_name: ::String
47
+ attr_accessor bot_alias: ::String
48
+ attr_accessor user_id: ::String
49
+ SENSITIVE: []
50
+ end
51
+
52
+ class DeleteSessionResponse
53
+ attr_accessor bot_name: ::String
54
+ attr_accessor bot_alias: ::String
55
+ attr_accessor user_id: ::String
56
+ attr_accessor session_id: ::String
57
+ SENSITIVE: []
58
+ end
59
+
60
+ class DependencyFailedException
61
+ attr_accessor message: ::String
62
+ SENSITIVE: []
63
+ end
64
+
65
+ class DialogAction
66
+ attr_accessor type: ("ElicitIntent" | "ConfirmIntent" | "ElicitSlot" | "Close" | "Delegate")
67
+ attr_accessor intent_name: ::String
68
+ attr_accessor slots: ::Hash[::String, ::String]
69
+ attr_accessor slot_to_elicit: ::String
70
+ attr_accessor fulfillment_state: ("Fulfilled" | "Failed" | "ReadyForFulfillment")
71
+ attr_accessor message: ::String
72
+ attr_accessor message_format: ("PlainText" | "CustomPayload" | "SSML" | "Composite")
73
+ SENSITIVE: [:slots, :message]
74
+ end
75
+
76
+ class GenericAttachment
77
+ attr_accessor title: ::String
78
+ attr_accessor sub_title: ::String
79
+ attr_accessor attachment_link_url: ::String
80
+ attr_accessor image_url: ::String
81
+ attr_accessor buttons: ::Array[Types::Button]
82
+ SENSITIVE: []
83
+ end
84
+
85
+ class GetSessionRequest
86
+ attr_accessor bot_name: ::String
87
+ attr_accessor bot_alias: ::String
88
+ attr_accessor user_id: ::String
89
+ attr_accessor checkpoint_label_filter: ::String
90
+ SENSITIVE: []
91
+ end
92
+
93
+ class GetSessionResponse
94
+ attr_accessor recent_intent_summary_view: ::Array[Types::IntentSummary]
95
+ attr_accessor session_attributes: ::Hash[::String, ::String]
96
+ attr_accessor session_id: ::String
97
+ attr_accessor dialog_action: Types::DialogAction
98
+ attr_accessor active_contexts: ::Array[Types::ActiveContext]
99
+ SENSITIVE: [:session_attributes, :active_contexts]
100
+ end
101
+
102
+ class IntentConfidence
103
+ attr_accessor score: ::Float
104
+ SENSITIVE: []
105
+ end
106
+
107
+ class IntentSummary
108
+ attr_accessor intent_name: ::String
109
+ attr_accessor checkpoint_label: ::String
110
+ attr_accessor slots: ::Hash[::String, ::String]
111
+ attr_accessor confirmation_status: ("None" | "Confirmed" | "Denied")
112
+ attr_accessor dialog_action_type: ("ElicitIntent" | "ConfirmIntent" | "ElicitSlot" | "Close" | "Delegate")
113
+ attr_accessor fulfillment_state: ("Fulfilled" | "Failed" | "ReadyForFulfillment")
114
+ attr_accessor slot_to_elicit: ::String
115
+ SENSITIVE: [:slots]
116
+ end
117
+
118
+ class InternalFailureException
119
+ attr_accessor message: ::String
120
+ SENSITIVE: []
121
+ end
122
+
123
+ class LimitExceededException
124
+ attr_accessor retry_after_seconds: ::String
125
+ attr_accessor message: ::String
126
+ SENSITIVE: []
127
+ end
128
+
129
+ class LoopDetectedException
130
+ attr_accessor message: ::String
131
+ SENSITIVE: []
132
+ end
133
+
134
+ class NotAcceptableException
135
+ attr_accessor message: ::String
136
+ SENSITIVE: []
137
+ end
138
+
139
+ class NotFoundException
140
+ attr_accessor message: ::String
141
+ SENSITIVE: []
142
+ end
143
+
144
+ class PostContentRequest
145
+ attr_accessor bot_name: ::String
146
+ attr_accessor bot_alias: ::String
147
+ attr_accessor user_id: ::String
148
+ attr_accessor session_attributes: ::String
149
+ attr_accessor request_attributes: ::String
150
+ attr_accessor content_type: ::String
151
+ attr_accessor accept: ::String
152
+ attr_accessor input_stream: ::IO
153
+ attr_accessor active_contexts: ::String
154
+ SENSITIVE: [:session_attributes, :request_attributes, :active_contexts]
155
+ end
156
+
157
+ class PostContentResponse
158
+ attr_accessor content_type: ::String
159
+ attr_accessor intent_name: ::String
160
+ attr_accessor nlu_intent_confidence: ::String
161
+ attr_accessor alternative_intents: ::String
162
+ attr_accessor slots: ::String
163
+ attr_accessor session_attributes: ::String
164
+ attr_accessor sentiment_response: ::String
165
+ attr_accessor message: ::String
166
+ attr_accessor encoded_message: ::String
167
+ attr_accessor message_format: ("PlainText" | "CustomPayload" | "SSML" | "Composite")
168
+ attr_accessor dialog_state: ("ElicitIntent" | "ConfirmIntent" | "ElicitSlot" | "Fulfilled" | "ReadyForFulfillment" | "Failed")
169
+ attr_accessor slot_to_elicit: ::String
170
+ attr_accessor input_transcript: ::String
171
+ attr_accessor encoded_input_transcript: ::String
172
+ attr_accessor audio_stream: ::IO
173
+ attr_accessor bot_version: ::String
174
+ attr_accessor session_id: ::String
175
+ attr_accessor active_contexts: ::String
176
+ SENSITIVE: [:message, :encoded_message, :encoded_input_transcript, :active_contexts]
177
+ end
178
+
179
+ class PostTextRequest
180
+ attr_accessor bot_name: ::String
181
+ attr_accessor bot_alias: ::String
182
+ attr_accessor user_id: ::String
183
+ attr_accessor session_attributes: ::Hash[::String, ::String]
184
+ attr_accessor request_attributes: ::Hash[::String, ::String]
185
+ attr_accessor input_text: ::String
186
+ attr_accessor active_contexts: ::Array[Types::ActiveContext]
187
+ SENSITIVE: [:session_attributes, :request_attributes, :input_text, :active_contexts]
188
+ end
189
+
190
+ class PostTextResponse
191
+ attr_accessor intent_name: ::String
192
+ attr_accessor nlu_intent_confidence: Types::IntentConfidence
193
+ attr_accessor alternative_intents: ::Array[Types::PredictedIntent]
194
+ attr_accessor slots: ::Hash[::String, ::String]
195
+ attr_accessor session_attributes: ::Hash[::String, ::String]
196
+ attr_accessor message: ::String
197
+ attr_accessor sentiment_response: Types::SentimentResponse
198
+ attr_accessor message_format: ("PlainText" | "CustomPayload" | "SSML" | "Composite")
199
+ attr_accessor dialog_state: ("ElicitIntent" | "ConfirmIntent" | "ElicitSlot" | "Fulfilled" | "ReadyForFulfillment" | "Failed")
200
+ attr_accessor slot_to_elicit: ::String
201
+ attr_accessor response_card: Types::ResponseCard
202
+ attr_accessor session_id: ::String
203
+ attr_accessor bot_version: ::String
204
+ attr_accessor active_contexts: ::Array[Types::ActiveContext]
205
+ SENSITIVE: [:slots, :session_attributes, :message, :active_contexts]
206
+ end
207
+
208
+ class PredictedIntent
209
+ attr_accessor intent_name: ::String
210
+ attr_accessor nlu_intent_confidence: Types::IntentConfidence
211
+ attr_accessor slots: ::Hash[::String, ::String]
212
+ SENSITIVE: [:slots]
213
+ end
214
+
215
+ class PutSessionRequest
216
+ attr_accessor bot_name: ::String
217
+ attr_accessor bot_alias: ::String
218
+ attr_accessor user_id: ::String
219
+ attr_accessor session_attributes: ::Hash[::String, ::String]
220
+ attr_accessor dialog_action: Types::DialogAction
221
+ attr_accessor recent_intent_summary_view: ::Array[Types::IntentSummary]
222
+ attr_accessor accept: ::String
223
+ attr_accessor active_contexts: ::Array[Types::ActiveContext]
224
+ SENSITIVE: [:session_attributes, :active_contexts]
225
+ end
226
+
227
+ class PutSessionResponse
228
+ attr_accessor content_type: ::String
229
+ attr_accessor intent_name: ::String
230
+ attr_accessor slots: ::String
231
+ attr_accessor session_attributes: ::String
232
+ attr_accessor message: ::String
233
+ attr_accessor encoded_message: ::String
234
+ attr_accessor message_format: ("PlainText" | "CustomPayload" | "SSML" | "Composite")
235
+ attr_accessor dialog_state: ("ElicitIntent" | "ConfirmIntent" | "ElicitSlot" | "Fulfilled" | "ReadyForFulfillment" | "Failed")
236
+ attr_accessor slot_to_elicit: ::String
237
+ attr_accessor audio_stream: ::IO
238
+ attr_accessor session_id: ::String
239
+ attr_accessor active_contexts: ::String
240
+ SENSITIVE: [:message, :encoded_message, :active_contexts]
241
+ end
242
+
243
+ class RequestTimeoutException
244
+ attr_accessor message: ::String
245
+ SENSITIVE: []
246
+ end
247
+
248
+ class ResponseCard
249
+ attr_accessor version: ::String
250
+ attr_accessor content_type: ("application/vnd.amazonaws.card.generic")
251
+ attr_accessor generic_attachments: ::Array[Types::GenericAttachment]
252
+ SENSITIVE: []
253
+ end
254
+
255
+ class SentimentResponse
256
+ attr_accessor sentiment_label: ::String
257
+ attr_accessor sentiment_score: ::String
258
+ SENSITIVE: []
259
+ end
260
+
261
+ class UnsupportedMediaTypeException
262
+ attr_accessor message: ::String
263
+ SENSITIVE: []
264
+ end
265
+ end
266
+ 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 Lex
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-lex
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.56.0
4
+ version: 1.58.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-04-25 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.193.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.193.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -66,13 +66,18 @@ files:
66
66
  - lib/aws-sdk-lex/plugins/endpoints.rb
67
67
  - lib/aws-sdk-lex/resource.rb
68
68
  - lib/aws-sdk-lex/types.rb
69
+ - sig/client.rbs
70
+ - sig/errors.rbs
71
+ - sig/resource.rbs
72
+ - sig/types.rbs
73
+ - sig/waiters.rbs
69
74
  homepage: https://github.com/aws/aws-sdk-ruby
70
75
  licenses:
71
76
  - Apache-2.0
72
77
  metadata:
73
78
  source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-lex
74
79
  changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-lex/CHANGELOG.md
75
- post_install_message:
80
+ post_install_message:
76
81
  rdoc_options: []
77
82
  require_paths:
78
83
  - lib
@@ -87,8 +92,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
87
92
  - !ruby/object:Gem::Version
88
93
  version: '0'
89
94
  requirements: []
90
- rubygems_version: 3.1.6
91
- signing_key:
95
+ rubygems_version: 3.4.10
96
+ signing_key:
92
97
  specification_version: 4
93
98
  summary: AWS SDK for Ruby - Amazon Lex Runtime Service
94
99
  test_files: []