@aws-sdk/client-iotsitewise 3.102.0 → 3.105.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 +12 -0
- package/dist-cjs/IoTSiteWiseClient.js +2 -0
- package/dist-cjs/endpoints.js +18 -0
- package/dist-es/IoTSiteWiseClient.js +2 -0
- package/dist-es/endpoints.js +18 -0
- package/dist-types/models/models_0.d.ts +9 -27
- package/dist-types/ts3.4/models/models_0.d.ts +9 -27
- package/package.json +4 -3
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,18 @@
|
|
|
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.105.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.104.0...v3.105.0) (2022-06-06)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **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))
|
|
12
|
+
* **clients:** update client endpoints as of 2022-06-06 ([ef24fbc](https://github.com/aws/aws-sdk-js-v3/commit/ef24fbc7d9e21573070143a91d09782a67aa35a9))
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
6
18
|
# [3.102.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.101.0...v3.102.0) (2022-05-31)
|
|
7
19
|
|
|
8
20
|
|
|
@@ -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
|
}
|
package/dist-cjs/endpoints.js
CHANGED
|
@@ -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",
|
|
@@ -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;
|
package/dist-es/endpoints.js
CHANGED
|
@@ -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",
|
|
@@ -2330,9 +2330,7 @@ export interface CreateAccessPolicyRequest {
|
|
|
2330
2330
|
* information, see <a href="https://docs.aws.amazon.com/iot-sitewise/latest/userguide/tag-resources.html">Tagging your
|
|
2331
2331
|
* IoT SiteWise resources</a> in the <i>IoT SiteWise User Guide</i>.</p>
|
|
2332
2332
|
*/
|
|
2333
|
-
tags?:
|
|
2334
|
-
[key: string]: string;
|
|
2335
|
-
};
|
|
2333
|
+
tags?: Record<string, string>;
|
|
2336
2334
|
}
|
|
2337
2335
|
export declare namespace CreateAccessPolicyRequest {
|
|
2338
2336
|
/**
|
|
@@ -2377,9 +2375,7 @@ export interface CreateAssetRequest {
|
|
|
2377
2375
|
* <a href="https://docs.aws.amazon.com/iot-sitewise/latest/userguide/tag-resources.html">Tagging your IoT SiteWise
|
|
2378
2376
|
* resources</a> in the <i>IoT SiteWise User Guide</i>.</p>
|
|
2379
2377
|
*/
|
|
2380
|
-
tags?:
|
|
2381
|
-
[key: string]: string;
|
|
2382
|
-
};
|
|
2378
|
+
tags?: Record<string, string>;
|
|
2383
2379
|
/**
|
|
2384
2380
|
* <p>A description for the asset.</p>
|
|
2385
2381
|
*/
|
|
@@ -2475,9 +2471,7 @@ export interface CreateAssetModelRequest {
|
|
|
2475
2471
|
* see <a href="https://docs.aws.amazon.com/iot-sitewise/latest/userguide/tag-resources.html">Tagging your IoT SiteWise
|
|
2476
2472
|
* resources</a> in the <i>IoT SiteWise User Guide</i>.</p>
|
|
2477
2473
|
*/
|
|
2478
|
-
tags?:
|
|
2479
|
-
[key: string]: string;
|
|
2480
|
-
};
|
|
2474
|
+
tags?: Record<string, string>;
|
|
2481
2475
|
}
|
|
2482
2476
|
export declare namespace CreateAssetModelRequest {
|
|
2483
2477
|
/**
|
|
@@ -2536,9 +2530,7 @@ export interface CreateDashboardRequest {
|
|
|
2536
2530
|
* see <a href="https://docs.aws.amazon.com/iot-sitewise/latest/userguide/tag-resources.html">Tagging your IoT SiteWise
|
|
2537
2531
|
* resources</a> in the <i>IoT SiteWise User Guide</i>.</p>
|
|
2538
2532
|
*/
|
|
2539
|
-
tags?:
|
|
2540
|
-
[key: string]: string;
|
|
2541
|
-
};
|
|
2533
|
+
tags?: Record<string, string>;
|
|
2542
2534
|
}
|
|
2543
2535
|
export declare namespace CreateDashboardRequest {
|
|
2544
2536
|
/**
|
|
@@ -2637,9 +2629,7 @@ export interface CreateGatewayRequest {
|
|
|
2637
2629
|
* <a href="https://docs.aws.amazon.com/iot-sitewise/latest/userguide/tag-resources.html">Tagging your IoT SiteWise
|
|
2638
2630
|
* resources</a> in the <i>IoT SiteWise User Guide</i>.</p>
|
|
2639
2631
|
*/
|
|
2640
|
-
tags?:
|
|
2641
|
-
[key: string]: string;
|
|
2642
|
-
};
|
|
2632
|
+
tags?: Record<string, string>;
|
|
2643
2633
|
}
|
|
2644
2634
|
export declare namespace CreateGatewayRequest {
|
|
2645
2635
|
/**
|
|
@@ -2722,9 +2712,7 @@ export interface CreatePortalRequest {
|
|
|
2722
2712
|
* <a href="https://docs.aws.amazon.com/iot-sitewise/latest/userguide/tag-resources.html">Tagging your IoT SiteWise
|
|
2723
2713
|
* resources</a> in the <i>IoT SiteWise User Guide</i>.</p>
|
|
2724
2714
|
*/
|
|
2725
|
-
tags?:
|
|
2726
|
-
[key: string]: string;
|
|
2727
|
-
};
|
|
2715
|
+
tags?: Record<string, string>;
|
|
2728
2716
|
/**
|
|
2729
2717
|
* <p>The service to use to authenticate users to the portal. Choose from the following
|
|
2730
2718
|
* options:</p>
|
|
@@ -2876,9 +2864,7 @@ export interface CreateProjectRequest {
|
|
|
2876
2864
|
* <a href="https://docs.aws.amazon.com/iot-sitewise/latest/userguide/tag-resources.html">Tagging your IoT SiteWise
|
|
2877
2865
|
* resources</a> in the <i>IoT SiteWise User Guide</i>.</p>
|
|
2878
2866
|
*/
|
|
2879
|
-
tags?:
|
|
2880
|
-
[key: string]: string;
|
|
2881
|
-
};
|
|
2867
|
+
tags?: Record<string, string>;
|
|
2882
2868
|
}
|
|
2883
2869
|
export declare namespace CreateProjectRequest {
|
|
2884
2870
|
/**
|
|
@@ -5096,9 +5082,7 @@ export interface ListTagsForResourceResponse {
|
|
|
5096
5082
|
* see <a href="https://docs.aws.amazon.com/iot-sitewise/latest/userguide/tag-resources.html">Tagging your IoT SiteWise
|
|
5097
5083
|
* resources</a> in the <i>IoT SiteWise User Guide</i>.</p>
|
|
5098
5084
|
*/
|
|
5099
|
-
tags?:
|
|
5100
|
-
[key: string]: string;
|
|
5101
|
-
};
|
|
5085
|
+
tags?: Record<string, string>;
|
|
5102
5086
|
}
|
|
5103
5087
|
export declare namespace ListTagsForResourceResponse {
|
|
5104
5088
|
/**
|
|
@@ -5407,9 +5391,7 @@ export interface TagResourceRequest {
|
|
|
5407
5391
|
* see <a href="https://docs.aws.amazon.com/iot-sitewise/latest/userguide/tag-resources.html">Tagging your IoT SiteWise
|
|
5408
5392
|
* resources</a> in the <i>IoT SiteWise User Guide</i>.</p>
|
|
5409
5393
|
*/
|
|
5410
|
-
tags:
|
|
5411
|
-
[key: string]: string;
|
|
5412
|
-
} | undefined;
|
|
5394
|
+
tags: Record<string, string> | undefined;
|
|
5413
5395
|
}
|
|
5414
5396
|
export declare namespace TagResourceRequest {
|
|
5415
5397
|
/**
|
|
@@ -1198,9 +1198,7 @@ export interface CreateAccessPolicyRequest {
|
|
|
1198
1198
|
|
|
1199
1199
|
clientToken?: string;
|
|
1200
1200
|
|
|
1201
|
-
tags?:
|
|
1202
|
-
[key: string]: string;
|
|
1203
|
-
};
|
|
1201
|
+
tags?: Record<string, string>;
|
|
1204
1202
|
}
|
|
1205
1203
|
export declare namespace CreateAccessPolicyRequest {
|
|
1206
1204
|
|
|
@@ -1224,9 +1222,7 @@ export interface CreateAssetRequest {
|
|
|
1224
1222
|
|
|
1225
1223
|
clientToken?: string;
|
|
1226
1224
|
|
|
1227
|
-
tags?:
|
|
1228
|
-
[key: string]: string;
|
|
1229
|
-
};
|
|
1225
|
+
tags?: Record<string, string>;
|
|
1230
1226
|
|
|
1231
1227
|
assetDescription?: string;
|
|
1232
1228
|
}
|
|
@@ -1271,9 +1267,7 @@ export interface CreateAssetModelRequest {
|
|
|
1271
1267
|
|
|
1272
1268
|
clientToken?: string;
|
|
1273
1269
|
|
|
1274
|
-
tags?:
|
|
1275
|
-
[key: string]: string;
|
|
1276
|
-
};
|
|
1270
|
+
tags?: Record<string, string>;
|
|
1277
1271
|
}
|
|
1278
1272
|
export declare namespace CreateAssetModelRequest {
|
|
1279
1273
|
|
|
@@ -1303,9 +1297,7 @@ export interface CreateDashboardRequest {
|
|
|
1303
1297
|
|
|
1304
1298
|
clientToken?: string;
|
|
1305
1299
|
|
|
1306
|
-
tags?:
|
|
1307
|
-
[key: string]: string;
|
|
1308
|
-
};
|
|
1300
|
+
tags?: Record<string, string>;
|
|
1309
1301
|
}
|
|
1310
1302
|
export declare namespace CreateDashboardRequest {
|
|
1311
1303
|
|
|
@@ -1356,9 +1348,7 @@ export interface CreateGatewayRequest {
|
|
|
1356
1348
|
|
|
1357
1349
|
gatewayPlatform: GatewayPlatform | undefined;
|
|
1358
1350
|
|
|
1359
|
-
tags?:
|
|
1360
|
-
[key: string]: string;
|
|
1361
|
-
};
|
|
1351
|
+
tags?: Record<string, string>;
|
|
1362
1352
|
}
|
|
1363
1353
|
export declare namespace CreateGatewayRequest {
|
|
1364
1354
|
|
|
@@ -1402,9 +1392,7 @@ export interface CreatePortalRequest {
|
|
|
1402
1392
|
|
|
1403
1393
|
roleArn: string | undefined;
|
|
1404
1394
|
|
|
1405
|
-
tags?:
|
|
1406
|
-
[key: string]: string;
|
|
1407
|
-
};
|
|
1395
|
+
tags?: Record<string, string>;
|
|
1408
1396
|
|
|
1409
1397
|
portalAuthMode?: AuthMode | string;
|
|
1410
1398
|
|
|
@@ -1476,9 +1464,7 @@ export interface CreateProjectRequest {
|
|
|
1476
1464
|
|
|
1477
1465
|
clientToken?: string;
|
|
1478
1466
|
|
|
1479
|
-
tags?:
|
|
1480
|
-
[key: string]: string;
|
|
1481
|
-
};
|
|
1467
|
+
tags?: Record<string, string>;
|
|
1482
1468
|
}
|
|
1483
1469
|
export declare namespace CreateProjectRequest {
|
|
1484
1470
|
|
|
@@ -2641,9 +2627,7 @@ export declare namespace ListTagsForResourceRequest {
|
|
|
2641
2627
|
}
|
|
2642
2628
|
export interface ListTagsForResourceResponse {
|
|
2643
2629
|
|
|
2644
|
-
tags?:
|
|
2645
|
-
[key: string]: string;
|
|
2646
|
-
};
|
|
2630
|
+
tags?: Record<string, string>;
|
|
2647
2631
|
}
|
|
2648
2632
|
export declare namespace ListTagsForResourceResponse {
|
|
2649
2633
|
|
|
@@ -2779,9 +2763,7 @@ export interface TagResourceRequest {
|
|
|
2779
2763
|
|
|
2780
2764
|
resourceArn: string | undefined;
|
|
2781
2765
|
|
|
2782
|
-
tags:
|
|
2783
|
-
[key: string]: string;
|
|
2784
|
-
} | undefined;
|
|
2766
|
+
tags: Record<string, string> | undefined;
|
|
2785
2767
|
}
|
|
2786
2768
|
export declare namespace TagResourceRequest {
|
|
2787
2769
|
|
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.105.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,15 +18,16 @@
|
|
|
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.
|
|
21
|
+
"@aws-sdk/client-sts": "3.105.0",
|
|
22
22
|
"@aws-sdk/config-resolver": "3.80.0",
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.105.0",
|
|
24
24
|
"@aws-sdk/fetch-http-handler": "3.78.0",
|
|
25
25
|
"@aws-sdk/hash-node": "3.78.0",
|
|
26
26
|
"@aws-sdk/invalid-dependency": "3.78.0",
|
|
27
27
|
"@aws-sdk/middleware-content-length": "3.78.0",
|
|
28
28
|
"@aws-sdk/middleware-host-header": "3.78.0",
|
|
29
29
|
"@aws-sdk/middleware-logger": "3.78.0",
|
|
30
|
+
"@aws-sdk/middleware-recursion-detection": "3.105.0",
|
|
30
31
|
"@aws-sdk/middleware-retry": "3.80.0",
|
|
31
32
|
"@aws-sdk/middleware-serde": "3.78.0",
|
|
32
33
|
"@aws-sdk/middleware-signing": "3.78.0",
|