aws-sdk-lexmodelbuildingservice 1.68.0 → 1.70.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-lexmodelbuildingservice/client.rb +70 -46
- data/lib/aws-sdk-lexmodelbuildingservice/plugins/endpoints.rb +1 -0
- data/lib/aws-sdk-lexmodelbuildingservice.rb +1 -1
- data/sig/client.rbs +933 -0
- data/sig/errors.rbs +42 -0
- data/sig/resource.rbs +79 -0
- data/sig/types.rbs +981 -0
- data/sig/waiters.rbs +13 -0
- metadata +13 -8
data/sig/client.rbs
ADDED
@@ -0,0 +1,933 @@
|
|
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 LexModelBuildingService
|
10
|
+
class Client < ::Seahorse::Client::Base
|
11
|
+
include ::Aws::ClientStubs
|
12
|
+
|
13
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LexModelBuildingService/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 _CreateBotVersionResponseSuccess
|
76
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateBotVersionResponse]
|
77
|
+
def name: () -> ::String
|
78
|
+
def description: () -> ::String
|
79
|
+
def intents: () -> ::Array[Types::Intent]
|
80
|
+
def clarification_prompt: () -> Types::Prompt
|
81
|
+
def abort_statement: () -> Types::Statement
|
82
|
+
def status: () -> ("BUILDING" | "READY" | "READY_BASIC_TESTING" | "FAILED" | "NOT_BUILT")
|
83
|
+
def failure_reason: () -> ::String
|
84
|
+
def last_updated_date: () -> ::Time
|
85
|
+
def created_date: () -> ::Time
|
86
|
+
def idle_session_ttl_in_seconds: () -> ::Integer
|
87
|
+
def voice_id: () -> ::String
|
88
|
+
def checksum: () -> ::String
|
89
|
+
def version: () -> ::String
|
90
|
+
def locale: () -> ("de-DE" | "en-AU" | "en-GB" | "en-IN" | "en-US" | "es-419" | "es-ES" | "es-US" | "fr-FR" | "fr-CA" | "it-IT" | "ja-JP" | "ko-KR")
|
91
|
+
def child_directed: () -> bool
|
92
|
+
def enable_model_improvements: () -> bool
|
93
|
+
def detect_sentiment: () -> bool
|
94
|
+
end
|
95
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LexModelBuildingService/Client.html#create_bot_version-instance_method
|
96
|
+
def create_bot_version: (
|
97
|
+
name: ::String,
|
98
|
+
?checksum: ::String
|
99
|
+
) -> _CreateBotVersionResponseSuccess
|
100
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateBotVersionResponseSuccess
|
101
|
+
|
102
|
+
interface _CreateIntentVersionResponseSuccess
|
103
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateIntentVersionResponse]
|
104
|
+
def name: () -> ::String
|
105
|
+
def description: () -> ::String
|
106
|
+
def slots: () -> ::Array[Types::Slot]
|
107
|
+
def sample_utterances: () -> ::Array[::String]
|
108
|
+
def confirmation_prompt: () -> Types::Prompt
|
109
|
+
def rejection_statement: () -> Types::Statement
|
110
|
+
def follow_up_prompt: () -> Types::FollowUpPrompt
|
111
|
+
def conclusion_statement: () -> Types::Statement
|
112
|
+
def dialog_code_hook: () -> Types::CodeHook
|
113
|
+
def fulfillment_activity: () -> Types::FulfillmentActivity
|
114
|
+
def parent_intent_signature: () -> ::String
|
115
|
+
def last_updated_date: () -> ::Time
|
116
|
+
def created_date: () -> ::Time
|
117
|
+
def version: () -> ::String
|
118
|
+
def checksum: () -> ::String
|
119
|
+
def kendra_configuration: () -> Types::KendraConfiguration
|
120
|
+
def input_contexts: () -> ::Array[Types::InputContext]
|
121
|
+
def output_contexts: () -> ::Array[Types::OutputContext]
|
122
|
+
end
|
123
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LexModelBuildingService/Client.html#create_intent_version-instance_method
|
124
|
+
def create_intent_version: (
|
125
|
+
name: ::String,
|
126
|
+
?checksum: ::String
|
127
|
+
) -> _CreateIntentVersionResponseSuccess
|
128
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateIntentVersionResponseSuccess
|
129
|
+
|
130
|
+
interface _CreateSlotTypeVersionResponseSuccess
|
131
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateSlotTypeVersionResponse]
|
132
|
+
def name: () -> ::String
|
133
|
+
def description: () -> ::String
|
134
|
+
def enumeration_values: () -> ::Array[Types::EnumerationValue]
|
135
|
+
def last_updated_date: () -> ::Time
|
136
|
+
def created_date: () -> ::Time
|
137
|
+
def version: () -> ::String
|
138
|
+
def checksum: () -> ::String
|
139
|
+
def value_selection_strategy: () -> ("ORIGINAL_VALUE" | "TOP_RESOLUTION")
|
140
|
+
def parent_slot_type_signature: () -> ::String
|
141
|
+
def slot_type_configurations: () -> ::Array[Types::SlotTypeConfiguration]
|
142
|
+
end
|
143
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LexModelBuildingService/Client.html#create_slot_type_version-instance_method
|
144
|
+
def create_slot_type_version: (
|
145
|
+
name: ::String,
|
146
|
+
?checksum: ::String
|
147
|
+
) -> _CreateSlotTypeVersionResponseSuccess
|
148
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateSlotTypeVersionResponseSuccess
|
149
|
+
|
150
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LexModelBuildingService/Client.html#delete_bot-instance_method
|
151
|
+
def delete_bot: (
|
152
|
+
name: ::String
|
153
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
154
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
155
|
+
|
156
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LexModelBuildingService/Client.html#delete_bot_alias-instance_method
|
157
|
+
def delete_bot_alias: (
|
158
|
+
name: ::String,
|
159
|
+
bot_name: ::String
|
160
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
161
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
162
|
+
|
163
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LexModelBuildingService/Client.html#delete_bot_channel_association-instance_method
|
164
|
+
def delete_bot_channel_association: (
|
165
|
+
name: ::String,
|
166
|
+
bot_name: ::String,
|
167
|
+
bot_alias: ::String
|
168
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
169
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
170
|
+
|
171
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LexModelBuildingService/Client.html#delete_bot_version-instance_method
|
172
|
+
def delete_bot_version: (
|
173
|
+
name: ::String,
|
174
|
+
version: ::String
|
175
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
176
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
177
|
+
|
178
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LexModelBuildingService/Client.html#delete_intent-instance_method
|
179
|
+
def delete_intent: (
|
180
|
+
name: ::String
|
181
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
182
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
183
|
+
|
184
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LexModelBuildingService/Client.html#delete_intent_version-instance_method
|
185
|
+
def delete_intent_version: (
|
186
|
+
name: ::String,
|
187
|
+
version: ::String
|
188
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
189
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
190
|
+
|
191
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LexModelBuildingService/Client.html#delete_slot_type-instance_method
|
192
|
+
def delete_slot_type: (
|
193
|
+
name: ::String
|
194
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
195
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
196
|
+
|
197
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LexModelBuildingService/Client.html#delete_slot_type_version-instance_method
|
198
|
+
def delete_slot_type_version: (
|
199
|
+
name: ::String,
|
200
|
+
version: ::String
|
201
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
202
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
203
|
+
|
204
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LexModelBuildingService/Client.html#delete_utterances-instance_method
|
205
|
+
def delete_utterances: (
|
206
|
+
bot_name: ::String,
|
207
|
+
user_id: ::String
|
208
|
+
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
209
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
|
210
|
+
|
211
|
+
interface _GetBotResponseSuccess
|
212
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetBotResponse]
|
213
|
+
def name: () -> ::String
|
214
|
+
def description: () -> ::String
|
215
|
+
def intents: () -> ::Array[Types::Intent]
|
216
|
+
def enable_model_improvements: () -> bool
|
217
|
+
def nlu_intent_confidence_threshold: () -> ::Float
|
218
|
+
def clarification_prompt: () -> Types::Prompt
|
219
|
+
def abort_statement: () -> Types::Statement
|
220
|
+
def status: () -> ("BUILDING" | "READY" | "READY_BASIC_TESTING" | "FAILED" | "NOT_BUILT")
|
221
|
+
def failure_reason: () -> ::String
|
222
|
+
def last_updated_date: () -> ::Time
|
223
|
+
def created_date: () -> ::Time
|
224
|
+
def idle_session_ttl_in_seconds: () -> ::Integer
|
225
|
+
def voice_id: () -> ::String
|
226
|
+
def checksum: () -> ::String
|
227
|
+
def version: () -> ::String
|
228
|
+
def locale: () -> ("de-DE" | "en-AU" | "en-GB" | "en-IN" | "en-US" | "es-419" | "es-ES" | "es-US" | "fr-FR" | "fr-CA" | "it-IT" | "ja-JP" | "ko-KR")
|
229
|
+
def child_directed: () -> bool
|
230
|
+
def detect_sentiment: () -> bool
|
231
|
+
end
|
232
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LexModelBuildingService/Client.html#get_bot-instance_method
|
233
|
+
def get_bot: (
|
234
|
+
name: ::String,
|
235
|
+
version_or_alias: ::String
|
236
|
+
) -> _GetBotResponseSuccess
|
237
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetBotResponseSuccess
|
238
|
+
|
239
|
+
interface _GetBotAliasResponseSuccess
|
240
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetBotAliasResponse]
|
241
|
+
def name: () -> ::String
|
242
|
+
def description: () -> ::String
|
243
|
+
def bot_version: () -> ::String
|
244
|
+
def bot_name: () -> ::String
|
245
|
+
def last_updated_date: () -> ::Time
|
246
|
+
def created_date: () -> ::Time
|
247
|
+
def checksum: () -> ::String
|
248
|
+
def conversation_logs: () -> Types::ConversationLogsResponse
|
249
|
+
end
|
250
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LexModelBuildingService/Client.html#get_bot_alias-instance_method
|
251
|
+
def get_bot_alias: (
|
252
|
+
name: ::String,
|
253
|
+
bot_name: ::String
|
254
|
+
) -> _GetBotAliasResponseSuccess
|
255
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetBotAliasResponseSuccess
|
256
|
+
|
257
|
+
interface _GetBotAliasesResponseSuccess
|
258
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetBotAliasesResponse]
|
259
|
+
def bot_aliases: () -> ::Array[Types::BotAliasMetadata]
|
260
|
+
def next_token: () -> ::String
|
261
|
+
end
|
262
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LexModelBuildingService/Client.html#get_bot_aliases-instance_method
|
263
|
+
def get_bot_aliases: (
|
264
|
+
bot_name: ::String,
|
265
|
+
?next_token: ::String,
|
266
|
+
?max_results: ::Integer,
|
267
|
+
?name_contains: ::String
|
268
|
+
) -> _GetBotAliasesResponseSuccess
|
269
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetBotAliasesResponseSuccess
|
270
|
+
|
271
|
+
interface _GetBotChannelAssociationResponseSuccess
|
272
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetBotChannelAssociationResponse]
|
273
|
+
def name: () -> ::String
|
274
|
+
def description: () -> ::String
|
275
|
+
def bot_alias: () -> ::String
|
276
|
+
def bot_name: () -> ::String
|
277
|
+
def created_date: () -> ::Time
|
278
|
+
def type: () -> ("Facebook" | "Slack" | "Twilio-Sms" | "Kik")
|
279
|
+
def bot_configuration: () -> ::Hash[::String, ::String]
|
280
|
+
def status: () -> ("IN_PROGRESS" | "CREATED" | "FAILED")
|
281
|
+
def failure_reason: () -> ::String
|
282
|
+
end
|
283
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LexModelBuildingService/Client.html#get_bot_channel_association-instance_method
|
284
|
+
def get_bot_channel_association: (
|
285
|
+
name: ::String,
|
286
|
+
bot_name: ::String,
|
287
|
+
bot_alias: ::String
|
288
|
+
) -> _GetBotChannelAssociationResponseSuccess
|
289
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetBotChannelAssociationResponseSuccess
|
290
|
+
|
291
|
+
interface _GetBotChannelAssociationsResponseSuccess
|
292
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetBotChannelAssociationsResponse]
|
293
|
+
def bot_channel_associations: () -> ::Array[Types::BotChannelAssociation]
|
294
|
+
def next_token: () -> ::String
|
295
|
+
end
|
296
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LexModelBuildingService/Client.html#get_bot_channel_associations-instance_method
|
297
|
+
def get_bot_channel_associations: (
|
298
|
+
bot_name: ::String,
|
299
|
+
bot_alias: ::String,
|
300
|
+
?next_token: ::String,
|
301
|
+
?max_results: ::Integer,
|
302
|
+
?name_contains: ::String
|
303
|
+
) -> _GetBotChannelAssociationsResponseSuccess
|
304
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetBotChannelAssociationsResponseSuccess
|
305
|
+
|
306
|
+
interface _GetBotVersionsResponseSuccess
|
307
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetBotVersionsResponse]
|
308
|
+
def bots: () -> ::Array[Types::BotMetadata]
|
309
|
+
def next_token: () -> ::String
|
310
|
+
end
|
311
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LexModelBuildingService/Client.html#get_bot_versions-instance_method
|
312
|
+
def get_bot_versions: (
|
313
|
+
name: ::String,
|
314
|
+
?next_token: ::String,
|
315
|
+
?max_results: ::Integer
|
316
|
+
) -> _GetBotVersionsResponseSuccess
|
317
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetBotVersionsResponseSuccess
|
318
|
+
|
319
|
+
interface _GetBotsResponseSuccess
|
320
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetBotsResponse]
|
321
|
+
def bots: () -> ::Array[Types::BotMetadata]
|
322
|
+
def next_token: () -> ::String
|
323
|
+
end
|
324
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LexModelBuildingService/Client.html#get_bots-instance_method
|
325
|
+
def get_bots: (
|
326
|
+
?next_token: ::String,
|
327
|
+
?max_results: ::Integer,
|
328
|
+
?name_contains: ::String
|
329
|
+
) -> _GetBotsResponseSuccess
|
330
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetBotsResponseSuccess
|
331
|
+
|
332
|
+
interface _GetBuiltinIntentResponseSuccess
|
333
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetBuiltinIntentResponse]
|
334
|
+
def signature: () -> ::String
|
335
|
+
def supported_locales: () -> ::Array[("de-DE" | "en-AU" | "en-GB" | "en-IN" | "en-US" | "es-419" | "es-ES" | "es-US" | "fr-FR" | "fr-CA" | "it-IT" | "ja-JP" | "ko-KR")]
|
336
|
+
def slots: () -> ::Array[Types::BuiltinIntentSlot]
|
337
|
+
end
|
338
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LexModelBuildingService/Client.html#get_builtin_intent-instance_method
|
339
|
+
def get_builtin_intent: (
|
340
|
+
signature: ::String
|
341
|
+
) -> _GetBuiltinIntentResponseSuccess
|
342
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetBuiltinIntentResponseSuccess
|
343
|
+
|
344
|
+
interface _GetBuiltinIntentsResponseSuccess
|
345
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetBuiltinIntentsResponse]
|
346
|
+
def intents: () -> ::Array[Types::BuiltinIntentMetadata]
|
347
|
+
def next_token: () -> ::String
|
348
|
+
end
|
349
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LexModelBuildingService/Client.html#get_builtin_intents-instance_method
|
350
|
+
def get_builtin_intents: (
|
351
|
+
?locale: ("de-DE" | "en-AU" | "en-GB" | "en-IN" | "en-US" | "es-419" | "es-ES" | "es-US" | "fr-FR" | "fr-CA" | "it-IT" | "ja-JP" | "ko-KR"),
|
352
|
+
?signature_contains: ::String,
|
353
|
+
?next_token: ::String,
|
354
|
+
?max_results: ::Integer
|
355
|
+
) -> _GetBuiltinIntentsResponseSuccess
|
356
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetBuiltinIntentsResponseSuccess
|
357
|
+
|
358
|
+
interface _GetBuiltinSlotTypesResponseSuccess
|
359
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetBuiltinSlotTypesResponse]
|
360
|
+
def slot_types: () -> ::Array[Types::BuiltinSlotTypeMetadata]
|
361
|
+
def next_token: () -> ::String
|
362
|
+
end
|
363
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LexModelBuildingService/Client.html#get_builtin_slot_types-instance_method
|
364
|
+
def get_builtin_slot_types: (
|
365
|
+
?locale: ("de-DE" | "en-AU" | "en-GB" | "en-IN" | "en-US" | "es-419" | "es-ES" | "es-US" | "fr-FR" | "fr-CA" | "it-IT" | "ja-JP" | "ko-KR"),
|
366
|
+
?signature_contains: ::String,
|
367
|
+
?next_token: ::String,
|
368
|
+
?max_results: ::Integer
|
369
|
+
) -> _GetBuiltinSlotTypesResponseSuccess
|
370
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetBuiltinSlotTypesResponseSuccess
|
371
|
+
|
372
|
+
interface _GetExportResponseSuccess
|
373
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetExportResponse]
|
374
|
+
def name: () -> ::String
|
375
|
+
def version: () -> ::String
|
376
|
+
def resource_type: () -> ("BOT" | "INTENT" | "SLOT_TYPE")
|
377
|
+
def export_type: () -> ("ALEXA_SKILLS_KIT" | "LEX")
|
378
|
+
def export_status: () -> ("IN_PROGRESS" | "READY" | "FAILED")
|
379
|
+
def failure_reason: () -> ::String
|
380
|
+
def url: () -> ::String
|
381
|
+
end
|
382
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LexModelBuildingService/Client.html#get_export-instance_method
|
383
|
+
def get_export: (
|
384
|
+
name: ::String,
|
385
|
+
version: ::String,
|
386
|
+
resource_type: ("BOT" | "INTENT" | "SLOT_TYPE"),
|
387
|
+
export_type: ("ALEXA_SKILLS_KIT" | "LEX")
|
388
|
+
) -> _GetExportResponseSuccess
|
389
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetExportResponseSuccess
|
390
|
+
|
391
|
+
interface _GetImportResponseSuccess
|
392
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetImportResponse]
|
393
|
+
def name: () -> ::String
|
394
|
+
def resource_type: () -> ("BOT" | "INTENT" | "SLOT_TYPE")
|
395
|
+
def merge_strategy: () -> ("OVERWRITE_LATEST" | "FAIL_ON_CONFLICT")
|
396
|
+
def import_id: () -> ::String
|
397
|
+
def import_status: () -> ("IN_PROGRESS" | "COMPLETE" | "FAILED")
|
398
|
+
def failure_reason: () -> ::Array[::String]
|
399
|
+
def created_date: () -> ::Time
|
400
|
+
end
|
401
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LexModelBuildingService/Client.html#get_import-instance_method
|
402
|
+
def get_import: (
|
403
|
+
import_id: ::String
|
404
|
+
) -> _GetImportResponseSuccess
|
405
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetImportResponseSuccess
|
406
|
+
|
407
|
+
interface _GetIntentResponseSuccess
|
408
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetIntentResponse]
|
409
|
+
def name: () -> ::String
|
410
|
+
def description: () -> ::String
|
411
|
+
def slots: () -> ::Array[Types::Slot]
|
412
|
+
def sample_utterances: () -> ::Array[::String]
|
413
|
+
def confirmation_prompt: () -> Types::Prompt
|
414
|
+
def rejection_statement: () -> Types::Statement
|
415
|
+
def follow_up_prompt: () -> Types::FollowUpPrompt
|
416
|
+
def conclusion_statement: () -> Types::Statement
|
417
|
+
def dialog_code_hook: () -> Types::CodeHook
|
418
|
+
def fulfillment_activity: () -> Types::FulfillmentActivity
|
419
|
+
def parent_intent_signature: () -> ::String
|
420
|
+
def last_updated_date: () -> ::Time
|
421
|
+
def created_date: () -> ::Time
|
422
|
+
def version: () -> ::String
|
423
|
+
def checksum: () -> ::String
|
424
|
+
def kendra_configuration: () -> Types::KendraConfiguration
|
425
|
+
def input_contexts: () -> ::Array[Types::InputContext]
|
426
|
+
def output_contexts: () -> ::Array[Types::OutputContext]
|
427
|
+
end
|
428
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LexModelBuildingService/Client.html#get_intent-instance_method
|
429
|
+
def get_intent: (
|
430
|
+
name: ::String,
|
431
|
+
version: ::String
|
432
|
+
) -> _GetIntentResponseSuccess
|
433
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetIntentResponseSuccess
|
434
|
+
|
435
|
+
interface _GetIntentVersionsResponseSuccess
|
436
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetIntentVersionsResponse]
|
437
|
+
def intents: () -> ::Array[Types::IntentMetadata]
|
438
|
+
def next_token: () -> ::String
|
439
|
+
end
|
440
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LexModelBuildingService/Client.html#get_intent_versions-instance_method
|
441
|
+
def get_intent_versions: (
|
442
|
+
name: ::String,
|
443
|
+
?next_token: ::String,
|
444
|
+
?max_results: ::Integer
|
445
|
+
) -> _GetIntentVersionsResponseSuccess
|
446
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetIntentVersionsResponseSuccess
|
447
|
+
|
448
|
+
interface _GetIntentsResponseSuccess
|
449
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetIntentsResponse]
|
450
|
+
def intents: () -> ::Array[Types::IntentMetadata]
|
451
|
+
def next_token: () -> ::String
|
452
|
+
end
|
453
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LexModelBuildingService/Client.html#get_intents-instance_method
|
454
|
+
def get_intents: (
|
455
|
+
?next_token: ::String,
|
456
|
+
?max_results: ::Integer,
|
457
|
+
?name_contains: ::String
|
458
|
+
) -> _GetIntentsResponseSuccess
|
459
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetIntentsResponseSuccess
|
460
|
+
|
461
|
+
interface _GetMigrationResponseSuccess
|
462
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetMigrationResponse]
|
463
|
+
def migration_id: () -> ::String
|
464
|
+
def v1_bot_name: () -> ::String
|
465
|
+
def v1_bot_version: () -> ::String
|
466
|
+
def v1_bot_locale: () -> ("de-DE" | "en-AU" | "en-GB" | "en-IN" | "en-US" | "es-419" | "es-ES" | "es-US" | "fr-FR" | "fr-CA" | "it-IT" | "ja-JP" | "ko-KR")
|
467
|
+
def v2_bot_id: () -> ::String
|
468
|
+
def v2_bot_role: () -> ::String
|
469
|
+
def migration_status: () -> ("IN_PROGRESS" | "COMPLETED" | "FAILED")
|
470
|
+
def migration_strategy: () -> ("CREATE_NEW" | "UPDATE_EXISTING")
|
471
|
+
def migration_timestamp: () -> ::Time
|
472
|
+
def alerts: () -> ::Array[Types::MigrationAlert]
|
473
|
+
end
|
474
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LexModelBuildingService/Client.html#get_migration-instance_method
|
475
|
+
def get_migration: (
|
476
|
+
migration_id: ::String
|
477
|
+
) -> _GetMigrationResponseSuccess
|
478
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetMigrationResponseSuccess
|
479
|
+
|
480
|
+
interface _GetMigrationsResponseSuccess
|
481
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetMigrationsResponse]
|
482
|
+
def migration_summaries: () -> ::Array[Types::MigrationSummary]
|
483
|
+
def next_token: () -> ::String
|
484
|
+
end
|
485
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LexModelBuildingService/Client.html#get_migrations-instance_method
|
486
|
+
def get_migrations: (
|
487
|
+
?sort_by_attribute: ("V1_BOT_NAME" | "MIGRATION_DATE_TIME"),
|
488
|
+
?sort_by_order: ("ASCENDING" | "DESCENDING"),
|
489
|
+
?v1_bot_name_contains: ::String,
|
490
|
+
?migration_status_equals: ("IN_PROGRESS" | "COMPLETED" | "FAILED"),
|
491
|
+
?max_results: ::Integer,
|
492
|
+
?next_token: ::String
|
493
|
+
) -> _GetMigrationsResponseSuccess
|
494
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetMigrationsResponseSuccess
|
495
|
+
|
496
|
+
interface _GetSlotTypeResponseSuccess
|
497
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetSlotTypeResponse]
|
498
|
+
def name: () -> ::String
|
499
|
+
def description: () -> ::String
|
500
|
+
def enumeration_values: () -> ::Array[Types::EnumerationValue]
|
501
|
+
def last_updated_date: () -> ::Time
|
502
|
+
def created_date: () -> ::Time
|
503
|
+
def version: () -> ::String
|
504
|
+
def checksum: () -> ::String
|
505
|
+
def value_selection_strategy: () -> ("ORIGINAL_VALUE" | "TOP_RESOLUTION")
|
506
|
+
def parent_slot_type_signature: () -> ::String
|
507
|
+
def slot_type_configurations: () -> ::Array[Types::SlotTypeConfiguration]
|
508
|
+
end
|
509
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LexModelBuildingService/Client.html#get_slot_type-instance_method
|
510
|
+
def get_slot_type: (
|
511
|
+
name: ::String,
|
512
|
+
version: ::String
|
513
|
+
) -> _GetSlotTypeResponseSuccess
|
514
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetSlotTypeResponseSuccess
|
515
|
+
|
516
|
+
interface _GetSlotTypeVersionsResponseSuccess
|
517
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetSlotTypeVersionsResponse]
|
518
|
+
def slot_types: () -> ::Array[Types::SlotTypeMetadata]
|
519
|
+
def next_token: () -> ::String
|
520
|
+
end
|
521
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LexModelBuildingService/Client.html#get_slot_type_versions-instance_method
|
522
|
+
def get_slot_type_versions: (
|
523
|
+
name: ::String,
|
524
|
+
?next_token: ::String,
|
525
|
+
?max_results: ::Integer
|
526
|
+
) -> _GetSlotTypeVersionsResponseSuccess
|
527
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetSlotTypeVersionsResponseSuccess
|
528
|
+
|
529
|
+
interface _GetSlotTypesResponseSuccess
|
530
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetSlotTypesResponse]
|
531
|
+
def slot_types: () -> ::Array[Types::SlotTypeMetadata]
|
532
|
+
def next_token: () -> ::String
|
533
|
+
end
|
534
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LexModelBuildingService/Client.html#get_slot_types-instance_method
|
535
|
+
def get_slot_types: (
|
536
|
+
?next_token: ::String,
|
537
|
+
?max_results: ::Integer,
|
538
|
+
?name_contains: ::String
|
539
|
+
) -> _GetSlotTypesResponseSuccess
|
540
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetSlotTypesResponseSuccess
|
541
|
+
|
542
|
+
interface _GetUtterancesViewResponseSuccess
|
543
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetUtterancesViewResponse]
|
544
|
+
def bot_name: () -> ::String
|
545
|
+
def utterances: () -> ::Array[Types::UtteranceList]
|
546
|
+
end
|
547
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LexModelBuildingService/Client.html#get_utterances_view-instance_method
|
548
|
+
def get_utterances_view: (
|
549
|
+
bot_name: ::String,
|
550
|
+
bot_versions: Array[::String],
|
551
|
+
status_type: ("Detected" | "Missed")
|
552
|
+
) -> _GetUtterancesViewResponseSuccess
|
553
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetUtterancesViewResponseSuccess
|
554
|
+
|
555
|
+
interface _ListTagsForResourceResponseSuccess
|
556
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse]
|
557
|
+
def tags: () -> ::Array[Types::Tag]
|
558
|
+
end
|
559
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LexModelBuildingService/Client.html#list_tags_for_resource-instance_method
|
560
|
+
def list_tags_for_resource: (
|
561
|
+
resource_arn: ::String
|
562
|
+
) -> _ListTagsForResourceResponseSuccess
|
563
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
|
564
|
+
|
565
|
+
interface _PutBotResponseSuccess
|
566
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::PutBotResponse]
|
567
|
+
def name: () -> ::String
|
568
|
+
def description: () -> ::String
|
569
|
+
def intents: () -> ::Array[Types::Intent]
|
570
|
+
def enable_model_improvements: () -> bool
|
571
|
+
def nlu_intent_confidence_threshold: () -> ::Float
|
572
|
+
def clarification_prompt: () -> Types::Prompt
|
573
|
+
def abort_statement: () -> Types::Statement
|
574
|
+
def status: () -> ("BUILDING" | "READY" | "READY_BASIC_TESTING" | "FAILED" | "NOT_BUILT")
|
575
|
+
def failure_reason: () -> ::String
|
576
|
+
def last_updated_date: () -> ::Time
|
577
|
+
def created_date: () -> ::Time
|
578
|
+
def idle_session_ttl_in_seconds: () -> ::Integer
|
579
|
+
def voice_id: () -> ::String
|
580
|
+
def checksum: () -> ::String
|
581
|
+
def version: () -> ::String
|
582
|
+
def locale: () -> ("de-DE" | "en-AU" | "en-GB" | "en-IN" | "en-US" | "es-419" | "es-ES" | "es-US" | "fr-FR" | "fr-CA" | "it-IT" | "ja-JP" | "ko-KR")
|
583
|
+
def child_directed: () -> bool
|
584
|
+
def create_version: () -> bool
|
585
|
+
def detect_sentiment: () -> bool
|
586
|
+
def tags: () -> ::Array[Types::Tag]
|
587
|
+
end
|
588
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LexModelBuildingService/Client.html#put_bot-instance_method
|
589
|
+
def put_bot: (
|
590
|
+
name: ::String,
|
591
|
+
?description: ::String,
|
592
|
+
?intents: Array[
|
593
|
+
{
|
594
|
+
intent_name: ::String,
|
595
|
+
intent_version: ::String
|
596
|
+
},
|
597
|
+
],
|
598
|
+
?enable_model_improvements: bool,
|
599
|
+
?nlu_intent_confidence_threshold: ::Float,
|
600
|
+
?clarification_prompt: {
|
601
|
+
messages: Array[
|
602
|
+
{
|
603
|
+
content_type: ("PlainText" | "SSML" | "CustomPayload"),
|
604
|
+
content: ::String,
|
605
|
+
group_number: ::Integer?
|
606
|
+
},
|
607
|
+
],
|
608
|
+
max_attempts: ::Integer,
|
609
|
+
response_card: ::String?
|
610
|
+
},
|
611
|
+
?abort_statement: {
|
612
|
+
messages: Array[
|
613
|
+
{
|
614
|
+
content_type: ("PlainText" | "SSML" | "CustomPayload"),
|
615
|
+
content: ::String,
|
616
|
+
group_number: ::Integer?
|
617
|
+
},
|
618
|
+
],
|
619
|
+
response_card: ::String?
|
620
|
+
},
|
621
|
+
?idle_session_ttl_in_seconds: ::Integer,
|
622
|
+
?voice_id: ::String,
|
623
|
+
?checksum: ::String,
|
624
|
+
?process_behavior: ("SAVE" | "BUILD"),
|
625
|
+
locale: ("de-DE" | "en-AU" | "en-GB" | "en-IN" | "en-US" | "es-419" | "es-ES" | "es-US" | "fr-FR" | "fr-CA" | "it-IT" | "ja-JP" | "ko-KR"),
|
626
|
+
child_directed: bool,
|
627
|
+
?detect_sentiment: bool,
|
628
|
+
?create_version: bool,
|
629
|
+
?tags: Array[
|
630
|
+
{
|
631
|
+
key: ::String,
|
632
|
+
value: ::String
|
633
|
+
},
|
634
|
+
]
|
635
|
+
) -> _PutBotResponseSuccess
|
636
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutBotResponseSuccess
|
637
|
+
|
638
|
+
interface _PutBotAliasResponseSuccess
|
639
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::PutBotAliasResponse]
|
640
|
+
def name: () -> ::String
|
641
|
+
def description: () -> ::String
|
642
|
+
def bot_version: () -> ::String
|
643
|
+
def bot_name: () -> ::String
|
644
|
+
def last_updated_date: () -> ::Time
|
645
|
+
def created_date: () -> ::Time
|
646
|
+
def checksum: () -> ::String
|
647
|
+
def conversation_logs: () -> Types::ConversationLogsResponse
|
648
|
+
def tags: () -> ::Array[Types::Tag]
|
649
|
+
end
|
650
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LexModelBuildingService/Client.html#put_bot_alias-instance_method
|
651
|
+
def put_bot_alias: (
|
652
|
+
name: ::String,
|
653
|
+
?description: ::String,
|
654
|
+
bot_version: ::String,
|
655
|
+
bot_name: ::String,
|
656
|
+
?checksum: ::String,
|
657
|
+
?conversation_logs: {
|
658
|
+
log_settings: Array[
|
659
|
+
{
|
660
|
+
log_type: ("AUDIO" | "TEXT"),
|
661
|
+
destination: ("CLOUDWATCH_LOGS" | "S3"),
|
662
|
+
kms_key_arn: ::String?,
|
663
|
+
resource_arn: ::String
|
664
|
+
},
|
665
|
+
],
|
666
|
+
iam_role_arn: ::String
|
667
|
+
},
|
668
|
+
?tags: Array[
|
669
|
+
{
|
670
|
+
key: ::String,
|
671
|
+
value: ::String
|
672
|
+
},
|
673
|
+
]
|
674
|
+
) -> _PutBotAliasResponseSuccess
|
675
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutBotAliasResponseSuccess
|
676
|
+
|
677
|
+
interface _PutIntentResponseSuccess
|
678
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::PutIntentResponse]
|
679
|
+
def name: () -> ::String
|
680
|
+
def description: () -> ::String
|
681
|
+
def slots: () -> ::Array[Types::Slot]
|
682
|
+
def sample_utterances: () -> ::Array[::String]
|
683
|
+
def confirmation_prompt: () -> Types::Prompt
|
684
|
+
def rejection_statement: () -> Types::Statement
|
685
|
+
def follow_up_prompt: () -> Types::FollowUpPrompt
|
686
|
+
def conclusion_statement: () -> Types::Statement
|
687
|
+
def dialog_code_hook: () -> Types::CodeHook
|
688
|
+
def fulfillment_activity: () -> Types::FulfillmentActivity
|
689
|
+
def parent_intent_signature: () -> ::String
|
690
|
+
def last_updated_date: () -> ::Time
|
691
|
+
def created_date: () -> ::Time
|
692
|
+
def version: () -> ::String
|
693
|
+
def checksum: () -> ::String
|
694
|
+
def create_version: () -> bool
|
695
|
+
def kendra_configuration: () -> Types::KendraConfiguration
|
696
|
+
def input_contexts: () -> ::Array[Types::InputContext]
|
697
|
+
def output_contexts: () -> ::Array[Types::OutputContext]
|
698
|
+
end
|
699
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LexModelBuildingService/Client.html#put_intent-instance_method
|
700
|
+
def put_intent: (
|
701
|
+
name: ::String,
|
702
|
+
?description: ::String,
|
703
|
+
?slots: Array[
|
704
|
+
{
|
705
|
+
name: ::String,
|
706
|
+
description: ::String?,
|
707
|
+
slot_constraint: ("Required" | "Optional"),
|
708
|
+
slot_type: ::String?,
|
709
|
+
slot_type_version: ::String?,
|
710
|
+
value_elicitation_prompt: {
|
711
|
+
messages: Array[
|
712
|
+
{
|
713
|
+
content_type: ("PlainText" | "SSML" | "CustomPayload"),
|
714
|
+
content: ::String,
|
715
|
+
group_number: ::Integer?
|
716
|
+
},
|
717
|
+
],
|
718
|
+
max_attempts: ::Integer,
|
719
|
+
response_card: ::String?
|
720
|
+
}?,
|
721
|
+
priority: ::Integer?,
|
722
|
+
sample_utterances: Array[::String]?,
|
723
|
+
response_card: ::String?,
|
724
|
+
obfuscation_setting: ("NONE" | "DEFAULT_OBFUSCATION")?,
|
725
|
+
default_value_spec: {
|
726
|
+
default_value_list: Array[
|
727
|
+
{
|
728
|
+
default_value: ::String
|
729
|
+
},
|
730
|
+
]
|
731
|
+
}?
|
732
|
+
},
|
733
|
+
],
|
734
|
+
?sample_utterances: Array[::String],
|
735
|
+
?confirmation_prompt: {
|
736
|
+
messages: Array[
|
737
|
+
{
|
738
|
+
content_type: ("PlainText" | "SSML" | "CustomPayload"),
|
739
|
+
content: ::String,
|
740
|
+
group_number: ::Integer?
|
741
|
+
},
|
742
|
+
],
|
743
|
+
max_attempts: ::Integer,
|
744
|
+
response_card: ::String?
|
745
|
+
},
|
746
|
+
?rejection_statement: {
|
747
|
+
messages: Array[
|
748
|
+
{
|
749
|
+
content_type: ("PlainText" | "SSML" | "CustomPayload"),
|
750
|
+
content: ::String,
|
751
|
+
group_number: ::Integer?
|
752
|
+
},
|
753
|
+
],
|
754
|
+
response_card: ::String?
|
755
|
+
},
|
756
|
+
?follow_up_prompt: {
|
757
|
+
prompt: {
|
758
|
+
messages: Array[
|
759
|
+
{
|
760
|
+
content_type: ("PlainText" | "SSML" | "CustomPayload"),
|
761
|
+
content: ::String,
|
762
|
+
group_number: ::Integer?
|
763
|
+
},
|
764
|
+
],
|
765
|
+
max_attempts: ::Integer,
|
766
|
+
response_card: ::String?
|
767
|
+
},
|
768
|
+
rejection_statement: {
|
769
|
+
messages: Array[
|
770
|
+
{
|
771
|
+
content_type: ("PlainText" | "SSML" | "CustomPayload"),
|
772
|
+
content: ::String,
|
773
|
+
group_number: ::Integer?
|
774
|
+
},
|
775
|
+
],
|
776
|
+
response_card: ::String?
|
777
|
+
}
|
778
|
+
},
|
779
|
+
?conclusion_statement: {
|
780
|
+
messages: Array[
|
781
|
+
{
|
782
|
+
content_type: ("PlainText" | "SSML" | "CustomPayload"),
|
783
|
+
content: ::String,
|
784
|
+
group_number: ::Integer?
|
785
|
+
},
|
786
|
+
],
|
787
|
+
response_card: ::String?
|
788
|
+
},
|
789
|
+
?dialog_code_hook: {
|
790
|
+
uri: ::String,
|
791
|
+
message_version: ::String
|
792
|
+
},
|
793
|
+
?fulfillment_activity: {
|
794
|
+
type: ("ReturnIntent" | "CodeHook"),
|
795
|
+
code_hook: {
|
796
|
+
uri: ::String,
|
797
|
+
message_version: ::String
|
798
|
+
}?
|
799
|
+
},
|
800
|
+
?parent_intent_signature: ::String,
|
801
|
+
?checksum: ::String,
|
802
|
+
?create_version: bool,
|
803
|
+
?kendra_configuration: {
|
804
|
+
kendra_index: ::String,
|
805
|
+
query_filter_string: ::String?,
|
806
|
+
role: ::String
|
807
|
+
},
|
808
|
+
?input_contexts: Array[
|
809
|
+
{
|
810
|
+
name: ::String
|
811
|
+
},
|
812
|
+
],
|
813
|
+
?output_contexts: Array[
|
814
|
+
{
|
815
|
+
name: ::String,
|
816
|
+
time_to_live_in_seconds: ::Integer,
|
817
|
+
turns_to_live: ::Integer
|
818
|
+
},
|
819
|
+
]
|
820
|
+
) -> _PutIntentResponseSuccess
|
821
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutIntentResponseSuccess
|
822
|
+
|
823
|
+
interface _PutSlotTypeResponseSuccess
|
824
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::PutSlotTypeResponse]
|
825
|
+
def name: () -> ::String
|
826
|
+
def description: () -> ::String
|
827
|
+
def enumeration_values: () -> ::Array[Types::EnumerationValue]
|
828
|
+
def last_updated_date: () -> ::Time
|
829
|
+
def created_date: () -> ::Time
|
830
|
+
def version: () -> ::String
|
831
|
+
def checksum: () -> ::String
|
832
|
+
def value_selection_strategy: () -> ("ORIGINAL_VALUE" | "TOP_RESOLUTION")
|
833
|
+
def create_version: () -> bool
|
834
|
+
def parent_slot_type_signature: () -> ::String
|
835
|
+
def slot_type_configurations: () -> ::Array[Types::SlotTypeConfiguration]
|
836
|
+
end
|
837
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LexModelBuildingService/Client.html#put_slot_type-instance_method
|
838
|
+
def put_slot_type: (
|
839
|
+
name: ::String,
|
840
|
+
?description: ::String,
|
841
|
+
?enumeration_values: Array[
|
842
|
+
{
|
843
|
+
value: ::String,
|
844
|
+
synonyms: Array[::String]?
|
845
|
+
},
|
846
|
+
],
|
847
|
+
?checksum: ::String,
|
848
|
+
?value_selection_strategy: ("ORIGINAL_VALUE" | "TOP_RESOLUTION"),
|
849
|
+
?create_version: bool,
|
850
|
+
?parent_slot_type_signature: ::String,
|
851
|
+
?slot_type_configurations: Array[
|
852
|
+
{
|
853
|
+
regex_configuration: {
|
854
|
+
pattern: ::String
|
855
|
+
}?
|
856
|
+
},
|
857
|
+
]
|
858
|
+
) -> _PutSlotTypeResponseSuccess
|
859
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutSlotTypeResponseSuccess
|
860
|
+
|
861
|
+
interface _StartImportResponseSuccess
|
862
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::StartImportResponse]
|
863
|
+
def name: () -> ::String
|
864
|
+
def resource_type: () -> ("BOT" | "INTENT" | "SLOT_TYPE")
|
865
|
+
def merge_strategy: () -> ("OVERWRITE_LATEST" | "FAIL_ON_CONFLICT")
|
866
|
+
def import_id: () -> ::String
|
867
|
+
def import_status: () -> ("IN_PROGRESS" | "COMPLETE" | "FAILED")
|
868
|
+
def tags: () -> ::Array[Types::Tag]
|
869
|
+
def created_date: () -> ::Time
|
870
|
+
end
|
871
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LexModelBuildingService/Client.html#start_import-instance_method
|
872
|
+
def start_import: (
|
873
|
+
payload: ::String,
|
874
|
+
resource_type: ("BOT" | "INTENT" | "SLOT_TYPE"),
|
875
|
+
merge_strategy: ("OVERWRITE_LATEST" | "FAIL_ON_CONFLICT"),
|
876
|
+
?tags: Array[
|
877
|
+
{
|
878
|
+
key: ::String,
|
879
|
+
value: ::String
|
880
|
+
},
|
881
|
+
]
|
882
|
+
) -> _StartImportResponseSuccess
|
883
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartImportResponseSuccess
|
884
|
+
|
885
|
+
interface _StartMigrationResponseSuccess
|
886
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::StartMigrationResponse]
|
887
|
+
def v1_bot_name: () -> ::String
|
888
|
+
def v1_bot_version: () -> ::String
|
889
|
+
def v1_bot_locale: () -> ("de-DE" | "en-AU" | "en-GB" | "en-IN" | "en-US" | "es-419" | "es-ES" | "es-US" | "fr-FR" | "fr-CA" | "it-IT" | "ja-JP" | "ko-KR")
|
890
|
+
def v2_bot_id: () -> ::String
|
891
|
+
def v2_bot_role: () -> ::String
|
892
|
+
def migration_id: () -> ::String
|
893
|
+
def migration_strategy: () -> ("CREATE_NEW" | "UPDATE_EXISTING")
|
894
|
+
def migration_timestamp: () -> ::Time
|
895
|
+
end
|
896
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LexModelBuildingService/Client.html#start_migration-instance_method
|
897
|
+
def start_migration: (
|
898
|
+
v1_bot_name: ::String,
|
899
|
+
v1_bot_version: ::String,
|
900
|
+
v2_bot_name: ::String,
|
901
|
+
v2_bot_role: ::String,
|
902
|
+
migration_strategy: ("CREATE_NEW" | "UPDATE_EXISTING")
|
903
|
+
) -> _StartMigrationResponseSuccess
|
904
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartMigrationResponseSuccess
|
905
|
+
|
906
|
+
interface _TagResourceResponseSuccess
|
907
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceResponse]
|
908
|
+
end
|
909
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LexModelBuildingService/Client.html#tag_resource-instance_method
|
910
|
+
def tag_resource: (
|
911
|
+
resource_arn: ::String,
|
912
|
+
tags: Array[
|
913
|
+
{
|
914
|
+
key: ::String,
|
915
|
+
value: ::String
|
916
|
+
},
|
917
|
+
]
|
918
|
+
) -> _TagResourceResponseSuccess
|
919
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TagResourceResponseSuccess
|
920
|
+
|
921
|
+
interface _UntagResourceResponseSuccess
|
922
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UntagResourceResponse]
|
923
|
+
end
|
924
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/LexModelBuildingService/Client.html#untag_resource-instance_method
|
925
|
+
def untag_resource: (
|
926
|
+
resource_arn: ::String,
|
927
|
+
tag_keys: Array[::String]
|
928
|
+
) -> _UntagResourceResponseSuccess
|
929
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
|
930
|
+
end
|
931
|
+
end
|
932
|
+
end
|
933
|
+
|