@aws-sdk/client-lex-model-building-service 3.408.0 → 3.409.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/endpoint/ruleset.js +3 -3
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-types/commands/CreateBotVersionCommand.d.ts +4 -4
- package/dist-types/commands/CreateIntentVersionCommand.d.ts +6 -6
- package/dist-types/commands/CreateSlotTypeVersionCommand.d.ts +1 -3
- package/dist-types/commands/DeleteBotCommand.d.ts +0 -1
- package/dist-types/commands/DeleteIntentCommand.d.ts +0 -1
- package/dist-types/commands/GetBotAliasCommand.d.ts +2 -2
- package/dist-types/commands/GetBotAliasesCommand.d.ts +2 -2
- package/dist-types/commands/GetBotChannelAssociationCommand.d.ts +2 -2
- package/dist-types/commands/GetBotChannelAssociationsCommand.d.ts +2 -2
- package/dist-types/commands/GetBotCommand.d.ts +4 -4
- package/dist-types/commands/GetBotVersionsCommand.d.ts +1 -1
- package/dist-types/commands/GetBotsCommand.d.ts +1 -1
- package/dist-types/commands/GetBuiltinIntentCommand.d.ts +1 -1
- package/dist-types/commands/GetBuiltinIntentsCommand.d.ts +2 -2
- package/dist-types/commands/GetBuiltinSlotTypesCommand.d.ts +2 -3
- package/dist-types/commands/GetExportCommand.d.ts +5 -5
- package/dist-types/commands/GetImportCommand.d.ts +3 -3
- package/dist-types/commands/GetIntentCommand.d.ts +6 -6
- package/dist-types/commands/GetMigrationCommand.d.ts +4 -4
- package/dist-types/commands/GetMigrationsCommand.d.ts +6 -6
- package/dist-types/commands/GetSlotTypeCommand.d.ts +1 -1
- package/dist-types/commands/GetUtterancesViewCommand.d.ts +1 -1
- package/dist-types/commands/PutBotAliasCommand.d.ts +4 -4
- package/dist-types/commands/PutBotCommand.d.ts +8 -9
- package/dist-types/commands/PutIntentCommand.d.ts +12 -13
- package/dist-types/commands/PutSlotTypeCommand.d.ts +2 -3
- package/dist-types/commands/StartImportCommand.d.ts +5 -5
- package/dist-types/commands/StartMigrationCommand.d.ts +3 -3
- package/dist-types/models/models_0.d.ts +0 -6
- package/package.json +3 -3
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ruleSet = void 0;
|
|
4
|
-
const
|
|
5
|
-
const a = "
|
|
6
|
-
const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [
|
|
4
|
+
const u = "required", v = "fn", w = "argv", x = "ref", y = "properties", z = "headers";
|
|
5
|
+
const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = { [u]: false, "type": "String" }, g = { [u]: true, "default": false, "type": "Boolean" }, h = { [x]: "Endpoint" }, i = { [v]: "booleanEquals", [w]: [{ [x]: "UseFIPS" }, true] }, j = { [v]: "booleanEquals", [w]: [{ [x]: "UseDualStack" }, true] }, k = {}, l = { [v]: "booleanEquals", [w]: [true, { [v]: "getAttr", [w]: [{ [x]: e }, "supportsFIPS"] }] }, m = { [v]: "booleanEquals", [w]: [true, { [v]: "getAttr", [w]: [{ [x]: e }, "supportsDualStack"] }] }, n = { "url": "https://models-fips.lex.{Region}.amazonaws.com", [y]: {}, [z]: {} }, o = { "url": "https://models.lex.{Region}.amazonaws.com", [y]: {}, [z]: {} }, p = [i], q = [j], r = [{ [x]: "Region" }], s = [{ [v]: "stringEquals", [w]: ["aws", { [v]: "getAttr", [w]: [{ [x]: e }, "name"] }] }], t = [{ [v]: "stringEquals", [w]: ["aws-us-gov", { [v]: "getAttr", [w]: [{ [x]: e }, "name"] }] }];
|
|
6
|
+
const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [v]: a, [w]: [h] }], type: b, rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, [y]: k, [z]: k }, type: d }] }, { conditions: [{ [v]: a, [w]: r }], type: b, rules: [{ conditions: [{ [v]: "aws.partition", [w]: r, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ endpoint: { url: "https://models.lex-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", [y]: k, [z]: k }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: p, type: b, rules: [{ conditions: [l], type: b, rules: [{ conditions: s, endpoint: n, type: d }, { conditions: t, endpoint: n, type: d }, { endpoint: { url: "https://models.lex-fips.{Region}.{PartitionResult#dnsSuffix}", [y]: k, [z]: k }, type: d }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: q, type: b, rules: [{ conditions: [m], type: b, rules: [{ endpoint: { url: "https://models.lex.{Region}.{PartitionResult#dualStackDnsSuffix}", [y]: k, [z]: k }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { conditions: s, endpoint: o, type: d }, { conditions: t, endpoint: o, type: d }, { endpoint: { url: "https://models.lex.{Region}.{PartitionResult#dnsSuffix}", [y]: k, [z]: k }, type: d }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] };
|
|
7
7
|
exports.ruleSet = _data;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
2
|
-
const a = "
|
|
3
|
-
const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [
|
|
1
|
+
const u = "required", v = "fn", w = "argv", x = "ref", y = "properties", z = "headers";
|
|
2
|
+
const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = { [u]: false, "type": "String" }, g = { [u]: true, "default": false, "type": "Boolean" }, h = { [x]: "Endpoint" }, i = { [v]: "booleanEquals", [w]: [{ [x]: "UseFIPS" }, true] }, j = { [v]: "booleanEquals", [w]: [{ [x]: "UseDualStack" }, true] }, k = {}, l = { [v]: "booleanEquals", [w]: [true, { [v]: "getAttr", [w]: [{ [x]: e }, "supportsFIPS"] }] }, m = { [v]: "booleanEquals", [w]: [true, { [v]: "getAttr", [w]: [{ [x]: e }, "supportsDualStack"] }] }, n = { "url": "https://models-fips.lex.{Region}.amazonaws.com", [y]: {}, [z]: {} }, o = { "url": "https://models.lex.{Region}.amazonaws.com", [y]: {}, [z]: {} }, p = [i], q = [j], r = [{ [x]: "Region" }], s = [{ [v]: "stringEquals", [w]: ["aws", { [v]: "getAttr", [w]: [{ [x]: e }, "name"] }] }], t = [{ [v]: "stringEquals", [w]: ["aws-us-gov", { [v]: "getAttr", [w]: [{ [x]: e }, "name"] }] }];
|
|
3
|
+
const _data = { version: "1.0", parameters: { Region: f, UseDualStack: g, UseFIPS: g, Endpoint: f }, rules: [{ conditions: [{ [v]: a, [w]: [h] }], type: b, rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: h, [y]: k, [z]: k }, type: d }] }, { conditions: [{ [v]: a, [w]: r }], type: b, rules: [{ conditions: [{ [v]: "aws.partition", [w]: r, assign: e }], type: b, rules: [{ conditions: [i, j], type: b, rules: [{ conditions: [l, m], type: b, rules: [{ endpoint: { url: "https://models.lex-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", [y]: k, [z]: k }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: p, type: b, rules: [{ conditions: [l], type: b, rules: [{ conditions: s, endpoint: n, type: d }, { conditions: t, endpoint: n, type: d }, { endpoint: { url: "https://models.lex-fips.{Region}.{PartitionResult#dnsSuffix}", [y]: k, [z]: k }, type: d }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: q, type: b, rules: [{ conditions: [m], type: b, rules: [{ endpoint: { url: "https://models.lex.{Region}.{PartitionResult#dualStackDnsSuffix}", [y]: k, [z]: k }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { conditions: s, endpoint: o, type: d }, { conditions: t, endpoint: o, type: d }, { endpoint: { url: "https://models.lex.{Region}.{PartitionResult#dnsSuffix}", [y]: k, [z]: k }, type: d }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] };
|
|
4
4
|
export const ruleSet = _data;
|
|
@@ -60,7 +60,7 @@ export interface CreateBotVersionCommandOutput extends CreateBotVersionResponse,
|
|
|
60
60
|
* // clarificationPrompt: { // Prompt
|
|
61
61
|
* // messages: [ // MessageList // required
|
|
62
62
|
* // { // Message
|
|
63
|
-
* // contentType: "
|
|
63
|
+
* // contentType: "PlainText" || "SSML" || "CustomPayload", // required
|
|
64
64
|
* // content: "STRING_VALUE", // required
|
|
65
65
|
* // groupNumber: Number("int"),
|
|
66
66
|
* // },
|
|
@@ -71,14 +71,14 @@ export interface CreateBotVersionCommandOutput extends CreateBotVersionResponse,
|
|
|
71
71
|
* // abortStatement: { // Statement
|
|
72
72
|
* // messages: [ // required
|
|
73
73
|
* // {
|
|
74
|
-
* // contentType: "
|
|
74
|
+
* // contentType: "PlainText" || "SSML" || "CustomPayload", // required
|
|
75
75
|
* // content: "STRING_VALUE", // required
|
|
76
76
|
* // groupNumber: Number("int"),
|
|
77
77
|
* // },
|
|
78
78
|
* // ],
|
|
79
79
|
* // responseCard: "STRING_VALUE",
|
|
80
80
|
* // },
|
|
81
|
-
* // status: "
|
|
81
|
+
* // status: "BUILDING" || "READY" || "READY_BASIC_TESTING" || "FAILED" || "NOT_BUILT",
|
|
82
82
|
* // failureReason: "STRING_VALUE",
|
|
83
83
|
* // lastUpdatedDate: new Date("TIMESTAMP"),
|
|
84
84
|
* // createdDate: new Date("TIMESTAMP"),
|
|
@@ -86,7 +86,7 @@ export interface CreateBotVersionCommandOutput extends CreateBotVersionResponse,
|
|
|
86
86
|
* // voiceId: "STRING_VALUE",
|
|
87
87
|
* // checksum: "STRING_VALUE",
|
|
88
88
|
* // version: "STRING_VALUE",
|
|
89
|
-
* // locale: "
|
|
89
|
+
* // locale: "de-DE" || "en-AU" || "en-GB" || "en-IN" || "en-US" || "es-419" || "es-ES" || "es-US" || "fr-FR" || "fr-CA" || "it-IT" || "ja-JP" || "ko-KR",
|
|
90
90
|
* // childDirected: true || false,
|
|
91
91
|
* // enableModelImprovements: true || false,
|
|
92
92
|
* // detectSentiment: true || false,
|
|
@@ -56,13 +56,13 @@ export interface CreateIntentVersionCommandOutput extends CreateIntentVersionRes
|
|
|
56
56
|
* // { // Slot
|
|
57
57
|
* // name: "STRING_VALUE", // required
|
|
58
58
|
* // description: "STRING_VALUE",
|
|
59
|
-
* // slotConstraint: "
|
|
59
|
+
* // slotConstraint: "Required" || "Optional", // required
|
|
60
60
|
* // slotType: "STRING_VALUE",
|
|
61
61
|
* // slotTypeVersion: "STRING_VALUE",
|
|
62
62
|
* // valueElicitationPrompt: { // Prompt
|
|
63
63
|
* // messages: [ // MessageList // required
|
|
64
64
|
* // { // Message
|
|
65
|
-
* // contentType: "
|
|
65
|
+
* // contentType: "PlainText" || "SSML" || "CustomPayload", // required
|
|
66
66
|
* // content: "STRING_VALUE", // required
|
|
67
67
|
* // groupNumber: Number("int"),
|
|
68
68
|
* // },
|
|
@@ -75,7 +75,7 @@ export interface CreateIntentVersionCommandOutput extends CreateIntentVersionRes
|
|
|
75
75
|
* // "STRING_VALUE",
|
|
76
76
|
* // ],
|
|
77
77
|
* // responseCard: "STRING_VALUE",
|
|
78
|
-
* // obfuscationSetting: "
|
|
78
|
+
* // obfuscationSetting: "NONE" || "DEFAULT_OBFUSCATION",
|
|
79
79
|
* // defaultValueSpec: { // SlotDefaultValueSpec
|
|
80
80
|
* // defaultValueList: [ // SlotDefaultValueList // required
|
|
81
81
|
* // { // SlotDefaultValue
|
|
@@ -91,7 +91,7 @@ export interface CreateIntentVersionCommandOutput extends CreateIntentVersionRes
|
|
|
91
91
|
* // confirmationPrompt: {
|
|
92
92
|
* // messages: [ // required
|
|
93
93
|
* // {
|
|
94
|
-
* // contentType: "
|
|
94
|
+
* // contentType: "PlainText" || "SSML" || "CustomPayload", // required
|
|
95
95
|
* // content: "STRING_VALUE", // required
|
|
96
96
|
* // groupNumber: Number("int"),
|
|
97
97
|
* // },
|
|
@@ -102,7 +102,7 @@ export interface CreateIntentVersionCommandOutput extends CreateIntentVersionRes
|
|
|
102
102
|
* // rejectionStatement: { // Statement
|
|
103
103
|
* // messages: [ // required
|
|
104
104
|
* // {
|
|
105
|
-
* // contentType: "
|
|
105
|
+
* // contentType: "PlainText" || "SSML" || "CustomPayload", // required
|
|
106
106
|
* // content: "STRING_VALUE", // required
|
|
107
107
|
* // groupNumber: Number("int"),
|
|
108
108
|
* // },
|
|
@@ -125,7 +125,7 @@ export interface CreateIntentVersionCommandOutput extends CreateIntentVersionRes
|
|
|
125
125
|
* // messageVersion: "STRING_VALUE", // required
|
|
126
126
|
* // },
|
|
127
127
|
* // fulfillmentActivity: { // FulfillmentActivity
|
|
128
|
-
* // type: "
|
|
128
|
+
* // type: "ReturnIntent" || "CodeHook", // required
|
|
129
129
|
* // codeHook: {
|
|
130
130
|
* // uri: "STRING_VALUE", // required
|
|
131
131
|
* // messageVersion: "STRING_VALUE", // required
|
|
@@ -33,10 +33,8 @@ export interface CreateSlotTypeVersionCommandOutput extends CreateSlotTypeVersio
|
|
|
33
33
|
* type. You can't update the numbered versions that you create with the
|
|
34
34
|
* <code>CreateSlotTypeVersion</code> operation.</p>
|
|
35
35
|
* </note>
|
|
36
|
-
*
|
|
37
36
|
* <p>When you create a version of a slot type, Amazon Lex sets the version to
|
|
38
37
|
* 1. Subsequent versions increment by 1. For more information, see <a>versioning-intro</a>. </p>
|
|
39
|
-
*
|
|
40
38
|
* <p>This operation requires permissions for the
|
|
41
39
|
* <code>lex:CreateSlotTypeVersion</code> action.</p>
|
|
42
40
|
* @example
|
|
@@ -66,7 +64,7 @@ export interface CreateSlotTypeVersionCommandOutput extends CreateSlotTypeVersio
|
|
|
66
64
|
* // createdDate: new Date("TIMESTAMP"),
|
|
67
65
|
* // version: "STRING_VALUE",
|
|
68
66
|
* // checksum: "STRING_VALUE",
|
|
69
|
-
* // valueSelectionStrategy: "
|
|
67
|
+
* // valueSelectionStrategy: "ORIGINAL_VALUE" || "TOP_RESOLUTION",
|
|
70
68
|
* // parentSlotTypeSignature: "STRING_VALUE",
|
|
71
69
|
* // slotTypeConfigurations: [ // SlotTypeConfigurations
|
|
72
70
|
* // { // SlotTypeConfiguration
|
|
@@ -37,7 +37,6 @@ export interface DeleteBotCommandOutput extends __MetadataBearer {
|
|
|
37
37
|
* delete the alias. If you get the same exception again, delete the
|
|
38
38
|
* referring alias until the <code>DeleteBot</code> operation is
|
|
39
39
|
* successful.</p>
|
|
40
|
-
*
|
|
41
40
|
* <p>This operation requires permissions for the
|
|
42
41
|
* <code>lex:DeleteBot</code> action.</p>
|
|
43
42
|
* @example
|
|
@@ -38,7 +38,6 @@ export interface DeleteIntentCommandOutput extends __MetadataBearer {
|
|
|
38
38
|
* again, repeat until the intent has no references and the call to
|
|
39
39
|
* <code>DeleteIntent</code> is successful. </p>
|
|
40
40
|
* </note>
|
|
41
|
-
*
|
|
42
41
|
* <p> This operation requires permission for the
|
|
43
42
|
* <code>lex:DeleteIntent</code> action. </p>
|
|
44
43
|
* @example
|
|
@@ -50,8 +50,8 @@ export interface GetBotAliasCommandOutput extends GetBotAliasResponse, __Metadat
|
|
|
50
50
|
* // conversationLogs: { // ConversationLogsResponse
|
|
51
51
|
* // logSettings: [ // LogSettingsResponseList
|
|
52
52
|
* // { // LogSettingsResponse
|
|
53
|
-
* // logType: "
|
|
54
|
-
* // destination: "
|
|
53
|
+
* // logType: "AUDIO" || "TEXT",
|
|
54
|
+
* // destination: "CLOUDWATCH_LOGS" || "S3",
|
|
55
55
|
* // kmsKeyArn: "STRING_VALUE",
|
|
56
56
|
* // resourceArn: "STRING_VALUE",
|
|
57
57
|
* // resourcePrefix: "STRING_VALUE",
|
|
@@ -53,8 +53,8 @@ export interface GetBotAliasesCommandOutput extends GetBotAliasesResponse, __Met
|
|
|
53
53
|
* // conversationLogs: { // ConversationLogsResponse
|
|
54
54
|
* // logSettings: [ // LogSettingsResponseList
|
|
55
55
|
* // { // LogSettingsResponse
|
|
56
|
-
* // logType: "
|
|
57
|
-
* // destination: "
|
|
56
|
+
* // logType: "AUDIO" || "TEXT",
|
|
57
|
+
* // destination: "CLOUDWATCH_LOGS" || "S3",
|
|
58
58
|
* // kmsKeyArn: "STRING_VALUE",
|
|
59
59
|
* // resourceArn: "STRING_VALUE",
|
|
60
60
|
* // resourcePrefix: "STRING_VALUE",
|
|
@@ -46,11 +46,11 @@ export interface GetBotChannelAssociationCommandOutput extends GetBotChannelAsso
|
|
|
46
46
|
* // botAlias: "STRING_VALUE",
|
|
47
47
|
* // botName: "STRING_VALUE",
|
|
48
48
|
* // createdDate: new Date("TIMESTAMP"),
|
|
49
|
-
* // type: "
|
|
49
|
+
* // type: "Facebook" || "Slack" || "Twilio-Sms" || "Kik",
|
|
50
50
|
* // botConfiguration: { // ChannelConfigurationMap
|
|
51
51
|
* // "<keys>": "STRING_VALUE",
|
|
52
52
|
* // },
|
|
53
|
-
* // status: "
|
|
53
|
+
* // status: "IN_PROGRESS" || "CREATED" || "FAILED",
|
|
54
54
|
* // failureReason: "STRING_VALUE",
|
|
55
55
|
* // };
|
|
56
56
|
*
|
|
@@ -51,11 +51,11 @@ export interface GetBotChannelAssociationsCommandOutput extends GetBotChannelAss
|
|
|
51
51
|
* // botAlias: "STRING_VALUE",
|
|
52
52
|
* // botName: "STRING_VALUE",
|
|
53
53
|
* // createdDate: new Date("TIMESTAMP"),
|
|
54
|
-
* // type: "
|
|
54
|
+
* // type: "Facebook" || "Slack" || "Twilio-Sms" || "Kik",
|
|
55
55
|
* // botConfiguration: { // ChannelConfigurationMap
|
|
56
56
|
* // "<keys>": "STRING_VALUE",
|
|
57
57
|
* // },
|
|
58
|
-
* // status: "
|
|
58
|
+
* // status: "IN_PROGRESS" || "CREATED" || "FAILED",
|
|
59
59
|
* // failureReason: "STRING_VALUE",
|
|
60
60
|
* // },
|
|
61
61
|
* // ],
|
|
@@ -53,7 +53,7 @@ export interface GetBotCommandOutput extends GetBotResponse, __MetadataBearer {
|
|
|
53
53
|
* // clarificationPrompt: { // Prompt
|
|
54
54
|
* // messages: [ // MessageList // required
|
|
55
55
|
* // { // Message
|
|
56
|
-
* // contentType: "
|
|
56
|
+
* // contentType: "PlainText" || "SSML" || "CustomPayload", // required
|
|
57
57
|
* // content: "STRING_VALUE", // required
|
|
58
58
|
* // groupNumber: Number("int"),
|
|
59
59
|
* // },
|
|
@@ -64,14 +64,14 @@ export interface GetBotCommandOutput extends GetBotResponse, __MetadataBearer {
|
|
|
64
64
|
* // abortStatement: { // Statement
|
|
65
65
|
* // messages: [ // required
|
|
66
66
|
* // {
|
|
67
|
-
* // contentType: "
|
|
67
|
+
* // contentType: "PlainText" || "SSML" || "CustomPayload", // required
|
|
68
68
|
* // content: "STRING_VALUE", // required
|
|
69
69
|
* // groupNumber: Number("int"),
|
|
70
70
|
* // },
|
|
71
71
|
* // ],
|
|
72
72
|
* // responseCard: "STRING_VALUE",
|
|
73
73
|
* // },
|
|
74
|
-
* // status: "
|
|
74
|
+
* // status: "BUILDING" || "READY" || "READY_BASIC_TESTING" || "FAILED" || "NOT_BUILT",
|
|
75
75
|
* // failureReason: "STRING_VALUE",
|
|
76
76
|
* // lastUpdatedDate: new Date("TIMESTAMP"),
|
|
77
77
|
* // createdDate: new Date("TIMESTAMP"),
|
|
@@ -79,7 +79,7 @@ export interface GetBotCommandOutput extends GetBotResponse, __MetadataBearer {
|
|
|
79
79
|
* // voiceId: "STRING_VALUE",
|
|
80
80
|
* // checksum: "STRING_VALUE",
|
|
81
81
|
* // version: "STRING_VALUE",
|
|
82
|
-
* // locale: "
|
|
82
|
+
* // locale: "de-DE" || "en-AU" || "en-GB" || "en-IN" || "en-US" || "es-419" || "es-ES" || "es-US" || "fr-FR" || "fr-CA" || "it-IT" || "ja-JP" || "ko-KR",
|
|
83
83
|
* // childDirected: true || false,
|
|
84
84
|
* // detectSentiment: true || false,
|
|
85
85
|
* // };
|
|
@@ -52,7 +52,7 @@ export interface GetBotVersionsCommandOutput extends GetBotVersionsResponse, __M
|
|
|
52
52
|
* // { // BotMetadata
|
|
53
53
|
* // name: "STRING_VALUE",
|
|
54
54
|
* // description: "STRING_VALUE",
|
|
55
|
-
* // status: "
|
|
55
|
+
* // status: "BUILDING" || "READY" || "READY_BASIC_TESTING" || "FAILED" || "NOT_BUILT",
|
|
56
56
|
* // lastUpdatedDate: new Date("TIMESTAMP"),
|
|
57
57
|
* // createdDate: new Date("TIMESTAMP"),
|
|
58
58
|
* // version: "STRING_VALUE",
|
|
@@ -56,7 +56,7 @@ export interface GetBotsCommandOutput extends GetBotsResponse, __MetadataBearer
|
|
|
56
56
|
* // { // BotMetadata
|
|
57
57
|
* // name: "STRING_VALUE",
|
|
58
58
|
* // description: "STRING_VALUE",
|
|
59
|
-
* // status: "
|
|
59
|
+
* // status: "BUILDING" || "READY" || "READY_BASIC_TESTING" || "FAILED" || "NOT_BUILT",
|
|
60
60
|
* // lastUpdatedDate: new Date("TIMESTAMP"),
|
|
61
61
|
* // createdDate: new Date("TIMESTAMP"),
|
|
62
62
|
* // version: "STRING_VALUE",
|
|
@@ -40,7 +40,7 @@ export interface GetBuiltinIntentCommandOutput extends GetBuiltinIntentResponse,
|
|
|
40
40
|
* // { // GetBuiltinIntentResponse
|
|
41
41
|
* // signature: "STRING_VALUE",
|
|
42
42
|
* // supportedLocales: [ // LocaleList
|
|
43
|
-
* // "
|
|
43
|
+
* // "de-DE" || "en-AU" || "en-GB" || "en-IN" || "en-US" || "es-419" || "es-ES" || "es-US" || "fr-FR" || "fr-CA" || "it-IT" || "ja-JP" || "ko-KR",
|
|
44
44
|
* // ],
|
|
45
45
|
* // slots: [ // BuiltinIntentSlotList
|
|
46
46
|
* // { // BuiltinIntentSlot
|
|
@@ -34,7 +34,7 @@ export interface GetBuiltinIntentsCommandOutput extends GetBuiltinIntentsRespons
|
|
|
34
34
|
* // const { LexModelBuildingServiceClient, GetBuiltinIntentsCommand } = require("@aws-sdk/client-lex-model-building-service"); // CommonJS import
|
|
35
35
|
* const client = new LexModelBuildingServiceClient(config);
|
|
36
36
|
* const input = { // GetBuiltinIntentsRequest
|
|
37
|
-
* locale: "
|
|
37
|
+
* locale: "de-DE" || "en-AU" || "en-GB" || "en-IN" || "en-US" || "es-419" || "es-ES" || "es-US" || "fr-FR" || "fr-CA" || "it-IT" || "ja-JP" || "ko-KR",
|
|
38
38
|
* signatureContains: "STRING_VALUE",
|
|
39
39
|
* nextToken: "STRING_VALUE",
|
|
40
40
|
* maxResults: Number("int"),
|
|
@@ -46,7 +46,7 @@ export interface GetBuiltinIntentsCommandOutput extends GetBuiltinIntentsRespons
|
|
|
46
46
|
* // { // BuiltinIntentMetadata
|
|
47
47
|
* // signature: "STRING_VALUE",
|
|
48
48
|
* // supportedLocales: [ // LocaleList
|
|
49
|
-
* // "
|
|
49
|
+
* // "de-DE" || "en-AU" || "en-GB" || "en-IN" || "en-US" || "es-419" || "es-ES" || "es-US" || "fr-FR" || "fr-CA" || "it-IT" || "ja-JP" || "ko-KR",
|
|
50
50
|
* // ],
|
|
51
51
|
* // },
|
|
52
52
|
* // ],
|
|
@@ -27,7 +27,6 @@ export interface GetBuiltinSlotTypesCommandOutput extends GetBuiltinSlotTypesRes
|
|
|
27
27
|
* criteria.</p>
|
|
28
28
|
* <p>For a list of built-in slot types, see <a href="https://developer.amazon.com/public/solutions/alexa/alexa-skills-kit/docs/built-in-intent-ref/slot-type-reference">Slot Type Reference</a> in the <i>Alexa Skills
|
|
29
29
|
* Kit</i>.</p>
|
|
30
|
-
*
|
|
31
30
|
* <p>This operation requires permission for the
|
|
32
31
|
* <code>lex:GetBuiltInSlotTypes</code> action.</p>
|
|
33
32
|
* @example
|
|
@@ -37,7 +36,7 @@ export interface GetBuiltinSlotTypesCommandOutput extends GetBuiltinSlotTypesRes
|
|
|
37
36
|
* // const { LexModelBuildingServiceClient, GetBuiltinSlotTypesCommand } = require("@aws-sdk/client-lex-model-building-service"); // CommonJS import
|
|
38
37
|
* const client = new LexModelBuildingServiceClient(config);
|
|
39
38
|
* const input = { // GetBuiltinSlotTypesRequest
|
|
40
|
-
* locale: "
|
|
39
|
+
* locale: "de-DE" || "en-AU" || "en-GB" || "en-IN" || "en-US" || "es-419" || "es-ES" || "es-US" || "fr-FR" || "fr-CA" || "it-IT" || "ja-JP" || "ko-KR",
|
|
41
40
|
* signatureContains: "STRING_VALUE",
|
|
42
41
|
* nextToken: "STRING_VALUE",
|
|
43
42
|
* maxResults: Number("int"),
|
|
@@ -49,7 +48,7 @@ export interface GetBuiltinSlotTypesCommandOutput extends GetBuiltinSlotTypesRes
|
|
|
49
48
|
* // { // BuiltinSlotTypeMetadata
|
|
50
49
|
* // signature: "STRING_VALUE",
|
|
51
50
|
* // supportedLocales: [ // LocaleList
|
|
52
|
-
* // "
|
|
51
|
+
* // "de-DE" || "en-AU" || "en-GB" || "en-IN" || "en-US" || "es-419" || "es-ES" || "es-US" || "fr-FR" || "fr-CA" || "it-IT" || "ja-JP" || "ko-KR",
|
|
53
52
|
* // ],
|
|
54
53
|
* // },
|
|
55
54
|
* // ],
|
|
@@ -34,17 +34,17 @@ export interface GetExportCommandOutput extends GetExportResponse, __MetadataBea
|
|
|
34
34
|
* const input = { // GetExportRequest
|
|
35
35
|
* name: "STRING_VALUE", // required
|
|
36
36
|
* version: "STRING_VALUE", // required
|
|
37
|
-
* resourceType: "
|
|
38
|
-
* exportType: "
|
|
37
|
+
* resourceType: "BOT" || "INTENT" || "SLOT_TYPE", // required
|
|
38
|
+
* exportType: "ALEXA_SKILLS_KIT" || "LEX", // required
|
|
39
39
|
* };
|
|
40
40
|
* const command = new GetExportCommand(input);
|
|
41
41
|
* const response = await client.send(command);
|
|
42
42
|
* // { // GetExportResponse
|
|
43
43
|
* // name: "STRING_VALUE",
|
|
44
44
|
* // version: "STRING_VALUE",
|
|
45
|
-
* // resourceType: "
|
|
46
|
-
* // exportType: "
|
|
47
|
-
* // exportStatus: "
|
|
45
|
+
* // resourceType: "BOT" || "INTENT" || "SLOT_TYPE",
|
|
46
|
+
* // exportType: "ALEXA_SKILLS_KIT" || "LEX",
|
|
47
|
+
* // exportStatus: "IN_PROGRESS" || "READY" || "FAILED",
|
|
48
48
|
* // failureReason: "STRING_VALUE",
|
|
49
49
|
* // url: "STRING_VALUE",
|
|
50
50
|
* // };
|
|
@@ -38,10 +38,10 @@ export interface GetImportCommandOutput extends GetImportResponse, __MetadataBea
|
|
|
38
38
|
* const response = await client.send(command);
|
|
39
39
|
* // { // GetImportResponse
|
|
40
40
|
* // name: "STRING_VALUE",
|
|
41
|
-
* // resourceType: "
|
|
42
|
-
* // mergeStrategy: "
|
|
41
|
+
* // resourceType: "BOT" || "INTENT" || "SLOT_TYPE",
|
|
42
|
+
* // mergeStrategy: "OVERWRITE_LATEST" || "FAIL_ON_CONFLICT",
|
|
43
43
|
* // importId: "STRING_VALUE",
|
|
44
|
-
* // importStatus: "
|
|
44
|
+
* // importStatus: "IN_PROGRESS" || "COMPLETE" || "FAILED",
|
|
45
45
|
* // failureReason: [ // StringList
|
|
46
46
|
* // "STRING_VALUE",
|
|
47
47
|
* // ],
|
|
@@ -46,13 +46,13 @@ export interface GetIntentCommandOutput extends GetIntentResponse, __MetadataBea
|
|
|
46
46
|
* // { // Slot
|
|
47
47
|
* // name: "STRING_VALUE", // required
|
|
48
48
|
* // description: "STRING_VALUE",
|
|
49
|
-
* // slotConstraint: "
|
|
49
|
+
* // slotConstraint: "Required" || "Optional", // required
|
|
50
50
|
* // slotType: "STRING_VALUE",
|
|
51
51
|
* // slotTypeVersion: "STRING_VALUE",
|
|
52
52
|
* // valueElicitationPrompt: { // Prompt
|
|
53
53
|
* // messages: [ // MessageList // required
|
|
54
54
|
* // { // Message
|
|
55
|
-
* // contentType: "
|
|
55
|
+
* // contentType: "PlainText" || "SSML" || "CustomPayload", // required
|
|
56
56
|
* // content: "STRING_VALUE", // required
|
|
57
57
|
* // groupNumber: Number("int"),
|
|
58
58
|
* // },
|
|
@@ -65,7 +65,7 @@ export interface GetIntentCommandOutput extends GetIntentResponse, __MetadataBea
|
|
|
65
65
|
* // "STRING_VALUE",
|
|
66
66
|
* // ],
|
|
67
67
|
* // responseCard: "STRING_VALUE",
|
|
68
|
-
* // obfuscationSetting: "
|
|
68
|
+
* // obfuscationSetting: "NONE" || "DEFAULT_OBFUSCATION",
|
|
69
69
|
* // defaultValueSpec: { // SlotDefaultValueSpec
|
|
70
70
|
* // defaultValueList: [ // SlotDefaultValueList // required
|
|
71
71
|
* // { // SlotDefaultValue
|
|
@@ -81,7 +81,7 @@ export interface GetIntentCommandOutput extends GetIntentResponse, __MetadataBea
|
|
|
81
81
|
* // confirmationPrompt: {
|
|
82
82
|
* // messages: [ // required
|
|
83
83
|
* // {
|
|
84
|
-
* // contentType: "
|
|
84
|
+
* // contentType: "PlainText" || "SSML" || "CustomPayload", // required
|
|
85
85
|
* // content: "STRING_VALUE", // required
|
|
86
86
|
* // groupNumber: Number("int"),
|
|
87
87
|
* // },
|
|
@@ -92,7 +92,7 @@ export interface GetIntentCommandOutput extends GetIntentResponse, __MetadataBea
|
|
|
92
92
|
* // rejectionStatement: { // Statement
|
|
93
93
|
* // messages: [ // required
|
|
94
94
|
* // {
|
|
95
|
-
* // contentType: "
|
|
95
|
+
* // contentType: "PlainText" || "SSML" || "CustomPayload", // required
|
|
96
96
|
* // content: "STRING_VALUE", // required
|
|
97
97
|
* // groupNumber: Number("int"),
|
|
98
98
|
* // },
|
|
@@ -115,7 +115,7 @@ export interface GetIntentCommandOutput extends GetIntentResponse, __MetadataBea
|
|
|
115
115
|
* // messageVersion: "STRING_VALUE", // required
|
|
116
116
|
* // },
|
|
117
117
|
* // fulfillmentActivity: { // FulfillmentActivity
|
|
118
|
-
* // type: "
|
|
118
|
+
* // type: "ReturnIntent" || "CodeHook", // required
|
|
119
119
|
* // codeHook: {
|
|
120
120
|
* // uri: "STRING_VALUE", // required
|
|
121
121
|
* // messageVersion: "STRING_VALUE", // required
|
|
@@ -41,15 +41,15 @@ export interface GetMigrationCommandOutput extends GetMigrationResponse, __Metad
|
|
|
41
41
|
* // migrationId: "STRING_VALUE",
|
|
42
42
|
* // v1BotName: "STRING_VALUE",
|
|
43
43
|
* // v1BotVersion: "STRING_VALUE",
|
|
44
|
-
* // v1BotLocale: "
|
|
44
|
+
* // v1BotLocale: "de-DE" || "en-AU" || "en-GB" || "en-IN" || "en-US" || "es-419" || "es-ES" || "es-US" || "fr-FR" || "fr-CA" || "it-IT" || "ja-JP" || "ko-KR",
|
|
45
45
|
* // v2BotId: "STRING_VALUE",
|
|
46
46
|
* // v2BotRole: "STRING_VALUE",
|
|
47
|
-
* // migrationStatus: "
|
|
48
|
-
* // migrationStrategy: "
|
|
47
|
+
* // migrationStatus: "IN_PROGRESS" || "COMPLETED" || "FAILED",
|
|
48
|
+
* // migrationStrategy: "CREATE_NEW" || "UPDATE_EXISTING",
|
|
49
49
|
* // migrationTimestamp: new Date("TIMESTAMP"),
|
|
50
50
|
* // alerts: [ // MigrationAlerts
|
|
51
51
|
* // { // MigrationAlert
|
|
52
|
-
* // type: "
|
|
52
|
+
* // type: "ERROR" || "WARN",
|
|
53
53
|
* // message: "STRING_VALUE",
|
|
54
54
|
* // details: [ // MigrationAlertDetails
|
|
55
55
|
* // "STRING_VALUE",
|
|
@@ -31,10 +31,10 @@ export interface GetMigrationsCommandOutput extends GetMigrationsResponse, __Met
|
|
|
31
31
|
* // const { LexModelBuildingServiceClient, GetMigrationsCommand } = require("@aws-sdk/client-lex-model-building-service"); // CommonJS import
|
|
32
32
|
* const client = new LexModelBuildingServiceClient(config);
|
|
33
33
|
* const input = { // GetMigrationsRequest
|
|
34
|
-
* sortByAttribute: "
|
|
35
|
-
* sortByOrder: "
|
|
34
|
+
* sortByAttribute: "V1_BOT_NAME" || "MIGRATION_DATE_TIME",
|
|
35
|
+
* sortByOrder: "ASCENDING" || "DESCENDING",
|
|
36
36
|
* v1BotNameContains: "STRING_VALUE",
|
|
37
|
-
* migrationStatusEquals: "
|
|
37
|
+
* migrationStatusEquals: "IN_PROGRESS" || "COMPLETED" || "FAILED",
|
|
38
38
|
* maxResults: Number("int"),
|
|
39
39
|
* nextToken: "STRING_VALUE",
|
|
40
40
|
* };
|
|
@@ -46,11 +46,11 @@ export interface GetMigrationsCommandOutput extends GetMigrationsResponse, __Met
|
|
|
46
46
|
* // migrationId: "STRING_VALUE",
|
|
47
47
|
* // v1BotName: "STRING_VALUE",
|
|
48
48
|
* // v1BotVersion: "STRING_VALUE",
|
|
49
|
-
* // v1BotLocale: "
|
|
49
|
+
* // v1BotLocale: "de-DE" || "en-AU" || "en-GB" || "en-IN" || "en-US" || "es-419" || "es-ES" || "es-US" || "fr-FR" || "fr-CA" || "it-IT" || "ja-JP" || "ko-KR",
|
|
50
50
|
* // v2BotId: "STRING_VALUE",
|
|
51
51
|
* // v2BotRole: "STRING_VALUE",
|
|
52
|
-
* // migrationStatus: "
|
|
53
|
-
* // migrationStrategy: "
|
|
52
|
+
* // migrationStatus: "IN_PROGRESS" || "COMPLETED" || "FAILED",
|
|
53
|
+
* // migrationStrategy: "CREATE_NEW" || "UPDATE_EXISTING",
|
|
54
54
|
* // migrationTimestamp: new Date("TIMESTAMP"),
|
|
55
55
|
* // },
|
|
56
56
|
* // ],
|
|
@@ -55,7 +55,7 @@ export interface GetSlotTypeCommandOutput extends GetSlotTypeResponse, __Metadat
|
|
|
55
55
|
* // createdDate: new Date("TIMESTAMP"),
|
|
56
56
|
* // version: "STRING_VALUE",
|
|
57
57
|
* // checksum: "STRING_VALUE",
|
|
58
|
-
* // valueSelectionStrategy: "
|
|
58
|
+
* // valueSelectionStrategy: "ORIGINAL_VALUE" || "TOP_RESOLUTION",
|
|
59
59
|
* // parentSlotTypeSignature: "STRING_VALUE",
|
|
60
60
|
* // slotTypeConfigurations: [ // SlotTypeConfigurations
|
|
61
61
|
* // { // SlotTypeConfiguration
|
|
@@ -58,7 +58,7 @@ export interface GetUtterancesViewCommandOutput extends GetUtterancesViewRespons
|
|
|
58
58
|
* botVersions: [ // BotVersions // required
|
|
59
59
|
* "STRING_VALUE",
|
|
60
60
|
* ],
|
|
61
|
-
* statusType: "
|
|
61
|
+
* statusType: "Detected" || "Missed", // required
|
|
62
62
|
* };
|
|
63
63
|
* const command = new GetUtterancesViewCommand(input);
|
|
64
64
|
* const response = await client.send(command);
|
|
@@ -44,8 +44,8 @@ export interface PutBotAliasCommandOutput extends PutBotAliasResponse, __Metadat
|
|
|
44
44
|
* conversationLogs: { // ConversationLogsRequest
|
|
45
45
|
* logSettings: [ // LogSettingsRequestList // required
|
|
46
46
|
* { // LogSettingsRequest
|
|
47
|
-
* logType: "
|
|
48
|
-
* destination: "
|
|
47
|
+
* logType: "AUDIO" || "TEXT", // required
|
|
48
|
+
* destination: "CLOUDWATCH_LOGS" || "S3", // required
|
|
49
49
|
* kmsKeyArn: "STRING_VALUE",
|
|
50
50
|
* resourceArn: "STRING_VALUE", // required
|
|
51
51
|
* },
|
|
@@ -72,8 +72,8 @@ export interface PutBotAliasCommandOutput extends PutBotAliasResponse, __Metadat
|
|
|
72
72
|
* // conversationLogs: { // ConversationLogsResponse
|
|
73
73
|
* // logSettings: [ // LogSettingsResponseList
|
|
74
74
|
* // { // LogSettingsResponse
|
|
75
|
-
* // logType: "
|
|
76
|
-
* // destination: "
|
|
75
|
+
* // logType: "AUDIO" || "TEXT",
|
|
76
|
+
* // destination: "CLOUDWATCH_LOGS" || "S3",
|
|
77
77
|
* // kmsKeyArn: "STRING_VALUE",
|
|
78
78
|
* // resourceArn: "STRING_VALUE",
|
|
79
79
|
* // resourcePrefix: "STRING_VALUE",
|
|
@@ -38,7 +38,6 @@ export interface PutBotCommandOutput extends PutBotResponse, __MetadataBearer {
|
|
|
38
38
|
* <code>privacySettings</code> fields, which are set to their default
|
|
39
39
|
* values. If you don't specify values for required fields, Amazon Lex throws an
|
|
40
40
|
* exception.</p>
|
|
41
|
-
*
|
|
42
41
|
* <p>This operation requires permissions for the <code>lex:PutBot</code>
|
|
43
42
|
* action. For more information, see <a>security-iam</a>.</p>
|
|
44
43
|
* @example
|
|
@@ -61,7 +60,7 @@ export interface PutBotCommandOutput extends PutBotResponse, __MetadataBearer {
|
|
|
61
60
|
* clarificationPrompt: { // Prompt
|
|
62
61
|
* messages: [ // MessageList // required
|
|
63
62
|
* { // Message
|
|
64
|
-
* contentType: "
|
|
63
|
+
* contentType: "PlainText" || "SSML" || "CustomPayload", // required
|
|
65
64
|
* content: "STRING_VALUE", // required
|
|
66
65
|
* groupNumber: Number("int"),
|
|
67
66
|
* },
|
|
@@ -72,7 +71,7 @@ export interface PutBotCommandOutput extends PutBotResponse, __MetadataBearer {
|
|
|
72
71
|
* abortStatement: { // Statement
|
|
73
72
|
* messages: [ // required
|
|
74
73
|
* {
|
|
75
|
-
* contentType: "
|
|
74
|
+
* contentType: "PlainText" || "SSML" || "CustomPayload", // required
|
|
76
75
|
* content: "STRING_VALUE", // required
|
|
77
76
|
* groupNumber: Number("int"),
|
|
78
77
|
* },
|
|
@@ -82,8 +81,8 @@ export interface PutBotCommandOutput extends PutBotResponse, __MetadataBearer {
|
|
|
82
81
|
* idleSessionTTLInSeconds: Number("int"),
|
|
83
82
|
* voiceId: "STRING_VALUE",
|
|
84
83
|
* checksum: "STRING_VALUE",
|
|
85
|
-
* processBehavior: "
|
|
86
|
-
* locale: "
|
|
84
|
+
* processBehavior: "SAVE" || "BUILD",
|
|
85
|
+
* locale: "de-DE" || "en-AU" || "en-GB" || "en-IN" || "en-US" || "es-419" || "es-ES" || "es-US" || "fr-FR" || "fr-CA" || "it-IT" || "ja-JP" || "ko-KR", // required
|
|
87
86
|
* childDirected: true || false, // required
|
|
88
87
|
* detectSentiment: true || false,
|
|
89
88
|
* createVersion: true || false,
|
|
@@ -110,7 +109,7 @@ export interface PutBotCommandOutput extends PutBotResponse, __MetadataBearer {
|
|
|
110
109
|
* // clarificationPrompt: { // Prompt
|
|
111
110
|
* // messages: [ // MessageList // required
|
|
112
111
|
* // { // Message
|
|
113
|
-
* // contentType: "
|
|
112
|
+
* // contentType: "PlainText" || "SSML" || "CustomPayload", // required
|
|
114
113
|
* // content: "STRING_VALUE", // required
|
|
115
114
|
* // groupNumber: Number("int"),
|
|
116
115
|
* // },
|
|
@@ -121,14 +120,14 @@ export interface PutBotCommandOutput extends PutBotResponse, __MetadataBearer {
|
|
|
121
120
|
* // abortStatement: { // Statement
|
|
122
121
|
* // messages: [ // required
|
|
123
122
|
* // {
|
|
124
|
-
* // contentType: "
|
|
123
|
+
* // contentType: "PlainText" || "SSML" || "CustomPayload", // required
|
|
125
124
|
* // content: "STRING_VALUE", // required
|
|
126
125
|
* // groupNumber: Number("int"),
|
|
127
126
|
* // },
|
|
128
127
|
* // ],
|
|
129
128
|
* // responseCard: "STRING_VALUE",
|
|
130
129
|
* // },
|
|
131
|
-
* // status: "
|
|
130
|
+
* // status: "BUILDING" || "READY" || "READY_BASIC_TESTING" || "FAILED" || "NOT_BUILT",
|
|
132
131
|
* // failureReason: "STRING_VALUE",
|
|
133
132
|
* // lastUpdatedDate: new Date("TIMESTAMP"),
|
|
134
133
|
* // createdDate: new Date("TIMESTAMP"),
|
|
@@ -136,7 +135,7 @@ export interface PutBotCommandOutput extends PutBotResponse, __MetadataBearer {
|
|
|
136
135
|
* // voiceId: "STRING_VALUE",
|
|
137
136
|
* // checksum: "STRING_VALUE",
|
|
138
137
|
* // version: "STRING_VALUE",
|
|
139
|
-
* // locale: "
|
|
138
|
+
* // locale: "de-DE" || "en-AU" || "en-GB" || "en-IN" || "en-US" || "es-419" || "es-ES" || "es-US" || "fr-FR" || "fr-CA" || "it-IT" || "ja-JP" || "ko-KR",
|
|
140
139
|
* // childDirected: true || false,
|
|
141
140
|
* // createVersion: true || false,
|
|
142
141
|
* // detectSentiment: true || false,
|
|
@@ -54,7 +54,6 @@ export interface PutIntentCommandOutput extends PutIntentResponse, __MetadataBea
|
|
|
54
54
|
* </ul>
|
|
55
55
|
* <p>You can specify other optional information in the request, such
|
|
56
56
|
* as:</p>
|
|
57
|
-
*
|
|
58
57
|
* <ul>
|
|
59
58
|
* <li>
|
|
60
59
|
* <p>A confirmation prompt to ask the user to confirm an intent. For
|
|
@@ -94,13 +93,13 @@ export interface PutIntentCommandOutput extends PutIntentResponse, __MetadataBea
|
|
|
94
93
|
* { // Slot
|
|
95
94
|
* name: "STRING_VALUE", // required
|
|
96
95
|
* description: "STRING_VALUE",
|
|
97
|
-
* slotConstraint: "
|
|
96
|
+
* slotConstraint: "Required" || "Optional", // required
|
|
98
97
|
* slotType: "STRING_VALUE",
|
|
99
98
|
* slotTypeVersion: "STRING_VALUE",
|
|
100
99
|
* valueElicitationPrompt: { // Prompt
|
|
101
100
|
* messages: [ // MessageList // required
|
|
102
101
|
* { // Message
|
|
103
|
-
* contentType: "
|
|
102
|
+
* contentType: "PlainText" || "SSML" || "CustomPayload", // required
|
|
104
103
|
* content: "STRING_VALUE", // required
|
|
105
104
|
* groupNumber: Number("int"),
|
|
106
105
|
* },
|
|
@@ -113,7 +112,7 @@ export interface PutIntentCommandOutput extends PutIntentResponse, __MetadataBea
|
|
|
113
112
|
* "STRING_VALUE",
|
|
114
113
|
* ],
|
|
115
114
|
* responseCard: "STRING_VALUE",
|
|
116
|
-
* obfuscationSetting: "
|
|
115
|
+
* obfuscationSetting: "NONE" || "DEFAULT_OBFUSCATION",
|
|
117
116
|
* defaultValueSpec: { // SlotDefaultValueSpec
|
|
118
117
|
* defaultValueList: [ // SlotDefaultValueList // required
|
|
119
118
|
* { // SlotDefaultValue
|
|
@@ -129,7 +128,7 @@ export interface PutIntentCommandOutput extends PutIntentResponse, __MetadataBea
|
|
|
129
128
|
* confirmationPrompt: {
|
|
130
129
|
* messages: [ // required
|
|
131
130
|
* {
|
|
132
|
-
* contentType: "
|
|
131
|
+
* contentType: "PlainText" || "SSML" || "CustomPayload", // required
|
|
133
132
|
* content: "STRING_VALUE", // required
|
|
134
133
|
* groupNumber: Number("int"),
|
|
135
134
|
* },
|
|
@@ -140,7 +139,7 @@ export interface PutIntentCommandOutput extends PutIntentResponse, __MetadataBea
|
|
|
140
139
|
* rejectionStatement: { // Statement
|
|
141
140
|
* messages: [ // required
|
|
142
141
|
* {
|
|
143
|
-
* contentType: "
|
|
142
|
+
* contentType: "PlainText" || "SSML" || "CustomPayload", // required
|
|
144
143
|
* content: "STRING_VALUE", // required
|
|
145
144
|
* groupNumber: Number("int"),
|
|
146
145
|
* },
|
|
@@ -163,7 +162,7 @@ export interface PutIntentCommandOutput extends PutIntentResponse, __MetadataBea
|
|
|
163
162
|
* messageVersion: "STRING_VALUE", // required
|
|
164
163
|
* },
|
|
165
164
|
* fulfillmentActivity: { // FulfillmentActivity
|
|
166
|
-
* type: "
|
|
165
|
+
* type: "ReturnIntent" || "CodeHook", // required
|
|
167
166
|
* codeHook: {
|
|
168
167
|
* uri: "STRING_VALUE", // required
|
|
169
168
|
* messageVersion: "STRING_VALUE", // required
|
|
@@ -199,13 +198,13 @@ export interface PutIntentCommandOutput extends PutIntentResponse, __MetadataBea
|
|
|
199
198
|
* // { // Slot
|
|
200
199
|
* // name: "STRING_VALUE", // required
|
|
201
200
|
* // description: "STRING_VALUE",
|
|
202
|
-
* // slotConstraint: "
|
|
201
|
+
* // slotConstraint: "Required" || "Optional", // required
|
|
203
202
|
* // slotType: "STRING_VALUE",
|
|
204
203
|
* // slotTypeVersion: "STRING_VALUE",
|
|
205
204
|
* // valueElicitationPrompt: { // Prompt
|
|
206
205
|
* // messages: [ // MessageList // required
|
|
207
206
|
* // { // Message
|
|
208
|
-
* // contentType: "
|
|
207
|
+
* // contentType: "PlainText" || "SSML" || "CustomPayload", // required
|
|
209
208
|
* // content: "STRING_VALUE", // required
|
|
210
209
|
* // groupNumber: Number("int"),
|
|
211
210
|
* // },
|
|
@@ -218,7 +217,7 @@ export interface PutIntentCommandOutput extends PutIntentResponse, __MetadataBea
|
|
|
218
217
|
* // "STRING_VALUE",
|
|
219
218
|
* // ],
|
|
220
219
|
* // responseCard: "STRING_VALUE",
|
|
221
|
-
* // obfuscationSetting: "
|
|
220
|
+
* // obfuscationSetting: "NONE" || "DEFAULT_OBFUSCATION",
|
|
222
221
|
* // defaultValueSpec: { // SlotDefaultValueSpec
|
|
223
222
|
* // defaultValueList: [ // SlotDefaultValueList // required
|
|
224
223
|
* // { // SlotDefaultValue
|
|
@@ -234,7 +233,7 @@ export interface PutIntentCommandOutput extends PutIntentResponse, __MetadataBea
|
|
|
234
233
|
* // confirmationPrompt: {
|
|
235
234
|
* // messages: [ // required
|
|
236
235
|
* // {
|
|
237
|
-
* // contentType: "
|
|
236
|
+
* // contentType: "PlainText" || "SSML" || "CustomPayload", // required
|
|
238
237
|
* // content: "STRING_VALUE", // required
|
|
239
238
|
* // groupNumber: Number("int"),
|
|
240
239
|
* // },
|
|
@@ -245,7 +244,7 @@ export interface PutIntentCommandOutput extends PutIntentResponse, __MetadataBea
|
|
|
245
244
|
* // rejectionStatement: { // Statement
|
|
246
245
|
* // messages: [ // required
|
|
247
246
|
* // {
|
|
248
|
-
* // contentType: "
|
|
247
|
+
* // contentType: "PlainText" || "SSML" || "CustomPayload", // required
|
|
249
248
|
* // content: "STRING_VALUE", // required
|
|
250
249
|
* // groupNumber: Number("int"),
|
|
251
250
|
* // },
|
|
@@ -268,7 +267,7 @@ export interface PutIntentCommandOutput extends PutIntentResponse, __MetadataBea
|
|
|
268
267
|
* // messageVersion: "STRING_VALUE", // required
|
|
269
268
|
* // },
|
|
270
269
|
* // fulfillmentActivity: { // FulfillmentActivity
|
|
271
|
-
* // type: "
|
|
270
|
+
* // type: "ReturnIntent" || "CodeHook", // required
|
|
272
271
|
* // codeHook: {
|
|
273
272
|
* // uri: "STRING_VALUE", // required
|
|
274
273
|
* // messageVersion: "STRING_VALUE", // required
|
|
@@ -36,7 +36,6 @@ export interface PutSlotTypeCommandOutput extends PutSlotTypeResponse, __Metadat
|
|
|
36
36
|
* uses the <code>$LATEST</code> version of an intent that contains the slot
|
|
37
37
|
* type, the bot's <code>status</code> field is set to
|
|
38
38
|
* <code>NOT_BUILT</code>.</p>
|
|
39
|
-
*
|
|
40
39
|
* <p>This operation requires permissions for the
|
|
41
40
|
* <code>lex:PutSlotType</code> action.</p>
|
|
42
41
|
* @example
|
|
@@ -57,7 +56,7 @@ export interface PutSlotTypeCommandOutput extends PutSlotTypeResponse, __Metadat
|
|
|
57
56
|
* },
|
|
58
57
|
* ],
|
|
59
58
|
* checksum: "STRING_VALUE",
|
|
60
|
-
* valueSelectionStrategy: "
|
|
59
|
+
* valueSelectionStrategy: "ORIGINAL_VALUE" || "TOP_RESOLUTION",
|
|
61
60
|
* createVersion: true || false,
|
|
62
61
|
* parentSlotTypeSignature: "STRING_VALUE",
|
|
63
62
|
* slotTypeConfigurations: [ // SlotTypeConfigurations
|
|
@@ -85,7 +84,7 @@ export interface PutSlotTypeCommandOutput extends PutSlotTypeResponse, __Metadat
|
|
|
85
84
|
* // createdDate: new Date("TIMESTAMP"),
|
|
86
85
|
* // version: "STRING_VALUE",
|
|
87
86
|
* // checksum: "STRING_VALUE",
|
|
88
|
-
* // valueSelectionStrategy: "
|
|
87
|
+
* // valueSelectionStrategy: "ORIGINAL_VALUE" || "TOP_RESOLUTION",
|
|
89
88
|
* // createVersion: true || false,
|
|
90
89
|
* // parentSlotTypeSignature: "STRING_VALUE",
|
|
91
90
|
* // slotTypeConfigurations: [ // SlotTypeConfigurations
|
|
@@ -32,8 +32,8 @@ export interface StartImportCommandOutput extends StartImportResponse, __Metadat
|
|
|
32
32
|
* const client = new LexModelBuildingServiceClient(config);
|
|
33
33
|
* const input = { // StartImportRequest
|
|
34
34
|
* payload: "BLOB_VALUE", // required
|
|
35
|
-
* resourceType: "
|
|
36
|
-
* mergeStrategy: "
|
|
35
|
+
* resourceType: "BOT" || "INTENT" || "SLOT_TYPE", // required
|
|
36
|
+
* mergeStrategy: "OVERWRITE_LATEST" || "FAIL_ON_CONFLICT", // required
|
|
37
37
|
* tags: [ // TagList
|
|
38
38
|
* { // Tag
|
|
39
39
|
* key: "STRING_VALUE", // required
|
|
@@ -45,10 +45,10 @@ export interface StartImportCommandOutput extends StartImportResponse, __Metadat
|
|
|
45
45
|
* const response = await client.send(command);
|
|
46
46
|
* // { // StartImportResponse
|
|
47
47
|
* // name: "STRING_VALUE",
|
|
48
|
-
* // resourceType: "
|
|
49
|
-
* // mergeStrategy: "
|
|
48
|
+
* // resourceType: "BOT" || "INTENT" || "SLOT_TYPE",
|
|
49
|
+
* // mergeStrategy: "OVERWRITE_LATEST" || "FAIL_ON_CONFLICT",
|
|
50
50
|
* // importId: "STRING_VALUE",
|
|
51
|
-
* // importStatus: "
|
|
51
|
+
* // importStatus: "IN_PROGRESS" || "COMPLETE" || "FAILED",
|
|
52
52
|
* // tags: [ // TagList
|
|
53
53
|
* // { // Tag
|
|
54
54
|
* // key: "STRING_VALUE", // required
|
|
@@ -38,18 +38,18 @@ export interface StartMigrationCommandOutput extends StartMigrationResponse, __M
|
|
|
38
38
|
* v1BotVersion: "STRING_VALUE", // required
|
|
39
39
|
* v2BotName: "STRING_VALUE", // required
|
|
40
40
|
* v2BotRole: "STRING_VALUE", // required
|
|
41
|
-
* migrationStrategy: "
|
|
41
|
+
* migrationStrategy: "CREATE_NEW" || "UPDATE_EXISTING", // required
|
|
42
42
|
* };
|
|
43
43
|
* const command = new StartMigrationCommand(input);
|
|
44
44
|
* const response = await client.send(command);
|
|
45
45
|
* // { // StartMigrationResponse
|
|
46
46
|
* // v1BotName: "STRING_VALUE",
|
|
47
47
|
* // v1BotVersion: "STRING_VALUE",
|
|
48
|
-
* // v1BotLocale: "
|
|
48
|
+
* // v1BotLocale: "de-DE" || "en-AU" || "en-GB" || "en-IN" || "en-US" || "es-419" || "es-ES" || "es-US" || "fr-FR" || "fr-CA" || "it-IT" || "ja-JP" || "ko-KR",
|
|
49
49
|
* // v2BotId: "STRING_VALUE",
|
|
50
50
|
* // v2BotRole: "STRING_VALUE",
|
|
51
51
|
* // migrationId: "STRING_VALUE",
|
|
52
|
-
* // migrationStrategy: "
|
|
52
|
+
* // migrationStrategy: "CREATE_NEW" || "UPDATE_EXISTING",
|
|
53
53
|
* // migrationTimestamp: new Date("TIMESTAMP"),
|
|
54
54
|
* // };
|
|
55
55
|
*
|
|
@@ -465,8 +465,6 @@ export type FulfillmentActivityType = (typeof FulfillmentActivityType)[keyof typ
|
|
|
465
465
|
* primarily to presentation. If you need to update the logic, you only
|
|
466
466
|
* update the Lambda function; you don't need to upgrade your client
|
|
467
467
|
* application. </p>
|
|
468
|
-
*
|
|
469
|
-
*
|
|
470
468
|
* <p>Consider the following examples:</p>
|
|
471
469
|
* <ul>
|
|
472
470
|
* <li>
|
|
@@ -1804,7 +1802,6 @@ export interface BotChannelAssociation {
|
|
|
1804
1802
|
* <note>
|
|
1805
1803
|
* <p>Currently, Amazon Lex supports associations with Facebook and Slack,
|
|
1806
1804
|
* and Twilio.</p>
|
|
1807
|
-
*
|
|
1808
1805
|
* </note>
|
|
1809
1806
|
*/
|
|
1810
1807
|
botName?: string;
|
|
@@ -3525,7 +3522,6 @@ export interface PutBotRequest {
|
|
|
3525
3522
|
* @public
|
|
3526
3523
|
* <p> Specifies the target locale for the bot. Any intent used in the
|
|
3527
3524
|
* bot must be compatible with the locale of the bot. </p>
|
|
3528
|
-
*
|
|
3529
3525
|
* <p>The default is <code>en-US</code>.</p>
|
|
3530
3526
|
*/
|
|
3531
3527
|
locale: Locale | string | undefined;
|
|
@@ -3947,7 +3943,6 @@ export interface PutIntentRequest {
|
|
|
3947
3943
|
* <p>An array of utterances (strings) that a user might say to signal
|
|
3948
3944
|
* the intent. For example, "I want \{PizzaSize\} pizza", "Order \{Quantity\}
|
|
3949
3945
|
* \{PizzaSize\} pizzas". </p>
|
|
3950
|
-
*
|
|
3951
3946
|
* <p>In each utterance, a slot name is enclosed in curly braces.
|
|
3952
3947
|
* </p>
|
|
3953
3948
|
*/
|
|
@@ -4004,7 +3999,6 @@ export interface PutIntentRequest {
|
|
|
4004
3999
|
* prompt again.</p>
|
|
4005
4000
|
* </li>
|
|
4006
4001
|
* </ul>
|
|
4007
|
-
*
|
|
4008
4002
|
* <p>The <code>followUpPrompt</code> field and the
|
|
4009
4003
|
* <code>conclusionStatement</code> field are mutually exclusive. You can
|
|
4010
4004
|
* specify only one. </p>
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-lex-model-building-service",
|
|
3
3
|
"description": "AWS SDK for JavaScript Lex Model Building Service Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.409.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",
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.409.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.409.0",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "3.408.0",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.408.0",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "3.408.0",
|