@aws-sdk/client-iotsitewise 3.958.0 → 3.962.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/index.js +11 -11
- package/dist-es/waiters/waitForAssetActive.js +3 -3
- package/dist-es/waiters/waitForAssetModelActive.js +3 -3
- package/dist-es/waiters/waitForAssetModelNotExists.js +1 -1
- package/dist-es/waiters/waitForAssetNotExists.js +1 -1
- package/dist-es/waiters/waitForPortalActive.js +2 -2
- package/dist-es/waiters/waitForPortalNotExists.js +1 -1
- package/package.json +2 -2
package/dist-cjs/index.js
CHANGED
|
@@ -5107,10 +5107,10 @@ const paginateListTimeSeries = core.createPaginator(IoTSiteWiseClient, ListTimeS
|
|
|
5107
5107
|
const checkState$5 = async (client, input) => {
|
|
5108
5108
|
let reason;
|
|
5109
5109
|
try {
|
|
5110
|
-
|
|
5110
|
+
let result = await client.send(new DescribeAssetCommand(input));
|
|
5111
5111
|
reason = result;
|
|
5112
5112
|
try {
|
|
5113
|
-
|
|
5113
|
+
const returnComparator = () => {
|
|
5114
5114
|
return result.assetStatus.state;
|
|
5115
5115
|
};
|
|
5116
5116
|
if (returnComparator() === "ACTIVE") {
|
|
@@ -5119,7 +5119,7 @@ const checkState$5 = async (client, input) => {
|
|
|
5119
5119
|
}
|
|
5120
5120
|
catch (e) { }
|
|
5121
5121
|
try {
|
|
5122
|
-
|
|
5122
|
+
const returnComparator = () => {
|
|
5123
5123
|
return result.assetStatus.state;
|
|
5124
5124
|
};
|
|
5125
5125
|
if (returnComparator() === "FAILED") {
|
|
@@ -5146,7 +5146,7 @@ const waitUntilAssetActive = async (params, input) => {
|
|
|
5146
5146
|
const checkState$4 = async (client, input) => {
|
|
5147
5147
|
let reason;
|
|
5148
5148
|
try {
|
|
5149
|
-
|
|
5149
|
+
let result = await client.send(new DescribeAssetCommand(input));
|
|
5150
5150
|
reason = result;
|
|
5151
5151
|
}
|
|
5152
5152
|
catch (exception) {
|
|
@@ -5170,10 +5170,10 @@ const waitUntilAssetNotExists = async (params, input) => {
|
|
|
5170
5170
|
const checkState$3 = async (client, input) => {
|
|
5171
5171
|
let reason;
|
|
5172
5172
|
try {
|
|
5173
|
-
|
|
5173
|
+
let result = await client.send(new DescribeAssetModelCommand(input));
|
|
5174
5174
|
reason = result;
|
|
5175
5175
|
try {
|
|
5176
|
-
|
|
5176
|
+
const returnComparator = () => {
|
|
5177
5177
|
return result.assetModelStatus.state;
|
|
5178
5178
|
};
|
|
5179
5179
|
if (returnComparator() === "ACTIVE") {
|
|
@@ -5182,7 +5182,7 @@ const checkState$3 = async (client, input) => {
|
|
|
5182
5182
|
}
|
|
5183
5183
|
catch (e) { }
|
|
5184
5184
|
try {
|
|
5185
|
-
|
|
5185
|
+
const returnComparator = () => {
|
|
5186
5186
|
return result.assetModelStatus.state;
|
|
5187
5187
|
};
|
|
5188
5188
|
if (returnComparator() === "FAILED") {
|
|
@@ -5209,7 +5209,7 @@ const waitUntilAssetModelActive = async (params, input) => {
|
|
|
5209
5209
|
const checkState$2 = async (client, input) => {
|
|
5210
5210
|
let reason;
|
|
5211
5211
|
try {
|
|
5212
|
-
|
|
5212
|
+
let result = await client.send(new DescribeAssetModelCommand(input));
|
|
5213
5213
|
reason = result;
|
|
5214
5214
|
}
|
|
5215
5215
|
catch (exception) {
|
|
@@ -5233,10 +5233,10 @@ const waitUntilAssetModelNotExists = async (params, input) => {
|
|
|
5233
5233
|
const checkState$1 = async (client, input) => {
|
|
5234
5234
|
let reason;
|
|
5235
5235
|
try {
|
|
5236
|
-
|
|
5236
|
+
let result = await client.send(new DescribePortalCommand(input));
|
|
5237
5237
|
reason = result;
|
|
5238
5238
|
try {
|
|
5239
|
-
|
|
5239
|
+
const returnComparator = () => {
|
|
5240
5240
|
return result.portalStatus.state;
|
|
5241
5241
|
};
|
|
5242
5242
|
if (returnComparator() === "ACTIVE") {
|
|
@@ -5263,7 +5263,7 @@ const waitUntilPortalActive = async (params, input) => {
|
|
|
5263
5263
|
const checkState = async (client, input) => {
|
|
5264
5264
|
let reason;
|
|
5265
5265
|
try {
|
|
5266
|
-
|
|
5266
|
+
let result = await client.send(new DescribePortalCommand(input));
|
|
5267
5267
|
reason = result;
|
|
5268
5268
|
}
|
|
5269
5269
|
catch (exception) {
|
|
@@ -3,10 +3,10 @@ import { DescribeAssetCommand } from "../commands/DescribeAssetCommand";
|
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
|
5
5
|
try {
|
|
6
|
-
|
|
6
|
+
let result = await client.send(new DescribeAssetCommand(input));
|
|
7
7
|
reason = result;
|
|
8
8
|
try {
|
|
9
|
-
|
|
9
|
+
const returnComparator = () => {
|
|
10
10
|
return result.assetStatus.state;
|
|
11
11
|
};
|
|
12
12
|
if (returnComparator() === "ACTIVE") {
|
|
@@ -15,7 +15,7 @@ const checkState = async (client, input) => {
|
|
|
15
15
|
}
|
|
16
16
|
catch (e) { }
|
|
17
17
|
try {
|
|
18
|
-
|
|
18
|
+
const returnComparator = () => {
|
|
19
19
|
return result.assetStatus.state;
|
|
20
20
|
};
|
|
21
21
|
if (returnComparator() === "FAILED") {
|
|
@@ -3,10 +3,10 @@ import { DescribeAssetModelCommand } from "../commands/DescribeAssetModelCommand
|
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
|
5
5
|
try {
|
|
6
|
-
|
|
6
|
+
let result = await client.send(new DescribeAssetModelCommand(input));
|
|
7
7
|
reason = result;
|
|
8
8
|
try {
|
|
9
|
-
|
|
9
|
+
const returnComparator = () => {
|
|
10
10
|
return result.assetModelStatus.state;
|
|
11
11
|
};
|
|
12
12
|
if (returnComparator() === "ACTIVE") {
|
|
@@ -15,7 +15,7 @@ const checkState = async (client, input) => {
|
|
|
15
15
|
}
|
|
16
16
|
catch (e) { }
|
|
17
17
|
try {
|
|
18
|
-
|
|
18
|
+
const returnComparator = () => {
|
|
19
19
|
return result.assetModelStatus.state;
|
|
20
20
|
};
|
|
21
21
|
if (returnComparator() === "FAILED") {
|
|
@@ -3,7 +3,7 @@ import { DescribeAssetModelCommand } from "../commands/DescribeAssetModelCommand
|
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
|
5
5
|
try {
|
|
6
|
-
|
|
6
|
+
let result = await client.send(new DescribeAssetModelCommand(input));
|
|
7
7
|
reason = result;
|
|
8
8
|
}
|
|
9
9
|
catch (exception) {
|
|
@@ -3,7 +3,7 @@ import { DescribeAssetCommand } from "../commands/DescribeAssetCommand";
|
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
|
5
5
|
try {
|
|
6
|
-
|
|
6
|
+
let result = await client.send(new DescribeAssetCommand(input));
|
|
7
7
|
reason = result;
|
|
8
8
|
}
|
|
9
9
|
catch (exception) {
|
|
@@ -3,10 +3,10 @@ import { DescribePortalCommand } from "../commands/DescribePortalCommand";
|
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
|
5
5
|
try {
|
|
6
|
-
|
|
6
|
+
let result = await client.send(new DescribePortalCommand(input));
|
|
7
7
|
reason = result;
|
|
8
8
|
try {
|
|
9
|
-
|
|
9
|
+
const returnComparator = () => {
|
|
10
10
|
return result.portalStatus.state;
|
|
11
11
|
};
|
|
12
12
|
if (returnComparator() === "ACTIVE") {
|
|
@@ -3,7 +3,7 @@ import { DescribePortalCommand } from "../commands/DescribePortalCommand";
|
|
|
3
3
|
const checkState = async (client, input) => {
|
|
4
4
|
let reason;
|
|
5
5
|
try {
|
|
6
|
-
|
|
6
|
+
let result = await client.send(new DescribePortalCommand(input));
|
|
7
7
|
reason = result;
|
|
8
8
|
}
|
|
9
9
|
catch (exception) {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-iotsitewise",
|
|
3
3
|
"description": "AWS SDK for JavaScript Iotsitewise Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.962.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-iotsitewise",
|
|
@@ -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.962.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",
|