@aws-sdk/client-lex-models-v2 3.300.0 → 3.303.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.
- package/dist-cjs/models/models_0.js +254 -309
- package/dist-es/models/models_0.js +254 -309
- package/dist-types/commands/BatchCreateCustomVocabularyItemCommand.d.ts +3 -3
- package/dist-types/commands/BatchDeleteCustomVocabularyItemCommand.d.ts +3 -3
- package/dist-types/commands/BatchUpdateCustomVocabularyItemCommand.d.ts +3 -3
- package/dist-types/commands/BuildBotLocaleCommand.d.ts +1 -1
- package/dist-types/commands/CreateBotAliasCommand.d.ts +16 -16
- package/dist-types/commands/CreateBotCommand.d.ts +5 -5
- package/dist-types/commands/CreateBotLocaleCommand.d.ts +2 -2
- package/dist-types/commands/CreateBotVersionCommand.d.ts +3 -3
- package/dist-types/commands/CreateExportCommand.d.ts +5 -5
- package/dist-types/commands/CreateIntentCommand.d.ts +112 -390
- package/dist-types/commands/CreateResourcePolicyCommand.d.ts +1 -1
- package/dist-types/commands/CreateResourcePolicyStatementCommand.d.ts +6 -6
- package/dist-types/commands/CreateSlotCommand.d.ts +91 -237
- package/dist-types/commands/CreateSlotTypeCommand.d.ts +14 -14
- package/dist-types/commands/DeleteBotAliasCommand.d.ts +1 -1
- package/dist-types/commands/DeleteBotCommand.d.ts +1 -1
- package/dist-types/commands/DeleteBotLocaleCommand.d.ts +1 -1
- package/dist-types/commands/DeleteBotVersionCommand.d.ts +1 -1
- package/dist-types/commands/DeleteCustomVocabularyCommand.d.ts +1 -1
- package/dist-types/commands/DeleteExportCommand.d.ts +1 -1
- package/dist-types/commands/DeleteImportCommand.d.ts +1 -1
- package/dist-types/commands/DeleteIntentCommand.d.ts +1 -1
- package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +1 -1
- package/dist-types/commands/DeleteResourcePolicyStatementCommand.d.ts +1 -1
- package/dist-types/commands/DeleteSlotCommand.d.ts +1 -1
- package/dist-types/commands/DeleteSlotTypeCommand.d.ts +1 -1
- package/dist-types/commands/DeleteUtterancesCommand.d.ts +1 -1
- package/dist-types/commands/DescribeBotAliasCommand.d.ts +1 -1
- package/dist-types/commands/DescribeBotCommand.d.ts +1 -1
- package/dist-types/commands/DescribeBotLocaleCommand.d.ts +1 -1
- package/dist-types/commands/DescribeBotRecommendationCommand.d.ts +1 -1
- package/dist-types/commands/DescribeBotVersionCommand.d.ts +1 -1
- package/dist-types/commands/DescribeCustomVocabularyMetadataCommand.d.ts +1 -1
- package/dist-types/commands/DescribeExportCommand.d.ts +1 -1
- package/dist-types/commands/DescribeImportCommand.d.ts +1 -1
- package/dist-types/commands/DescribeIntentCommand.d.ts +1 -1
- package/dist-types/commands/DescribeResourcePolicyCommand.d.ts +1 -1
- package/dist-types/commands/DescribeSlotCommand.d.ts +1 -1
- package/dist-types/commands/DescribeSlotTypeCommand.d.ts +1 -1
- package/dist-types/commands/ListAggregatedUtterancesCommand.d.ts +7 -7
- package/dist-types/commands/ListBotAliasesCommand.d.ts +1 -1
- package/dist-types/commands/ListBotLocalesCommand.d.ts +5 -5
- package/dist-types/commands/ListBotRecommendationsCommand.d.ts +1 -1
- package/dist-types/commands/ListBotVersionsCommand.d.ts +2 -2
- package/dist-types/commands/ListBotsCommand.d.ts +5 -5
- package/dist-types/commands/ListBuiltInIntentsCommand.d.ts +2 -2
- package/dist-types/commands/ListBuiltInSlotTypesCommand.d.ts +2 -2
- package/dist-types/commands/ListCustomVocabularyItemsCommand.d.ts +1 -1
- package/dist-types/commands/ListExportsCommand.d.ts +5 -5
- package/dist-types/commands/ListImportsCommand.d.ts +5 -5
- package/dist-types/commands/ListIntentsCommand.d.ts +5 -5
- package/dist-types/commands/ListRecommendedIntentsCommand.d.ts +1 -1
- package/dist-types/commands/ListSlotTypesCommand.d.ts +5 -5
- package/dist-types/commands/ListSlotsCommand.d.ts +5 -5
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/SearchAssociatedTranscriptsCommand.d.ts +4 -4
- package/dist-types/commands/StartBotRecommendationCommand.d.ts +9 -9
- package/dist-types/commands/StartImportCommand.d.ts +8 -8
- package/dist-types/commands/StopBotRecommendationCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +2 -2
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
- package/dist-types/commands/UpdateBotAliasCommand.d.ts +15 -15
- package/dist-types/commands/UpdateBotCommand.d.ts +4 -4
- package/dist-types/commands/UpdateBotLocaleCommand.d.ts +2 -2
- package/dist-types/commands/UpdateBotRecommendationCommand.d.ts +2 -2
- package/dist-types/commands/UpdateExportCommand.d.ts +1 -1
- package/dist-types/commands/UpdateIntentCommand.d.ts +114 -392
- package/dist-types/commands/UpdateResourcePolicyCommand.d.ts +1 -1
- package/dist-types/commands/UpdateSlotCommand.d.ts +91 -237
- package/dist-types/commands/UpdateSlotTypeCommand.d.ts +14 -14
- package/dist-types/models/models_0.d.ts +529 -254
- package/dist-types/ts3.4/models/models_0.d.ts +350 -254
- package/package.json +35 -35
|
@@ -27,7 +27,7 @@ export interface CreateResourcePolicyCommandOutput extends CreateResourcePolicyR
|
|
|
27
27
|
* import { LexModelsV2Client, CreateResourcePolicyCommand } from "@aws-sdk/client-lex-models-v2"; // ES Modules import
|
|
28
28
|
* // const { LexModelsV2Client, CreateResourcePolicyCommand } = require("@aws-sdk/client-lex-models-v2"); // CommonJS import
|
|
29
29
|
* const client = new LexModelsV2Client(config);
|
|
30
|
-
* const input = {
|
|
30
|
+
* const input = { // CreateResourcePolicyRequest
|
|
31
31
|
* resourceArn: "STRING_VALUE", // required
|
|
32
32
|
* policy: "STRING_VALUE", // required
|
|
33
33
|
* };
|
|
@@ -30,21 +30,21 @@ export interface CreateResourcePolicyStatementCommandOutput extends CreateResour
|
|
|
30
30
|
* import { LexModelsV2Client, CreateResourcePolicyStatementCommand } from "@aws-sdk/client-lex-models-v2"; // ES Modules import
|
|
31
31
|
* // const { LexModelsV2Client, CreateResourcePolicyStatementCommand } = require("@aws-sdk/client-lex-models-v2"); // CommonJS import
|
|
32
32
|
* const client = new LexModelsV2Client(config);
|
|
33
|
-
* const input = {
|
|
33
|
+
* const input = { // CreateResourcePolicyStatementRequest
|
|
34
34
|
* resourceArn: "STRING_VALUE", // required
|
|
35
35
|
* statementId: "STRING_VALUE", // required
|
|
36
36
|
* effect: "Allow" || "Deny", // required
|
|
37
|
-
* principal: [ // required
|
|
38
|
-
* {
|
|
37
|
+
* principal: [ // PrincipalList // required
|
|
38
|
+
* { // Principal
|
|
39
39
|
* service: "STRING_VALUE",
|
|
40
40
|
* arn: "STRING_VALUE",
|
|
41
41
|
* },
|
|
42
42
|
* ],
|
|
43
|
-
* action: [ // required
|
|
43
|
+
* action: [ // OperationList // required
|
|
44
44
|
* "STRING_VALUE",
|
|
45
45
|
* ],
|
|
46
|
-
* condition: {
|
|
47
|
-
* "<keys>": {
|
|
46
|
+
* condition: { // ConditionMap
|
|
47
|
+
* "<keys>": { // ConditionKeyValueMap
|
|
48
48
|
* "<keys>": "STRING_VALUE",
|
|
49
49
|
* },
|
|
50
50
|
* },
|
|
@@ -30,45 +30,45 @@ export interface CreateSlotCommandOutput extends CreateSlotResponse, __MetadataB
|
|
|
30
30
|
* import { LexModelsV2Client, CreateSlotCommand } from "@aws-sdk/client-lex-models-v2"; // ES Modules import
|
|
31
31
|
* // const { LexModelsV2Client, CreateSlotCommand } = require("@aws-sdk/client-lex-models-v2"); // CommonJS import
|
|
32
32
|
* const client = new LexModelsV2Client(config);
|
|
33
|
-
* const input = {
|
|
33
|
+
* const input = { // CreateSlotRequest
|
|
34
34
|
* slotName: "STRING_VALUE", // required
|
|
35
35
|
* description: "STRING_VALUE",
|
|
36
36
|
* slotTypeId: "STRING_VALUE",
|
|
37
|
-
* valueElicitationSetting: {
|
|
38
|
-
* defaultValueSpecification: {
|
|
39
|
-
* defaultValueList: [ // required
|
|
40
|
-
* {
|
|
37
|
+
* valueElicitationSetting: { // SlotValueElicitationSetting
|
|
38
|
+
* defaultValueSpecification: { // SlotDefaultValueSpecification
|
|
39
|
+
* defaultValueList: [ // SlotDefaultValueList // required
|
|
40
|
+
* { // SlotDefaultValue
|
|
41
41
|
* defaultValue: "STRING_VALUE", // required
|
|
42
42
|
* },
|
|
43
43
|
* ],
|
|
44
44
|
* },
|
|
45
45
|
* slotConstraint: "Required" || "Optional", // required
|
|
46
|
-
* promptSpecification: {
|
|
47
|
-
* messageGroups: [ // required
|
|
48
|
-
* {
|
|
49
|
-
* message: {
|
|
50
|
-
* plainTextMessage: {
|
|
46
|
+
* promptSpecification: { // PromptSpecification
|
|
47
|
+
* messageGroups: [ // MessageGroupsList // required
|
|
48
|
+
* { // MessageGroup
|
|
49
|
+
* message: { // Message
|
|
50
|
+
* plainTextMessage: { // PlainTextMessage
|
|
51
51
|
* value: "STRING_VALUE", // required
|
|
52
52
|
* },
|
|
53
|
-
* customPayload: {
|
|
53
|
+
* customPayload: { // CustomPayload
|
|
54
54
|
* value: "STRING_VALUE", // required
|
|
55
55
|
* },
|
|
56
|
-
* ssmlMessage: {
|
|
56
|
+
* ssmlMessage: { // SSMLMessage
|
|
57
57
|
* value: "STRING_VALUE", // required
|
|
58
58
|
* },
|
|
59
|
-
* imageResponseCard: {
|
|
59
|
+
* imageResponseCard: { // ImageResponseCard
|
|
60
60
|
* title: "STRING_VALUE", // required
|
|
61
61
|
* subtitle: "STRING_VALUE",
|
|
62
62
|
* imageUrl: "STRING_VALUE",
|
|
63
|
-
* buttons: [
|
|
64
|
-
* {
|
|
63
|
+
* buttons: [ // ButtonsList
|
|
64
|
+
* { // Button
|
|
65
65
|
* text: "STRING_VALUE", // required
|
|
66
66
|
* value: "STRING_VALUE", // required
|
|
67
67
|
* },
|
|
68
68
|
* ],
|
|
69
69
|
* },
|
|
70
70
|
* },
|
|
71
|
-
* variations: [
|
|
71
|
+
* variations: [ // MessageVariationsList
|
|
72
72
|
* {
|
|
73
73
|
* plainTextMessage: {
|
|
74
74
|
* value: "STRING_VALUE", // required
|
|
@@ -97,39 +97,39 @@ export interface CreateSlotCommandOutput extends CreateSlotResponse, __MetadataB
|
|
|
97
97
|
* maxRetries: Number("int"), // required
|
|
98
98
|
* allowInterrupt: true || false,
|
|
99
99
|
* messageSelectionStrategy: "Random" || "Ordered",
|
|
100
|
-
* promptAttemptsSpecification: {
|
|
101
|
-
* "<keys>": {
|
|
100
|
+
* promptAttemptsSpecification: { // PromptAttemptsSpecificationMap
|
|
101
|
+
* "<keys>": { // PromptAttemptSpecification
|
|
102
102
|
* allowInterrupt: true || false,
|
|
103
|
-
* allowedInputTypes: {
|
|
103
|
+
* allowedInputTypes: { // AllowedInputTypes
|
|
104
104
|
* allowAudioInput: true || false, // required
|
|
105
105
|
* allowDTMFInput: true || false, // required
|
|
106
106
|
* },
|
|
107
|
-
* audioAndDTMFInputSpecification: {
|
|
107
|
+
* audioAndDTMFInputSpecification: { // AudioAndDTMFInputSpecification
|
|
108
108
|
* startTimeoutMs: Number("int"), // required
|
|
109
|
-
* audioSpecification: {
|
|
109
|
+
* audioSpecification: { // AudioSpecification
|
|
110
110
|
* maxLengthMs: Number("int"), // required
|
|
111
111
|
* endTimeoutMs: Number("int"), // required
|
|
112
112
|
* },
|
|
113
|
-
* dtmfSpecification: {
|
|
113
|
+
* dtmfSpecification: { // DTMFSpecification
|
|
114
114
|
* maxLength: Number("int"), // required
|
|
115
115
|
* endTimeoutMs: Number("int"), // required
|
|
116
116
|
* deletionCharacter: "STRING_VALUE", // required
|
|
117
117
|
* endCharacter: "STRING_VALUE", // required
|
|
118
118
|
* },
|
|
119
119
|
* },
|
|
120
|
-
* textInputSpecification: {
|
|
120
|
+
* textInputSpecification: { // TextInputSpecification
|
|
121
121
|
* startTimeoutMs: Number("int"), // required
|
|
122
122
|
* },
|
|
123
123
|
* },
|
|
124
124
|
* },
|
|
125
125
|
* },
|
|
126
|
-
* sampleUtterances: [
|
|
127
|
-
* {
|
|
126
|
+
* sampleUtterances: [ // SampleUtterancesList
|
|
127
|
+
* { // SampleUtterance
|
|
128
128
|
* utterance: "STRING_VALUE", // required
|
|
129
129
|
* },
|
|
130
130
|
* ],
|
|
131
|
-
* waitAndContinueSpecification: {
|
|
132
|
-
* waitingResponse: {
|
|
131
|
+
* waitAndContinueSpecification: { // WaitAndContinueSpecification
|
|
132
|
+
* waitingResponse: { // ResponseSpecification
|
|
133
133
|
* messageGroups: [ // required
|
|
134
134
|
* {
|
|
135
135
|
* message: {
|
|
@@ -155,12 +155,7 @@ export interface CreateSlotCommandOutput extends CreateSlotResponse, __MetadataB
|
|
|
155
155
|
* },
|
|
156
156
|
* },
|
|
157
157
|
* variations: [
|
|
158
|
-
*
|
|
159
|
-
* plainTextMessage: "<Message>",
|
|
160
|
-
* customPayload: "<Message>",
|
|
161
|
-
* ssmlMessage: "<Message>",
|
|
162
|
-
* imageResponseCard: "<Message>",
|
|
163
|
-
* },
|
|
158
|
+
* "<Message>",
|
|
164
159
|
* ],
|
|
165
160
|
* },
|
|
166
161
|
* ],
|
|
@@ -169,40 +164,20 @@ export interface CreateSlotCommandOutput extends CreateSlotResponse, __MetadataB
|
|
|
169
164
|
* continueResponse: {
|
|
170
165
|
* messageGroups: [ // required
|
|
171
166
|
* {
|
|
172
|
-
* message:
|
|
173
|
-
* plainTextMessage: "<Message>",
|
|
174
|
-
* customPayload: "<Message>",
|
|
175
|
-
* ssmlMessage: "<Message>",
|
|
176
|
-
* imageResponseCard: "<Message>",
|
|
177
|
-
* },
|
|
167
|
+
* message: "<Message>", // required
|
|
178
168
|
* variations: [
|
|
179
|
-
*
|
|
180
|
-
* plainTextMessage: "<Message>",
|
|
181
|
-
* customPayload: "<Message>",
|
|
182
|
-
* ssmlMessage: "<Message>",
|
|
183
|
-
* imageResponseCard: "<Message>",
|
|
184
|
-
* },
|
|
169
|
+
* "<Message>",
|
|
185
170
|
* ],
|
|
186
171
|
* },
|
|
187
172
|
* ],
|
|
188
173
|
* allowInterrupt: true || false,
|
|
189
174
|
* },
|
|
190
|
-
* stillWaitingResponse: {
|
|
175
|
+
* stillWaitingResponse: { // StillWaitingResponseSpecification
|
|
191
176
|
* messageGroups: [ // required
|
|
192
177
|
* {
|
|
193
|
-
* message:
|
|
194
|
-
* plainTextMessage: "<Message>",
|
|
195
|
-
* customPayload: "<Message>",
|
|
196
|
-
* ssmlMessage: "<Message>",
|
|
197
|
-
* imageResponseCard: "<Message>",
|
|
198
|
-
* },
|
|
178
|
+
* message: "<Message>", // required
|
|
199
179
|
* variations: [
|
|
200
|
-
*
|
|
201
|
-
* plainTextMessage: "<Message>",
|
|
202
|
-
* customPayload: "<Message>",
|
|
203
|
-
* ssmlMessage: "<Message>",
|
|
204
|
-
* imageResponseCard: "<Message>",
|
|
205
|
-
* },
|
|
180
|
+
* "<Message>",
|
|
206
181
|
* ],
|
|
207
182
|
* },
|
|
208
183
|
* ],
|
|
@@ -212,70 +187,56 @@ export interface CreateSlotCommandOutput extends CreateSlotResponse, __MetadataB
|
|
|
212
187
|
* },
|
|
213
188
|
* active: true || false,
|
|
214
189
|
* },
|
|
215
|
-
* slotCaptureSetting: {
|
|
190
|
+
* slotCaptureSetting: { // SlotCaptureSetting
|
|
216
191
|
* captureResponse: {
|
|
217
192
|
* messageGroups: [ // required
|
|
218
193
|
* {
|
|
219
|
-
* message:
|
|
220
|
-
* plainTextMessage: "<Message>",
|
|
221
|
-
* customPayload: "<Message>",
|
|
222
|
-
* ssmlMessage: "<Message>",
|
|
223
|
-
* imageResponseCard: "<Message>",
|
|
224
|
-
* },
|
|
194
|
+
* message: "<Message>", // required
|
|
225
195
|
* variations: [
|
|
226
|
-
*
|
|
227
|
-
* plainTextMessage: "<Message>",
|
|
228
|
-
* customPayload: "<Message>",
|
|
229
|
-
* ssmlMessage: "<Message>",
|
|
230
|
-
* imageResponseCard: "<Message>",
|
|
231
|
-
* },
|
|
196
|
+
* "<Message>",
|
|
232
197
|
* ],
|
|
233
198
|
* },
|
|
234
199
|
* ],
|
|
235
200
|
* allowInterrupt: true || false,
|
|
236
201
|
* },
|
|
237
|
-
* captureNextStep: {
|
|
238
|
-
* dialogAction: {
|
|
202
|
+
* captureNextStep: { // DialogState
|
|
203
|
+
* dialogAction: { // DialogAction
|
|
239
204
|
* type: "ElicitIntent" || "StartIntent" || "ElicitSlot" || "EvaluateConditional" || "InvokeDialogCodeHook" || "ConfirmIntent" || "FulfillIntent" || "CloseIntent" || "EndConversation", // required
|
|
240
205
|
* slotToElicit: "STRING_VALUE",
|
|
241
206
|
* suppressNextMessage: true || false,
|
|
242
207
|
* },
|
|
243
|
-
* intent: {
|
|
208
|
+
* intent: { // IntentOverride
|
|
244
209
|
* name: "STRING_VALUE",
|
|
245
|
-
* slots: {
|
|
246
|
-
* "<keys>": {
|
|
210
|
+
* slots: { // SlotValueOverrideMap
|
|
211
|
+
* "<keys>": { // SlotValueOverride
|
|
247
212
|
* shape: "Scalar" || "List",
|
|
248
|
-
* value: {
|
|
213
|
+
* value: { // SlotValue
|
|
249
214
|
* interpretedValue: "STRING_VALUE",
|
|
250
215
|
* },
|
|
251
|
-
* values: [
|
|
216
|
+
* values: [ // SlotValues
|
|
252
217
|
* {
|
|
253
218
|
* shape: "Scalar" || "List",
|
|
254
219
|
* value: {
|
|
255
220
|
* interpretedValue: "STRING_VALUE",
|
|
256
221
|
* },
|
|
257
222
|
* values: [
|
|
258
|
-
*
|
|
259
|
-
* shape: "<SlotValueOverride>",
|
|
260
|
-
* value: "<SlotValueOverride>",
|
|
261
|
-
* values: "<SlotValueOverride>",
|
|
262
|
-
* },
|
|
223
|
+
* "<SlotValueOverride>",
|
|
263
224
|
* ],
|
|
264
225
|
* },
|
|
265
226
|
* ],
|
|
266
227
|
* },
|
|
267
228
|
* },
|
|
268
229
|
* },
|
|
269
|
-
* sessionAttributes: {
|
|
230
|
+
* sessionAttributes: { // StringMap
|
|
270
231
|
* "<keys>": "STRING_VALUE",
|
|
271
232
|
* },
|
|
272
233
|
* },
|
|
273
|
-
* captureConditional: {
|
|
234
|
+
* captureConditional: { // ConditionalSpecification
|
|
274
235
|
* active: true || false, // required
|
|
275
|
-
* conditionalBranches: [ // required
|
|
276
|
-
* {
|
|
236
|
+
* conditionalBranches: [ // ConditionalBranches // required
|
|
237
|
+
* { // ConditionalBranch
|
|
277
238
|
* name: "STRING_VALUE", // required
|
|
278
|
-
* condition: {
|
|
239
|
+
* condition: { // Condition
|
|
279
240
|
* expressionString: "STRING_VALUE", // required
|
|
280
241
|
* },
|
|
281
242
|
* nextStep: {
|
|
@@ -287,11 +248,7 @@ export interface CreateSlotCommandOutput extends CreateSlotResponse, __MetadataB
|
|
|
287
248
|
* intent: {
|
|
288
249
|
* name: "STRING_VALUE",
|
|
289
250
|
* slots: {
|
|
290
|
-
* "<keys>":
|
|
291
|
-
* shape: "<SlotValueOverride>",
|
|
292
|
-
* value: "<SlotValueOverride>",
|
|
293
|
-
* values: "<SlotValueOverride>",
|
|
294
|
-
* },
|
|
251
|
+
* "<keys>": "<SlotValueOverride>",
|
|
295
252
|
* },
|
|
296
253
|
* },
|
|
297
254
|
* sessionAttributes: {
|
|
@@ -299,34 +256,18 @@ export interface CreateSlotCommandOutput extends CreateSlotResponse, __MetadataB
|
|
|
299
256
|
* },
|
|
300
257
|
* },
|
|
301
258
|
* response: {
|
|
302
|
-
* messageGroups:
|
|
303
|
-
* "<MessageGroupsList>",
|
|
304
|
-
* ],
|
|
259
|
+
* messageGroups: "<MessageGroupsList>", // required
|
|
305
260
|
* allowInterrupt: true || false,
|
|
306
261
|
* },
|
|
307
262
|
* },
|
|
308
263
|
* ],
|
|
309
|
-
* defaultBranch: {
|
|
310
|
-
* nextStep:
|
|
311
|
-
*
|
|
312
|
-
* intent: "<DialogState>",
|
|
313
|
-
* sessionAttributes: "<DialogState>",
|
|
314
|
-
* },
|
|
315
|
-
* response: {
|
|
316
|
-
* messageGroups: "<ResponseSpecification>",
|
|
317
|
-
* allowInterrupt: "<ResponseSpecification>",
|
|
318
|
-
* },
|
|
264
|
+
* defaultBranch: { // DefaultConditionalBranch
|
|
265
|
+
* nextStep: "<DialogState>",
|
|
266
|
+
* response: "<ResponseSpecification>",
|
|
319
267
|
* },
|
|
320
268
|
* },
|
|
321
|
-
* failureResponse:
|
|
322
|
-
*
|
|
323
|
-
* allowInterrupt: "<ResponseSpecification>",
|
|
324
|
-
* },
|
|
325
|
-
* failureNextStep: {
|
|
326
|
-
* dialogAction: "<DialogState>",
|
|
327
|
-
* intent: "<DialogState>",
|
|
328
|
-
* sessionAttributes: "<DialogState>",
|
|
329
|
-
* },
|
|
269
|
+
* failureResponse: "<ResponseSpecification>",
|
|
270
|
+
* failureNextStep: "<DialogState>",
|
|
330
271
|
* failureConditional: {
|
|
331
272
|
* active: true || false, // required
|
|
332
273
|
* conditionalBranches: [ // required
|
|
@@ -335,43 +276,22 @@ export interface CreateSlotCommandOutput extends CreateSlotResponse, __MetadataB
|
|
|
335
276
|
* condition: {
|
|
336
277
|
* expressionString: "STRING_VALUE", // required
|
|
337
278
|
* },
|
|
338
|
-
* nextStep:
|
|
339
|
-
*
|
|
340
|
-
* intent: "<DialogState>",
|
|
341
|
-
* sessionAttributes: "<DialogState>",
|
|
342
|
-
* },
|
|
343
|
-
* response: {
|
|
344
|
-
* messageGroups: "<ResponseSpecification>",
|
|
345
|
-
* allowInterrupt: "<ResponseSpecification>",
|
|
346
|
-
* },
|
|
279
|
+
* nextStep: "<DialogState>", // required
|
|
280
|
+
* response: "<ResponseSpecification>",
|
|
347
281
|
* },
|
|
348
282
|
* ],
|
|
349
283
|
* defaultBranch: {
|
|
350
|
-
* nextStep:
|
|
351
|
-
*
|
|
352
|
-
* intent: "<DialogState>",
|
|
353
|
-
* sessionAttributes: "<DialogState>",
|
|
354
|
-
* },
|
|
355
|
-
* response: {
|
|
356
|
-
* messageGroups: "<ResponseSpecification>",
|
|
357
|
-
* allowInterrupt: "<ResponseSpecification>",
|
|
358
|
-
* },
|
|
284
|
+
* nextStep: "<DialogState>",
|
|
285
|
+
* response: "<ResponseSpecification>",
|
|
359
286
|
* },
|
|
360
287
|
* },
|
|
361
|
-
* codeHook: {
|
|
288
|
+
* codeHook: { // DialogCodeHookInvocationSetting
|
|
362
289
|
* enableCodeHookInvocation: true || false, // required
|
|
363
290
|
* active: true || false, // required
|
|
364
291
|
* invocationLabel: "STRING_VALUE",
|
|
365
|
-
* postCodeHookSpecification: {
|
|
366
|
-
* successResponse:
|
|
367
|
-
*
|
|
368
|
-
* allowInterrupt: "<ResponseSpecification>",
|
|
369
|
-
* },
|
|
370
|
-
* successNextStep: {
|
|
371
|
-
* dialogAction: "<DialogState>",
|
|
372
|
-
* intent: "<DialogState>",
|
|
373
|
-
* sessionAttributes: "<DialogState>",
|
|
374
|
-
* },
|
|
292
|
+
* postCodeHookSpecification: { // PostDialogCodeHookInvocationSpecification
|
|
293
|
+
* successResponse: "<ResponseSpecification>",
|
|
294
|
+
* successNextStep: "<DialogState>",
|
|
375
295
|
* successConditional: {
|
|
376
296
|
* active: true || false, // required
|
|
377
297
|
* conditionalBranches: [ // required
|
|
@@ -380,38 +300,17 @@ export interface CreateSlotCommandOutput extends CreateSlotResponse, __MetadataB
|
|
|
380
300
|
* condition: {
|
|
381
301
|
* expressionString: "STRING_VALUE", // required
|
|
382
302
|
* },
|
|
383
|
-
* nextStep:
|
|
384
|
-
*
|
|
385
|
-
* intent: "<DialogState>",
|
|
386
|
-
* sessionAttributes: "<DialogState>",
|
|
387
|
-
* },
|
|
388
|
-
* response: {
|
|
389
|
-
* messageGroups: "<ResponseSpecification>",
|
|
390
|
-
* allowInterrupt: "<ResponseSpecification>",
|
|
391
|
-
* },
|
|
303
|
+
* nextStep: "<DialogState>", // required
|
|
304
|
+
* response: "<ResponseSpecification>",
|
|
392
305
|
* },
|
|
393
306
|
* ],
|
|
394
307
|
* defaultBranch: {
|
|
395
|
-
* nextStep:
|
|
396
|
-
*
|
|
397
|
-
* intent: "<DialogState>",
|
|
398
|
-
* sessionAttributes: "<DialogState>",
|
|
399
|
-
* },
|
|
400
|
-
* response: {
|
|
401
|
-
* messageGroups: "<ResponseSpecification>",
|
|
402
|
-
* allowInterrupt: "<ResponseSpecification>",
|
|
403
|
-
* },
|
|
308
|
+
* nextStep: "<DialogState>",
|
|
309
|
+
* response: "<ResponseSpecification>",
|
|
404
310
|
* },
|
|
405
311
|
* },
|
|
406
|
-
* failureResponse:
|
|
407
|
-
*
|
|
408
|
-
* allowInterrupt: "<ResponseSpecification>",
|
|
409
|
-
* },
|
|
410
|
-
* failureNextStep: {
|
|
411
|
-
* dialogAction: "<DialogState>",
|
|
412
|
-
* intent: "<DialogState>",
|
|
413
|
-
* sessionAttributes: "<DialogState>",
|
|
414
|
-
* },
|
|
312
|
+
* failureResponse: "<ResponseSpecification>",
|
|
313
|
+
* failureNextStep: "<DialogState>",
|
|
415
314
|
* failureConditional: {
|
|
416
315
|
* active: true || false, // required
|
|
417
316
|
* conditionalBranches: [ // required
|
|
@@ -420,38 +319,17 @@ export interface CreateSlotCommandOutput extends CreateSlotResponse, __MetadataB
|
|
|
420
319
|
* condition: {
|
|
421
320
|
* expressionString: "STRING_VALUE", // required
|
|
422
321
|
* },
|
|
423
|
-
* nextStep:
|
|
424
|
-
*
|
|
425
|
-
* intent: "<DialogState>",
|
|
426
|
-
* sessionAttributes: "<DialogState>",
|
|
427
|
-
* },
|
|
428
|
-
* response: {
|
|
429
|
-
* messageGroups: "<ResponseSpecification>",
|
|
430
|
-
* allowInterrupt: "<ResponseSpecification>",
|
|
431
|
-
* },
|
|
322
|
+
* nextStep: "<DialogState>", // required
|
|
323
|
+
* response: "<ResponseSpecification>",
|
|
432
324
|
* },
|
|
433
325
|
* ],
|
|
434
326
|
* defaultBranch: {
|
|
435
|
-
* nextStep:
|
|
436
|
-
*
|
|
437
|
-
* intent: "<DialogState>",
|
|
438
|
-
* sessionAttributes: "<DialogState>",
|
|
439
|
-
* },
|
|
440
|
-
* response: {
|
|
441
|
-
* messageGroups: "<ResponseSpecification>",
|
|
442
|
-
* allowInterrupt: "<ResponseSpecification>",
|
|
443
|
-
* },
|
|
327
|
+
* nextStep: "<DialogState>",
|
|
328
|
+
* response: "<ResponseSpecification>",
|
|
444
329
|
* },
|
|
445
330
|
* },
|
|
446
|
-
* timeoutResponse:
|
|
447
|
-
*
|
|
448
|
-
* allowInterrupt: "<ResponseSpecification>",
|
|
449
|
-
* },
|
|
450
|
-
* timeoutNextStep: {
|
|
451
|
-
* dialogAction: "<DialogState>",
|
|
452
|
-
* intent: "<DialogState>",
|
|
453
|
-
* sessionAttributes: "<DialogState>",
|
|
454
|
-
* },
|
|
331
|
+
* timeoutResponse: "<ResponseSpecification>",
|
|
332
|
+
* timeoutNextStep: "<DialogState>",
|
|
455
333
|
* timeoutConditional: {
|
|
456
334
|
* active: true || false, // required
|
|
457
335
|
* conditionalBranches: [ // required
|
|
@@ -460,53 +338,39 @@ export interface CreateSlotCommandOutput extends CreateSlotResponse, __MetadataB
|
|
|
460
338
|
* condition: {
|
|
461
339
|
* expressionString: "STRING_VALUE", // required
|
|
462
340
|
* },
|
|
463
|
-
* nextStep:
|
|
464
|
-
*
|
|
465
|
-
* intent: "<DialogState>",
|
|
466
|
-
* sessionAttributes: "<DialogState>",
|
|
467
|
-
* },
|
|
468
|
-
* response: {
|
|
469
|
-
* messageGroups: "<ResponseSpecification>",
|
|
470
|
-
* allowInterrupt: "<ResponseSpecification>",
|
|
471
|
-
* },
|
|
341
|
+
* nextStep: "<DialogState>", // required
|
|
342
|
+
* response: "<ResponseSpecification>",
|
|
472
343
|
* },
|
|
473
344
|
* ],
|
|
474
345
|
* defaultBranch: {
|
|
475
|
-
* nextStep:
|
|
476
|
-
*
|
|
477
|
-
* intent: "<DialogState>",
|
|
478
|
-
* sessionAttributes: "<DialogState>",
|
|
479
|
-
* },
|
|
480
|
-
* response: {
|
|
481
|
-
* messageGroups: "<ResponseSpecification>",
|
|
482
|
-
* allowInterrupt: "<ResponseSpecification>",
|
|
483
|
-
* },
|
|
346
|
+
* nextStep: "<DialogState>",
|
|
347
|
+
* response: "<ResponseSpecification>",
|
|
484
348
|
* },
|
|
485
349
|
* },
|
|
486
350
|
* },
|
|
487
351
|
* },
|
|
488
|
-
* elicitationCodeHook: {
|
|
352
|
+
* elicitationCodeHook: { // ElicitationCodeHookInvocationSetting
|
|
489
353
|
* enableCodeHookInvocation: true || false, // required
|
|
490
354
|
* invocationLabel: "STRING_VALUE",
|
|
491
355
|
* },
|
|
492
356
|
* },
|
|
493
357
|
* },
|
|
494
|
-
* obfuscationSetting: {
|
|
358
|
+
* obfuscationSetting: { // ObfuscationSetting
|
|
495
359
|
* obfuscationSettingType: "None" || "DefaultObfuscation", // required
|
|
496
360
|
* },
|
|
497
361
|
* botId: "STRING_VALUE", // required
|
|
498
362
|
* botVersion: "STRING_VALUE", // required
|
|
499
363
|
* localeId: "STRING_VALUE", // required
|
|
500
364
|
* intentId: "STRING_VALUE", // required
|
|
501
|
-
* multipleValuesSetting: {
|
|
365
|
+
* multipleValuesSetting: { // MultipleValuesSetting
|
|
502
366
|
* allowMultipleValues: true || false,
|
|
503
367
|
* },
|
|
504
|
-
* subSlotSetting: {
|
|
368
|
+
* subSlotSetting: { // SubSlotSetting
|
|
505
369
|
* expression: "STRING_VALUE",
|
|
506
|
-
* slotSpecifications: {
|
|
507
|
-
* "<keys>": {
|
|
370
|
+
* slotSpecifications: { // SubSlotSpecificationMap
|
|
371
|
+
* "<keys>": { // Specifications
|
|
508
372
|
* slotTypeId: "STRING_VALUE", // required
|
|
509
|
-
* valueElicitationSetting: {
|
|
373
|
+
* valueElicitationSetting: { // SubSlotValueElicitationSetting
|
|
510
374
|
* defaultValueSpecification: {
|
|
511
375
|
* defaultValueList: [ // required
|
|
512
376
|
* {
|
|
@@ -515,9 +379,7 @@ export interface CreateSlotCommandOutput extends CreateSlotResponse, __MetadataB
|
|
|
515
379
|
* ],
|
|
516
380
|
* },
|
|
517
381
|
* promptSpecification: {
|
|
518
|
-
* messageGroups:
|
|
519
|
-
* "<MessageGroupsList>",
|
|
520
|
-
* ],
|
|
382
|
+
* messageGroups: "<MessageGroupsList>", // required
|
|
521
383
|
* maxRetries: Number("int"), // required
|
|
522
384
|
* allowInterrupt: true || false,
|
|
523
385
|
* messageSelectionStrategy: "Random" || "Ordered",
|
|
@@ -553,18 +415,10 @@ export interface CreateSlotCommandOutput extends CreateSlotResponse, __MetadataB
|
|
|
553
415
|
* },
|
|
554
416
|
* ],
|
|
555
417
|
* waitAndContinueSpecification: {
|
|
556
|
-
* waitingResponse:
|
|
557
|
-
*
|
|
558
|
-
* allowInterrupt: "<ResponseSpecification>",
|
|
559
|
-
* },
|
|
560
|
-
* continueResponse: {
|
|
561
|
-
* messageGroups: "<ResponseSpecification>",
|
|
562
|
-
* allowInterrupt: "<ResponseSpecification>",
|
|
563
|
-
* },
|
|
418
|
+
* waitingResponse: "<ResponseSpecification>", // required
|
|
419
|
+
* continueResponse: "<ResponseSpecification>", // required
|
|
564
420
|
* stillWaitingResponse: {
|
|
565
|
-
* messageGroups:
|
|
566
|
-
* "<MessageGroupsList>",
|
|
567
|
-
* ],
|
|
421
|
+
* messageGroups: "<MessageGroupsList>", // required
|
|
568
422
|
* frequencyInSeconds: Number("int"), // required
|
|
569
423
|
* timeoutInSeconds: Number("int"), // required
|
|
570
424
|
* allowInterrupt: true || false,
|
|
@@ -29,27 +29,27 @@ export interface CreateSlotTypeCommandOutput extends CreateSlotTypeResponse, __M
|
|
|
29
29
|
* import { LexModelsV2Client, CreateSlotTypeCommand } from "@aws-sdk/client-lex-models-v2"; // ES Modules import
|
|
30
30
|
* // const { LexModelsV2Client, CreateSlotTypeCommand } = require("@aws-sdk/client-lex-models-v2"); // CommonJS import
|
|
31
31
|
* const client = new LexModelsV2Client(config);
|
|
32
|
-
* const input = {
|
|
32
|
+
* const input = { // CreateSlotTypeRequest
|
|
33
33
|
* slotTypeName: "STRING_VALUE", // required
|
|
34
34
|
* description: "STRING_VALUE",
|
|
35
|
-
* slotTypeValues: [
|
|
36
|
-
* {
|
|
37
|
-
* sampleValue: {
|
|
35
|
+
* slotTypeValues: [ // SlotTypeValues
|
|
36
|
+
* { // SlotTypeValue
|
|
37
|
+
* sampleValue: { // SampleValue
|
|
38
38
|
* value: "STRING_VALUE", // required
|
|
39
39
|
* },
|
|
40
|
-
* synonyms: [
|
|
40
|
+
* synonyms: [ // SynonymList
|
|
41
41
|
* {
|
|
42
42
|
* value: "STRING_VALUE", // required
|
|
43
43
|
* },
|
|
44
44
|
* ],
|
|
45
45
|
* },
|
|
46
46
|
* ],
|
|
47
|
-
* valueSelectionSetting: {
|
|
47
|
+
* valueSelectionSetting: { // SlotValueSelectionSetting
|
|
48
48
|
* resolutionStrategy: "OriginalValue" || "TopResolution" || "Concatenation", // required
|
|
49
|
-
* regexFilter: {
|
|
49
|
+
* regexFilter: { // SlotValueRegexFilter
|
|
50
50
|
* pattern: "STRING_VALUE", // required
|
|
51
51
|
* },
|
|
52
|
-
* advancedRecognitionSetting: {
|
|
52
|
+
* advancedRecognitionSetting: { // AdvancedRecognitionSetting
|
|
53
53
|
* audioRecognitionStrategy: "UseSlotValuesAsCustomVocabulary",
|
|
54
54
|
* },
|
|
55
55
|
* },
|
|
@@ -57,18 +57,18 @@ export interface CreateSlotTypeCommandOutput extends CreateSlotTypeResponse, __M
|
|
|
57
57
|
* botId: "STRING_VALUE", // required
|
|
58
58
|
* botVersion: "STRING_VALUE", // required
|
|
59
59
|
* localeId: "STRING_VALUE", // required
|
|
60
|
-
* externalSourceSetting: {
|
|
61
|
-
* grammarSlotTypeSetting: {
|
|
62
|
-
* source: {
|
|
60
|
+
* externalSourceSetting: { // ExternalSourceSetting
|
|
61
|
+
* grammarSlotTypeSetting: { // GrammarSlotTypeSetting
|
|
62
|
+
* source: { // GrammarSlotTypeSource
|
|
63
63
|
* s3BucketName: "STRING_VALUE", // required
|
|
64
64
|
* s3ObjectKey: "STRING_VALUE", // required
|
|
65
65
|
* kmsKeyArn: "STRING_VALUE",
|
|
66
66
|
* },
|
|
67
67
|
* },
|
|
68
68
|
* },
|
|
69
|
-
* compositeSlotTypeSetting: {
|
|
70
|
-
* subSlots: [
|
|
71
|
-
* {
|
|
69
|
+
* compositeSlotTypeSetting: { // CompositeSlotTypeSetting
|
|
70
|
+
* subSlots: [ // SubSlotTypeList
|
|
71
|
+
* { // SubSlotTypeComposition
|
|
72
72
|
* name: "STRING_VALUE", // required
|
|
73
73
|
* slotTypeId: "STRING_VALUE", // required
|
|
74
74
|
* },
|
|
@@ -26,7 +26,7 @@ export interface DeleteBotAliasCommandOutput extends DeleteBotAliasResponse, __M
|
|
|
26
26
|
* import { LexModelsV2Client, DeleteBotAliasCommand } from "@aws-sdk/client-lex-models-v2"; // ES Modules import
|
|
27
27
|
* // const { LexModelsV2Client, DeleteBotAliasCommand } = require("@aws-sdk/client-lex-models-v2"); // CommonJS import
|
|
28
28
|
* const client = new LexModelsV2Client(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // DeleteBotAliasRequest
|
|
30
30
|
* botAliasId: "STRING_VALUE", // required
|
|
31
31
|
* botId: "STRING_VALUE", // required
|
|
32
32
|
* skipResourceInUseCheck: true || false,
|