@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
@@ -27,6 +27,18 @@ export interface BatchCreateCustomVocabularyItemCommandOutput extends BatchCreat
27
27
  * import { LexModelsV2Client, BatchCreateCustomVocabularyItemCommand } from "@aws-sdk/client-lex-models-v2"; // ES Modules import
28
28
  * // const { LexModelsV2Client, BatchCreateCustomVocabularyItemCommand } = require("@aws-sdk/client-lex-models-v2"); // CommonJS import
29
29
  * const client = new LexModelsV2Client(config);
30
+ * const input = { // BatchCreateCustomVocabularyItemRequest
31
+ * botId: "STRING_VALUE", // required
32
+ * botVersion: "STRING_VALUE", // required
33
+ * localeId: "STRING_VALUE", // required
34
+ * customVocabularyItemList: [ // CreateCustomVocabularyItemsList // required
35
+ * { // NewCustomVocabularyItem
36
+ * phrase: "STRING_VALUE", // required
37
+ * weight: Number("int"),
38
+ * displayAs: "STRING_VALUE",
39
+ * },
40
+ * ],
41
+ * };
30
42
  * const command = new BatchCreateCustomVocabularyItemCommand(input);
31
43
  * const response = await client.send(command);
32
44
  * ```
@@ -27,6 +27,16 @@ export interface BatchDeleteCustomVocabularyItemCommandOutput extends BatchDelet
27
27
  * import { LexModelsV2Client, BatchDeleteCustomVocabularyItemCommand } from "@aws-sdk/client-lex-models-v2"; // ES Modules import
28
28
  * // const { LexModelsV2Client, BatchDeleteCustomVocabularyItemCommand } = require("@aws-sdk/client-lex-models-v2"); // CommonJS import
29
29
  * const client = new LexModelsV2Client(config);
30
+ * const input = { // BatchDeleteCustomVocabularyItemRequest
31
+ * botId: "STRING_VALUE", // required
32
+ * botVersion: "STRING_VALUE", // required
33
+ * localeId: "STRING_VALUE", // required
34
+ * customVocabularyItemList: [ // DeleteCustomVocabularyItemsList // required
35
+ * { // CustomVocabularyEntryId
36
+ * itemId: "STRING_VALUE", // required
37
+ * },
38
+ * ],
39
+ * };
30
40
  * const command = new BatchDeleteCustomVocabularyItemCommand(input);
31
41
  * const response = await client.send(command);
32
42
  * ```
@@ -27,6 +27,19 @@ export interface BatchUpdateCustomVocabularyItemCommandOutput extends BatchUpdat
27
27
  * import { LexModelsV2Client, BatchUpdateCustomVocabularyItemCommand } from "@aws-sdk/client-lex-models-v2"; // ES Modules import
28
28
  * // const { LexModelsV2Client, BatchUpdateCustomVocabularyItemCommand } = require("@aws-sdk/client-lex-models-v2"); // CommonJS import
29
29
  * const client = new LexModelsV2Client(config);
30
+ * const input = { // BatchUpdateCustomVocabularyItemRequest
31
+ * botId: "STRING_VALUE", // required
32
+ * botVersion: "STRING_VALUE", // required
33
+ * localeId: "STRING_VALUE", // required
34
+ * customVocabularyItemList: [ // UpdateCustomVocabularyItemsList // required
35
+ * { // CustomVocabularyItem
36
+ * itemId: "STRING_VALUE", // required
37
+ * phrase: "STRING_VALUE", // required
38
+ * weight: Number("int"),
39
+ * displayAs: "STRING_VALUE",
40
+ * },
41
+ * ],
42
+ * };
30
43
  * const command = new BatchUpdateCustomVocabularyItemCommand(input);
31
44
  * const response = await client.send(command);
32
45
  * ```
@@ -28,6 +28,11 @@ export interface BuildBotLocaleCommandOutput extends BuildBotLocaleResponse, __M
28
28
  * import { LexModelsV2Client, BuildBotLocaleCommand } from "@aws-sdk/client-lex-models-v2"; // ES Modules import
29
29
  * // const { LexModelsV2Client, BuildBotLocaleCommand } = require("@aws-sdk/client-lex-models-v2"); // CommonJS import
30
30
  * const client = new LexModelsV2Client(config);
31
+ * const input = { // BuildBotLocaleRequest
32
+ * botId: "STRING_VALUE", // required
33
+ * botVersion: "STRING_VALUE", // required
34
+ * localeId: "STRING_VALUE", // required
35
+ * };
31
36
  * const command = new BuildBotLocaleCommand(input);
32
37
  * const response = await client.send(command);
33
38
  * ```
@@ -30,6 +30,54 @@ export interface CreateBotAliasCommandOutput extends CreateBotAliasResponse, __M
30
30
  * import { LexModelsV2Client, CreateBotAliasCommand } from "@aws-sdk/client-lex-models-v2"; // ES Modules import
31
31
  * // const { LexModelsV2Client, CreateBotAliasCommand } = require("@aws-sdk/client-lex-models-v2"); // CommonJS import
32
32
  * const client = new LexModelsV2Client(config);
33
+ * const input = { // CreateBotAliasRequest
34
+ * botAliasName: "STRING_VALUE", // required
35
+ * description: "STRING_VALUE",
36
+ * botVersion: "STRING_VALUE",
37
+ * botAliasLocaleSettings: { // BotAliasLocaleSettingsMap
38
+ * "<keys>": { // BotAliasLocaleSettings
39
+ * enabled: true || false, // required
40
+ * codeHookSpecification: { // CodeHookSpecification
41
+ * lambdaCodeHook: { // LambdaCodeHook
42
+ * lambdaARN: "STRING_VALUE", // required
43
+ * codeHookInterfaceVersion: "STRING_VALUE", // required
44
+ * },
45
+ * },
46
+ * },
47
+ * },
48
+ * conversationLogSettings: { // ConversationLogSettings
49
+ * textLogSettings: [ // TextLogSettingsList
50
+ * { // TextLogSetting
51
+ * enabled: true || false, // required
52
+ * destination: { // TextLogDestination
53
+ * cloudWatch: { // CloudWatchLogGroupLogDestination
54
+ * cloudWatchLogGroupArn: "STRING_VALUE", // required
55
+ * logPrefix: "STRING_VALUE", // required
56
+ * },
57
+ * },
58
+ * },
59
+ * ],
60
+ * audioLogSettings: [ // AudioLogSettingsList
61
+ * { // AudioLogSetting
62
+ * enabled: true || false, // required
63
+ * destination: { // AudioLogDestination
64
+ * s3Bucket: { // S3BucketLogDestination
65
+ * kmsKeyArn: "STRING_VALUE",
66
+ * s3BucketArn: "STRING_VALUE", // required
67
+ * logPrefix: "STRING_VALUE", // required
68
+ * },
69
+ * },
70
+ * },
71
+ * ],
72
+ * },
73
+ * sentimentAnalysisSettings: { // SentimentAnalysisSettings
74
+ * detectSentiment: true || false, // required
75
+ * },
76
+ * botId: "STRING_VALUE", // required
77
+ * tags: { // TagMap
78
+ * "<keys>": "STRING_VALUE",
79
+ * },
80
+ * };
33
81
  * const command = new CreateBotAliasCommand(input);
34
82
  * const response = await client.send(command);
35
83
  * ```
@@ -26,6 +26,31 @@ export interface CreateBotCommandOutput extends CreateBotResponse, __MetadataBea
26
26
  * import { LexModelsV2Client, CreateBotCommand } from "@aws-sdk/client-lex-models-v2"; // ES Modules import
27
27
  * // const { LexModelsV2Client, CreateBotCommand } = require("@aws-sdk/client-lex-models-v2"); // CommonJS import
28
28
  * const client = new LexModelsV2Client(config);
29
+ * const input = { // CreateBotRequest
30
+ * botName: "STRING_VALUE", // required
31
+ * description: "STRING_VALUE",
32
+ * roleArn: "STRING_VALUE", // required
33
+ * dataPrivacy: { // DataPrivacy
34
+ * childDirected: true || false, // required
35
+ * },
36
+ * idleSessionTTLInSeconds: Number("int"), // required
37
+ * botTags: { // TagMap
38
+ * "<keys>": "STRING_VALUE",
39
+ * },
40
+ * testBotAliasTags: {
41
+ * "<keys>": "STRING_VALUE",
42
+ * },
43
+ * botType: "Bot" || "BotNetwork",
44
+ * botMembers: [ // BotMembers
45
+ * { // BotMember
46
+ * botMemberId: "STRING_VALUE", // required
47
+ * botMemberName: "STRING_VALUE", // required
48
+ * botMemberAliasId: "STRING_VALUE", // required
49
+ * botMemberAliasName: "STRING_VALUE", // required
50
+ * botMemberVersion: "STRING_VALUE", // required
51
+ * },
52
+ * ],
53
+ * };
29
54
  * const command = new CreateBotCommand(input);
30
55
  * const response = await client.send(command);
31
56
  * ```
@@ -29,6 +29,17 @@ export interface CreateBotLocaleCommandOutput extends CreateBotLocaleResponse, _
29
29
  * import { LexModelsV2Client, CreateBotLocaleCommand } from "@aws-sdk/client-lex-models-v2"; // ES Modules import
30
30
  * // const { LexModelsV2Client, CreateBotLocaleCommand } = require("@aws-sdk/client-lex-models-v2"); // CommonJS import
31
31
  * const client = new LexModelsV2Client(config);
32
+ * const input = { // CreateBotLocaleRequest
33
+ * botId: "STRING_VALUE", // required
34
+ * botVersion: "STRING_VALUE", // required
35
+ * localeId: "STRING_VALUE", // required
36
+ * description: "STRING_VALUE",
37
+ * nluIntentConfidenceThreshold: Number("double"), // required
38
+ * voiceSettings: { // VoiceSettings
39
+ * voiceId: "STRING_VALUE", // required
40
+ * engine: "standard" || "neural",
41
+ * },
42
+ * };
32
43
  * const command = new CreateBotLocaleCommand(input);
33
44
  * const response = await client.send(command);
34
45
  * ```
@@ -31,6 +31,15 @@ export interface CreateBotVersionCommandOutput extends CreateBotVersionResponse,
31
31
  * import { LexModelsV2Client, CreateBotVersionCommand } from "@aws-sdk/client-lex-models-v2"; // ES Modules import
32
32
  * // const { LexModelsV2Client, CreateBotVersionCommand } = require("@aws-sdk/client-lex-models-v2"); // CommonJS import
33
33
  * const client = new LexModelsV2Client(config);
34
+ * const input = { // CreateBotVersionRequest
35
+ * botId: "STRING_VALUE", // required
36
+ * description: "STRING_VALUE",
37
+ * botVersionLocaleSpecification: { // BotVersionLocaleSpecification // required
38
+ * "<keys>": { // BotVersionLocaleDetails
39
+ * sourceBotVersion: "STRING_VALUE", // required
40
+ * },
41
+ * },
42
+ * };
34
43
  * const command = new CreateBotVersionCommand(input);
35
44
  * const response = await client.send(command);
36
45
  * ```
@@ -35,6 +35,26 @@ export interface CreateExportCommandOutput extends CreateExportResponse, __Metad
35
35
  * import { LexModelsV2Client, CreateExportCommand } from "@aws-sdk/client-lex-models-v2"; // ES Modules import
36
36
  * // const { LexModelsV2Client, CreateExportCommand } = require("@aws-sdk/client-lex-models-v2"); // CommonJS import
37
37
  * const client = new LexModelsV2Client(config);
38
+ * const input = { // CreateExportRequest
39
+ * resourceSpecification: { // ExportResourceSpecification
40
+ * botExportSpecification: { // BotExportSpecification
41
+ * botId: "STRING_VALUE", // required
42
+ * botVersion: "STRING_VALUE", // required
43
+ * },
44
+ * botLocaleExportSpecification: { // BotLocaleExportSpecification
45
+ * botId: "STRING_VALUE", // required
46
+ * botVersion: "STRING_VALUE", // required
47
+ * localeId: "STRING_VALUE", // required
48
+ * },
49
+ * customVocabularyExportSpecification: { // CustomVocabularyExportSpecification
50
+ * botId: "STRING_VALUE", // required
51
+ * botVersion: "STRING_VALUE", // required
52
+ * localeId: "STRING_VALUE", // required
53
+ * },
54
+ * },
55
+ * fileFormat: "LexJson" || "TSV", // required
56
+ * filePassword: "STRING_VALUE",
57
+ * };
38
58
  * const command = new CreateExportCommand(input);
39
59
  * const response = await client.send(command);
40
60
  * ```
@@ -63,6 +63,436 @@ export interface CreateIntentCommandOutput extends CreateIntentResponse, __Metad
63
63
  * import { LexModelsV2Client, CreateIntentCommand } from "@aws-sdk/client-lex-models-v2"; // ES Modules import
64
64
  * // const { LexModelsV2Client, CreateIntentCommand } = require("@aws-sdk/client-lex-models-v2"); // CommonJS import
65
65
  * const client = new LexModelsV2Client(config);
66
+ * const input = { // CreateIntentRequest
67
+ * intentName: "STRING_VALUE", // required
68
+ * description: "STRING_VALUE",
69
+ * parentIntentSignature: "STRING_VALUE",
70
+ * sampleUtterances: [ // SampleUtterancesList
71
+ * { // SampleUtterance
72
+ * utterance: "STRING_VALUE", // required
73
+ * },
74
+ * ],
75
+ * dialogCodeHook: { // DialogCodeHookSettings
76
+ * enabled: true || false, // required
77
+ * },
78
+ * fulfillmentCodeHook: { // FulfillmentCodeHookSettings
79
+ * enabled: true || false, // required
80
+ * postFulfillmentStatusSpecification: { // PostFulfillmentStatusSpecification
81
+ * successResponse: { // ResponseSpecification
82
+ * messageGroups: [ // MessageGroupsList // required
83
+ * { // MessageGroup
84
+ * message: { // Message
85
+ * plainTextMessage: { // PlainTextMessage
86
+ * value: "STRING_VALUE", // required
87
+ * },
88
+ * customPayload: { // CustomPayload
89
+ * value: "STRING_VALUE", // required
90
+ * },
91
+ * ssmlMessage: { // SSMLMessage
92
+ * value: "STRING_VALUE", // required
93
+ * },
94
+ * imageResponseCard: { // ImageResponseCard
95
+ * title: "STRING_VALUE", // required
96
+ * subtitle: "STRING_VALUE",
97
+ * imageUrl: "STRING_VALUE",
98
+ * buttons: [ // ButtonsList
99
+ * { // Button
100
+ * text: "STRING_VALUE", // required
101
+ * value: "STRING_VALUE", // required
102
+ * },
103
+ * ],
104
+ * },
105
+ * },
106
+ * variations: [ // MessageVariationsList
107
+ * {
108
+ * plainTextMessage: {
109
+ * value: "STRING_VALUE", // required
110
+ * },
111
+ * customPayload: {
112
+ * value: "STRING_VALUE", // required
113
+ * },
114
+ * ssmlMessage: {
115
+ * value: "STRING_VALUE", // required
116
+ * },
117
+ * imageResponseCard: {
118
+ * title: "STRING_VALUE", // required
119
+ * subtitle: "STRING_VALUE",
120
+ * imageUrl: "STRING_VALUE",
121
+ * buttons: [
122
+ * {
123
+ * text: "STRING_VALUE", // required
124
+ * value: "STRING_VALUE", // required
125
+ * },
126
+ * ],
127
+ * },
128
+ * },
129
+ * ],
130
+ * },
131
+ * ],
132
+ * allowInterrupt: true || false,
133
+ * },
134
+ * failureResponse: {
135
+ * messageGroups: [ // required
136
+ * {
137
+ * message: {
138
+ * plainTextMessage: {
139
+ * value: "STRING_VALUE", // required
140
+ * },
141
+ * customPayload: {
142
+ * value: "STRING_VALUE", // required
143
+ * },
144
+ * ssmlMessage: {
145
+ * value: "STRING_VALUE", // required
146
+ * },
147
+ * imageResponseCard: {
148
+ * title: "STRING_VALUE", // required
149
+ * subtitle: "STRING_VALUE",
150
+ * imageUrl: "STRING_VALUE",
151
+ * buttons: [
152
+ * {
153
+ * text: "STRING_VALUE", // required
154
+ * value: "STRING_VALUE", // required
155
+ * },
156
+ * ],
157
+ * },
158
+ * },
159
+ * variations: [
160
+ * {
161
+ * plainTextMessage: {
162
+ * value: "STRING_VALUE", // required
163
+ * },
164
+ * customPayload: {
165
+ * value: "STRING_VALUE", // required
166
+ * },
167
+ * ssmlMessage: {
168
+ * value: "STRING_VALUE", // required
169
+ * },
170
+ * imageResponseCard: {
171
+ * title: "STRING_VALUE", // required
172
+ * subtitle: "STRING_VALUE",
173
+ * imageUrl: "STRING_VALUE",
174
+ * buttons: [
175
+ * {
176
+ * text: "STRING_VALUE", // required
177
+ * value: "STRING_VALUE", // required
178
+ * },
179
+ * ],
180
+ * },
181
+ * },
182
+ * ],
183
+ * },
184
+ * ],
185
+ * allowInterrupt: true || false,
186
+ * },
187
+ * timeoutResponse: {
188
+ * messageGroups: [ // required
189
+ * {
190
+ * message: {
191
+ * plainTextMessage: {
192
+ * value: "STRING_VALUE", // required
193
+ * },
194
+ * customPayload: {
195
+ * value: "STRING_VALUE", // required
196
+ * },
197
+ * ssmlMessage: {
198
+ * value: "STRING_VALUE", // required
199
+ * },
200
+ * imageResponseCard: {
201
+ * title: "STRING_VALUE", // required
202
+ * subtitle: "STRING_VALUE",
203
+ * imageUrl: "STRING_VALUE",
204
+ * buttons: [
205
+ * {
206
+ * text: "STRING_VALUE", // required
207
+ * value: "STRING_VALUE", // required
208
+ * },
209
+ * ],
210
+ * },
211
+ * },
212
+ * variations: [
213
+ * "<Message>",
214
+ * ],
215
+ * },
216
+ * ],
217
+ * allowInterrupt: true || false,
218
+ * },
219
+ * successNextStep: { // DialogState
220
+ * dialogAction: { // DialogAction
221
+ * type: "ElicitIntent" || "StartIntent" || "ElicitSlot" || "EvaluateConditional" || "InvokeDialogCodeHook" || "ConfirmIntent" || "FulfillIntent" || "CloseIntent" || "EndConversation", // required
222
+ * slotToElicit: "STRING_VALUE",
223
+ * suppressNextMessage: true || false,
224
+ * },
225
+ * intent: { // IntentOverride
226
+ * name: "STRING_VALUE",
227
+ * slots: { // SlotValueOverrideMap
228
+ * "<keys>": { // SlotValueOverride
229
+ * shape: "Scalar" || "List",
230
+ * value: { // SlotValue
231
+ * interpretedValue: "STRING_VALUE",
232
+ * },
233
+ * values: [ // SlotValues
234
+ * {
235
+ * shape: "Scalar" || "List",
236
+ * value: {
237
+ * interpretedValue: "STRING_VALUE",
238
+ * },
239
+ * values: [
240
+ * "<SlotValueOverride>",
241
+ * ],
242
+ * },
243
+ * ],
244
+ * },
245
+ * },
246
+ * },
247
+ * sessionAttributes: { // StringMap
248
+ * "<keys>": "STRING_VALUE",
249
+ * },
250
+ * },
251
+ * successConditional: { // ConditionalSpecification
252
+ * active: true || false, // required
253
+ * conditionalBranches: [ // ConditionalBranches // required
254
+ * { // ConditionalBranch
255
+ * name: "STRING_VALUE", // required
256
+ * condition: { // Condition
257
+ * expressionString: "STRING_VALUE", // required
258
+ * },
259
+ * nextStep: {
260
+ * dialogAction: {
261
+ * type: "ElicitIntent" || "StartIntent" || "ElicitSlot" || "EvaluateConditional" || "InvokeDialogCodeHook" || "ConfirmIntent" || "FulfillIntent" || "CloseIntent" || "EndConversation", // required
262
+ * slotToElicit: "STRING_VALUE",
263
+ * suppressNextMessage: true || false,
264
+ * },
265
+ * intent: {
266
+ * name: "STRING_VALUE",
267
+ * slots: {
268
+ * "<keys>": "<SlotValueOverride>",
269
+ * },
270
+ * },
271
+ * sessionAttributes: {
272
+ * "<keys>": "STRING_VALUE",
273
+ * },
274
+ * },
275
+ * response: {
276
+ * messageGroups: [ // required
277
+ * {
278
+ * message: "<Message>", // required
279
+ * variations: [
280
+ * "<Message>",
281
+ * ],
282
+ * },
283
+ * ],
284
+ * allowInterrupt: true || false,
285
+ * },
286
+ * },
287
+ * ],
288
+ * defaultBranch: { // DefaultConditionalBranch
289
+ * nextStep: "<DialogState>",
290
+ * response: "<ResponseSpecification>",
291
+ * },
292
+ * },
293
+ * failureNextStep: "<DialogState>",
294
+ * failureConditional: {
295
+ * active: true || false, // required
296
+ * conditionalBranches: [ // required
297
+ * {
298
+ * name: "STRING_VALUE", // required
299
+ * condition: {
300
+ * expressionString: "STRING_VALUE", // required
301
+ * },
302
+ * nextStep: "<DialogState>", // required
303
+ * response: "<ResponseSpecification>",
304
+ * },
305
+ * ],
306
+ * defaultBranch: {
307
+ * nextStep: "<DialogState>",
308
+ * response: "<ResponseSpecification>",
309
+ * },
310
+ * },
311
+ * timeoutNextStep: "<DialogState>",
312
+ * timeoutConditional: {
313
+ * active: true || false, // required
314
+ * conditionalBranches: [ // required
315
+ * {
316
+ * name: "STRING_VALUE", // required
317
+ * condition: {
318
+ * expressionString: "STRING_VALUE", // required
319
+ * },
320
+ * nextStep: "<DialogState>", // required
321
+ * response: "<ResponseSpecification>",
322
+ * },
323
+ * ],
324
+ * defaultBranch: {
325
+ * nextStep: "<DialogState>",
326
+ * response: "<ResponseSpecification>",
327
+ * },
328
+ * },
329
+ * },
330
+ * fulfillmentUpdatesSpecification: { // FulfillmentUpdatesSpecification
331
+ * active: true || false, // required
332
+ * startResponse: { // FulfillmentStartResponseSpecification
333
+ * delayInSeconds: Number("int"), // required
334
+ * messageGroups: [ // required
335
+ * {
336
+ * message: "<Message>", // required
337
+ * variations: [
338
+ * "<Message>",
339
+ * ],
340
+ * },
341
+ * ],
342
+ * allowInterrupt: true || false,
343
+ * },
344
+ * updateResponse: { // FulfillmentUpdateResponseSpecification
345
+ * frequencyInSeconds: Number("int"), // required
346
+ * messageGroups: "<MessageGroupsList>", // required
347
+ * allowInterrupt: true || false,
348
+ * },
349
+ * timeoutInSeconds: Number("int"),
350
+ * },
351
+ * active: true || false,
352
+ * },
353
+ * intentConfirmationSetting: { // IntentConfirmationSetting
354
+ * promptSpecification: { // PromptSpecification
355
+ * messageGroups: "<MessageGroupsList>", // required
356
+ * maxRetries: Number("int"), // required
357
+ * allowInterrupt: true || false,
358
+ * messageSelectionStrategy: "Random" || "Ordered",
359
+ * promptAttemptsSpecification: { // PromptAttemptsSpecificationMap
360
+ * "<keys>": { // PromptAttemptSpecification
361
+ * allowInterrupt: true || false,
362
+ * allowedInputTypes: { // AllowedInputTypes
363
+ * allowAudioInput: true || false, // required
364
+ * allowDTMFInput: true || false, // required
365
+ * },
366
+ * audioAndDTMFInputSpecification: { // AudioAndDTMFInputSpecification
367
+ * startTimeoutMs: Number("int"), // required
368
+ * audioSpecification: { // AudioSpecification
369
+ * maxLengthMs: Number("int"), // required
370
+ * endTimeoutMs: Number("int"), // required
371
+ * },
372
+ * dtmfSpecification: { // DTMFSpecification
373
+ * maxLength: Number("int"), // required
374
+ * endTimeoutMs: Number("int"), // required
375
+ * deletionCharacter: "STRING_VALUE", // required
376
+ * endCharacter: "STRING_VALUE", // required
377
+ * },
378
+ * },
379
+ * textInputSpecification: { // TextInputSpecification
380
+ * startTimeoutMs: Number("int"), // required
381
+ * },
382
+ * },
383
+ * },
384
+ * },
385
+ * declinationResponse: "<ResponseSpecification>",
386
+ * active: true || false,
387
+ * confirmationResponse: "<ResponseSpecification>",
388
+ * confirmationNextStep: "<DialogState>",
389
+ * confirmationConditional: {
390
+ * active: true || false, // required
391
+ * conditionalBranches: [ // required
392
+ * {
393
+ * name: "STRING_VALUE", // required
394
+ * condition: {
395
+ * expressionString: "STRING_VALUE", // required
396
+ * },
397
+ * nextStep: "<DialogState>", // required
398
+ * response: "<ResponseSpecification>",
399
+ * },
400
+ * ],
401
+ * defaultBranch: {
402
+ * nextStep: "<DialogState>",
403
+ * response: "<ResponseSpecification>",
404
+ * },
405
+ * },
406
+ * declinationNextStep: "<DialogState>",
407
+ * declinationConditional: {
408
+ * active: true || false, // required
409
+ * conditionalBranches: [ // required
410
+ * {
411
+ * name: "STRING_VALUE", // required
412
+ * condition: {
413
+ * expressionString: "STRING_VALUE", // required
414
+ * },
415
+ * nextStep: "<DialogState>", // required
416
+ * response: "<ResponseSpecification>",
417
+ * },
418
+ * ],
419
+ * defaultBranch: {
420
+ * nextStep: "<DialogState>",
421
+ * response: "<ResponseSpecification>",
422
+ * },
423
+ * },
424
+ * failureResponse: "<ResponseSpecification>",
425
+ * failureNextStep: "<DialogState>",
426
+ * failureConditional: "<ConditionalSpecification>",
427
+ * codeHook: { // DialogCodeHookInvocationSetting
428
+ * enableCodeHookInvocation: true || false, // required
429
+ * active: true || false, // required
430
+ * invocationLabel: "STRING_VALUE",
431
+ * postCodeHookSpecification: { // PostDialogCodeHookInvocationSpecification
432
+ * successResponse: "<ResponseSpecification>",
433
+ * successNextStep: "<DialogState>",
434
+ * successConditional: "<ConditionalSpecification>",
435
+ * failureResponse: "<ResponseSpecification>",
436
+ * failureNextStep: "<DialogState>",
437
+ * failureConditional: "<ConditionalSpecification>",
438
+ * timeoutResponse: "<ResponseSpecification>",
439
+ * timeoutNextStep: "<DialogState>",
440
+ * timeoutConditional: "<ConditionalSpecification>",
441
+ * },
442
+ * },
443
+ * elicitationCodeHook: { // ElicitationCodeHookInvocationSetting
444
+ * enableCodeHookInvocation: true || false, // required
445
+ * invocationLabel: "STRING_VALUE",
446
+ * },
447
+ * },
448
+ * intentClosingSetting: { // IntentClosingSetting
449
+ * closingResponse: "<ResponseSpecification>",
450
+ * active: true || false,
451
+ * nextStep: "<DialogState>",
452
+ * conditional: "<ConditionalSpecification>",
453
+ * },
454
+ * inputContexts: [ // InputContextsList
455
+ * { // InputContext
456
+ * name: "STRING_VALUE", // required
457
+ * },
458
+ * ],
459
+ * outputContexts: [ // OutputContextsList
460
+ * { // OutputContext
461
+ * name: "STRING_VALUE", // required
462
+ * timeToLiveInSeconds: Number("int"), // required
463
+ * turnsToLive: Number("int"), // required
464
+ * },
465
+ * ],
466
+ * kendraConfiguration: { // KendraConfiguration
467
+ * kendraIndex: "STRING_VALUE", // required
468
+ * queryFilterStringEnabled: true || false,
469
+ * queryFilterString: "STRING_VALUE",
470
+ * },
471
+ * botId: "STRING_VALUE", // required
472
+ * botVersion: "STRING_VALUE", // required
473
+ * localeId: "STRING_VALUE", // required
474
+ * initialResponseSetting: { // InitialResponseSetting
475
+ * initialResponse: "<ResponseSpecification>",
476
+ * nextStep: "<DialogState>",
477
+ * conditional: "<ConditionalSpecification>",
478
+ * codeHook: {
479
+ * enableCodeHookInvocation: true || false, // required
480
+ * active: true || false, // required
481
+ * invocationLabel: "STRING_VALUE",
482
+ * postCodeHookSpecification: {
483
+ * successResponse: "<ResponseSpecification>",
484
+ * successNextStep: "<DialogState>",
485
+ * successConditional: "<ConditionalSpecification>",
486
+ * failureResponse: "<ResponseSpecification>",
487
+ * failureNextStep: "<DialogState>",
488
+ * failureConditional: "<ConditionalSpecification>",
489
+ * timeoutResponse: "<ResponseSpecification>",
490
+ * timeoutNextStep: "<DialogState>",
491
+ * timeoutConditional: "<ConditionalSpecification>",
492
+ * },
493
+ * },
494
+ * },
495
+ * };
66
496
  * const command = new CreateIntentCommand(input);
67
497
  * const response = await client.send(command);
68
498
  * ```
@@ -27,6 +27,10 @@ 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 = { // CreateResourcePolicyRequest
31
+ * resourceArn: "STRING_VALUE", // required
32
+ * policy: "STRING_VALUE", // required
33
+ * };
30
34
  * const command = new CreateResourcePolicyCommand(input);
31
35
  * const response = await client.send(command);
32
36
  * ```