@aws-sdk/client-iotsitewise 3.100.0 → 3.109.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/CHANGELOG.md CHANGED
@@ -3,6 +3,37 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.109.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.108.1...v3.109.0) (2022-06-13)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/client-iotsitewise
9
+
10
+
11
+
12
+
13
+
14
+ # [3.105.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.104.0...v3.105.0) (2022-06-06)
15
+
16
+
17
+ ### Features
18
+
19
+ * **clients:** support recursion detection in Lambda ([#3654](https://github.com/aws/aws-sdk-js-v3/issues/3654)) ([ecfe46e](https://github.com/aws/aws-sdk-js-v3/commit/ecfe46ea1fd8b6e3812b75b3dc6c03554fb4b3fa))
20
+ * **clients:** update client endpoints as of 2022-06-06 ([ef24fbc](https://github.com/aws/aws-sdk-js-v3/commit/ef24fbc7d9e21573070143a91d09782a67aa35a9))
21
+
22
+
23
+
24
+
25
+
26
+ # [3.102.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.101.0...v3.102.0) (2022-05-31)
27
+
28
+
29
+ ### Features
30
+
31
+ * **client-iotsitewise:** This release adds the following new optional field to the IoT SiteWise asset resource: assetDescription. ([6efc758](https://github.com/aws/aws-sdk-js-v3/commit/6efc758715ef357bf835fccbeb62bba66b399ee6))
32
+
33
+
34
+
35
+
36
+
6
37
  # [3.100.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.99.0...v3.100.0) (2022-05-26)
7
38
 
8
39
  **Note:** Version bump only for package @aws-sdk/client-iotsitewise
@@ -5,6 +5,7 @@ const config_resolver_1 = require("@aws-sdk/config-resolver");
5
5
  const middleware_content_length_1 = require("@aws-sdk/middleware-content-length");
6
6
  const middleware_host_header_1 = require("@aws-sdk/middleware-host-header");
7
7
  const middleware_logger_1 = require("@aws-sdk/middleware-logger");
8
+ const middleware_recursion_detection_1 = require("@aws-sdk/middleware-recursion-detection");
8
9
  const middleware_retry_1 = require("@aws-sdk/middleware-retry");
9
10
  const middleware_signing_1 = require("@aws-sdk/middleware-signing");
10
11
  const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
@@ -25,6 +26,7 @@ class IoTSiteWiseClient extends smithy_client_1.Client {
25
26
  this.middlewareStack.use((0, middleware_content_length_1.getContentLengthPlugin)(this.config));
26
27
  this.middlewareStack.use((0, middleware_host_header_1.getHostHeaderPlugin)(this.config));
27
28
  this.middlewareStack.use((0, middleware_logger_1.getLoggerPlugin)(this.config));
29
+ this.middlewareStack.use((0, middleware_recursion_detection_1.getRecursionDetectionPlugin)(this.config));
28
30
  this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(this.config));
29
31
  this.middlewareStack.use((0, middleware_user_agent_1.getUserAgentPlugin)(this.config));
30
32
  }
@@ -3,6 +3,14 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.defaultRegionInfoProvider = void 0;
4
4
  const config_resolver_1 = require("@aws-sdk/config-resolver");
5
5
  const regionHash = {
6
+ "ca-central-1": {
7
+ variants: [
8
+ {
9
+ hostname: "iotsitewise-fips.ca-central-1.amazonaws.com",
10
+ tags: ["fips"],
11
+ },
12
+ ],
13
+ },
6
14
  "us-east-1": {
7
15
  variants: [
8
16
  {
@@ -11,6 +19,14 @@ const regionHash = {
11
19
  },
12
20
  ],
13
21
  },
22
+ "us-east-2": {
23
+ variants: [
24
+ {
25
+ hostname: "iotsitewise-fips.us-east-2.amazonaws.com",
26
+ tags: ["fips"],
27
+ },
28
+ ],
29
+ },
14
30
  "us-gov-west-1": {
15
31
  variants: [
16
32
  {
@@ -47,7 +63,9 @@ const partitionHash = {
47
63
  "eu-west-1",
48
64
  "eu-west-2",
49
65
  "eu-west-3",
66
+ "fips-ca-central-1",
50
67
  "fips-us-east-1",
68
+ "fips-us-east-2",
51
69
  "fips-us-west-2",
52
70
  "me-south-1",
53
71
  "sa-east-1",
@@ -344,6 +344,8 @@ const serializeAws_restJson1CreateAssetCommand = async (input, context) => {
344
344
  const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/assets";
345
345
  let body;
346
346
  body = JSON.stringify({
347
+ ...(input.assetDescription !== undefined &&
348
+ input.assetDescription !== null && { assetDescription: input.assetDescription }),
347
349
  ...(input.assetModelId !== undefined && input.assetModelId !== null && { assetModelId: input.assetModelId }),
348
350
  ...(input.assetName !== undefined && input.assetName !== null && { assetName: input.assetName }),
349
351
  clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
@@ -2106,6 +2108,8 @@ const serializeAws_restJson1UpdateAssetCommand = async (input, context) => {
2106
2108
  }
2107
2109
  let body;
2108
2110
  body = JSON.stringify({
2111
+ ...(input.assetDescription !== undefined &&
2112
+ input.assetDescription !== null && { assetDescription: input.assetDescription }),
2109
2113
  ...(input.assetName !== undefined && input.assetName !== null && { assetName: input.assetName }),
2110
2114
  clientToken: (_a = input.clientToken) !== null && _a !== void 0 ? _a : (0, uuid_1.v4)(),
2111
2115
  });
@@ -3711,6 +3715,7 @@ const deserializeAws_restJson1DescribeAssetCommand = async (output, context) =>
3711
3715
  assetArn: undefined,
3712
3716
  assetCompositeModels: undefined,
3713
3717
  assetCreationDate: undefined,
3718
+ assetDescription: undefined,
3714
3719
  assetHierarchies: undefined,
3715
3720
  assetId: undefined,
3716
3721
  assetLastUpdateDate: undefined,
@@ -3729,6 +3734,9 @@ const deserializeAws_restJson1DescribeAssetCommand = async (output, context) =>
3729
3734
  if (data.assetCreationDate !== undefined && data.assetCreationDate !== null) {
3730
3735
  contents.assetCreationDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(data.assetCreationDate)));
3731
3736
  }
3737
+ if (data.assetDescription !== undefined && data.assetDescription !== null) {
3738
+ contents.assetDescription = (0, smithy_client_1.expectString)(data.assetDescription);
3739
+ }
3732
3740
  if (data.assetHierarchies !== undefined && data.assetHierarchies !== null) {
3733
3741
  contents.assetHierarchies = deserializeAws_restJson1AssetHierarchies(data.assetHierarchies, context);
3734
3742
  }
@@ -7101,6 +7109,7 @@ const deserializeAws_restJson1AssetSummary = (output, context) => {
7101
7109
  creationDate: output.creationDate !== undefined && output.creationDate !== null
7102
7110
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.creationDate)))
7103
7111
  : undefined,
7112
+ description: (0, smithy_client_1.expectString)(output.description),
7104
7113
  hierarchies: output.hierarchies !== undefined && output.hierarchies !== null
7105
7114
  ? deserializeAws_restJson1AssetHierarchies(output.hierarchies, context)
7106
7115
  : undefined,
@@ -7132,6 +7141,7 @@ const deserializeAws_restJson1AssociatedAssetsSummary = (output, context) => {
7132
7141
  creationDate: output.creationDate !== undefined && output.creationDate !== null
7133
7142
  ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.creationDate)))
7134
7143
  : undefined,
7144
+ description: (0, smithy_client_1.expectString)(output.description),
7135
7145
  hierarchies: output.hierarchies !== undefined && output.hierarchies !== null
7136
7146
  ? deserializeAws_restJson1AssetHierarchies(output.hierarchies, context)
7137
7147
  : undefined,
@@ -3,6 +3,7 @@ import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-re
3
3
  import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
4
4
  import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
5
5
  import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
6
+ import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detection";
6
7
  import { getRetryPlugin, resolveRetryConfig } from "@aws-sdk/middleware-retry";
7
8
  import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-signing";
8
9
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
@@ -25,6 +26,7 @@ var IoTSiteWiseClient = (function (_super) {
25
26
  _this.middlewareStack.use(getContentLengthPlugin(_this.config));
26
27
  _this.middlewareStack.use(getHostHeaderPlugin(_this.config));
27
28
  _this.middlewareStack.use(getLoggerPlugin(_this.config));
29
+ _this.middlewareStack.use(getRecursionDetectionPlugin(_this.config));
28
30
  _this.middlewareStack.use(getAwsAuthPlugin(_this.config));
29
31
  _this.middlewareStack.use(getUserAgentPlugin(_this.config));
30
32
  return _this;
@@ -1,6 +1,14 @@
1
1
  import { __assign, __awaiter, __generator } from "tslib";
2
2
  import { getRegionInfo } from "@aws-sdk/config-resolver";
3
3
  var regionHash = {
4
+ "ca-central-1": {
5
+ variants: [
6
+ {
7
+ hostname: "iotsitewise-fips.ca-central-1.amazonaws.com",
8
+ tags: ["fips"],
9
+ },
10
+ ],
11
+ },
4
12
  "us-east-1": {
5
13
  variants: [
6
14
  {
@@ -9,6 +17,14 @@ var regionHash = {
9
17
  },
10
18
  ],
11
19
  },
20
+ "us-east-2": {
21
+ variants: [
22
+ {
23
+ hostname: "iotsitewise-fips.us-east-2.amazonaws.com",
24
+ tags: ["fips"],
25
+ },
26
+ ],
27
+ },
12
28
  "us-gov-west-1": {
13
29
  variants: [
14
30
  {
@@ -45,7 +61,9 @@ var partitionHash = {
45
61
  "eu-west-1",
46
62
  "eu-west-2",
47
63
  "eu-west-3",
64
+ "fips-ca-central-1",
48
65
  "fips-us-east-1",
66
+ "fips-us-east-2",
49
67
  "fips-us-west-2",
50
68
  "me-south-1",
51
69
  "sa-east-1",
@@ -373,7 +373,8 @@ export var serializeAws_restJson1CreateAssetCommand = function (input, context)
373
373
  "content-type": "application/json",
374
374
  };
375
375
  resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/assets";
376
- body = JSON.stringify(__assign(__assign(__assign(__assign({}, (input.assetModelId !== undefined && input.assetModelId !== null && { assetModelId: input.assetModelId })), (input.assetName !== undefined && input.assetName !== null && { assetName: input.assetName })), { clientToken: (_c = input.clientToken) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }), (input.tags !== undefined && input.tags !== null && { tags: serializeAws_restJson1TagMap(input.tags, context) })));
376
+ body = JSON.stringify(__assign(__assign(__assign(__assign(__assign({}, (input.assetDescription !== undefined &&
377
+ input.assetDescription !== null && { assetDescription: input.assetDescription })), (input.assetModelId !== undefined && input.assetModelId !== null && { assetModelId: input.assetModelId })), (input.assetName !== undefined && input.assetName !== null && { assetName: input.assetName })), { clientToken: (_c = input.clientToken) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }), (input.tags !== undefined && input.tags !== null && { tags: serializeAws_restJson1TagMap(input.tags, context) })));
377
378
  return [4, context.endpoint()];
378
379
  case 2:
379
380
  resolvedHostname = (_d.sent()).hostname;
@@ -2311,7 +2312,8 @@ export var serializeAws_restJson1UpdateAssetCommand = function (input, context)
2311
2312
  else {
2312
2313
  throw new Error("No value provided for input HTTP label: assetId.");
2313
2314
  }
2314
- body = JSON.stringify(__assign(__assign({}, (input.assetName !== undefined && input.assetName !== null && { assetName: input.assetName })), { clientToken: (_c = input.clientToken) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }));
2315
+ body = JSON.stringify(__assign(__assign(__assign({}, (input.assetDescription !== undefined &&
2316
+ input.assetDescription !== null && { assetDescription: input.assetDescription })), (input.assetName !== undefined && input.assetName !== null && { assetName: input.assetName })), { clientToken: (_c = input.clientToken) !== null && _c !== void 0 ? _c : generateIdempotencyToken() }));
2315
2317
  return [4, context.endpoint()];
2316
2318
  case 2:
2317
2319
  resolvedHostname = (_d.sent()).hostname;
@@ -4472,6 +4474,7 @@ export var deserializeAws_restJson1DescribeAssetCommand = function (output, cont
4472
4474
  assetArn: undefined,
4473
4475
  assetCompositeModels: undefined,
4474
4476
  assetCreationDate: undefined,
4477
+ assetDescription: undefined,
4475
4478
  assetHierarchies: undefined,
4476
4479
  assetId: undefined,
4477
4480
  assetLastUpdateDate: undefined,
@@ -4494,6 +4497,9 @@ export var deserializeAws_restJson1DescribeAssetCommand = function (output, cont
4494
4497
  if (data.assetCreationDate !== undefined && data.assetCreationDate !== null) {
4495
4498
  contents.assetCreationDate = __expectNonNull(__parseEpochTimestamp(__expectNumber(data.assetCreationDate)));
4496
4499
  }
4500
+ if (data.assetDescription !== undefined && data.assetDescription !== null) {
4501
+ contents.assetDescription = __expectString(data.assetDescription);
4502
+ }
4497
4503
  if (data.assetHierarchies !== undefined && data.assetHierarchies !== null) {
4498
4504
  contents.assetHierarchies = deserializeAws_restJson1AssetHierarchies(data.assetHierarchies, context);
4499
4505
  }
@@ -8673,6 +8679,7 @@ var deserializeAws_restJson1AssetSummary = function (output, context) {
8673
8679
  creationDate: output.creationDate !== undefined && output.creationDate !== null
8674
8680
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDate)))
8675
8681
  : undefined,
8682
+ description: __expectString(output.description),
8676
8683
  hierarchies: output.hierarchies !== undefined && output.hierarchies !== null
8677
8684
  ? deserializeAws_restJson1AssetHierarchies(output.hierarchies, context)
8678
8685
  : undefined,
@@ -8704,6 +8711,7 @@ var deserializeAws_restJson1AssociatedAssetsSummary = function (output, context)
8704
8711
  creationDate: output.creationDate !== undefined && output.creationDate !== null
8705
8712
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDate)))
8706
8713
  : undefined,
8714
+ description: __expectString(output.description),
8707
8715
  hierarchies: output.hierarchies !== undefined && output.hierarchies !== null
8708
8716
  ? deserializeAws_restJson1AssetHierarchies(output.hierarchies, context)
8709
8717
  : undefined,
@@ -1302,6 +1302,10 @@ export interface AssetSummary {
1302
1302
  * <p>A list of asset hierarchies that each contain a <code>hierarchyId</code>. A hierarchy specifies allowed parent/child asset relationships.</p>
1303
1303
  */
1304
1304
  hierarchies: AssetHierarchy[] | undefined;
1305
+ /**
1306
+ * <p>A description for the asset.</p>
1307
+ */
1308
+ description?: string;
1305
1309
  }
1306
1310
  export declare namespace AssetSummary {
1307
1311
  /**
@@ -1456,6 +1460,10 @@ export interface AssociatedAssetsSummary {
1456
1460
  * <p>A list of asset hierarchies that each contain a <code>hierarchyId</code>. A hierarchy specifies allowed parent/child asset relationships.</p>
1457
1461
  */
1458
1462
  hierarchies: AssetHierarchy[] | undefined;
1463
+ /**
1464
+ * <p>A description for the asset.</p>
1465
+ */
1466
+ description?: string;
1459
1467
  }
1460
1468
  export declare namespace AssociatedAssetsSummary {
1461
1469
  /**
@@ -2322,9 +2330,7 @@ export interface CreateAccessPolicyRequest {
2322
2330
  * information, see <a href="https://docs.aws.amazon.com/iot-sitewise/latest/userguide/tag-resources.html">Tagging your
2323
2331
  * IoT SiteWise resources</a> in the <i>IoT SiteWise User Guide</i>.</p>
2324
2332
  */
2325
- tags?: {
2326
- [key: string]: string;
2327
- };
2333
+ tags?: Record<string, string>;
2328
2334
  }
2329
2335
  export declare namespace CreateAccessPolicyRequest {
2330
2336
  /**
@@ -2369,9 +2375,11 @@ export interface CreateAssetRequest {
2369
2375
  * <a href="https://docs.aws.amazon.com/iot-sitewise/latest/userguide/tag-resources.html">Tagging your IoT SiteWise
2370
2376
  * resources</a> in the <i>IoT SiteWise User Guide</i>.</p>
2371
2377
  */
2372
- tags?: {
2373
- [key: string]: string;
2374
- };
2378
+ tags?: Record<string, string>;
2379
+ /**
2380
+ * <p>A description for the asset.</p>
2381
+ */
2382
+ assetDescription?: string;
2375
2383
  }
2376
2384
  export declare namespace CreateAssetRequest {
2377
2385
  /**
@@ -2463,9 +2471,7 @@ export interface CreateAssetModelRequest {
2463
2471
  * see <a href="https://docs.aws.amazon.com/iot-sitewise/latest/userguide/tag-resources.html">Tagging your IoT SiteWise
2464
2472
  * resources</a> in the <i>IoT SiteWise User Guide</i>.</p>
2465
2473
  */
2466
- tags?: {
2467
- [key: string]: string;
2468
- };
2474
+ tags?: Record<string, string>;
2469
2475
  }
2470
2476
  export declare namespace CreateAssetModelRequest {
2471
2477
  /**
@@ -2524,9 +2530,7 @@ export interface CreateDashboardRequest {
2524
2530
  * see <a href="https://docs.aws.amazon.com/iot-sitewise/latest/userguide/tag-resources.html">Tagging your IoT SiteWise
2525
2531
  * resources</a> in the <i>IoT SiteWise User Guide</i>.</p>
2526
2532
  */
2527
- tags?: {
2528
- [key: string]: string;
2529
- };
2533
+ tags?: Record<string, string>;
2530
2534
  }
2531
2535
  export declare namespace CreateDashboardRequest {
2532
2536
  /**
@@ -2625,9 +2629,7 @@ export interface CreateGatewayRequest {
2625
2629
  * <a href="https://docs.aws.amazon.com/iot-sitewise/latest/userguide/tag-resources.html">Tagging your IoT SiteWise
2626
2630
  * resources</a> in the <i>IoT SiteWise User Guide</i>.</p>
2627
2631
  */
2628
- tags?: {
2629
- [key: string]: string;
2630
- };
2632
+ tags?: Record<string, string>;
2631
2633
  }
2632
2634
  export declare namespace CreateGatewayRequest {
2633
2635
  /**
@@ -2710,9 +2712,7 @@ export interface CreatePortalRequest {
2710
2712
  * <a href="https://docs.aws.amazon.com/iot-sitewise/latest/userguide/tag-resources.html">Tagging your IoT SiteWise
2711
2713
  * resources</a> in the <i>IoT SiteWise User Guide</i>.</p>
2712
2714
  */
2713
- tags?: {
2714
- [key: string]: string;
2715
- };
2715
+ tags?: Record<string, string>;
2716
2716
  /**
2717
2717
  * <p>The service to use to authenticate users to the portal. Choose from the following
2718
2718
  * options:</p>
@@ -2864,9 +2864,7 @@ export interface CreateProjectRequest {
2864
2864
  * <a href="https://docs.aws.amazon.com/iot-sitewise/latest/userguide/tag-resources.html">Tagging your IoT SiteWise
2865
2865
  * resources</a> in the <i>IoT SiteWise User Guide</i>.</p>
2866
2866
  */
2867
- tags?: {
2868
- [key: string]: string;
2869
- };
2867
+ tags?: Record<string, string>;
2870
2868
  }
2871
2869
  export declare namespace CreateProjectRequest {
2872
2870
  /**
@@ -3200,6 +3198,10 @@ export interface DescribeAssetResponse {
3200
3198
  * <p>The current status of the asset, which contains a state and any error message.</p>
3201
3199
  */
3202
3200
  assetStatus: AssetStatus | undefined;
3201
+ /**
3202
+ * <p>A description for the asset.</p>
3203
+ */
3204
+ assetDescription?: string;
3203
3205
  }
3204
3206
  export declare namespace DescribeAssetResponse {
3205
3207
  /**
@@ -3967,7 +3969,7 @@ export interface DescribeStorageConfigurationResponse {
3967
3969
  * </li>
3968
3970
  * <li>
3969
3971
  * <p>
3970
- * <code>MULTI_LAYER_STORAGE</code> – IoT SiteWise saves your data in both the cold tier and the cold tier.
3972
+ * <code>MULTI_LAYER_STORAGE</code> – IoT SiteWise saves your data in both the cold tier and the hot tier.
3971
3973
  * The cold tier is a customer-managed Amazon S3 bucket.</p>
3972
3974
  * </li>
3973
3975
  * </ul>
@@ -5080,9 +5082,7 @@ export interface ListTagsForResourceResponse {
5080
5082
  * see <a href="https://docs.aws.amazon.com/iot-sitewise/latest/userguide/tag-resources.html">Tagging your IoT SiteWise
5081
5083
  * resources</a> in the <i>IoT SiteWise User Guide</i>.</p>
5082
5084
  */
5083
- tags?: {
5084
- [key: string]: string;
5085
- };
5085
+ tags?: Record<string, string>;
5086
5086
  }
5087
5087
  export declare namespace ListTagsForResourceResponse {
5088
5088
  /**
@@ -5282,7 +5282,7 @@ export interface PutStorageConfigurationRequest {
5282
5282
  * </li>
5283
5283
  * <li>
5284
5284
  * <p>
5285
- * <code>MULTI_LAYER_STORAGE</code> – IoT SiteWise saves your data in both the cold tier and the cold tier.
5285
+ * <code>MULTI_LAYER_STORAGE</code> – IoT SiteWise saves your data in both the cold tier and the hot tier.
5286
5286
  * The cold tier is a customer-managed Amazon S3 bucket.</p>
5287
5287
  * </li>
5288
5288
  * </ul>
@@ -5336,7 +5336,7 @@ export interface PutStorageConfigurationResponse {
5336
5336
  * </li>
5337
5337
  * <li>
5338
5338
  * <p>
5339
- * <code>MULTI_LAYER_STORAGE</code> – IoT SiteWise saves your data in both the cold tier and the cold tier.
5339
+ * <code>MULTI_LAYER_STORAGE</code> – IoT SiteWise saves your data in both the cold tier and the hot tier.
5340
5340
  * The cold tier is a customer-managed Amazon S3 bucket.</p>
5341
5341
  * </li>
5342
5342
  * </ul>
@@ -5391,9 +5391,7 @@ export interface TagResourceRequest {
5391
5391
  * see <a href="https://docs.aws.amazon.com/iot-sitewise/latest/userguide/tag-resources.html">Tagging your IoT SiteWise
5392
5392
  * resources</a> in the <i>IoT SiteWise User Guide</i>.</p>
5393
5393
  */
5394
- tags: {
5395
- [key: string]: string;
5396
- } | undefined;
5394
+ tags: Record<string, string> | undefined;
5397
5395
  }
5398
5396
  export declare namespace TagResourceRequest {
5399
5397
  /**
@@ -5499,6 +5497,10 @@ export interface UpdateAssetRequest {
5499
5497
  * <p>A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.</p>
5500
5498
  */
5501
5499
  clientToken?: string;
5500
+ /**
5501
+ * <p>A description for the asset.</p>
5502
+ */
5503
+ assetDescription?: string;
5502
5504
  }
5503
5505
  export declare namespace UpdateAssetRequest {
5504
5506
  /**
@@ -655,6 +655,8 @@ export interface AssetSummary {
655
655
  status: AssetStatus | undefined;
656
656
 
657
657
  hierarchies: AssetHierarchy[] | undefined;
658
+
659
+ description?: string;
658
660
  }
659
661
  export declare namespace AssetSummary {
660
662
 
@@ -738,6 +740,8 @@ export interface AssociatedAssetsSummary {
738
740
  status: AssetStatus | undefined;
739
741
 
740
742
  hierarchies: AssetHierarchy[] | undefined;
743
+
744
+ description?: string;
741
745
  }
742
746
  export declare namespace AssociatedAssetsSummary {
743
747
 
@@ -1194,9 +1198,7 @@ export interface CreateAccessPolicyRequest {
1194
1198
 
1195
1199
  clientToken?: string;
1196
1200
 
1197
- tags?: {
1198
- [key: string]: string;
1199
- };
1201
+ tags?: Record<string, string>;
1200
1202
  }
1201
1203
  export declare namespace CreateAccessPolicyRequest {
1202
1204
 
@@ -1220,9 +1222,9 @@ export interface CreateAssetRequest {
1220
1222
 
1221
1223
  clientToken?: string;
1222
1224
 
1223
- tags?: {
1224
- [key: string]: string;
1225
- };
1225
+ tags?: Record<string, string>;
1226
+
1227
+ assetDescription?: string;
1226
1228
  }
1227
1229
  export declare namespace CreateAssetRequest {
1228
1230
 
@@ -1265,9 +1267,7 @@ export interface CreateAssetModelRequest {
1265
1267
 
1266
1268
  clientToken?: string;
1267
1269
 
1268
- tags?: {
1269
- [key: string]: string;
1270
- };
1270
+ tags?: Record<string, string>;
1271
1271
  }
1272
1272
  export declare namespace CreateAssetModelRequest {
1273
1273
 
@@ -1297,9 +1297,7 @@ export interface CreateDashboardRequest {
1297
1297
 
1298
1298
  clientToken?: string;
1299
1299
 
1300
- tags?: {
1301
- [key: string]: string;
1302
- };
1300
+ tags?: Record<string, string>;
1303
1301
  }
1304
1302
  export declare namespace CreateDashboardRequest {
1305
1303
 
@@ -1350,9 +1348,7 @@ export interface CreateGatewayRequest {
1350
1348
 
1351
1349
  gatewayPlatform: GatewayPlatform | undefined;
1352
1350
 
1353
- tags?: {
1354
- [key: string]: string;
1355
- };
1351
+ tags?: Record<string, string>;
1356
1352
  }
1357
1353
  export declare namespace CreateGatewayRequest {
1358
1354
 
@@ -1396,9 +1392,7 @@ export interface CreatePortalRequest {
1396
1392
 
1397
1393
  roleArn: string | undefined;
1398
1394
 
1399
- tags?: {
1400
- [key: string]: string;
1401
- };
1395
+ tags?: Record<string, string>;
1402
1396
 
1403
1397
  portalAuthMode?: AuthMode | string;
1404
1398
 
@@ -1470,9 +1464,7 @@ export interface CreateProjectRequest {
1470
1464
 
1471
1465
  clientToken?: string;
1472
1466
 
1473
- tags?: {
1474
- [key: string]: string;
1475
- };
1467
+ tags?: Record<string, string>;
1476
1468
  }
1477
1469
  export declare namespace CreateProjectRequest {
1478
1470
 
@@ -1669,6 +1661,8 @@ export interface DescribeAssetResponse {
1669
1661
  assetLastUpdateDate: Date | undefined;
1670
1662
 
1671
1663
  assetStatus: AssetStatus | undefined;
1664
+
1665
+ assetDescription?: string;
1672
1666
  }
1673
1667
  export declare namespace DescribeAssetResponse {
1674
1668
 
@@ -2633,9 +2627,7 @@ export declare namespace ListTagsForResourceRequest {
2633
2627
  }
2634
2628
  export interface ListTagsForResourceResponse {
2635
2629
 
2636
- tags?: {
2637
- [key: string]: string;
2638
- };
2630
+ tags?: Record<string, string>;
2639
2631
  }
2640
2632
  export declare namespace ListTagsForResourceResponse {
2641
2633
 
@@ -2771,9 +2763,7 @@ export interface TagResourceRequest {
2771
2763
 
2772
2764
  resourceArn: string | undefined;
2773
2765
 
2774
- tags: {
2775
- [key: string]: string;
2776
- } | undefined;
2766
+ tags: Record<string, string> | undefined;
2777
2767
  }
2778
2768
  export declare namespace TagResourceRequest {
2779
2769
 
@@ -2839,6 +2829,8 @@ export interface UpdateAssetRequest {
2839
2829
  assetName: string | undefined;
2840
2830
 
2841
2831
  clientToken?: string;
2832
+
2833
+ assetDescription?: string;
2842
2834
  }
2843
2835
  export declare namespace UpdateAssetRequest {
2844
2836
 
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.100.0",
4
+ "version": "3.109.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",
@@ -18,37 +18,38 @@
18
18
  "dependencies": {
19
19
  "@aws-crypto/sha256-browser": "2.0.0",
20
20
  "@aws-crypto/sha256-js": "2.0.0",
21
- "@aws-sdk/client-sts": "3.100.0",
22
- "@aws-sdk/config-resolver": "3.80.0",
23
- "@aws-sdk/credential-provider-node": "3.100.0",
24
- "@aws-sdk/fetch-http-handler": "3.78.0",
25
- "@aws-sdk/hash-node": "3.78.0",
26
- "@aws-sdk/invalid-dependency": "3.78.0",
27
- "@aws-sdk/middleware-content-length": "3.78.0",
28
- "@aws-sdk/middleware-host-header": "3.78.0",
29
- "@aws-sdk/middleware-logger": "3.78.0",
30
- "@aws-sdk/middleware-retry": "3.80.0",
31
- "@aws-sdk/middleware-serde": "3.78.0",
32
- "@aws-sdk/middleware-signing": "3.78.0",
33
- "@aws-sdk/middleware-stack": "3.78.0",
34
- "@aws-sdk/middleware-user-agent": "3.78.0",
35
- "@aws-sdk/node-config-provider": "3.80.0",
36
- "@aws-sdk/node-http-handler": "3.94.0",
37
- "@aws-sdk/protocol-http": "3.78.0",
38
- "@aws-sdk/smithy-client": "3.99.0",
39
- "@aws-sdk/types": "3.78.0",
40
- "@aws-sdk/url-parser": "3.78.0",
41
- "@aws-sdk/util-base64-browser": "3.58.0",
21
+ "@aws-sdk/client-sts": "3.109.0",
22
+ "@aws-sdk/config-resolver": "3.109.0",
23
+ "@aws-sdk/credential-provider-node": "3.109.0",
24
+ "@aws-sdk/fetch-http-handler": "3.109.0",
25
+ "@aws-sdk/hash-node": "3.109.0",
26
+ "@aws-sdk/invalid-dependency": "3.109.0",
27
+ "@aws-sdk/middleware-content-length": "3.109.0",
28
+ "@aws-sdk/middleware-host-header": "3.109.0",
29
+ "@aws-sdk/middleware-logger": "3.109.0",
30
+ "@aws-sdk/middleware-recursion-detection": "3.109.0",
31
+ "@aws-sdk/middleware-retry": "3.109.0",
32
+ "@aws-sdk/middleware-serde": "3.109.0",
33
+ "@aws-sdk/middleware-signing": "3.109.0",
34
+ "@aws-sdk/middleware-stack": "3.109.0",
35
+ "@aws-sdk/middleware-user-agent": "3.109.0",
36
+ "@aws-sdk/node-config-provider": "3.109.0",
37
+ "@aws-sdk/node-http-handler": "3.109.0",
38
+ "@aws-sdk/protocol-http": "3.109.0",
39
+ "@aws-sdk/smithy-client": "3.109.0",
40
+ "@aws-sdk/types": "3.109.0",
41
+ "@aws-sdk/url-parser": "3.109.0",
42
+ "@aws-sdk/util-base64-browser": "3.109.0",
42
43
  "@aws-sdk/util-base64-node": "3.55.0",
43
44
  "@aws-sdk/util-body-length-browser": "3.55.0",
44
45
  "@aws-sdk/util-body-length-node": "3.55.0",
45
- "@aws-sdk/util-defaults-mode-browser": "3.99.0",
46
- "@aws-sdk/util-defaults-mode-node": "3.99.0",
47
- "@aws-sdk/util-user-agent-browser": "3.78.0",
48
- "@aws-sdk/util-user-agent-node": "3.80.0",
49
- "@aws-sdk/util-utf8-browser": "3.55.0",
50
- "@aws-sdk/util-utf8-node": "3.55.0",
51
- "@aws-sdk/util-waiter": "3.78.0",
46
+ "@aws-sdk/util-defaults-mode-browser": "3.109.0",
47
+ "@aws-sdk/util-defaults-mode-node": "3.109.0",
48
+ "@aws-sdk/util-user-agent-browser": "3.109.0",
49
+ "@aws-sdk/util-user-agent-node": "3.109.0",
50
+ "@aws-sdk/util-utf8-browser": "3.109.0",
51
+ "@aws-sdk/util-utf8-node": "3.109.0",
52
+ "@aws-sdk/util-waiter": "3.109.0",
52
53
  "tslib": "^2.3.1",
53
54
  "uuid": "^8.3.2"
54
55
  },