@aws-sdk/client-lex-models-v2 3.150.0 → 3.155.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.
Files changed (56) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/dist-cjs/LexModelsV2.js +15 -0
  3. package/dist-cjs/commands/CreateIntentCommand.js +3 -3
  4. package/dist-cjs/commands/CreateSlotCommand.js +3 -3
  5. package/dist-cjs/commands/DescribeIntentCommand.js +2 -1
  6. package/dist-cjs/commands/DescribeSlotCommand.js +2 -1
  7. package/dist-cjs/commands/StopBotRecommendationCommand.js +36 -0
  8. package/dist-cjs/commands/UpdateIntentCommand.js +3 -3
  9. package/dist-cjs/commands/UpdateSlotCommand.js +3 -3
  10. package/dist-cjs/commands/index.js +1 -0
  11. package/dist-cjs/models/index.js +1 -0
  12. package/dist-cjs/models/models_0.js +119 -92
  13. package/dist-cjs/models/models_1.js +59 -0
  14. package/dist-cjs/protocols/Aws_restJson1.js +584 -2
  15. package/dist-es/LexModelsV2.js +15 -0
  16. package/dist-es/commands/CreateIntentCommand.js +1 -1
  17. package/dist-es/commands/CreateSlotCommand.js +1 -1
  18. package/dist-es/commands/DescribeIntentCommand.js +2 -1
  19. package/dist-es/commands/DescribeSlotCommand.js +2 -1
  20. package/dist-es/commands/StopBotRecommendationCommand.js +39 -0
  21. package/dist-es/commands/UpdateIntentCommand.js +1 -1
  22. package/dist-es/commands/UpdateSlotCommand.js +1 -1
  23. package/dist-es/commands/index.js +1 -0
  24. package/dist-es/models/index.js +1 -0
  25. package/dist-es/models/models_0.js +43 -22
  26. package/dist-es/models/models_1.js +15 -0
  27. package/dist-es/protocols/Aws_restJson1.js +534 -8
  28. package/dist-types/LexModelsV2.d.ts +7 -0
  29. package/dist-types/LexModelsV2Client.d.ts +3 -2
  30. package/dist-types/commands/CreateIntentCommand.d.ts +1 -1
  31. package/dist-types/commands/CreateSlotCommand.d.ts +1 -1
  32. package/dist-types/commands/DescribeIntentCommand.d.ts +2 -1
  33. package/dist-types/commands/DescribeSlotCommand.d.ts +2 -1
  34. package/dist-types/commands/StopBotRecommendationCommand.d.ts +35 -0
  35. package/dist-types/commands/UpdateIntentCommand.d.ts +1 -1
  36. package/dist-types/commands/UpdateSlotCommand.d.ts +1 -1
  37. package/dist-types/commands/index.d.ts +1 -0
  38. package/dist-types/models/index.d.ts +1 -0
  39. package/dist-types/models/models_0.d.ts +686 -1079
  40. package/dist-types/models/models_1.d.ts +994 -0
  41. package/dist-types/protocols/Aws_restJson1.d.ts +3 -0
  42. package/dist-types/ts3.4/LexModelsV2.d.ts +5 -0
  43. package/dist-types/ts3.4/LexModelsV2Client.d.ts +3 -2
  44. package/dist-types/ts3.4/commands/CreateIntentCommand.d.ts +1 -1
  45. package/dist-types/ts3.4/commands/CreateSlotCommand.d.ts +1 -1
  46. package/dist-types/ts3.4/commands/DescribeIntentCommand.d.ts +2 -1
  47. package/dist-types/ts3.4/commands/DescribeSlotCommand.d.ts +2 -1
  48. package/dist-types/ts3.4/commands/StopBotRecommendationCommand.d.ts +17 -0
  49. package/dist-types/ts3.4/commands/UpdateIntentCommand.d.ts +1 -1
  50. package/dist-types/ts3.4/commands/UpdateSlotCommand.d.ts +1 -1
  51. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  52. package/dist-types/ts3.4/models/index.d.ts +1 -0
  53. package/dist-types/ts3.4/models/models_0.d.ts +260 -413
  54. package/dist-types/ts3.4/models/models_1.d.ts +415 -0
  55. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +3 -0
  56. package/package.json +4 -4
@@ -0,0 +1,415 @@
1
+ import { ConditionalSpecification, DialogCodeHookInvocationSetting, DialogCodeHookSettings, DialogState, ElicitationCodeHookInvocationSetting, FulfillmentCodeHookSettings, InputContext, IntentClosingSetting, KendraConfiguration, MultipleValuesSetting, ObfuscationSetting, OutputContext, PromptSpecification, ResponseSpecification, SampleUtterance, SlotConstraint, SlotDefaultValueSpecification, SlotPriority, WaitAndContinueSpecification } from "./models_0";
2
+
3
+ export interface InitialResponseSetting {
4
+
5
+ initialResponse?: ResponseSpecification;
6
+
7
+ nextStep?: DialogState;
8
+
9
+ conditional?: ConditionalSpecification;
10
+
11
+ codeHook?: DialogCodeHookInvocationSetting;
12
+ }
13
+
14
+ export interface SlotCaptureSetting {
15
+
16
+ captureResponse?: ResponseSpecification;
17
+
18
+ captureNextStep?: DialogState;
19
+
20
+ captureConditional?: ConditionalSpecification;
21
+
22
+ failureResponse?: ResponseSpecification;
23
+
24
+ failureNextStep?: DialogState;
25
+
26
+ failureConditional?: ConditionalSpecification;
27
+
28
+ codeHook?: DialogCodeHookInvocationSetting;
29
+
30
+ elicitationCodeHook?: ElicitationCodeHookInvocationSetting;
31
+ }
32
+
33
+ export interface SlotValueElicitationSetting {
34
+
35
+ defaultValueSpecification?: SlotDefaultValueSpecification;
36
+
37
+ slotConstraint: SlotConstraint | string | undefined;
38
+
39
+ promptSpecification?: PromptSpecification;
40
+
41
+ sampleUtterances?: SampleUtterance[];
42
+
43
+ waitAndContinueSpecification?: WaitAndContinueSpecification;
44
+
45
+ slotCaptureSetting?: SlotCaptureSetting;
46
+ }
47
+
48
+ export interface IntentConfirmationSetting {
49
+
50
+ promptSpecification: PromptSpecification | undefined;
51
+
52
+ declinationResponse?: ResponseSpecification;
53
+
54
+ active?: boolean;
55
+
56
+ confirmationResponse?: ResponseSpecification;
57
+
58
+ confirmationNextStep?: DialogState;
59
+
60
+ confirmationConditional?: ConditionalSpecification;
61
+
62
+ declinationNextStep?: DialogState;
63
+
64
+ declinationConditional?: ConditionalSpecification;
65
+
66
+ failureResponse?: ResponseSpecification;
67
+
68
+ failureNextStep?: DialogState;
69
+
70
+ failureConditional?: ConditionalSpecification;
71
+
72
+ codeHook?: DialogCodeHookInvocationSetting;
73
+
74
+ elicitationCodeHook?: ElicitationCodeHookInvocationSetting;
75
+ }
76
+ export interface CreateSlotRequest {
77
+
78
+ slotName: string | undefined;
79
+
80
+ description?: string;
81
+
82
+ slotTypeId?: string;
83
+
84
+ valueElicitationSetting: SlotValueElicitationSetting | undefined;
85
+
86
+ obfuscationSetting?: ObfuscationSetting;
87
+
88
+ botId: string | undefined;
89
+
90
+ botVersion: string | undefined;
91
+
92
+ localeId: string | undefined;
93
+
94
+ intentId: string | undefined;
95
+
96
+ multipleValuesSetting?: MultipleValuesSetting;
97
+ }
98
+ export interface CreateSlotResponse {
99
+
100
+ slotId?: string;
101
+
102
+ slotName?: string;
103
+
104
+ description?: string;
105
+
106
+ slotTypeId?: string;
107
+
108
+ valueElicitationSetting?: SlotValueElicitationSetting;
109
+
110
+ obfuscationSetting?: ObfuscationSetting;
111
+
112
+ botId?: string;
113
+
114
+ botVersion?: string;
115
+
116
+ localeId?: string;
117
+
118
+ intentId?: string;
119
+
120
+ creationDateTime?: Date;
121
+
122
+ multipleValuesSetting?: MultipleValuesSetting;
123
+ }
124
+ export interface DescribeSlotResponse {
125
+
126
+ slotId?: string;
127
+
128
+ slotName?: string;
129
+
130
+ description?: string;
131
+
132
+ slotTypeId?: string;
133
+
134
+ valueElicitationSetting?: SlotValueElicitationSetting;
135
+
136
+ obfuscationSetting?: ObfuscationSetting;
137
+
138
+ botId?: string;
139
+
140
+ botVersion?: string;
141
+
142
+ localeId?: string;
143
+
144
+ intentId?: string;
145
+
146
+ creationDateTime?: Date;
147
+
148
+ lastUpdatedDateTime?: Date;
149
+
150
+ multipleValuesSetting?: MultipleValuesSetting;
151
+ }
152
+ export interface UpdateSlotRequest {
153
+
154
+ slotId: string | undefined;
155
+
156
+ slotName: string | undefined;
157
+
158
+ description?: string;
159
+
160
+ slotTypeId?: string;
161
+
162
+ valueElicitationSetting: SlotValueElicitationSetting | undefined;
163
+
164
+ obfuscationSetting?: ObfuscationSetting;
165
+
166
+ botId: string | undefined;
167
+
168
+ botVersion: string | undefined;
169
+
170
+ localeId: string | undefined;
171
+
172
+ intentId: string | undefined;
173
+
174
+ multipleValuesSetting?: MultipleValuesSetting;
175
+ }
176
+ export interface UpdateSlotResponse {
177
+
178
+ slotId?: string;
179
+
180
+ slotName?: string;
181
+
182
+ description?: string;
183
+
184
+ slotTypeId?: string;
185
+
186
+ valueElicitationSetting?: SlotValueElicitationSetting;
187
+
188
+ obfuscationSetting?: ObfuscationSetting;
189
+
190
+ botId?: string;
191
+
192
+ botVersion?: string;
193
+
194
+ localeId?: string;
195
+
196
+ intentId?: string;
197
+
198
+ creationDateTime?: Date;
199
+
200
+ lastUpdatedDateTime?: Date;
201
+
202
+ multipleValuesSetting?: MultipleValuesSetting;
203
+ }
204
+ export interface CreateIntentRequest {
205
+
206
+ intentName: string | undefined;
207
+
208
+ description?: string;
209
+
210
+ parentIntentSignature?: string;
211
+
212
+ sampleUtterances?: SampleUtterance[];
213
+
214
+ dialogCodeHook?: DialogCodeHookSettings;
215
+
216
+ fulfillmentCodeHook?: FulfillmentCodeHookSettings;
217
+
218
+ intentConfirmationSetting?: IntentConfirmationSetting;
219
+
220
+ intentClosingSetting?: IntentClosingSetting;
221
+
222
+ inputContexts?: InputContext[];
223
+
224
+ outputContexts?: OutputContext[];
225
+
226
+ kendraConfiguration?: KendraConfiguration;
227
+
228
+ botId: string | undefined;
229
+
230
+ botVersion: string | undefined;
231
+
232
+ localeId: string | undefined;
233
+
234
+ initialResponseSetting?: InitialResponseSetting;
235
+ }
236
+ export interface CreateIntentResponse {
237
+
238
+ intentId?: string;
239
+
240
+ intentName?: string;
241
+
242
+ description?: string;
243
+
244
+ parentIntentSignature?: string;
245
+
246
+ sampleUtterances?: SampleUtterance[];
247
+
248
+ dialogCodeHook?: DialogCodeHookSettings;
249
+
250
+ fulfillmentCodeHook?: FulfillmentCodeHookSettings;
251
+
252
+ intentConfirmationSetting?: IntentConfirmationSetting;
253
+
254
+ intentClosingSetting?: IntentClosingSetting;
255
+
256
+ inputContexts?: InputContext[];
257
+
258
+ outputContexts?: OutputContext[];
259
+
260
+ kendraConfiguration?: KendraConfiguration;
261
+
262
+ botId?: string;
263
+
264
+ botVersion?: string;
265
+
266
+ localeId?: string;
267
+
268
+ creationDateTime?: Date;
269
+
270
+ initialResponseSetting?: InitialResponseSetting;
271
+ }
272
+ export interface DescribeIntentResponse {
273
+
274
+ intentId?: string;
275
+
276
+ intentName?: string;
277
+
278
+ description?: string;
279
+
280
+ parentIntentSignature?: string;
281
+
282
+ sampleUtterances?: SampleUtterance[];
283
+
284
+ dialogCodeHook?: DialogCodeHookSettings;
285
+
286
+ fulfillmentCodeHook?: FulfillmentCodeHookSettings;
287
+
288
+ slotPriorities?: SlotPriority[];
289
+
290
+ intentConfirmationSetting?: IntentConfirmationSetting;
291
+
292
+ intentClosingSetting?: IntentClosingSetting;
293
+
294
+ inputContexts?: InputContext[];
295
+
296
+ outputContexts?: OutputContext[];
297
+
298
+ kendraConfiguration?: KendraConfiguration;
299
+
300
+ botId?: string;
301
+
302
+ botVersion?: string;
303
+
304
+ localeId?: string;
305
+
306
+ creationDateTime?: Date;
307
+
308
+ lastUpdatedDateTime?: Date;
309
+
310
+ initialResponseSetting?: InitialResponseSetting;
311
+ }
312
+ export interface UpdateIntentRequest {
313
+
314
+ intentId: string | undefined;
315
+
316
+ intentName: string | undefined;
317
+
318
+ description?: string;
319
+
320
+ parentIntentSignature?: string;
321
+
322
+ sampleUtterances?: SampleUtterance[];
323
+
324
+ dialogCodeHook?: DialogCodeHookSettings;
325
+
326
+ fulfillmentCodeHook?: FulfillmentCodeHookSettings;
327
+
328
+ slotPriorities?: SlotPriority[];
329
+
330
+ intentConfirmationSetting?: IntentConfirmationSetting;
331
+
332
+ intentClosingSetting?: IntentClosingSetting;
333
+
334
+ inputContexts?: InputContext[];
335
+
336
+ outputContexts?: OutputContext[];
337
+
338
+ kendraConfiguration?: KendraConfiguration;
339
+
340
+ botId: string | undefined;
341
+
342
+ botVersion: string | undefined;
343
+
344
+ localeId: string | undefined;
345
+
346
+ initialResponseSetting?: InitialResponseSetting;
347
+ }
348
+ export interface UpdateIntentResponse {
349
+
350
+ intentId?: string;
351
+
352
+ intentName?: string;
353
+
354
+ description?: string;
355
+
356
+ parentIntentSignature?: string;
357
+
358
+ sampleUtterances?: SampleUtterance[];
359
+
360
+ dialogCodeHook?: DialogCodeHookSettings;
361
+
362
+ fulfillmentCodeHook?: FulfillmentCodeHookSettings;
363
+
364
+ slotPriorities?: SlotPriority[];
365
+
366
+ intentConfirmationSetting?: IntentConfirmationSetting;
367
+
368
+ intentClosingSetting?: IntentClosingSetting;
369
+
370
+ inputContexts?: InputContext[];
371
+
372
+ outputContexts?: OutputContext[];
373
+
374
+ kendraConfiguration?: KendraConfiguration;
375
+
376
+ botId?: string;
377
+
378
+ botVersion?: string;
379
+
380
+ localeId?: string;
381
+
382
+ creationDateTime?: Date;
383
+
384
+ lastUpdatedDateTime?: Date;
385
+
386
+ initialResponseSetting?: InitialResponseSetting;
387
+ }
388
+
389
+ export declare const InitialResponseSettingFilterSensitiveLog: (obj: InitialResponseSetting) => any;
390
+
391
+ export declare const SlotCaptureSettingFilterSensitiveLog: (obj: SlotCaptureSetting) => any;
392
+
393
+ export declare const SlotValueElicitationSettingFilterSensitiveLog: (obj: SlotValueElicitationSetting) => any;
394
+
395
+ export declare const IntentConfirmationSettingFilterSensitiveLog: (obj: IntentConfirmationSetting) => any;
396
+
397
+ export declare const CreateSlotRequestFilterSensitiveLog: (obj: CreateSlotRequest) => any;
398
+
399
+ export declare const CreateSlotResponseFilterSensitiveLog: (obj: CreateSlotResponse) => any;
400
+
401
+ export declare const DescribeSlotResponseFilterSensitiveLog: (obj: DescribeSlotResponse) => any;
402
+
403
+ export declare const UpdateSlotRequestFilterSensitiveLog: (obj: UpdateSlotRequest) => any;
404
+
405
+ export declare const UpdateSlotResponseFilterSensitiveLog: (obj: UpdateSlotResponse) => any;
406
+
407
+ export declare const CreateIntentRequestFilterSensitiveLog: (obj: CreateIntentRequest) => any;
408
+
409
+ export declare const CreateIntentResponseFilterSensitiveLog: (obj: CreateIntentResponse) => any;
410
+
411
+ export declare const DescribeIntentResponseFilterSensitiveLog: (obj: DescribeIntentResponse) => any;
412
+
413
+ export declare const UpdateIntentRequestFilterSensitiveLog: (obj: UpdateIntentRequest) => any;
414
+
415
+ export declare const UpdateIntentResponseFilterSensitiveLog: (obj: UpdateIntentResponse) => any;
@@ -55,6 +55,7 @@ import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } fro
55
55
  import { SearchAssociatedTranscriptsCommandInput, SearchAssociatedTranscriptsCommandOutput } from "../commands/SearchAssociatedTranscriptsCommand";
56
56
  import { StartBotRecommendationCommandInput, StartBotRecommendationCommandOutput } from "../commands/StartBotRecommendationCommand";
57
57
  import { StartImportCommandInput, StartImportCommandOutput } from "../commands/StartImportCommand";
58
+ import { StopBotRecommendationCommandInput, StopBotRecommendationCommandOutput } from "../commands/StopBotRecommendationCommand";
58
59
  import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/TagResourceCommand";
59
60
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../commands/UntagResourceCommand";
60
61
  import { UpdateBotAliasCommandInput, UpdateBotAliasCommandOutput } from "../commands/UpdateBotAliasCommand";
@@ -121,6 +122,7 @@ export declare const serializeAws_restJson1ListTagsForResourceCommand: (input: L
121
122
  export declare const serializeAws_restJson1SearchAssociatedTranscriptsCommand: (input: SearchAssociatedTranscriptsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
122
123
  export declare const serializeAws_restJson1StartBotRecommendationCommand: (input: StartBotRecommendationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
123
124
  export declare const serializeAws_restJson1StartImportCommand: (input: StartImportCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
125
+ export declare const serializeAws_restJson1StopBotRecommendationCommand: (input: StopBotRecommendationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
124
126
  export declare const serializeAws_restJson1TagResourceCommand: (input: TagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
125
127
  export declare const serializeAws_restJson1UntagResourceCommand: (input: UntagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
126
128
  export declare const serializeAws_restJson1UpdateBotCommand: (input: UpdateBotCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
@@ -187,6 +189,7 @@ export declare const deserializeAws_restJson1ListTagsForResourceCommand: (output
187
189
  export declare const deserializeAws_restJson1SearchAssociatedTranscriptsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<SearchAssociatedTranscriptsCommandOutput>;
188
190
  export declare const deserializeAws_restJson1StartBotRecommendationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<StartBotRecommendationCommandOutput>;
189
191
  export declare const deserializeAws_restJson1StartImportCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<StartImportCommandOutput>;
192
+ export declare const deserializeAws_restJson1StopBotRecommendationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<StopBotRecommendationCommandOutput>;
190
193
  export declare const deserializeAws_restJson1TagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<TagResourceCommandOutput>;
191
194
  export declare const deserializeAws_restJson1UntagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UntagResourceCommandOutput>;
192
195
  export declare const deserializeAws_restJson1UpdateBotCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateBotCommandOutput>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-lex-models-v2",
3
3
  "description": "AWS SDK for JavaScript Lex Models V2 Client for Node.js, Browser and React Native",
4
- "version": "3.150.0",
4
+ "version": "3.155.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -18,9 +18,9 @@
18
18
  "dependencies": {
19
19
  "@aws-crypto/sha256-browser": "2.0.0",
20
20
  "@aws-crypto/sha256-js": "2.0.0",
21
- "@aws-sdk/client-sts": "3.150.0",
21
+ "@aws-sdk/client-sts": "3.154.0",
22
22
  "@aws-sdk/config-resolver": "3.130.0",
23
- "@aws-sdk/credential-provider-node": "3.150.0",
23
+ "@aws-sdk/credential-provider-node": "3.154.0",
24
24
  "@aws-sdk/fetch-http-handler": "3.131.0",
25
25
  "@aws-sdk/hash-node": "3.127.0",
26
26
  "@aws-sdk/invalid-dependency": "3.127.0",
@@ -41,7 +41,7 @@
41
41
  "@aws-sdk/url-parser": "3.127.0",
42
42
  "@aws-sdk/util-base64-browser": "3.109.0",
43
43
  "@aws-sdk/util-base64-node": "3.55.0",
44
- "@aws-sdk/util-body-length-browser": "3.55.0",
44
+ "@aws-sdk/util-body-length-browser": "3.154.0",
45
45
  "@aws-sdk/util-body-length-node": "3.55.0",
46
46
  "@aws-sdk/util-defaults-mode-browser": "3.142.0",
47
47
  "@aws-sdk/util-defaults-mode-node": "3.142.0",