@aws-sdk/client-lex-models-v2 3.957.0 → 3.958.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/README.md +1 -107
- package/dist-cjs/auth/httpAuthSchemeProvider.js +3 -4
- package/dist-cjs/index.js +2434 -3590
- package/dist-cjs/runtimeConfig.browser.js +1 -2
- package/dist-cjs/runtimeConfig.js +2 -4
- package/dist-es/auth/httpAuthSchemeProvider.js +3 -4
- package/dist-es/pagination/index.js +4 -4
- package/dist-es/runtimeConfig.browser.js +1 -2
- package/dist-es/runtimeConfig.js +4 -6
- package/dist-es/schemas/schemas_0.js +2255 -3409
- package/dist-es/waiters/index.js +3 -3
- package/dist-es/waiters/waitForBotAliasAvailable.js +3 -3
- package/dist-es/waiters/waitForBotAvailable.js +4 -4
- package/dist-es/waiters/waitForBotExportCompleted.js +3 -3
- package/dist-es/waiters/waitForBotImportCompleted.js +3 -3
- package/dist-es/waiters/waitForBotLocaleBuilt.js +4 -4
- package/dist-es/waiters/waitForBotLocaleCreated.js +5 -5
- package/dist-es/waiters/waitForBotLocaleExpressTestingAvailable.js +5 -5
- package/dist-es/waiters/waitForBotVersionAvailable.js +3 -3
- package/dist-types/pagination/index.d.ts +4 -4
- package/dist-types/ts3.4/pagination/index.d.ts +4 -4
- package/dist-types/ts3.4/waiters/index.d.ts +3 -3
- package/dist-types/waiters/index.d.ts +3 -3
- package/package.json +2 -2
package/dist-es/waiters/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export * from "./waitForBotAliasAvailable";
|
|
2
1
|
export * from "./waitForBotAvailable";
|
|
3
|
-
export * from "./
|
|
4
|
-
export * from "./waitForBotImportCompleted";
|
|
2
|
+
export * from "./waitForBotAliasAvailable";
|
|
5
3
|
export * from "./waitForBotLocaleBuilt";
|
|
6
4
|
export * from "./waitForBotLocaleCreated";
|
|
7
5
|
export * from "./waitForBotLocaleExpressTestingAvailable";
|
|
8
6
|
export * from "./waitForBotVersionAvailable";
|
|
7
|
+
export * from "./waitForBotExportCompleted";
|
|
8
|
+
export * from "./waitForBotImportCompleted";
|
|
@@ -6,7 +6,7 @@ const checkState = async (client, input) => {
|
|
|
6
6
|
const result = await client.send(new DescribeBotAliasCommand(input));
|
|
7
7
|
reason = result;
|
|
8
8
|
try {
|
|
9
|
-
|
|
9
|
+
let returnComparator = () => {
|
|
10
10
|
return result.botAliasStatus;
|
|
11
11
|
};
|
|
12
12
|
if (returnComparator() === "Available") {
|
|
@@ -15,7 +15,7 @@ const checkState = async (client, input) => {
|
|
|
15
15
|
}
|
|
16
16
|
catch (e) { }
|
|
17
17
|
try {
|
|
18
|
-
|
|
18
|
+
let returnComparator = () => {
|
|
19
19
|
return result.botAliasStatus;
|
|
20
20
|
};
|
|
21
21
|
if (returnComparator() === "Failed") {
|
|
@@ -24,7 +24,7 @@ const checkState = async (client, input) => {
|
|
|
24
24
|
}
|
|
25
25
|
catch (e) { }
|
|
26
26
|
try {
|
|
27
|
-
|
|
27
|
+
let returnComparator = () => {
|
|
28
28
|
return result.botAliasStatus;
|
|
29
29
|
};
|
|
30
30
|
if (returnComparator() === "Deleting") {
|
|
@@ -6,7 +6,7 @@ const checkState = async (client, input) => {
|
|
|
6
6
|
const result = await client.send(new DescribeBotCommand(input));
|
|
7
7
|
reason = result;
|
|
8
8
|
try {
|
|
9
|
-
|
|
9
|
+
let returnComparator = () => {
|
|
10
10
|
return result.botStatus;
|
|
11
11
|
};
|
|
12
12
|
if (returnComparator() === "Available") {
|
|
@@ -15,7 +15,7 @@ const checkState = async (client, input) => {
|
|
|
15
15
|
}
|
|
16
16
|
catch (e) { }
|
|
17
17
|
try {
|
|
18
|
-
|
|
18
|
+
let returnComparator = () => {
|
|
19
19
|
return result.botStatus;
|
|
20
20
|
};
|
|
21
21
|
if (returnComparator() === "Deleting") {
|
|
@@ -24,7 +24,7 @@ const checkState = async (client, input) => {
|
|
|
24
24
|
}
|
|
25
25
|
catch (e) { }
|
|
26
26
|
try {
|
|
27
|
-
|
|
27
|
+
let returnComparator = () => {
|
|
28
28
|
return result.botStatus;
|
|
29
29
|
};
|
|
30
30
|
if (returnComparator() === "Failed") {
|
|
@@ -33,7 +33,7 @@ const checkState = async (client, input) => {
|
|
|
33
33
|
}
|
|
34
34
|
catch (e) { }
|
|
35
35
|
try {
|
|
36
|
-
|
|
36
|
+
let returnComparator = () => {
|
|
37
37
|
return result.botStatus;
|
|
38
38
|
};
|
|
39
39
|
if (returnComparator() === "Inactive") {
|
|
@@ -6,7 +6,7 @@ const checkState = async (client, input) => {
|
|
|
6
6
|
const result = await client.send(new DescribeExportCommand(input));
|
|
7
7
|
reason = result;
|
|
8
8
|
try {
|
|
9
|
-
|
|
9
|
+
let returnComparator = () => {
|
|
10
10
|
return result.exportStatus;
|
|
11
11
|
};
|
|
12
12
|
if (returnComparator() === "Completed") {
|
|
@@ -15,7 +15,7 @@ const checkState = async (client, input) => {
|
|
|
15
15
|
}
|
|
16
16
|
catch (e) { }
|
|
17
17
|
try {
|
|
18
|
-
|
|
18
|
+
let returnComparator = () => {
|
|
19
19
|
return result.exportStatus;
|
|
20
20
|
};
|
|
21
21
|
if (returnComparator() === "Deleting") {
|
|
@@ -24,7 +24,7 @@ const checkState = async (client, input) => {
|
|
|
24
24
|
}
|
|
25
25
|
catch (e) { }
|
|
26
26
|
try {
|
|
27
|
-
|
|
27
|
+
let returnComparator = () => {
|
|
28
28
|
return result.exportStatus;
|
|
29
29
|
};
|
|
30
30
|
if (returnComparator() === "Failed") {
|
|
@@ -6,7 +6,7 @@ const checkState = async (client, input) => {
|
|
|
6
6
|
const result = await client.send(new DescribeImportCommand(input));
|
|
7
7
|
reason = result;
|
|
8
8
|
try {
|
|
9
|
-
|
|
9
|
+
let returnComparator = () => {
|
|
10
10
|
return result.importStatus;
|
|
11
11
|
};
|
|
12
12
|
if (returnComparator() === "Completed") {
|
|
@@ -15,7 +15,7 @@ const checkState = async (client, input) => {
|
|
|
15
15
|
}
|
|
16
16
|
catch (e) { }
|
|
17
17
|
try {
|
|
18
|
-
|
|
18
|
+
let returnComparator = () => {
|
|
19
19
|
return result.importStatus;
|
|
20
20
|
};
|
|
21
21
|
if (returnComparator() === "Deleting") {
|
|
@@ -24,7 +24,7 @@ const checkState = async (client, input) => {
|
|
|
24
24
|
}
|
|
25
25
|
catch (e) { }
|
|
26
26
|
try {
|
|
27
|
-
|
|
27
|
+
let returnComparator = () => {
|
|
28
28
|
return result.importStatus;
|
|
29
29
|
};
|
|
30
30
|
if (returnComparator() === "Failed") {
|
|
@@ -6,7 +6,7 @@ const checkState = async (client, input) => {
|
|
|
6
6
|
const result = await client.send(new DescribeBotLocaleCommand(input));
|
|
7
7
|
reason = result;
|
|
8
8
|
try {
|
|
9
|
-
|
|
9
|
+
let returnComparator = () => {
|
|
10
10
|
return result.botLocaleStatus;
|
|
11
11
|
};
|
|
12
12
|
if (returnComparator() === "Built") {
|
|
@@ -15,7 +15,7 @@ const checkState = async (client, input) => {
|
|
|
15
15
|
}
|
|
16
16
|
catch (e) { }
|
|
17
17
|
try {
|
|
18
|
-
|
|
18
|
+
let returnComparator = () => {
|
|
19
19
|
return result.botLocaleStatus;
|
|
20
20
|
};
|
|
21
21
|
if (returnComparator() === "Deleting") {
|
|
@@ -24,7 +24,7 @@ const checkState = async (client, input) => {
|
|
|
24
24
|
}
|
|
25
25
|
catch (e) { }
|
|
26
26
|
try {
|
|
27
|
-
|
|
27
|
+
let returnComparator = () => {
|
|
28
28
|
return result.botLocaleStatus;
|
|
29
29
|
};
|
|
30
30
|
if (returnComparator() === "Failed") {
|
|
@@ -33,7 +33,7 @@ const checkState = async (client, input) => {
|
|
|
33
33
|
}
|
|
34
34
|
catch (e) { }
|
|
35
35
|
try {
|
|
36
|
-
|
|
36
|
+
let returnComparator = () => {
|
|
37
37
|
return result.botLocaleStatus;
|
|
38
38
|
};
|
|
39
39
|
if (returnComparator() === "NotBuilt") {
|
|
@@ -6,7 +6,7 @@ const checkState = async (client, input) => {
|
|
|
6
6
|
const result = await client.send(new DescribeBotLocaleCommand(input));
|
|
7
7
|
reason = result;
|
|
8
8
|
try {
|
|
9
|
-
|
|
9
|
+
let returnComparator = () => {
|
|
10
10
|
return result.botLocaleStatus;
|
|
11
11
|
};
|
|
12
12
|
if (returnComparator() === "Built") {
|
|
@@ -15,7 +15,7 @@ const checkState = async (client, input) => {
|
|
|
15
15
|
}
|
|
16
16
|
catch (e) { }
|
|
17
17
|
try {
|
|
18
|
-
|
|
18
|
+
let returnComparator = () => {
|
|
19
19
|
return result.botLocaleStatus;
|
|
20
20
|
};
|
|
21
21
|
if (returnComparator() === "ReadyExpressTesting") {
|
|
@@ -24,7 +24,7 @@ const checkState = async (client, input) => {
|
|
|
24
24
|
}
|
|
25
25
|
catch (e) { }
|
|
26
26
|
try {
|
|
27
|
-
|
|
27
|
+
let returnComparator = () => {
|
|
28
28
|
return result.botLocaleStatus;
|
|
29
29
|
};
|
|
30
30
|
if (returnComparator() === "NotBuilt") {
|
|
@@ -33,7 +33,7 @@ const checkState = async (client, input) => {
|
|
|
33
33
|
}
|
|
34
34
|
catch (e) { }
|
|
35
35
|
try {
|
|
36
|
-
|
|
36
|
+
let returnComparator = () => {
|
|
37
37
|
return result.botLocaleStatus;
|
|
38
38
|
};
|
|
39
39
|
if (returnComparator() === "Deleting") {
|
|
@@ -42,7 +42,7 @@ const checkState = async (client, input) => {
|
|
|
42
42
|
}
|
|
43
43
|
catch (e) { }
|
|
44
44
|
try {
|
|
45
|
-
|
|
45
|
+
let returnComparator = () => {
|
|
46
46
|
return result.botLocaleStatus;
|
|
47
47
|
};
|
|
48
48
|
if (returnComparator() === "Failed") {
|
|
@@ -6,7 +6,7 @@ const checkState = async (client, input) => {
|
|
|
6
6
|
const result = await client.send(new DescribeBotLocaleCommand(input));
|
|
7
7
|
reason = result;
|
|
8
8
|
try {
|
|
9
|
-
|
|
9
|
+
let returnComparator = () => {
|
|
10
10
|
return result.botLocaleStatus;
|
|
11
11
|
};
|
|
12
12
|
if (returnComparator() === "Built") {
|
|
@@ -15,7 +15,7 @@ const checkState = async (client, input) => {
|
|
|
15
15
|
}
|
|
16
16
|
catch (e) { }
|
|
17
17
|
try {
|
|
18
|
-
|
|
18
|
+
let returnComparator = () => {
|
|
19
19
|
return result.botLocaleStatus;
|
|
20
20
|
};
|
|
21
21
|
if (returnComparator() === "ReadyExpressTesting") {
|
|
@@ -24,7 +24,7 @@ const checkState = async (client, input) => {
|
|
|
24
24
|
}
|
|
25
25
|
catch (e) { }
|
|
26
26
|
try {
|
|
27
|
-
|
|
27
|
+
let returnComparator = () => {
|
|
28
28
|
return result.botLocaleStatus;
|
|
29
29
|
};
|
|
30
30
|
if (returnComparator() === "Deleting") {
|
|
@@ -33,7 +33,7 @@ const checkState = async (client, input) => {
|
|
|
33
33
|
}
|
|
34
34
|
catch (e) { }
|
|
35
35
|
try {
|
|
36
|
-
|
|
36
|
+
let returnComparator = () => {
|
|
37
37
|
return result.botLocaleStatus;
|
|
38
38
|
};
|
|
39
39
|
if (returnComparator() === "Failed") {
|
|
@@ -42,7 +42,7 @@ const checkState = async (client, input) => {
|
|
|
42
42
|
}
|
|
43
43
|
catch (e) { }
|
|
44
44
|
try {
|
|
45
|
-
|
|
45
|
+
let returnComparator = () => {
|
|
46
46
|
return result.botLocaleStatus;
|
|
47
47
|
};
|
|
48
48
|
if (returnComparator() === "NotBuilt") {
|
|
@@ -6,7 +6,7 @@ const checkState = async (client, input) => {
|
|
|
6
6
|
const result = await client.send(new DescribeBotVersionCommand(input));
|
|
7
7
|
reason = result;
|
|
8
8
|
try {
|
|
9
|
-
|
|
9
|
+
let returnComparator = () => {
|
|
10
10
|
return result.botStatus;
|
|
11
11
|
};
|
|
12
12
|
if (returnComparator() === "Available") {
|
|
@@ -15,7 +15,7 @@ const checkState = async (client, input) => {
|
|
|
15
15
|
}
|
|
16
16
|
catch (e) { }
|
|
17
17
|
try {
|
|
18
|
-
|
|
18
|
+
let returnComparator = () => {
|
|
19
19
|
return result.botStatus;
|
|
20
20
|
};
|
|
21
21
|
if (returnComparator() === "Deleting") {
|
|
@@ -24,7 +24,7 @@ const checkState = async (client, input) => {
|
|
|
24
24
|
}
|
|
25
25
|
catch (e) { }
|
|
26
26
|
try {
|
|
27
|
-
|
|
27
|
+
let returnComparator = () => {
|
|
28
28
|
return result.botStatus;
|
|
29
29
|
};
|
|
30
30
|
if (returnComparator() === "Failed") {
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
export * from "./Interfaces";
|
|
2
2
|
export * from "./ListAggregatedUtterancesPaginator";
|
|
3
|
-
export * from "./ListBotAliasReplicasPaginator";
|
|
4
3
|
export * from "./ListBotAliasesPaginator";
|
|
4
|
+
export * from "./ListBotAliasReplicasPaginator";
|
|
5
5
|
export * from "./ListBotLocalesPaginator";
|
|
6
6
|
export * from "./ListBotRecommendationsPaginator";
|
|
7
7
|
export * from "./ListBotResourceGenerationsPaginator";
|
|
8
|
+
export * from "./ListBotsPaginator";
|
|
8
9
|
export * from "./ListBotVersionReplicasPaginator";
|
|
9
10
|
export * from "./ListBotVersionsPaginator";
|
|
10
|
-
export * from "./ListBotsPaginator";
|
|
11
11
|
export * from "./ListBuiltInIntentsPaginator";
|
|
12
12
|
export * from "./ListBuiltInSlotTypesPaginator";
|
|
13
13
|
export * from "./ListCustomVocabularyItemsPaginator";
|
|
14
14
|
export * from "./ListExportsPaginator";
|
|
15
15
|
export * from "./ListImportsPaginator";
|
|
16
16
|
export * from "./ListIntentMetricsPaginator";
|
|
17
|
-
export * from "./ListIntentStageMetricsPaginator";
|
|
18
17
|
export * from "./ListIntentsPaginator";
|
|
18
|
+
export * from "./ListIntentStageMetricsPaginator";
|
|
19
19
|
export * from "./ListRecommendedIntentsPaginator";
|
|
20
20
|
export * from "./ListSessionAnalyticsDataPaginator";
|
|
21
21
|
export * from "./ListSessionMetricsPaginator";
|
|
22
|
-
export * from "./ListSlotTypesPaginator";
|
|
23
22
|
export * from "./ListSlotsPaginator";
|
|
23
|
+
export * from "./ListSlotTypesPaginator";
|
|
24
24
|
export * from "./ListTestExecutionResultItemsPaginator";
|
|
25
25
|
export * from "./ListTestExecutionsPaginator";
|
|
26
26
|
export * from "./ListTestSetRecordsPaginator";
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
export * from "./Interfaces";
|
|
2
2
|
export * from "./ListAggregatedUtterancesPaginator";
|
|
3
|
-
export * from "./ListBotAliasReplicasPaginator";
|
|
4
3
|
export * from "./ListBotAliasesPaginator";
|
|
4
|
+
export * from "./ListBotAliasReplicasPaginator";
|
|
5
5
|
export * from "./ListBotLocalesPaginator";
|
|
6
6
|
export * from "./ListBotRecommendationsPaginator";
|
|
7
7
|
export * from "./ListBotResourceGenerationsPaginator";
|
|
8
|
+
export * from "./ListBotsPaginator";
|
|
8
9
|
export * from "./ListBotVersionReplicasPaginator";
|
|
9
10
|
export * from "./ListBotVersionsPaginator";
|
|
10
|
-
export * from "./ListBotsPaginator";
|
|
11
11
|
export * from "./ListBuiltInIntentsPaginator";
|
|
12
12
|
export * from "./ListBuiltInSlotTypesPaginator";
|
|
13
13
|
export * from "./ListCustomVocabularyItemsPaginator";
|
|
14
14
|
export * from "./ListExportsPaginator";
|
|
15
15
|
export * from "./ListImportsPaginator";
|
|
16
16
|
export * from "./ListIntentMetricsPaginator";
|
|
17
|
-
export * from "./ListIntentStageMetricsPaginator";
|
|
18
17
|
export * from "./ListIntentsPaginator";
|
|
18
|
+
export * from "./ListIntentStageMetricsPaginator";
|
|
19
19
|
export * from "./ListRecommendedIntentsPaginator";
|
|
20
20
|
export * from "./ListSessionAnalyticsDataPaginator";
|
|
21
21
|
export * from "./ListSessionMetricsPaginator";
|
|
22
|
-
export * from "./ListSlotTypesPaginator";
|
|
23
22
|
export * from "./ListSlotsPaginator";
|
|
23
|
+
export * from "./ListSlotTypesPaginator";
|
|
24
24
|
export * from "./ListTestExecutionResultItemsPaginator";
|
|
25
25
|
export * from "./ListTestExecutionsPaginator";
|
|
26
26
|
export * from "./ListTestSetRecordsPaginator";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export * from "./waitForBotAliasAvailable";
|
|
2
1
|
export * from "./waitForBotAvailable";
|
|
3
|
-
export * from "./
|
|
4
|
-
export * from "./waitForBotImportCompleted";
|
|
2
|
+
export * from "./waitForBotAliasAvailable";
|
|
5
3
|
export * from "./waitForBotLocaleBuilt";
|
|
6
4
|
export * from "./waitForBotLocaleCreated";
|
|
7
5
|
export * from "./waitForBotLocaleExpressTestingAvailable";
|
|
8
6
|
export * from "./waitForBotVersionAvailable";
|
|
7
|
+
export * from "./waitForBotExportCompleted";
|
|
8
|
+
export * from "./waitForBotImportCompleted";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export * from "./waitForBotAliasAvailable";
|
|
2
1
|
export * from "./waitForBotAvailable";
|
|
3
|
-
export * from "./
|
|
4
|
-
export * from "./waitForBotImportCompleted";
|
|
2
|
+
export * from "./waitForBotAliasAvailable";
|
|
5
3
|
export * from "./waitForBotLocaleBuilt";
|
|
6
4
|
export * from "./waitForBotLocaleCreated";
|
|
7
5
|
export * from "./waitForBotLocaleExpressTestingAvailable";
|
|
8
6
|
export * from "./waitForBotVersionAvailable";
|
|
7
|
+
export * from "./waitForBotExportCompleted";
|
|
8
|
+
export * from "./waitForBotImportCompleted";
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-lex-models-v2",
|
|
3
3
|
"description": "AWS SDK for JavaScript Lex Models V2 Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.958.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-lex-models-v2",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
24
|
"@aws-sdk/core": "3.957.0",
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.958.0",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "3.957.0",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.957.0",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "3.957.0",
|