@aws-sdk/client-lex-models-v2 3.299.0 → 3.301.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 (72) hide show
  1. package/dist-types/commands/BatchCreateCustomVocabularyItemCommand.d.ts +12 -0
  2. package/dist-types/commands/BatchDeleteCustomVocabularyItemCommand.d.ts +10 -0
  3. package/dist-types/commands/BatchUpdateCustomVocabularyItemCommand.d.ts +13 -0
  4. package/dist-types/commands/BuildBotLocaleCommand.d.ts +5 -0
  5. package/dist-types/commands/CreateBotAliasCommand.d.ts +48 -0
  6. package/dist-types/commands/CreateBotCommand.d.ts +25 -0
  7. package/dist-types/commands/CreateBotLocaleCommand.d.ts +11 -0
  8. package/dist-types/commands/CreateBotVersionCommand.d.ts +9 -0
  9. package/dist-types/commands/CreateExportCommand.d.ts +20 -0
  10. package/dist-types/commands/CreateIntentCommand.d.ts +430 -0
  11. package/dist-types/commands/CreateResourcePolicyCommand.d.ts +4 -0
  12. package/dist-types/commands/CreateResourcePolicyStatementCommand.d.ts +20 -0
  13. package/dist-types/commands/CreateSlotCommand.d.ts +400 -0
  14. package/dist-types/commands/CreateSlotTypeCommand.d.ts +46 -0
  15. package/dist-types/commands/CreateUploadUrlCommand.d.ts +1 -0
  16. package/dist-types/commands/DeleteBotAliasCommand.d.ts +5 -0
  17. package/dist-types/commands/DeleteBotCommand.d.ts +4 -0
  18. package/dist-types/commands/DeleteBotLocaleCommand.d.ts +5 -0
  19. package/dist-types/commands/DeleteBotVersionCommand.d.ts +5 -0
  20. package/dist-types/commands/DeleteCustomVocabularyCommand.d.ts +5 -0
  21. package/dist-types/commands/DeleteExportCommand.d.ts +3 -0
  22. package/dist-types/commands/DeleteImportCommand.d.ts +3 -0
  23. package/dist-types/commands/DeleteIntentCommand.d.ts +6 -0
  24. package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +4 -0
  25. package/dist-types/commands/DeleteResourcePolicyStatementCommand.d.ts +5 -0
  26. package/dist-types/commands/DeleteSlotCommand.d.ts +7 -0
  27. package/dist-types/commands/DeleteSlotTypeCommand.d.ts +7 -0
  28. package/dist-types/commands/DeleteUtterancesCommand.d.ts +5 -0
  29. package/dist-types/commands/DescribeBotAliasCommand.d.ts +4 -0
  30. package/dist-types/commands/DescribeBotCommand.d.ts +3 -0
  31. package/dist-types/commands/DescribeBotLocaleCommand.d.ts +5 -0
  32. package/dist-types/commands/DescribeBotRecommendationCommand.d.ts +6 -0
  33. package/dist-types/commands/DescribeBotVersionCommand.d.ts +4 -0
  34. package/dist-types/commands/DescribeCustomVocabularyMetadataCommand.d.ts +5 -0
  35. package/dist-types/commands/DescribeExportCommand.d.ts +3 -0
  36. package/dist-types/commands/DescribeImportCommand.d.ts +3 -0
  37. package/dist-types/commands/DescribeIntentCommand.d.ts +6 -0
  38. package/dist-types/commands/DescribeResourcePolicyCommand.d.ts +3 -0
  39. package/dist-types/commands/DescribeSlotCommand.d.ts +7 -0
  40. package/dist-types/commands/DescribeSlotTypeCommand.d.ts +6 -0
  41. package/dist-types/commands/ListAggregatedUtterancesCommand.d.ts +27 -0
  42. package/dist-types/commands/ListBotAliasesCommand.d.ts +5 -0
  43. package/dist-types/commands/ListBotLocalesCommand.d.ts +19 -0
  44. package/dist-types/commands/ListBotRecommendationsCommand.d.ts +7 -0
  45. package/dist-types/commands/ListBotVersionsCommand.d.ts +9 -0
  46. package/dist-types/commands/ListBotsCommand.d.ts +17 -0
  47. package/dist-types/commands/ListBuiltInIntentsCommand.d.ts +9 -0
  48. package/dist-types/commands/ListBuiltInSlotTypesCommand.d.ts +9 -0
  49. package/dist-types/commands/ListCustomVocabularyItemsCommand.d.ts +7 -0
  50. package/dist-types/commands/ListExportsCommand.d.ts +20 -0
  51. package/dist-types/commands/ListImportsCommand.d.ts +20 -0
  52. package/dist-types/commands/ListIntentsCommand.d.ts +20 -0
  53. package/dist-types/commands/ListRecommendedIntentsCommand.d.ts +8 -0
  54. package/dist-types/commands/ListSlotTypesCommand.d.ts +20 -0
  55. package/dist-types/commands/ListSlotsCommand.d.ts +21 -0
  56. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -0
  57. package/dist-types/commands/SearchAssociatedTranscriptsCommand.d.ts +17 -0
  58. package/dist-types/commands/StartBotRecommendationCommand.d.ts +30 -0
  59. package/dist-types/commands/StartImportCommand.d.ts +36 -0
  60. package/dist-types/commands/StopBotRecommendationCommand.d.ts +6 -0
  61. package/dist-types/commands/TagResourceCommand.d.ts +6 -0
  62. package/dist-types/commands/UntagResourceCommand.d.ts +6 -0
  63. package/dist-types/commands/UpdateBotAliasCommand.d.ts +46 -0
  64. package/dist-types/commands/UpdateBotCommand.d.ts +20 -0
  65. package/dist-types/commands/UpdateBotLocaleCommand.d.ts +11 -0
  66. package/dist-types/commands/UpdateBotRecommendationCommand.d.ts +11 -0
  67. package/dist-types/commands/UpdateExportCommand.d.ts +4 -0
  68. package/dist-types/commands/UpdateIntentCommand.d.ts +437 -0
  69. package/dist-types/commands/UpdateResourcePolicyCommand.d.ts +5 -0
  70. package/dist-types/commands/UpdateSlotCommand.d.ts +401 -0
  71. package/dist-types/commands/UpdateSlotTypeCommand.d.ts +47 -0
  72. package/package.json +8 -8
@@ -26,6 +26,12 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
26
26
  * import { LexModelsV2Client, UntagResourceCommand } from "@aws-sdk/client-lex-models-v2"; // ES Modules import
27
27
  * // const { LexModelsV2Client, UntagResourceCommand } = require("@aws-sdk/client-lex-models-v2"); // CommonJS import
28
28
  * const client = new LexModelsV2Client(config);
29
+ * const input = { // UntagResourceRequest
30
+ * resourceARN: "STRING_VALUE", // required
31
+ * tagKeys: [ // TagKeyList // required
32
+ * "STRING_VALUE",
33
+ * ],
34
+ * };
29
35
  * const command = new UntagResourceCommand(input);
30
36
  * const response = await client.send(command);
31
37
  * ```
@@ -26,6 +26,52 @@ export interface UpdateBotAliasCommandOutput extends UpdateBotAliasResponse, __M
26
26
  * import { LexModelsV2Client, UpdateBotAliasCommand } from "@aws-sdk/client-lex-models-v2"; // ES Modules import
27
27
  * // const { LexModelsV2Client, UpdateBotAliasCommand } = require("@aws-sdk/client-lex-models-v2"); // CommonJS import
28
28
  * const client = new LexModelsV2Client(config);
29
+ * const input = { // UpdateBotAliasRequest
30
+ * botAliasId: "STRING_VALUE", // required
31
+ * botAliasName: "STRING_VALUE", // required
32
+ * description: "STRING_VALUE",
33
+ * botVersion: "STRING_VALUE",
34
+ * botAliasLocaleSettings: { // BotAliasLocaleSettingsMap
35
+ * "<keys>": { // BotAliasLocaleSettings
36
+ * enabled: true || false, // required
37
+ * codeHookSpecification: { // CodeHookSpecification
38
+ * lambdaCodeHook: { // LambdaCodeHook
39
+ * lambdaARN: "STRING_VALUE", // required
40
+ * codeHookInterfaceVersion: "STRING_VALUE", // required
41
+ * },
42
+ * },
43
+ * },
44
+ * },
45
+ * conversationLogSettings: { // ConversationLogSettings
46
+ * textLogSettings: [ // TextLogSettingsList
47
+ * { // TextLogSetting
48
+ * enabled: true || false, // required
49
+ * destination: { // TextLogDestination
50
+ * cloudWatch: { // CloudWatchLogGroupLogDestination
51
+ * cloudWatchLogGroupArn: "STRING_VALUE", // required
52
+ * logPrefix: "STRING_VALUE", // required
53
+ * },
54
+ * },
55
+ * },
56
+ * ],
57
+ * audioLogSettings: [ // AudioLogSettingsList
58
+ * { // AudioLogSetting
59
+ * enabled: true || false, // required
60
+ * destination: { // AudioLogDestination
61
+ * s3Bucket: { // S3BucketLogDestination
62
+ * kmsKeyArn: "STRING_VALUE",
63
+ * s3BucketArn: "STRING_VALUE", // required
64
+ * logPrefix: "STRING_VALUE", // required
65
+ * },
66
+ * },
67
+ * },
68
+ * ],
69
+ * },
70
+ * sentimentAnalysisSettings: { // SentimentAnalysisSettings
71
+ * detectSentiment: true || false, // required
72
+ * },
73
+ * botId: "STRING_VALUE", // required
74
+ * };
29
75
  * const command = new UpdateBotAliasCommand(input);
30
76
  * const response = await client.send(command);
31
77
  * ```
@@ -26,6 +26,26 @@ export interface UpdateBotCommandOutput extends UpdateBotResponse, __MetadataBea
26
26
  * import { LexModelsV2Client, UpdateBotCommand } from "@aws-sdk/client-lex-models-v2"; // ES Modules import
27
27
  * // const { LexModelsV2Client, UpdateBotCommand } = require("@aws-sdk/client-lex-models-v2"); // CommonJS import
28
28
  * const client = new LexModelsV2Client(config);
29
+ * const input = { // UpdateBotRequest
30
+ * botId: "STRING_VALUE", // required
31
+ * botName: "STRING_VALUE", // required
32
+ * description: "STRING_VALUE",
33
+ * roleArn: "STRING_VALUE", // required
34
+ * dataPrivacy: { // DataPrivacy
35
+ * childDirected: true || false, // required
36
+ * },
37
+ * idleSessionTTLInSeconds: Number("int"), // required
38
+ * botType: "Bot" || "BotNetwork",
39
+ * botMembers: [ // BotMembers
40
+ * { // BotMember
41
+ * botMemberId: "STRING_VALUE", // required
42
+ * botMemberName: "STRING_VALUE", // required
43
+ * botMemberAliasId: "STRING_VALUE", // required
44
+ * botMemberAliasName: "STRING_VALUE", // required
45
+ * botMemberVersion: "STRING_VALUE", // required
46
+ * },
47
+ * ],
48
+ * };
29
49
  * const command = new UpdateBotCommand(input);
30
50
  * const response = await client.send(command);
31
51
  * ```
@@ -26,6 +26,17 @@ export interface UpdateBotLocaleCommandOutput extends UpdateBotLocaleResponse, _
26
26
  * import { LexModelsV2Client, UpdateBotLocaleCommand } from "@aws-sdk/client-lex-models-v2"; // ES Modules import
27
27
  * // const { LexModelsV2Client, UpdateBotLocaleCommand } = require("@aws-sdk/client-lex-models-v2"); // CommonJS import
28
28
  * const client = new LexModelsV2Client(config);
29
+ * const input = { // UpdateBotLocaleRequest
30
+ * botId: "STRING_VALUE", // required
31
+ * botVersion: "STRING_VALUE", // required
32
+ * localeId: "STRING_VALUE", // required
33
+ * description: "STRING_VALUE",
34
+ * nluIntentConfidenceThreshold: Number("double"), // required
35
+ * voiceSettings: { // VoiceSettings
36
+ * voiceId: "STRING_VALUE", // required
37
+ * engine: "standard" || "neural",
38
+ * },
39
+ * };
29
40
  * const command = new UpdateBotLocaleCommand(input);
30
41
  * const response = await client.send(command);
31
42
  * ```
@@ -26,6 +26,17 @@ export interface UpdateBotRecommendationCommandOutput extends UpdateBotRecommend
26
26
  * import { LexModelsV2Client, UpdateBotRecommendationCommand } from "@aws-sdk/client-lex-models-v2"; // ES Modules import
27
27
  * // const { LexModelsV2Client, UpdateBotRecommendationCommand } = require("@aws-sdk/client-lex-models-v2"); // CommonJS import
28
28
  * const client = new LexModelsV2Client(config);
29
+ * const input = { // UpdateBotRecommendationRequest
30
+ * botId: "STRING_VALUE", // required
31
+ * botVersion: "STRING_VALUE", // required
32
+ * localeId: "STRING_VALUE", // required
33
+ * botRecommendationId: "STRING_VALUE", // required
34
+ * encryptionSetting: { // EncryptionSetting
35
+ * kmsKeyArn: "STRING_VALUE",
36
+ * botLocaleExportPassword: "STRING_VALUE",
37
+ * associatedTranscriptsPassword: "STRING_VALUE",
38
+ * },
39
+ * };
29
40
  * const command = new UpdateBotRecommendationCommand(input);
30
41
  * const response = await client.send(command);
31
42
  * ```
@@ -30,6 +30,10 @@ export interface UpdateExportCommandOutput extends UpdateExportResponse, __Metad
30
30
  * import { LexModelsV2Client, UpdateExportCommand } from "@aws-sdk/client-lex-models-v2"; // ES Modules import
31
31
  * // const { LexModelsV2Client, UpdateExportCommand } = require("@aws-sdk/client-lex-models-v2"); // CommonJS import
32
32
  * const client = new LexModelsV2Client(config);
33
+ * const input = { // UpdateExportRequest
34
+ * exportId: "STRING_VALUE", // required
35
+ * filePassword: "STRING_VALUE",
36
+ * };
33
37
  * const command = new UpdateExportCommand(input);
34
38
  * const response = await client.send(command);
35
39
  * ```
@@ -26,6 +26,443 @@ export interface UpdateIntentCommandOutput extends UpdateIntentResponse, __Metad
26
26
  * import { LexModelsV2Client, UpdateIntentCommand } from "@aws-sdk/client-lex-models-v2"; // ES Modules import
27
27
  * // const { LexModelsV2Client, UpdateIntentCommand } = require("@aws-sdk/client-lex-models-v2"); // CommonJS import
28
28
  * const client = new LexModelsV2Client(config);
29
+ * const input = { // UpdateIntentRequest
30
+ * intentId: "STRING_VALUE", // required
31
+ * intentName: "STRING_VALUE", // required
32
+ * description: "STRING_VALUE",
33
+ * parentIntentSignature: "STRING_VALUE",
34
+ * sampleUtterances: [ // SampleUtterancesList
35
+ * { // SampleUtterance
36
+ * utterance: "STRING_VALUE", // required
37
+ * },
38
+ * ],
39
+ * dialogCodeHook: { // DialogCodeHookSettings
40
+ * enabled: true || false, // required
41
+ * },
42
+ * fulfillmentCodeHook: { // FulfillmentCodeHookSettings
43
+ * enabled: true || false, // required
44
+ * postFulfillmentStatusSpecification: { // PostFulfillmentStatusSpecification
45
+ * successResponse: { // ResponseSpecification
46
+ * messageGroups: [ // MessageGroupsList // required
47
+ * { // MessageGroup
48
+ * message: { // Message
49
+ * plainTextMessage: { // PlainTextMessage
50
+ * value: "STRING_VALUE", // required
51
+ * },
52
+ * customPayload: { // CustomPayload
53
+ * value: "STRING_VALUE", // required
54
+ * },
55
+ * ssmlMessage: { // SSMLMessage
56
+ * value: "STRING_VALUE", // required
57
+ * },
58
+ * imageResponseCard: { // ImageResponseCard
59
+ * title: "STRING_VALUE", // required
60
+ * subtitle: "STRING_VALUE",
61
+ * imageUrl: "STRING_VALUE",
62
+ * buttons: [ // ButtonsList
63
+ * { // Button
64
+ * text: "STRING_VALUE", // required
65
+ * value: "STRING_VALUE", // required
66
+ * },
67
+ * ],
68
+ * },
69
+ * },
70
+ * variations: [ // MessageVariationsList
71
+ * {
72
+ * plainTextMessage: {
73
+ * value: "STRING_VALUE", // required
74
+ * },
75
+ * customPayload: {
76
+ * value: "STRING_VALUE", // required
77
+ * },
78
+ * ssmlMessage: {
79
+ * value: "STRING_VALUE", // required
80
+ * },
81
+ * imageResponseCard: {
82
+ * title: "STRING_VALUE", // required
83
+ * subtitle: "STRING_VALUE",
84
+ * imageUrl: "STRING_VALUE",
85
+ * buttons: [
86
+ * {
87
+ * text: "STRING_VALUE", // required
88
+ * value: "STRING_VALUE", // required
89
+ * },
90
+ * ],
91
+ * },
92
+ * },
93
+ * ],
94
+ * },
95
+ * ],
96
+ * allowInterrupt: true || false,
97
+ * },
98
+ * failureResponse: {
99
+ * messageGroups: [ // required
100
+ * {
101
+ * message: {
102
+ * plainTextMessage: {
103
+ * value: "STRING_VALUE", // required
104
+ * },
105
+ * customPayload: {
106
+ * value: "STRING_VALUE", // required
107
+ * },
108
+ * ssmlMessage: {
109
+ * value: "STRING_VALUE", // required
110
+ * },
111
+ * imageResponseCard: {
112
+ * title: "STRING_VALUE", // required
113
+ * subtitle: "STRING_VALUE",
114
+ * imageUrl: "STRING_VALUE",
115
+ * buttons: [
116
+ * {
117
+ * text: "STRING_VALUE", // required
118
+ * value: "STRING_VALUE", // required
119
+ * },
120
+ * ],
121
+ * },
122
+ * },
123
+ * variations: [
124
+ * {
125
+ * plainTextMessage: {
126
+ * value: "STRING_VALUE", // required
127
+ * },
128
+ * customPayload: {
129
+ * value: "STRING_VALUE", // required
130
+ * },
131
+ * ssmlMessage: {
132
+ * value: "STRING_VALUE", // required
133
+ * },
134
+ * imageResponseCard: {
135
+ * title: "STRING_VALUE", // required
136
+ * subtitle: "STRING_VALUE",
137
+ * imageUrl: "STRING_VALUE",
138
+ * buttons: [
139
+ * {
140
+ * text: "STRING_VALUE", // required
141
+ * value: "STRING_VALUE", // required
142
+ * },
143
+ * ],
144
+ * },
145
+ * },
146
+ * ],
147
+ * },
148
+ * ],
149
+ * allowInterrupt: true || false,
150
+ * },
151
+ * timeoutResponse: {
152
+ * messageGroups: [ // required
153
+ * {
154
+ * message: {
155
+ * plainTextMessage: {
156
+ * value: "STRING_VALUE", // required
157
+ * },
158
+ * customPayload: {
159
+ * value: "STRING_VALUE", // required
160
+ * },
161
+ * ssmlMessage: {
162
+ * value: "STRING_VALUE", // required
163
+ * },
164
+ * imageResponseCard: {
165
+ * title: "STRING_VALUE", // required
166
+ * subtitle: "STRING_VALUE",
167
+ * imageUrl: "STRING_VALUE",
168
+ * buttons: [
169
+ * {
170
+ * text: "STRING_VALUE", // required
171
+ * value: "STRING_VALUE", // required
172
+ * },
173
+ * ],
174
+ * },
175
+ * },
176
+ * variations: [
177
+ * "<Message>",
178
+ * ],
179
+ * },
180
+ * ],
181
+ * allowInterrupt: true || false,
182
+ * },
183
+ * successNextStep: { // DialogState
184
+ * dialogAction: { // DialogAction
185
+ * type: "ElicitIntent" || "StartIntent" || "ElicitSlot" || "EvaluateConditional" || "InvokeDialogCodeHook" || "ConfirmIntent" || "FulfillIntent" || "CloseIntent" || "EndConversation", // required
186
+ * slotToElicit: "STRING_VALUE",
187
+ * suppressNextMessage: true || false,
188
+ * },
189
+ * intent: { // IntentOverride
190
+ * name: "STRING_VALUE",
191
+ * slots: { // SlotValueOverrideMap
192
+ * "<keys>": { // SlotValueOverride
193
+ * shape: "Scalar" || "List",
194
+ * value: { // SlotValue
195
+ * interpretedValue: "STRING_VALUE",
196
+ * },
197
+ * values: [ // SlotValues
198
+ * {
199
+ * shape: "Scalar" || "List",
200
+ * value: {
201
+ * interpretedValue: "STRING_VALUE",
202
+ * },
203
+ * values: [
204
+ * "<SlotValueOverride>",
205
+ * ],
206
+ * },
207
+ * ],
208
+ * },
209
+ * },
210
+ * },
211
+ * sessionAttributes: { // StringMap
212
+ * "<keys>": "STRING_VALUE",
213
+ * },
214
+ * },
215
+ * successConditional: { // ConditionalSpecification
216
+ * active: true || false, // required
217
+ * conditionalBranches: [ // ConditionalBranches // required
218
+ * { // ConditionalBranch
219
+ * name: "STRING_VALUE", // required
220
+ * condition: { // Condition
221
+ * expressionString: "STRING_VALUE", // required
222
+ * },
223
+ * nextStep: {
224
+ * dialogAction: {
225
+ * type: "ElicitIntent" || "StartIntent" || "ElicitSlot" || "EvaluateConditional" || "InvokeDialogCodeHook" || "ConfirmIntent" || "FulfillIntent" || "CloseIntent" || "EndConversation", // required
226
+ * slotToElicit: "STRING_VALUE",
227
+ * suppressNextMessage: true || false,
228
+ * },
229
+ * intent: {
230
+ * name: "STRING_VALUE",
231
+ * slots: {
232
+ * "<keys>": "<SlotValueOverride>",
233
+ * },
234
+ * },
235
+ * sessionAttributes: {
236
+ * "<keys>": "STRING_VALUE",
237
+ * },
238
+ * },
239
+ * response: {
240
+ * messageGroups: [ // required
241
+ * {
242
+ * message: "<Message>", // required
243
+ * variations: [
244
+ * "<Message>",
245
+ * ],
246
+ * },
247
+ * ],
248
+ * allowInterrupt: true || false,
249
+ * },
250
+ * },
251
+ * ],
252
+ * defaultBranch: { // DefaultConditionalBranch
253
+ * nextStep: "<DialogState>",
254
+ * response: "<ResponseSpecification>",
255
+ * },
256
+ * },
257
+ * failureNextStep: "<DialogState>",
258
+ * failureConditional: {
259
+ * active: true || false, // required
260
+ * conditionalBranches: [ // required
261
+ * {
262
+ * name: "STRING_VALUE", // required
263
+ * condition: {
264
+ * expressionString: "STRING_VALUE", // required
265
+ * },
266
+ * nextStep: "<DialogState>", // required
267
+ * response: "<ResponseSpecification>",
268
+ * },
269
+ * ],
270
+ * defaultBranch: {
271
+ * nextStep: "<DialogState>",
272
+ * response: "<ResponseSpecification>",
273
+ * },
274
+ * },
275
+ * timeoutNextStep: "<DialogState>",
276
+ * timeoutConditional: {
277
+ * active: true || false, // required
278
+ * conditionalBranches: [ // required
279
+ * {
280
+ * name: "STRING_VALUE", // required
281
+ * condition: {
282
+ * expressionString: "STRING_VALUE", // required
283
+ * },
284
+ * nextStep: "<DialogState>", // required
285
+ * response: "<ResponseSpecification>",
286
+ * },
287
+ * ],
288
+ * defaultBranch: {
289
+ * nextStep: "<DialogState>",
290
+ * response: "<ResponseSpecification>",
291
+ * },
292
+ * },
293
+ * },
294
+ * fulfillmentUpdatesSpecification: { // FulfillmentUpdatesSpecification
295
+ * active: true || false, // required
296
+ * startResponse: { // FulfillmentStartResponseSpecification
297
+ * delayInSeconds: Number("int"), // required
298
+ * messageGroups: [ // required
299
+ * {
300
+ * message: "<Message>", // required
301
+ * variations: [
302
+ * "<Message>",
303
+ * ],
304
+ * },
305
+ * ],
306
+ * allowInterrupt: true || false,
307
+ * },
308
+ * updateResponse: { // FulfillmentUpdateResponseSpecification
309
+ * frequencyInSeconds: Number("int"), // required
310
+ * messageGroups: "<MessageGroupsList>", // required
311
+ * allowInterrupt: true || false,
312
+ * },
313
+ * timeoutInSeconds: Number("int"),
314
+ * },
315
+ * active: true || false,
316
+ * },
317
+ * slotPriorities: [ // SlotPrioritiesList
318
+ * { // SlotPriority
319
+ * priority: Number("int"), // required
320
+ * slotId: "STRING_VALUE", // required
321
+ * },
322
+ * ],
323
+ * intentConfirmationSetting: { // IntentConfirmationSetting
324
+ * promptSpecification: { // PromptSpecification
325
+ * messageGroups: "<MessageGroupsList>", // required
326
+ * maxRetries: Number("int"), // required
327
+ * allowInterrupt: true || false,
328
+ * messageSelectionStrategy: "Random" || "Ordered",
329
+ * promptAttemptsSpecification: { // PromptAttemptsSpecificationMap
330
+ * "<keys>": { // PromptAttemptSpecification
331
+ * allowInterrupt: true || false,
332
+ * allowedInputTypes: { // AllowedInputTypes
333
+ * allowAudioInput: true || false, // required
334
+ * allowDTMFInput: true || false, // required
335
+ * },
336
+ * audioAndDTMFInputSpecification: { // AudioAndDTMFInputSpecification
337
+ * startTimeoutMs: Number("int"), // required
338
+ * audioSpecification: { // AudioSpecification
339
+ * maxLengthMs: Number("int"), // required
340
+ * endTimeoutMs: Number("int"), // required
341
+ * },
342
+ * dtmfSpecification: { // DTMFSpecification
343
+ * maxLength: Number("int"), // required
344
+ * endTimeoutMs: Number("int"), // required
345
+ * deletionCharacter: "STRING_VALUE", // required
346
+ * endCharacter: "STRING_VALUE", // required
347
+ * },
348
+ * },
349
+ * textInputSpecification: { // TextInputSpecification
350
+ * startTimeoutMs: Number("int"), // required
351
+ * },
352
+ * },
353
+ * },
354
+ * },
355
+ * declinationResponse: "<ResponseSpecification>",
356
+ * active: true || false,
357
+ * confirmationResponse: "<ResponseSpecification>",
358
+ * confirmationNextStep: "<DialogState>",
359
+ * confirmationConditional: {
360
+ * active: true || false, // required
361
+ * conditionalBranches: [ // required
362
+ * {
363
+ * name: "STRING_VALUE", // required
364
+ * condition: {
365
+ * expressionString: "STRING_VALUE", // required
366
+ * },
367
+ * nextStep: "<DialogState>", // required
368
+ * response: "<ResponseSpecification>",
369
+ * },
370
+ * ],
371
+ * defaultBranch: {
372
+ * nextStep: "<DialogState>",
373
+ * response: "<ResponseSpecification>",
374
+ * },
375
+ * },
376
+ * declinationNextStep: "<DialogState>",
377
+ * declinationConditional: {
378
+ * active: true || false, // required
379
+ * conditionalBranches: [ // required
380
+ * {
381
+ * name: "STRING_VALUE", // required
382
+ * condition: {
383
+ * expressionString: "STRING_VALUE", // required
384
+ * },
385
+ * nextStep: "<DialogState>", // required
386
+ * response: "<ResponseSpecification>",
387
+ * },
388
+ * ],
389
+ * defaultBranch: {
390
+ * nextStep: "<DialogState>",
391
+ * response: "<ResponseSpecification>",
392
+ * },
393
+ * },
394
+ * failureResponse: "<ResponseSpecification>",
395
+ * failureNextStep: "<DialogState>",
396
+ * failureConditional: "<ConditionalSpecification>",
397
+ * codeHook: { // DialogCodeHookInvocationSetting
398
+ * enableCodeHookInvocation: true || false, // required
399
+ * active: true || false, // required
400
+ * invocationLabel: "STRING_VALUE",
401
+ * postCodeHookSpecification: { // PostDialogCodeHookInvocationSpecification
402
+ * successResponse: "<ResponseSpecification>",
403
+ * successNextStep: "<DialogState>",
404
+ * successConditional: "<ConditionalSpecification>",
405
+ * failureResponse: "<ResponseSpecification>",
406
+ * failureNextStep: "<DialogState>",
407
+ * failureConditional: "<ConditionalSpecification>",
408
+ * timeoutResponse: "<ResponseSpecification>",
409
+ * timeoutNextStep: "<DialogState>",
410
+ * timeoutConditional: "<ConditionalSpecification>",
411
+ * },
412
+ * },
413
+ * elicitationCodeHook: { // ElicitationCodeHookInvocationSetting
414
+ * enableCodeHookInvocation: true || false, // required
415
+ * invocationLabel: "STRING_VALUE",
416
+ * },
417
+ * },
418
+ * intentClosingSetting: { // IntentClosingSetting
419
+ * closingResponse: "<ResponseSpecification>",
420
+ * active: true || false,
421
+ * nextStep: "<DialogState>",
422
+ * conditional: "<ConditionalSpecification>",
423
+ * },
424
+ * inputContexts: [ // InputContextsList
425
+ * { // InputContext
426
+ * name: "STRING_VALUE", // required
427
+ * },
428
+ * ],
429
+ * outputContexts: [ // OutputContextsList
430
+ * { // OutputContext
431
+ * name: "STRING_VALUE", // required
432
+ * timeToLiveInSeconds: Number("int"), // required
433
+ * turnsToLive: Number("int"), // required
434
+ * },
435
+ * ],
436
+ * kendraConfiguration: { // KendraConfiguration
437
+ * kendraIndex: "STRING_VALUE", // required
438
+ * queryFilterStringEnabled: true || false,
439
+ * queryFilterString: "STRING_VALUE",
440
+ * },
441
+ * botId: "STRING_VALUE", // required
442
+ * botVersion: "STRING_VALUE", // required
443
+ * localeId: "STRING_VALUE", // required
444
+ * initialResponseSetting: { // InitialResponseSetting
445
+ * initialResponse: "<ResponseSpecification>",
446
+ * nextStep: "<DialogState>",
447
+ * conditional: "<ConditionalSpecification>",
448
+ * codeHook: {
449
+ * enableCodeHookInvocation: true || false, // required
450
+ * active: true || false, // required
451
+ * invocationLabel: "STRING_VALUE",
452
+ * postCodeHookSpecification: {
453
+ * successResponse: "<ResponseSpecification>",
454
+ * successNextStep: "<DialogState>",
455
+ * successConditional: "<ConditionalSpecification>",
456
+ * failureResponse: "<ResponseSpecification>",
457
+ * failureNextStep: "<DialogState>",
458
+ * failureConditional: "<ConditionalSpecification>",
459
+ * timeoutResponse: "<ResponseSpecification>",
460
+ * timeoutNextStep: "<DialogState>",
461
+ * timeoutConditional: "<ConditionalSpecification>",
462
+ * },
463
+ * },
464
+ * },
465
+ * };
29
466
  * const command = new UpdateIntentCommand(input);
30
467
  * const response = await client.send(command);
31
468
  * ```
@@ -28,6 +28,11 @@ export interface UpdateResourcePolicyCommandOutput extends UpdateResourcePolicyR
28
28
  * import { LexModelsV2Client, UpdateResourcePolicyCommand } from "@aws-sdk/client-lex-models-v2"; // ES Modules import
29
29
  * // const { LexModelsV2Client, UpdateResourcePolicyCommand } = require("@aws-sdk/client-lex-models-v2"); // CommonJS import
30
30
  * const client = new LexModelsV2Client(config);
31
+ * const input = { // UpdateResourcePolicyRequest
32
+ * resourceArn: "STRING_VALUE", // required
33
+ * policy: "STRING_VALUE", // required
34
+ * expectedRevisionId: "STRING_VALUE",
35
+ * };
31
36
  * const command = new UpdateResourcePolicyCommand(input);
32
37
  * const response = await client.send(command);
33
38
  * ```