aws-sdk-lex 1.56.0 → 1.57.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-lex/client.rb +1 -1
- data/lib/aws-sdk-lex/plugins/endpoints.rb +1 -0
- data/lib/aws-sdk-lex.rb +1 -1
- data/sig/client.rbs +237 -0
- data/sig/errors.rbs +50 -0
- data/sig/resource.rbs +79 -0
- data/sig/types.rbs +266 -0
- data/sig/waiters.rbs +13 -0
- metadata +13 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b1070ffecd11c5df7dccc5054730c8a1b8afa50389e51a30acbae206156e6475
|
4
|
+
data.tar.gz: c8004134c706cf5b7a3c756244ebaea9b42cfd4ce52515a2de4ce72ce9727788
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 32bb8555c1de07e48f2834c80a4db60b142dd4ae434eba63df70c7615932c7446ef7f787ee9b9a334fe29b4b9f89b038104e6b11e829c66e95c2b84497dc213b
|
7
|
+
data.tar.gz: b8a2aefb14914fdcc40e278e3f7e0c005f0a4da12a1287b9850659bc34adaf8d90e6322f4af499933a0df147129aefe6d127b5eae6a5fa1bd13d054c3e805204
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.57.0
|
data/lib/aws-sdk-lex/client.rb
CHANGED
@@ -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
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.
|
4
|
+
version: 1.57.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:
|
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.
|
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.
|
32
|
+
version: 3.191.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.
|
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: []
|