@aws-sdk/client-iotsitewise 3.958.0 → 3.964.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 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
- const result = await client.send(new DescribeAssetCommand(input));
5110
+ let result = await client.send(new DescribeAssetCommand(input));
5111
5111
  reason = result;
5112
5112
  try {
5113
- let returnComparator = () => {
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
- let returnComparator = () => {
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
- const result = await client.send(new DescribeAssetCommand(input));
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
- const result = await client.send(new DescribeAssetModelCommand(input));
5173
+ let result = await client.send(new DescribeAssetModelCommand(input));
5174
5174
  reason = result;
5175
5175
  try {
5176
- let returnComparator = () => {
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
- let returnComparator = () => {
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
- const result = await client.send(new DescribeAssetModelCommand(input));
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
- const result = await client.send(new DescribePortalCommand(input));
5236
+ let result = await client.send(new DescribePortalCommand(input));
5237
5237
  reason = result;
5238
5238
  try {
5239
- let returnComparator = () => {
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
- const result = await client.send(new DescribePortalCommand(input));
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
- const result = await client.send(new DescribeAssetCommand(input));
6
+ let result = await client.send(new DescribeAssetCommand(input));
7
7
  reason = result;
8
8
  try {
9
- let returnComparator = () => {
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
- let returnComparator = () => {
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
- const result = await client.send(new DescribeAssetModelCommand(input));
6
+ let result = await client.send(new DescribeAssetModelCommand(input));
7
7
  reason = result;
8
8
  try {
9
- let returnComparator = () => {
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
- let returnComparator = () => {
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
- const result = await client.send(new DescribeAssetModelCommand(input));
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
- const result = await client.send(new DescribeAssetCommand(input));
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
- const result = await client.send(new DescribePortalCommand(input));
6
+ let result = await client.send(new DescribePortalCommand(input));
7
7
  reason = result;
8
8
  try {
9
- let returnComparator = () => {
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
- const result = await client.send(new DescribePortalCommand(input));
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.958.0",
4
+ "version": "3.964.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",
@@ -21,17 +21,17 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "5.2.0",
23
23
  "@aws-crypto/sha256-js": "5.2.0",
24
- "@aws-sdk/core": "3.957.0",
25
- "@aws-sdk/credential-provider-node": "3.958.0",
24
+ "@aws-sdk/core": "3.964.0",
25
+ "@aws-sdk/credential-provider-node": "3.964.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",
29
- "@aws-sdk/middleware-user-agent": "3.957.0",
29
+ "@aws-sdk/middleware-user-agent": "3.964.0",
30
30
  "@aws-sdk/region-config-resolver": "3.957.0",
31
31
  "@aws-sdk/types": "3.957.0",
32
32
  "@aws-sdk/util-endpoints": "3.957.0",
33
33
  "@aws-sdk/util-user-agent-browser": "3.957.0",
34
- "@aws-sdk/util-user-agent-node": "3.957.0",
34
+ "@aws-sdk/util-user-agent-node": "3.964.0",
35
35
  "@smithy/config-resolver": "^4.4.5",
36
36
  "@smithy/core": "^3.20.0",
37
37
  "@smithy/eventstream-serde-browser": "^4.2.7",