@aws-sdk/client-iotsitewise 3.53.0 → 3.55.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 +24 -0
- package/dist-cjs/IoTSiteWiseClient.js +13 -13
- package/dist-cjs/commands/AssociateAssetsCommand.js +3 -3
- package/dist-cjs/commands/AssociateTimeSeriesToAssetPropertyCommand.js +3 -3
- package/dist-cjs/commands/BatchAssociateProjectAssetsCommand.js +3 -3
- package/dist-cjs/commands/BatchDisassociateProjectAssetsCommand.js +3 -3
- package/dist-cjs/commands/BatchPutAssetPropertyValueCommand.js +3 -3
- package/dist-cjs/commands/CreateAccessPolicyCommand.js +3 -3
- package/dist-cjs/commands/CreateAssetCommand.js +3 -3
- package/dist-cjs/commands/CreateAssetModelCommand.js +3 -3
- package/dist-cjs/commands/CreateDashboardCommand.js +3 -3
- package/dist-cjs/commands/CreateGatewayCommand.js +3 -3
- package/dist-cjs/commands/CreatePortalCommand.js +3 -3
- package/dist-cjs/commands/CreateProjectCommand.js +3 -3
- package/dist-cjs/commands/DeleteAccessPolicyCommand.js +3 -3
- package/dist-cjs/commands/DeleteAssetCommand.js +3 -3
- package/dist-cjs/commands/DeleteAssetModelCommand.js +3 -3
- package/dist-cjs/commands/DeleteDashboardCommand.js +3 -3
- package/dist-cjs/commands/DeleteGatewayCommand.js +3 -3
- package/dist-cjs/commands/DeletePortalCommand.js +3 -3
- package/dist-cjs/commands/DeleteProjectCommand.js +3 -3
- package/dist-cjs/commands/DeleteTimeSeriesCommand.js +3 -3
- package/dist-cjs/commands/DescribeAccessPolicyCommand.js +3 -3
- package/dist-cjs/commands/DescribeAssetCommand.js +3 -3
- package/dist-cjs/commands/DescribeAssetModelCommand.js +3 -3
- package/dist-cjs/commands/DescribeAssetPropertyCommand.js +3 -3
- package/dist-cjs/commands/DescribeDashboardCommand.js +3 -3
- package/dist-cjs/commands/DescribeDefaultEncryptionConfigurationCommand.js +3 -3
- package/dist-cjs/commands/DescribeGatewayCapabilityConfigurationCommand.js +3 -3
- package/dist-cjs/commands/DescribeGatewayCommand.js +3 -3
- package/dist-cjs/commands/DescribeLoggingOptionsCommand.js +3 -3
- package/dist-cjs/commands/DescribePortalCommand.js +3 -3
- package/dist-cjs/commands/DescribeProjectCommand.js +3 -3
- package/dist-cjs/commands/DescribeStorageConfigurationCommand.js +3 -3
- package/dist-cjs/commands/DescribeTimeSeriesCommand.js +3 -3
- package/dist-cjs/commands/DisassociateAssetsCommand.js +3 -3
- package/dist-cjs/commands/DisassociateTimeSeriesFromAssetPropertyCommand.js +3 -3
- package/dist-cjs/commands/GetAssetPropertyAggregatesCommand.js +3 -3
- package/dist-cjs/commands/GetAssetPropertyValueCommand.js +3 -3
- package/dist-cjs/commands/GetAssetPropertyValueHistoryCommand.js +3 -3
- package/dist-cjs/commands/GetInterpolatedAssetPropertyValuesCommand.js +3 -3
- package/dist-cjs/commands/ListAccessPoliciesCommand.js +3 -3
- package/dist-cjs/commands/ListAssetModelsCommand.js +3 -3
- package/dist-cjs/commands/ListAssetRelationshipsCommand.js +3 -3
- package/dist-cjs/commands/ListAssetsCommand.js +3 -3
- package/dist-cjs/commands/ListAssociatedAssetsCommand.js +3 -3
- package/dist-cjs/commands/ListDashboardsCommand.js +3 -3
- package/dist-cjs/commands/ListGatewaysCommand.js +3 -3
- package/dist-cjs/commands/ListPortalsCommand.js +3 -3
- package/dist-cjs/commands/ListProjectAssetsCommand.js +3 -3
- package/dist-cjs/commands/ListProjectsCommand.js +3 -3
- package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-cjs/commands/ListTimeSeriesCommand.js +3 -3
- package/dist-cjs/commands/PutDefaultEncryptionConfigurationCommand.js +3 -3
- package/dist-cjs/commands/PutLoggingOptionsCommand.js +3 -3
- package/dist-cjs/commands/PutStorageConfigurationCommand.js +3 -3
- package/dist-cjs/commands/TagResourceCommand.js +3 -3
- package/dist-cjs/commands/UntagResourceCommand.js +3 -3
- package/dist-cjs/commands/UpdateAccessPolicyCommand.js +3 -3
- package/dist-cjs/commands/UpdateAssetCommand.js +3 -3
- package/dist-cjs/commands/UpdateAssetModelCommand.js +3 -3
- package/dist-cjs/commands/UpdateAssetPropertyCommand.js +3 -3
- package/dist-cjs/commands/UpdateDashboardCommand.js +3 -3
- package/dist-cjs/commands/UpdateGatewayCapabilityConfigurationCommand.js +3 -3
- package/dist-cjs/commands/UpdateGatewayCommand.js +3 -3
- package/dist-cjs/commands/UpdatePortalCommand.js +3 -3
- package/dist-cjs/commands/UpdateProjectCommand.js +3 -3
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/protocols/Aws_restJson1.js +514 -514
- package/dist-cjs/runtimeConfig.browser.js +4 -4
- package/dist-cjs/runtimeConfig.js +9 -9
- package/dist-cjs/runtimeConfig.native.js +1 -1
- package/dist-cjs/waiters/waitForAssetActive.js +3 -3
- package/dist-cjs/waiters/waitForAssetModelActive.js +3 -3
- package/dist-cjs/waiters/waitForAssetModelNotExists.js +3 -3
- package/dist-cjs/waiters/waitForAssetNotExists.js +3 -3
- package/dist-cjs/waiters/waitForPortalActive.js +3 -3
- package/dist-cjs/waiters/waitForPortalNotExists.js +3 -3
- package/dist-es/IoTSiteWise.js +65 -65
- package/dist-es/pagination/GetAssetPropertyAggregatesPaginator.js +4 -4
- package/dist-es/pagination/GetAssetPropertyValueHistoryPaginator.js +4 -4
- package/dist-es/pagination/GetInterpolatedAssetPropertyValuesPaginator.js +4 -4
- package/dist-es/pagination/ListAccessPoliciesPaginator.js +4 -4
- package/dist-es/pagination/ListAssetModelsPaginator.js +4 -4
- package/dist-es/pagination/ListAssetRelationshipsPaginator.js +4 -4
- package/dist-es/pagination/ListAssetsPaginator.js +4 -4
- package/dist-es/pagination/ListAssociatedAssetsPaginator.js +4 -4
- package/dist-es/pagination/ListDashboardsPaginator.js +4 -4
- package/dist-es/pagination/ListGatewaysPaginator.js +4 -4
- package/dist-es/pagination/ListPortalsPaginator.js +4 -4
- package/dist-es/pagination/ListProjectAssetsPaginator.js +4 -4
- package/dist-es/pagination/ListProjectsPaginator.js +4 -4
- package/dist-es/pagination/ListTimeSeriesPaginator.js +4 -4
- package/dist-es/protocols/Aws_restJson1.js +65 -65
- package/dist-types/IoTSiteWiseClient.d.ts +2 -2
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +3 -3
- package/dist-types/ts3.4/IoTSiteWiseClient.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
- package/package.json +35 -35
package/dist-es/IoTSiteWise.js
CHANGED
|
@@ -77,7 +77,7 @@ var IoTSiteWise = (function (_super) {
|
|
|
77
77
|
}
|
|
78
78
|
else if (typeof cb === "function") {
|
|
79
79
|
if (typeof optionsOrCb !== "object")
|
|
80
|
-
throw new Error("Expect http options but get "
|
|
80
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
81
81
|
this.send(command, optionsOrCb || {}, cb);
|
|
82
82
|
}
|
|
83
83
|
else {
|
|
@@ -91,7 +91,7 @@ var IoTSiteWise = (function (_super) {
|
|
|
91
91
|
}
|
|
92
92
|
else if (typeof cb === "function") {
|
|
93
93
|
if (typeof optionsOrCb !== "object")
|
|
94
|
-
throw new Error("Expect http options but get "
|
|
94
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
95
95
|
this.send(command, optionsOrCb || {}, cb);
|
|
96
96
|
}
|
|
97
97
|
else {
|
|
@@ -105,7 +105,7 @@ var IoTSiteWise = (function (_super) {
|
|
|
105
105
|
}
|
|
106
106
|
else if (typeof cb === "function") {
|
|
107
107
|
if (typeof optionsOrCb !== "object")
|
|
108
|
-
throw new Error("Expect http options but get "
|
|
108
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
109
109
|
this.send(command, optionsOrCb || {}, cb);
|
|
110
110
|
}
|
|
111
111
|
else {
|
|
@@ -119,7 +119,7 @@ var IoTSiteWise = (function (_super) {
|
|
|
119
119
|
}
|
|
120
120
|
else if (typeof cb === "function") {
|
|
121
121
|
if (typeof optionsOrCb !== "object")
|
|
122
|
-
throw new Error("Expect http options but get "
|
|
122
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
123
123
|
this.send(command, optionsOrCb || {}, cb);
|
|
124
124
|
}
|
|
125
125
|
else {
|
|
@@ -133,7 +133,7 @@ var IoTSiteWise = (function (_super) {
|
|
|
133
133
|
}
|
|
134
134
|
else if (typeof cb === "function") {
|
|
135
135
|
if (typeof optionsOrCb !== "object")
|
|
136
|
-
throw new Error("Expect http options but get "
|
|
136
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
137
137
|
this.send(command, optionsOrCb || {}, cb);
|
|
138
138
|
}
|
|
139
139
|
else {
|
|
@@ -147,7 +147,7 @@ var IoTSiteWise = (function (_super) {
|
|
|
147
147
|
}
|
|
148
148
|
else if (typeof cb === "function") {
|
|
149
149
|
if (typeof optionsOrCb !== "object")
|
|
150
|
-
throw new Error("Expect http options but get "
|
|
150
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
151
151
|
this.send(command, optionsOrCb || {}, cb);
|
|
152
152
|
}
|
|
153
153
|
else {
|
|
@@ -161,7 +161,7 @@ var IoTSiteWise = (function (_super) {
|
|
|
161
161
|
}
|
|
162
162
|
else if (typeof cb === "function") {
|
|
163
163
|
if (typeof optionsOrCb !== "object")
|
|
164
|
-
throw new Error("Expect http options but get "
|
|
164
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
165
165
|
this.send(command, optionsOrCb || {}, cb);
|
|
166
166
|
}
|
|
167
167
|
else {
|
|
@@ -175,7 +175,7 @@ var IoTSiteWise = (function (_super) {
|
|
|
175
175
|
}
|
|
176
176
|
else if (typeof cb === "function") {
|
|
177
177
|
if (typeof optionsOrCb !== "object")
|
|
178
|
-
throw new Error("Expect http options but get "
|
|
178
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
179
179
|
this.send(command, optionsOrCb || {}, cb);
|
|
180
180
|
}
|
|
181
181
|
else {
|
|
@@ -189,7 +189,7 @@ var IoTSiteWise = (function (_super) {
|
|
|
189
189
|
}
|
|
190
190
|
else if (typeof cb === "function") {
|
|
191
191
|
if (typeof optionsOrCb !== "object")
|
|
192
|
-
throw new Error("Expect http options but get "
|
|
192
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
193
193
|
this.send(command, optionsOrCb || {}, cb);
|
|
194
194
|
}
|
|
195
195
|
else {
|
|
@@ -203,7 +203,7 @@ var IoTSiteWise = (function (_super) {
|
|
|
203
203
|
}
|
|
204
204
|
else if (typeof cb === "function") {
|
|
205
205
|
if (typeof optionsOrCb !== "object")
|
|
206
|
-
throw new Error("Expect http options but get "
|
|
206
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
207
207
|
this.send(command, optionsOrCb || {}, cb);
|
|
208
208
|
}
|
|
209
209
|
else {
|
|
@@ -217,7 +217,7 @@ var IoTSiteWise = (function (_super) {
|
|
|
217
217
|
}
|
|
218
218
|
else if (typeof cb === "function") {
|
|
219
219
|
if (typeof optionsOrCb !== "object")
|
|
220
|
-
throw new Error("Expect http options but get "
|
|
220
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
221
221
|
this.send(command, optionsOrCb || {}, cb);
|
|
222
222
|
}
|
|
223
223
|
else {
|
|
@@ -231,7 +231,7 @@ var IoTSiteWise = (function (_super) {
|
|
|
231
231
|
}
|
|
232
232
|
else if (typeof cb === "function") {
|
|
233
233
|
if (typeof optionsOrCb !== "object")
|
|
234
|
-
throw new Error("Expect http options but get "
|
|
234
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
235
235
|
this.send(command, optionsOrCb || {}, cb);
|
|
236
236
|
}
|
|
237
237
|
else {
|
|
@@ -245,7 +245,7 @@ var IoTSiteWise = (function (_super) {
|
|
|
245
245
|
}
|
|
246
246
|
else if (typeof cb === "function") {
|
|
247
247
|
if (typeof optionsOrCb !== "object")
|
|
248
|
-
throw new Error("Expect http options but get "
|
|
248
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
249
249
|
this.send(command, optionsOrCb || {}, cb);
|
|
250
250
|
}
|
|
251
251
|
else {
|
|
@@ -259,7 +259,7 @@ var IoTSiteWise = (function (_super) {
|
|
|
259
259
|
}
|
|
260
260
|
else if (typeof cb === "function") {
|
|
261
261
|
if (typeof optionsOrCb !== "object")
|
|
262
|
-
throw new Error("Expect http options but get "
|
|
262
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
263
263
|
this.send(command, optionsOrCb || {}, cb);
|
|
264
264
|
}
|
|
265
265
|
else {
|
|
@@ -273,7 +273,7 @@ var IoTSiteWise = (function (_super) {
|
|
|
273
273
|
}
|
|
274
274
|
else if (typeof cb === "function") {
|
|
275
275
|
if (typeof optionsOrCb !== "object")
|
|
276
|
-
throw new Error("Expect http options but get "
|
|
276
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
277
277
|
this.send(command, optionsOrCb || {}, cb);
|
|
278
278
|
}
|
|
279
279
|
else {
|
|
@@ -287,7 +287,7 @@ var IoTSiteWise = (function (_super) {
|
|
|
287
287
|
}
|
|
288
288
|
else if (typeof cb === "function") {
|
|
289
289
|
if (typeof optionsOrCb !== "object")
|
|
290
|
-
throw new Error("Expect http options but get "
|
|
290
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
291
291
|
this.send(command, optionsOrCb || {}, cb);
|
|
292
292
|
}
|
|
293
293
|
else {
|
|
@@ -301,7 +301,7 @@ var IoTSiteWise = (function (_super) {
|
|
|
301
301
|
}
|
|
302
302
|
else if (typeof cb === "function") {
|
|
303
303
|
if (typeof optionsOrCb !== "object")
|
|
304
|
-
throw new Error("Expect http options but get "
|
|
304
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
305
305
|
this.send(command, optionsOrCb || {}, cb);
|
|
306
306
|
}
|
|
307
307
|
else {
|
|
@@ -315,7 +315,7 @@ var IoTSiteWise = (function (_super) {
|
|
|
315
315
|
}
|
|
316
316
|
else if (typeof cb === "function") {
|
|
317
317
|
if (typeof optionsOrCb !== "object")
|
|
318
|
-
throw new Error("Expect http options but get "
|
|
318
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
319
319
|
this.send(command, optionsOrCb || {}, cb);
|
|
320
320
|
}
|
|
321
321
|
else {
|
|
@@ -329,7 +329,7 @@ var IoTSiteWise = (function (_super) {
|
|
|
329
329
|
}
|
|
330
330
|
else if (typeof cb === "function") {
|
|
331
331
|
if (typeof optionsOrCb !== "object")
|
|
332
|
-
throw new Error("Expect http options but get "
|
|
332
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
333
333
|
this.send(command, optionsOrCb || {}, cb);
|
|
334
334
|
}
|
|
335
335
|
else {
|
|
@@ -343,7 +343,7 @@ var IoTSiteWise = (function (_super) {
|
|
|
343
343
|
}
|
|
344
344
|
else if (typeof cb === "function") {
|
|
345
345
|
if (typeof optionsOrCb !== "object")
|
|
346
|
-
throw new Error("Expect http options but get "
|
|
346
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
347
347
|
this.send(command, optionsOrCb || {}, cb);
|
|
348
348
|
}
|
|
349
349
|
else {
|
|
@@ -357,7 +357,7 @@ var IoTSiteWise = (function (_super) {
|
|
|
357
357
|
}
|
|
358
358
|
else if (typeof cb === "function") {
|
|
359
359
|
if (typeof optionsOrCb !== "object")
|
|
360
|
-
throw new Error("Expect http options but get "
|
|
360
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
361
361
|
this.send(command, optionsOrCb || {}, cb);
|
|
362
362
|
}
|
|
363
363
|
else {
|
|
@@ -371,7 +371,7 @@ var IoTSiteWise = (function (_super) {
|
|
|
371
371
|
}
|
|
372
372
|
else if (typeof cb === "function") {
|
|
373
373
|
if (typeof optionsOrCb !== "object")
|
|
374
|
-
throw new Error("Expect http options but get "
|
|
374
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
375
375
|
this.send(command, optionsOrCb || {}, cb);
|
|
376
376
|
}
|
|
377
377
|
else {
|
|
@@ -385,7 +385,7 @@ var IoTSiteWise = (function (_super) {
|
|
|
385
385
|
}
|
|
386
386
|
else if (typeof cb === "function") {
|
|
387
387
|
if (typeof optionsOrCb !== "object")
|
|
388
|
-
throw new Error("Expect http options but get "
|
|
388
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
389
389
|
this.send(command, optionsOrCb || {}, cb);
|
|
390
390
|
}
|
|
391
391
|
else {
|
|
@@ -399,7 +399,7 @@ var IoTSiteWise = (function (_super) {
|
|
|
399
399
|
}
|
|
400
400
|
else if (typeof cb === "function") {
|
|
401
401
|
if (typeof optionsOrCb !== "object")
|
|
402
|
-
throw new Error("Expect http options but get "
|
|
402
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
403
403
|
this.send(command, optionsOrCb || {}, cb);
|
|
404
404
|
}
|
|
405
405
|
else {
|
|
@@ -413,7 +413,7 @@ var IoTSiteWise = (function (_super) {
|
|
|
413
413
|
}
|
|
414
414
|
else if (typeof cb === "function") {
|
|
415
415
|
if (typeof optionsOrCb !== "object")
|
|
416
|
-
throw new Error("Expect http options but get "
|
|
416
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
417
417
|
this.send(command, optionsOrCb || {}, cb);
|
|
418
418
|
}
|
|
419
419
|
else {
|
|
@@ -427,7 +427,7 @@ var IoTSiteWise = (function (_super) {
|
|
|
427
427
|
}
|
|
428
428
|
else if (typeof cb === "function") {
|
|
429
429
|
if (typeof optionsOrCb !== "object")
|
|
430
|
-
throw new Error("Expect http options but get "
|
|
430
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
431
431
|
this.send(command, optionsOrCb || {}, cb);
|
|
432
432
|
}
|
|
433
433
|
else {
|
|
@@ -441,7 +441,7 @@ var IoTSiteWise = (function (_super) {
|
|
|
441
441
|
}
|
|
442
442
|
else if (typeof cb === "function") {
|
|
443
443
|
if (typeof optionsOrCb !== "object")
|
|
444
|
-
throw new Error("Expect http options but get "
|
|
444
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
445
445
|
this.send(command, optionsOrCb || {}, cb);
|
|
446
446
|
}
|
|
447
447
|
else {
|
|
@@ -455,7 +455,7 @@ var IoTSiteWise = (function (_super) {
|
|
|
455
455
|
}
|
|
456
456
|
else if (typeof cb === "function") {
|
|
457
457
|
if (typeof optionsOrCb !== "object")
|
|
458
|
-
throw new Error("Expect http options but get "
|
|
458
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
459
459
|
this.send(command, optionsOrCb || {}, cb);
|
|
460
460
|
}
|
|
461
461
|
else {
|
|
@@ -469,7 +469,7 @@ var IoTSiteWise = (function (_super) {
|
|
|
469
469
|
}
|
|
470
470
|
else if (typeof cb === "function") {
|
|
471
471
|
if (typeof optionsOrCb !== "object")
|
|
472
|
-
throw new Error("Expect http options but get "
|
|
472
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
473
473
|
this.send(command, optionsOrCb || {}, cb);
|
|
474
474
|
}
|
|
475
475
|
else {
|
|
@@ -483,7 +483,7 @@ var IoTSiteWise = (function (_super) {
|
|
|
483
483
|
}
|
|
484
484
|
else if (typeof cb === "function") {
|
|
485
485
|
if (typeof optionsOrCb !== "object")
|
|
486
|
-
throw new Error("Expect http options but get "
|
|
486
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
487
487
|
this.send(command, optionsOrCb || {}, cb);
|
|
488
488
|
}
|
|
489
489
|
else {
|
|
@@ -497,7 +497,7 @@ var IoTSiteWise = (function (_super) {
|
|
|
497
497
|
}
|
|
498
498
|
else if (typeof cb === "function") {
|
|
499
499
|
if (typeof optionsOrCb !== "object")
|
|
500
|
-
throw new Error("Expect http options but get "
|
|
500
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
501
501
|
this.send(command, optionsOrCb || {}, cb);
|
|
502
502
|
}
|
|
503
503
|
else {
|
|
@@ -511,7 +511,7 @@ var IoTSiteWise = (function (_super) {
|
|
|
511
511
|
}
|
|
512
512
|
else if (typeof cb === "function") {
|
|
513
513
|
if (typeof optionsOrCb !== "object")
|
|
514
|
-
throw new Error("Expect http options but get "
|
|
514
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
515
515
|
this.send(command, optionsOrCb || {}, cb);
|
|
516
516
|
}
|
|
517
517
|
else {
|
|
@@ -525,7 +525,7 @@ var IoTSiteWise = (function (_super) {
|
|
|
525
525
|
}
|
|
526
526
|
else if (typeof cb === "function") {
|
|
527
527
|
if (typeof optionsOrCb !== "object")
|
|
528
|
-
throw new Error("Expect http options but get "
|
|
528
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
529
529
|
this.send(command, optionsOrCb || {}, cb);
|
|
530
530
|
}
|
|
531
531
|
else {
|
|
@@ -539,7 +539,7 @@ var IoTSiteWise = (function (_super) {
|
|
|
539
539
|
}
|
|
540
540
|
else if (typeof cb === "function") {
|
|
541
541
|
if (typeof optionsOrCb !== "object")
|
|
542
|
-
throw new Error("Expect http options but get "
|
|
542
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
543
543
|
this.send(command, optionsOrCb || {}, cb);
|
|
544
544
|
}
|
|
545
545
|
else {
|
|
@@ -553,7 +553,7 @@ var IoTSiteWise = (function (_super) {
|
|
|
553
553
|
}
|
|
554
554
|
else if (typeof cb === "function") {
|
|
555
555
|
if (typeof optionsOrCb !== "object")
|
|
556
|
-
throw new Error("Expect http options but get "
|
|
556
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
557
557
|
this.send(command, optionsOrCb || {}, cb);
|
|
558
558
|
}
|
|
559
559
|
else {
|
|
@@ -567,7 +567,7 @@ var IoTSiteWise = (function (_super) {
|
|
|
567
567
|
}
|
|
568
568
|
else if (typeof cb === "function") {
|
|
569
569
|
if (typeof optionsOrCb !== "object")
|
|
570
|
-
throw new Error("Expect http options but get "
|
|
570
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
571
571
|
this.send(command, optionsOrCb || {}, cb);
|
|
572
572
|
}
|
|
573
573
|
else {
|
|
@@ -581,7 +581,7 @@ var IoTSiteWise = (function (_super) {
|
|
|
581
581
|
}
|
|
582
582
|
else if (typeof cb === "function") {
|
|
583
583
|
if (typeof optionsOrCb !== "object")
|
|
584
|
-
throw new Error("Expect http options but get "
|
|
584
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
585
585
|
this.send(command, optionsOrCb || {}, cb);
|
|
586
586
|
}
|
|
587
587
|
else {
|
|
@@ -595,7 +595,7 @@ var IoTSiteWise = (function (_super) {
|
|
|
595
595
|
}
|
|
596
596
|
else if (typeof cb === "function") {
|
|
597
597
|
if (typeof optionsOrCb !== "object")
|
|
598
|
-
throw new Error("Expect http options but get "
|
|
598
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
599
599
|
this.send(command, optionsOrCb || {}, cb);
|
|
600
600
|
}
|
|
601
601
|
else {
|
|
@@ -609,7 +609,7 @@ var IoTSiteWise = (function (_super) {
|
|
|
609
609
|
}
|
|
610
610
|
else if (typeof cb === "function") {
|
|
611
611
|
if (typeof optionsOrCb !== "object")
|
|
612
|
-
throw new Error("Expect http options but get "
|
|
612
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
613
613
|
this.send(command, optionsOrCb || {}, cb);
|
|
614
614
|
}
|
|
615
615
|
else {
|
|
@@ -623,7 +623,7 @@ var IoTSiteWise = (function (_super) {
|
|
|
623
623
|
}
|
|
624
624
|
else if (typeof cb === "function") {
|
|
625
625
|
if (typeof optionsOrCb !== "object")
|
|
626
|
-
throw new Error("Expect http options but get "
|
|
626
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
627
627
|
this.send(command, optionsOrCb || {}, cb);
|
|
628
628
|
}
|
|
629
629
|
else {
|
|
@@ -637,7 +637,7 @@ var IoTSiteWise = (function (_super) {
|
|
|
637
637
|
}
|
|
638
638
|
else if (typeof cb === "function") {
|
|
639
639
|
if (typeof optionsOrCb !== "object")
|
|
640
|
-
throw new Error("Expect http options but get "
|
|
640
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
641
641
|
this.send(command, optionsOrCb || {}, cb);
|
|
642
642
|
}
|
|
643
643
|
else {
|
|
@@ -651,7 +651,7 @@ var IoTSiteWise = (function (_super) {
|
|
|
651
651
|
}
|
|
652
652
|
else if (typeof cb === "function") {
|
|
653
653
|
if (typeof optionsOrCb !== "object")
|
|
654
|
-
throw new Error("Expect http options but get "
|
|
654
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
655
655
|
this.send(command, optionsOrCb || {}, cb);
|
|
656
656
|
}
|
|
657
657
|
else {
|
|
@@ -665,7 +665,7 @@ var IoTSiteWise = (function (_super) {
|
|
|
665
665
|
}
|
|
666
666
|
else if (typeof cb === "function") {
|
|
667
667
|
if (typeof optionsOrCb !== "object")
|
|
668
|
-
throw new Error("Expect http options but get "
|
|
668
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
669
669
|
this.send(command, optionsOrCb || {}, cb);
|
|
670
670
|
}
|
|
671
671
|
else {
|
|
@@ -679,7 +679,7 @@ var IoTSiteWise = (function (_super) {
|
|
|
679
679
|
}
|
|
680
680
|
else if (typeof cb === "function") {
|
|
681
681
|
if (typeof optionsOrCb !== "object")
|
|
682
|
-
throw new Error("Expect http options but get "
|
|
682
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
683
683
|
this.send(command, optionsOrCb || {}, cb);
|
|
684
684
|
}
|
|
685
685
|
else {
|
|
@@ -693,7 +693,7 @@ var IoTSiteWise = (function (_super) {
|
|
|
693
693
|
}
|
|
694
694
|
else if (typeof cb === "function") {
|
|
695
695
|
if (typeof optionsOrCb !== "object")
|
|
696
|
-
throw new Error("Expect http options but get "
|
|
696
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
697
697
|
this.send(command, optionsOrCb || {}, cb);
|
|
698
698
|
}
|
|
699
699
|
else {
|
|
@@ -707,7 +707,7 @@ var IoTSiteWise = (function (_super) {
|
|
|
707
707
|
}
|
|
708
708
|
else if (typeof cb === "function") {
|
|
709
709
|
if (typeof optionsOrCb !== "object")
|
|
710
|
-
throw new Error("Expect http options but get "
|
|
710
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
711
711
|
this.send(command, optionsOrCb || {}, cb);
|
|
712
712
|
}
|
|
713
713
|
else {
|
|
@@ -721,7 +721,7 @@ var IoTSiteWise = (function (_super) {
|
|
|
721
721
|
}
|
|
722
722
|
else if (typeof cb === "function") {
|
|
723
723
|
if (typeof optionsOrCb !== "object")
|
|
724
|
-
throw new Error("Expect http options but get "
|
|
724
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
725
725
|
this.send(command, optionsOrCb || {}, cb);
|
|
726
726
|
}
|
|
727
727
|
else {
|
|
@@ -735,7 +735,7 @@ var IoTSiteWise = (function (_super) {
|
|
|
735
735
|
}
|
|
736
736
|
else if (typeof cb === "function") {
|
|
737
737
|
if (typeof optionsOrCb !== "object")
|
|
738
|
-
throw new Error("Expect http options but get "
|
|
738
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
739
739
|
this.send(command, optionsOrCb || {}, cb);
|
|
740
740
|
}
|
|
741
741
|
else {
|
|
@@ -749,7 +749,7 @@ var IoTSiteWise = (function (_super) {
|
|
|
749
749
|
}
|
|
750
750
|
else if (typeof cb === "function") {
|
|
751
751
|
if (typeof optionsOrCb !== "object")
|
|
752
|
-
throw new Error("Expect http options but get "
|
|
752
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
753
753
|
this.send(command, optionsOrCb || {}, cb);
|
|
754
754
|
}
|
|
755
755
|
else {
|
|
@@ -763,7 +763,7 @@ var IoTSiteWise = (function (_super) {
|
|
|
763
763
|
}
|
|
764
764
|
else if (typeof cb === "function") {
|
|
765
765
|
if (typeof optionsOrCb !== "object")
|
|
766
|
-
throw new Error("Expect http options but get "
|
|
766
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
767
767
|
this.send(command, optionsOrCb || {}, cb);
|
|
768
768
|
}
|
|
769
769
|
else {
|
|
@@ -777,7 +777,7 @@ var IoTSiteWise = (function (_super) {
|
|
|
777
777
|
}
|
|
778
778
|
else if (typeof cb === "function") {
|
|
779
779
|
if (typeof optionsOrCb !== "object")
|
|
780
|
-
throw new Error("Expect http options but get "
|
|
780
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
781
781
|
this.send(command, optionsOrCb || {}, cb);
|
|
782
782
|
}
|
|
783
783
|
else {
|
|
@@ -791,7 +791,7 @@ var IoTSiteWise = (function (_super) {
|
|
|
791
791
|
}
|
|
792
792
|
else if (typeof cb === "function") {
|
|
793
793
|
if (typeof optionsOrCb !== "object")
|
|
794
|
-
throw new Error("Expect http options but get "
|
|
794
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
795
795
|
this.send(command, optionsOrCb || {}, cb);
|
|
796
796
|
}
|
|
797
797
|
else {
|
|
@@ -805,7 +805,7 @@ var IoTSiteWise = (function (_super) {
|
|
|
805
805
|
}
|
|
806
806
|
else if (typeof cb === "function") {
|
|
807
807
|
if (typeof optionsOrCb !== "object")
|
|
808
|
-
throw new Error("Expect http options but get "
|
|
808
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
809
809
|
this.send(command, optionsOrCb || {}, cb);
|
|
810
810
|
}
|
|
811
811
|
else {
|
|
@@ -819,7 +819,7 @@ var IoTSiteWise = (function (_super) {
|
|
|
819
819
|
}
|
|
820
820
|
else if (typeof cb === "function") {
|
|
821
821
|
if (typeof optionsOrCb !== "object")
|
|
822
|
-
throw new Error("Expect http options but get "
|
|
822
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
823
823
|
this.send(command, optionsOrCb || {}, cb);
|
|
824
824
|
}
|
|
825
825
|
else {
|
|
@@ -833,7 +833,7 @@ var IoTSiteWise = (function (_super) {
|
|
|
833
833
|
}
|
|
834
834
|
else if (typeof cb === "function") {
|
|
835
835
|
if (typeof optionsOrCb !== "object")
|
|
836
|
-
throw new Error("Expect http options but get "
|
|
836
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
837
837
|
this.send(command, optionsOrCb || {}, cb);
|
|
838
838
|
}
|
|
839
839
|
else {
|
|
@@ -847,7 +847,7 @@ var IoTSiteWise = (function (_super) {
|
|
|
847
847
|
}
|
|
848
848
|
else if (typeof cb === "function") {
|
|
849
849
|
if (typeof optionsOrCb !== "object")
|
|
850
|
-
throw new Error("Expect http options but get "
|
|
850
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
851
851
|
this.send(command, optionsOrCb || {}, cb);
|
|
852
852
|
}
|
|
853
853
|
else {
|
|
@@ -861,7 +861,7 @@ var IoTSiteWise = (function (_super) {
|
|
|
861
861
|
}
|
|
862
862
|
else if (typeof cb === "function") {
|
|
863
863
|
if (typeof optionsOrCb !== "object")
|
|
864
|
-
throw new Error("Expect http options but get "
|
|
864
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
865
865
|
this.send(command, optionsOrCb || {}, cb);
|
|
866
866
|
}
|
|
867
867
|
else {
|
|
@@ -875,7 +875,7 @@ var IoTSiteWise = (function (_super) {
|
|
|
875
875
|
}
|
|
876
876
|
else if (typeof cb === "function") {
|
|
877
877
|
if (typeof optionsOrCb !== "object")
|
|
878
|
-
throw new Error("Expect http options but get "
|
|
878
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
879
879
|
this.send(command, optionsOrCb || {}, cb);
|
|
880
880
|
}
|
|
881
881
|
else {
|
|
@@ -889,7 +889,7 @@ var IoTSiteWise = (function (_super) {
|
|
|
889
889
|
}
|
|
890
890
|
else if (typeof cb === "function") {
|
|
891
891
|
if (typeof optionsOrCb !== "object")
|
|
892
|
-
throw new Error("Expect http options but get "
|
|
892
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
893
893
|
this.send(command, optionsOrCb || {}, cb);
|
|
894
894
|
}
|
|
895
895
|
else {
|
|
@@ -903,7 +903,7 @@ var IoTSiteWise = (function (_super) {
|
|
|
903
903
|
}
|
|
904
904
|
else if (typeof cb === "function") {
|
|
905
905
|
if (typeof optionsOrCb !== "object")
|
|
906
|
-
throw new Error("Expect http options but get "
|
|
906
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
907
907
|
this.send(command, optionsOrCb || {}, cb);
|
|
908
908
|
}
|
|
909
909
|
else {
|
|
@@ -917,7 +917,7 @@ var IoTSiteWise = (function (_super) {
|
|
|
917
917
|
}
|
|
918
918
|
else if (typeof cb === "function") {
|
|
919
919
|
if (typeof optionsOrCb !== "object")
|
|
920
|
-
throw new Error("Expect http options but get "
|
|
920
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
921
921
|
this.send(command, optionsOrCb || {}, cb);
|
|
922
922
|
}
|
|
923
923
|
else {
|
|
@@ -931,7 +931,7 @@ var IoTSiteWise = (function (_super) {
|
|
|
931
931
|
}
|
|
932
932
|
else if (typeof cb === "function") {
|
|
933
933
|
if (typeof optionsOrCb !== "object")
|
|
934
|
-
throw new Error("Expect http options but get "
|
|
934
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
935
935
|
this.send(command, optionsOrCb || {}, cb);
|
|
936
936
|
}
|
|
937
937
|
else {
|
|
@@ -945,7 +945,7 @@ var IoTSiteWise = (function (_super) {
|
|
|
945
945
|
}
|
|
946
946
|
else if (typeof cb === "function") {
|
|
947
947
|
if (typeof optionsOrCb !== "object")
|
|
948
|
-
throw new Error("Expect http options but get "
|
|
948
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
949
949
|
this.send(command, optionsOrCb || {}, cb);
|
|
950
950
|
}
|
|
951
951
|
else {
|
|
@@ -959,7 +959,7 @@ var IoTSiteWise = (function (_super) {
|
|
|
959
959
|
}
|
|
960
960
|
else if (typeof cb === "function") {
|
|
961
961
|
if (typeof optionsOrCb !== "object")
|
|
962
|
-
throw new Error("Expect http options but get "
|
|
962
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
963
963
|
this.send(command, optionsOrCb || {}, cb);
|
|
964
964
|
}
|
|
965
965
|
else {
|
|
@@ -973,7 +973,7 @@ var IoTSiteWise = (function (_super) {
|
|
|
973
973
|
}
|
|
974
974
|
else if (typeof cb === "function") {
|
|
975
975
|
if (typeof optionsOrCb !== "object")
|
|
976
|
-
throw new Error("Expect http options but get "
|
|
976
|
+
throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
|
|
977
977
|
this.send(command, optionsOrCb || {}, cb);
|
|
978
978
|
}
|
|
979
979
|
else {
|
|
@@ -10,7 +10,7 @@ var makePagedClientRequest = function (client, input) {
|
|
|
10
10
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
11
|
return __generator(this, function (_a) {
|
|
12
12
|
switch (_a.label) {
|
|
13
|
-
case 0: return [4, client.send.apply(client, __spreadArray([new GetAssetPropertyAggregatesCommand(input)], __read(args)))];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new GetAssetPropertyAggregatesCommand(input)], __read(args), false))];
|
|
14
14
|
case 1: return [2, _a.sent()];
|
|
15
15
|
}
|
|
16
16
|
});
|
|
@@ -24,7 +24,7 @@ var makePagedRequest = function (client, input) {
|
|
|
24
24
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
25
|
return __generator(this, function (_a) {
|
|
26
26
|
switch (_a.label) {
|
|
27
|
-
case 0: return [4, client.getAssetPropertyAggregates.apply(client, __spreadArray([input], __read(args)))];
|
|
27
|
+
case 0: return [4, client.getAssetPropertyAggregates.apply(client, __spreadArray([input], __read(args), false))];
|
|
28
28
|
case 1: return [2, _a.sent()];
|
|
29
29
|
}
|
|
30
30
|
});
|
|
@@ -48,13 +48,13 @@ export function paginateGetAssetPropertyAggregates(config, input) {
|
|
|
48
48
|
input.nextToken = token;
|
|
49
49
|
input["maxResults"] = config.pageSize;
|
|
50
50
|
if (!(config.client instanceof IoTSiteWise)) return [3, 3];
|
|
51
|
-
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
52
52
|
case 2:
|
|
53
53
|
page = _a.sent();
|
|
54
54
|
return [3, 6];
|
|
55
55
|
case 3:
|
|
56
56
|
if (!(config.client instanceof IoTSiteWiseClient)) return [3, 5];
|
|
57
|
-
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
58
58
|
case 4:
|
|
59
59
|
page = _a.sent();
|
|
60
60
|
return [3, 6];
|
|
@@ -10,7 +10,7 @@ var makePagedClientRequest = function (client, input) {
|
|
|
10
10
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
11
|
return __generator(this, function (_a) {
|
|
12
12
|
switch (_a.label) {
|
|
13
|
-
case 0: return [4, client.send.apply(client, __spreadArray([new GetAssetPropertyValueHistoryCommand(input)], __read(args)))];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new GetAssetPropertyValueHistoryCommand(input)], __read(args), false))];
|
|
14
14
|
case 1: return [2, _a.sent()];
|
|
15
15
|
}
|
|
16
16
|
});
|
|
@@ -24,7 +24,7 @@ var makePagedRequest = function (client, input) {
|
|
|
24
24
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
25
|
return __generator(this, function (_a) {
|
|
26
26
|
switch (_a.label) {
|
|
27
|
-
case 0: return [4, client.getAssetPropertyValueHistory.apply(client, __spreadArray([input], __read(args)))];
|
|
27
|
+
case 0: return [4, client.getAssetPropertyValueHistory.apply(client, __spreadArray([input], __read(args), false))];
|
|
28
28
|
case 1: return [2, _a.sent()];
|
|
29
29
|
}
|
|
30
30
|
});
|
|
@@ -48,13 +48,13 @@ export function paginateGetAssetPropertyValueHistory(config, input) {
|
|
|
48
48
|
input.nextToken = token;
|
|
49
49
|
input["maxResults"] = config.pageSize;
|
|
50
50
|
if (!(config.client instanceof IoTSiteWise)) return [3, 3];
|
|
51
|
-
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
52
52
|
case 2:
|
|
53
53
|
page = _a.sent();
|
|
54
54
|
return [3, 6];
|
|
55
55
|
case 3:
|
|
56
56
|
if (!(config.client instanceof IoTSiteWiseClient)) return [3, 5];
|
|
57
|
-
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
58
58
|
case 4:
|
|
59
59
|
page = _a.sent();
|
|
60
60
|
return [3, 6];
|
|
@@ -10,7 +10,7 @@ var makePagedClientRequest = function (client, input) {
|
|
|
10
10
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
11
|
return __generator(this, function (_a) {
|
|
12
12
|
switch (_a.label) {
|
|
13
|
-
case 0: return [4, client.send.apply(client, __spreadArray([new GetInterpolatedAssetPropertyValuesCommand(input)], __read(args)))];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new GetInterpolatedAssetPropertyValuesCommand(input)], __read(args), false))];
|
|
14
14
|
case 1: return [2, _a.sent()];
|
|
15
15
|
}
|
|
16
16
|
});
|
|
@@ -24,7 +24,7 @@ var makePagedRequest = function (client, input) {
|
|
|
24
24
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
25
|
return __generator(this, function (_a) {
|
|
26
26
|
switch (_a.label) {
|
|
27
|
-
case 0: return [4, client.getInterpolatedAssetPropertyValues.apply(client, __spreadArray([input], __read(args)))];
|
|
27
|
+
case 0: return [4, client.getInterpolatedAssetPropertyValues.apply(client, __spreadArray([input], __read(args), false))];
|
|
28
28
|
case 1: return [2, _a.sent()];
|
|
29
29
|
}
|
|
30
30
|
});
|
|
@@ -48,13 +48,13 @@ export function paginateGetInterpolatedAssetPropertyValues(config, input) {
|
|
|
48
48
|
input.nextToken = token;
|
|
49
49
|
input["maxResults"] = config.pageSize;
|
|
50
50
|
if (!(config.client instanceof IoTSiteWise)) return [3, 3];
|
|
51
|
-
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
52
52
|
case 2:
|
|
53
53
|
page = _a.sent();
|
|
54
54
|
return [3, 6];
|
|
55
55
|
case 3:
|
|
56
56
|
if (!(config.client instanceof IoTSiteWiseClient)) return [3, 5];
|
|
57
|
-
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
58
58
|
case 4:
|
|
59
59
|
page = _a.sent();
|
|
60
60
|
return [3, 6];
|