@aws-sdk/client-iotsitewise 3.315.0 → 3.316.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/IoTSiteWise.js +77 -1022
- package/dist-cjs/protocols/Aws_restJson1.js +20 -20
- package/dist-es/IoTSiteWise.js +77 -1022
- package/dist-es/protocols/Aws_restJson1.js +20 -20
- package/dist-types/IoTSiteWise.d.ts +81 -375
- package/dist-types/ts3.4/IoTSiteWise.d.ts +4 -1
- package/package.json +6 -6
|
@@ -18,7 +18,7 @@ const se_AssociateAssetsCommand = async (input, context) => {
|
|
|
18
18
|
let body;
|
|
19
19
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
20
20
|
childAssetId: [],
|
|
21
|
-
clientToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
21
|
+
clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
22
22
|
hierarchyId: [],
|
|
23
23
|
}));
|
|
24
24
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
@@ -52,7 +52,7 @@ const se_AssociateTimeSeriesToAssetPropertyCommand = async (input, context) => {
|
|
|
52
52
|
});
|
|
53
53
|
let body;
|
|
54
54
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
55
|
-
clientToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
55
|
+
clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
56
56
|
}));
|
|
57
57
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
58
58
|
if (context.disableHostPrefix !== true) {
|
|
@@ -83,7 +83,7 @@ const se_BatchAssociateProjectAssetsCommand = async (input, context) => {
|
|
|
83
83
|
let body;
|
|
84
84
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
85
85
|
assetIds: (_) => (0, smithy_client_1._json)(_),
|
|
86
|
-
clientToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
86
|
+
clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
87
87
|
}));
|
|
88
88
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
89
89
|
if (context.disableHostPrefix !== true) {
|
|
@@ -113,7 +113,7 @@ const se_BatchDisassociateProjectAssetsCommand = async (input, context) => {
|
|
|
113
113
|
let body;
|
|
114
114
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
115
115
|
assetIds: (_) => (0, smithy_client_1._json)(_),
|
|
116
|
-
clientToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
116
|
+
clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
117
117
|
}));
|
|
118
118
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
119
119
|
if (context.disableHostPrefix !== true) {
|
|
@@ -261,7 +261,7 @@ const se_CreateAccessPolicyCommand = async (input, context) => {
|
|
|
261
261
|
accessPolicyIdentity: (_) => (0, smithy_client_1._json)(_),
|
|
262
262
|
accessPolicyPermission: [],
|
|
263
263
|
accessPolicyResource: (_) => (0, smithy_client_1._json)(_),
|
|
264
|
-
clientToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
264
|
+
clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
265
265
|
tags: (_) => (0, smithy_client_1._json)(_),
|
|
266
266
|
}));
|
|
267
267
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
@@ -293,7 +293,7 @@ const se_CreateAssetCommand = async (input, context) => {
|
|
|
293
293
|
assetDescription: [],
|
|
294
294
|
assetModelId: [],
|
|
295
295
|
assetName: [],
|
|
296
|
-
clientToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
296
|
+
clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
297
297
|
tags: (_) => (0, smithy_client_1._json)(_),
|
|
298
298
|
}));
|
|
299
299
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
@@ -327,7 +327,7 @@ const se_CreateAssetModelCommand = async (input, context) => {
|
|
|
327
327
|
assetModelHierarchies: (_) => (0, smithy_client_1._json)(_),
|
|
328
328
|
assetModelName: [],
|
|
329
329
|
assetModelProperties: (_) => (0, smithy_client_1._json)(_),
|
|
330
|
-
clientToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
330
|
+
clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
331
331
|
tags: (_) => (0, smithy_client_1._json)(_),
|
|
332
332
|
}));
|
|
333
333
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
@@ -388,7 +388,7 @@ const se_CreateDashboardCommand = async (input, context) => {
|
|
|
388
388
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/dashboards";
|
|
389
389
|
let body;
|
|
390
390
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
391
|
-
clientToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
391
|
+
clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
392
392
|
dashboardDefinition: [],
|
|
393
393
|
dashboardDescription: [],
|
|
394
394
|
dashboardName: [],
|
|
@@ -452,7 +452,7 @@ const se_CreatePortalCommand = async (input, context) => {
|
|
|
452
452
|
let body;
|
|
453
453
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
454
454
|
alarms: (_) => (0, smithy_client_1._json)(_),
|
|
455
|
-
clientToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
455
|
+
clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
456
456
|
notificationSenderEmail: [],
|
|
457
457
|
portalAuthMode: [],
|
|
458
458
|
portalContactEmail: [],
|
|
@@ -488,7 +488,7 @@ const se_CreateProjectCommand = async (input, context) => {
|
|
|
488
488
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/projects";
|
|
489
489
|
let body;
|
|
490
490
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
491
|
-
clientToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
491
|
+
clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
492
492
|
portalId: [],
|
|
493
493
|
projectDescription: [],
|
|
494
494
|
projectName: [],
|
|
@@ -717,7 +717,7 @@ const se_DeleteTimeSeriesCommand = async (input, context) => {
|
|
|
717
717
|
});
|
|
718
718
|
let body;
|
|
719
719
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
720
|
-
clientToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
720
|
+
clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
721
721
|
}));
|
|
722
722
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
723
723
|
if (context.disableHostPrefix !== true) {
|
|
@@ -1106,7 +1106,7 @@ const se_DisassociateAssetsCommand = async (input, context) => {
|
|
|
1106
1106
|
let body;
|
|
1107
1107
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1108
1108
|
childAssetId: [],
|
|
1109
|
-
clientToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
1109
|
+
clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
1110
1110
|
hierarchyId: [],
|
|
1111
1111
|
}));
|
|
1112
1112
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
@@ -1140,7 +1140,7 @@ const se_DisassociateTimeSeriesFromAssetPropertyCommand = async (input, context)
|
|
|
1140
1140
|
});
|
|
1141
1141
|
let body;
|
|
1142
1142
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1143
|
-
clientToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
1143
|
+
clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
1144
1144
|
}));
|
|
1145
1145
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
1146
1146
|
if (context.disableHostPrefix !== true) {
|
|
@@ -1933,7 +1933,7 @@ const se_UpdateAccessPolicyCommand = async (input, context) => {
|
|
|
1933
1933
|
accessPolicyIdentity: (_) => (0, smithy_client_1._json)(_),
|
|
1934
1934
|
accessPolicyPermission: [],
|
|
1935
1935
|
accessPolicyResource: (_) => (0, smithy_client_1._json)(_),
|
|
1936
|
-
clientToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
1936
|
+
clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
1937
1937
|
}));
|
|
1938
1938
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
1939
1939
|
if (context.disableHostPrefix !== true) {
|
|
@@ -1964,7 +1964,7 @@ const se_UpdateAssetCommand = async (input, context) => {
|
|
|
1964
1964
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
1965
1965
|
assetDescription: [],
|
|
1966
1966
|
assetName: [],
|
|
1967
|
-
clientToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
1967
|
+
clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
1968
1968
|
}));
|
|
1969
1969
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
1970
1970
|
if (context.disableHostPrefix !== true) {
|
|
@@ -1998,7 +1998,7 @@ const se_UpdateAssetModelCommand = async (input, context) => {
|
|
|
1998
1998
|
assetModelHierarchies: (_) => (0, smithy_client_1._json)(_),
|
|
1999
1999
|
assetModelName: [],
|
|
2000
2000
|
assetModelProperties: (_) => (0, smithy_client_1._json)(_),
|
|
2001
|
-
clientToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
2001
|
+
clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
2002
2002
|
}));
|
|
2003
2003
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
2004
2004
|
if (context.disableHostPrefix !== true) {
|
|
@@ -2028,7 +2028,7 @@ const se_UpdateAssetPropertyCommand = async (input, context) => {
|
|
|
2028
2028
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "propertyId", () => input.propertyId, "{propertyId}", false);
|
|
2029
2029
|
let body;
|
|
2030
2030
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
2031
|
-
clientToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
2031
|
+
clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
2032
2032
|
propertyAlias: [],
|
|
2033
2033
|
propertyNotificationState: [],
|
|
2034
2034
|
propertyUnit: [],
|
|
@@ -2060,7 +2060,7 @@ const se_UpdateDashboardCommand = async (input, context) => {
|
|
|
2060
2060
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "dashboardId", () => input.dashboardId, "{dashboardId}", false);
|
|
2061
2061
|
let body;
|
|
2062
2062
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
2063
|
-
clientToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
2063
|
+
clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
2064
2064
|
dashboardDefinition: [],
|
|
2065
2065
|
dashboardDescription: [],
|
|
2066
2066
|
dashboardName: [],
|
|
@@ -2152,7 +2152,7 @@ const se_UpdatePortalCommand = async (input, context) => {
|
|
|
2152
2152
|
let body;
|
|
2153
2153
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
2154
2154
|
alarms: (_) => (0, smithy_client_1._json)(_),
|
|
2155
|
-
clientToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
2155
|
+
clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
2156
2156
|
notificationSenderEmail: [],
|
|
2157
2157
|
portalContactEmail: [],
|
|
2158
2158
|
portalDescription: [],
|
|
@@ -2187,7 +2187,7 @@ const se_UpdateProjectCommand = async (input, context) => {
|
|
|
2187
2187
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "projectId", () => input.projectId, "{projectId}", false);
|
|
2188
2188
|
let body;
|
|
2189
2189
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
2190
|
-
clientToken: (_) => _ ?? (0, uuid_1.v4)(),
|
|
2190
|
+
clientToken: [true, (_) => _ ?? (0, uuid_1.v4)()],
|
|
2191
2191
|
projectDescription: [],
|
|
2192
2192
|
projectName: [],
|
|
2193
2193
|
}));
|