@aws-sdk/client-iotsitewise 3.312.0 → 3.315.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/protocols/Aws_restJson1.js +980 -2447
- package/dist-es/protocols/Aws_restJson1.js +865 -2332
- package/package.json +6 -6
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { HttpRequest as __HttpRequest, isValidHostname as __isValidHostname, } from "@aws-sdk/protocol-http";
|
|
2
|
-
import { decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32,
|
|
2
|
+
import { _json, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, limitedParseDouble as __limitedParseDouble, map, parseEpochTimestamp as __parseEpochTimestamp, resolvedPath as __resolvedPath, serializeFloat as __serializeFloat, take, withBaseException, } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { v4 as generateIdempotencyToken } from "uuid";
|
|
4
4
|
import { IoTSiteWiseServiceException as __BaseException } from "../models/IoTSiteWiseServiceException";
|
|
5
5
|
import { ConflictingOperationException, InternalFailureException, InvalidRequestException, LimitExceededException, ResourceAlreadyExistsException, ResourceNotFoundException, ServiceUnavailableException, ThrottlingException, TooManyTagsException, UnauthorizedException, } from "../models/models_0";
|
|
@@ -11,11 +11,11 @@ export const se_AssociateAssetsCommand = async (input, context) => {
|
|
|
11
11
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/assets/{assetId}/associate";
|
|
12
12
|
resolvedPath = __resolvedPath(resolvedPath, input, "assetId", () => input.assetId, "{assetId}", false);
|
|
13
13
|
let body;
|
|
14
|
-
body = JSON.stringify({
|
|
15
|
-
|
|
16
|
-
clientToken:
|
|
17
|
-
|
|
18
|
-
});
|
|
14
|
+
body = JSON.stringify(take(input, {
|
|
15
|
+
childAssetId: [],
|
|
16
|
+
clientToken: (_) => _ ?? generateIdempotencyToken(),
|
|
17
|
+
hierarchyId: [],
|
|
18
|
+
}));
|
|
19
19
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
20
20
|
if (context.disableHostPrefix !== true) {
|
|
21
21
|
resolvedHostname = "api." + resolvedHostname;
|
|
@@ -45,9 +45,9 @@ export const se_AssociateTimeSeriesToAssetPropertyCommand = async (input, contex
|
|
|
45
45
|
propertyId: [, __expectNonNull(input.propertyId, `propertyId`)],
|
|
46
46
|
});
|
|
47
47
|
let body;
|
|
48
|
-
body = JSON.stringify({
|
|
49
|
-
clientToken:
|
|
50
|
-
});
|
|
48
|
+
body = JSON.stringify(take(input, {
|
|
49
|
+
clientToken: (_) => _ ?? generateIdempotencyToken(),
|
|
50
|
+
}));
|
|
51
51
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
52
52
|
if (context.disableHostPrefix !== true) {
|
|
53
53
|
resolvedHostname = "api." + resolvedHostname;
|
|
@@ -74,10 +74,10 @@ export const se_BatchAssociateProjectAssetsCommand = async (input, context) => {
|
|
|
74
74
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/projects/{projectId}/assets/associate";
|
|
75
75
|
resolvedPath = __resolvedPath(resolvedPath, input, "projectId", () => input.projectId, "{projectId}", false);
|
|
76
76
|
let body;
|
|
77
|
-
body = JSON.stringify({
|
|
78
|
-
|
|
79
|
-
clientToken:
|
|
80
|
-
});
|
|
77
|
+
body = JSON.stringify(take(input, {
|
|
78
|
+
assetIds: (_) => _json(_),
|
|
79
|
+
clientToken: (_) => _ ?? generateIdempotencyToken(),
|
|
80
|
+
}));
|
|
81
81
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
82
82
|
if (context.disableHostPrefix !== true) {
|
|
83
83
|
resolvedHostname = "monitor." + resolvedHostname;
|
|
@@ -103,10 +103,10 @@ export const se_BatchDisassociateProjectAssetsCommand = async (input, context) =
|
|
|
103
103
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/projects/{projectId}/assets/disassociate";
|
|
104
104
|
resolvedPath = __resolvedPath(resolvedPath, input, "projectId", () => input.projectId, "{projectId}", false);
|
|
105
105
|
let body;
|
|
106
|
-
body = JSON.stringify({
|
|
107
|
-
|
|
108
|
-
clientToken:
|
|
109
|
-
});
|
|
106
|
+
body = JSON.stringify(take(input, {
|
|
107
|
+
assetIds: (_) => _json(_),
|
|
108
|
+
clientToken: (_) => _ ?? generateIdempotencyToken(),
|
|
109
|
+
}));
|
|
110
110
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
111
111
|
if (context.disableHostPrefix !== true) {
|
|
112
112
|
resolvedHostname = "monitor." + resolvedHostname;
|
|
@@ -131,11 +131,11 @@ export const se_BatchGetAssetPropertyAggregatesCommand = async (input, context)
|
|
|
131
131
|
};
|
|
132
132
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/properties/batch/aggregates";
|
|
133
133
|
let body;
|
|
134
|
-
body = JSON.stringify({
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
});
|
|
134
|
+
body = JSON.stringify(take(input, {
|
|
135
|
+
entries: (_) => se_BatchGetAssetPropertyAggregatesEntries(_, context),
|
|
136
|
+
maxResults: [],
|
|
137
|
+
nextToken: [],
|
|
138
|
+
}));
|
|
139
139
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
140
140
|
if (context.disableHostPrefix !== true) {
|
|
141
141
|
resolvedHostname = "data." + resolvedHostname;
|
|
@@ -160,10 +160,10 @@ export const se_BatchGetAssetPropertyValueCommand = async (input, context) => {
|
|
|
160
160
|
};
|
|
161
161
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/properties/batch/latest";
|
|
162
162
|
let body;
|
|
163
|
-
body = JSON.stringify({
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
});
|
|
163
|
+
body = JSON.stringify(take(input, {
|
|
164
|
+
entries: (_) => _json(_),
|
|
165
|
+
nextToken: [],
|
|
166
|
+
}));
|
|
167
167
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
168
168
|
if (context.disableHostPrefix !== true) {
|
|
169
169
|
resolvedHostname = "data." + resolvedHostname;
|
|
@@ -188,11 +188,11 @@ export const se_BatchGetAssetPropertyValueHistoryCommand = async (input, context
|
|
|
188
188
|
};
|
|
189
189
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/properties/batch/history";
|
|
190
190
|
let body;
|
|
191
|
-
body = JSON.stringify({
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
});
|
|
191
|
+
body = JSON.stringify(take(input, {
|
|
192
|
+
entries: (_) => se_BatchGetAssetPropertyValueHistoryEntries(_, context),
|
|
193
|
+
maxResults: [],
|
|
194
|
+
nextToken: [],
|
|
195
|
+
}));
|
|
196
196
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
197
197
|
if (context.disableHostPrefix !== true) {
|
|
198
198
|
resolvedHostname = "data." + resolvedHostname;
|
|
@@ -217,9 +217,9 @@ export const se_BatchPutAssetPropertyValueCommand = async (input, context) => {
|
|
|
217
217
|
};
|
|
218
218
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/properties";
|
|
219
219
|
let body;
|
|
220
|
-
body = JSON.stringify({
|
|
221
|
-
|
|
222
|
-
});
|
|
220
|
+
body = JSON.stringify(take(input, {
|
|
221
|
+
entries: (_) => se_PutAssetPropertyValueEntries(_, context),
|
|
222
|
+
}));
|
|
223
223
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
224
224
|
if (context.disableHostPrefix !== true) {
|
|
225
225
|
resolvedHostname = "data." + resolvedHostname;
|
|
@@ -244,17 +244,13 @@ export const se_CreateAccessPolicyCommand = async (input, context) => {
|
|
|
244
244
|
};
|
|
245
245
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/access-policies";
|
|
246
246
|
let body;
|
|
247
|
-
body = JSON.stringify({
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
}),
|
|
255
|
-
clientToken: input.clientToken ?? generateIdempotencyToken(),
|
|
256
|
-
...(input.tags != null && { tags: se_TagMap(input.tags, context) }),
|
|
257
|
-
});
|
|
247
|
+
body = JSON.stringify(take(input, {
|
|
248
|
+
accessPolicyIdentity: (_) => _json(_),
|
|
249
|
+
accessPolicyPermission: [],
|
|
250
|
+
accessPolicyResource: (_) => _json(_),
|
|
251
|
+
clientToken: (_) => _ ?? generateIdempotencyToken(),
|
|
252
|
+
tags: (_) => _json(_),
|
|
253
|
+
}));
|
|
258
254
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
259
255
|
if (context.disableHostPrefix !== true) {
|
|
260
256
|
resolvedHostname = "monitor." + resolvedHostname;
|
|
@@ -279,13 +275,13 @@ export const se_CreateAssetCommand = async (input, context) => {
|
|
|
279
275
|
};
|
|
280
276
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/assets";
|
|
281
277
|
let body;
|
|
282
|
-
body = JSON.stringify({
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
clientToken:
|
|
287
|
-
|
|
288
|
-
});
|
|
278
|
+
body = JSON.stringify(take(input, {
|
|
279
|
+
assetDescription: [],
|
|
280
|
+
assetModelId: [],
|
|
281
|
+
assetName: [],
|
|
282
|
+
clientToken: (_) => _ ?? generateIdempotencyToken(),
|
|
283
|
+
tags: (_) => _json(_),
|
|
284
|
+
}));
|
|
289
285
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
290
286
|
if (context.disableHostPrefix !== true) {
|
|
291
287
|
resolvedHostname = "api." + resolvedHostname;
|
|
@@ -310,21 +306,15 @@ export const se_CreateAssetModelCommand = async (input, context) => {
|
|
|
310
306
|
};
|
|
311
307
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/asset-models";
|
|
312
308
|
let body;
|
|
313
|
-
body = JSON.stringify({
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
...(input.assetModelProperties != null && {
|
|
323
|
-
assetModelProperties: se_AssetModelPropertyDefinitions(input.assetModelProperties, context),
|
|
324
|
-
}),
|
|
325
|
-
clientToken: input.clientToken ?? generateIdempotencyToken(),
|
|
326
|
-
...(input.tags != null && { tags: se_TagMap(input.tags, context) }),
|
|
327
|
-
});
|
|
309
|
+
body = JSON.stringify(take(input, {
|
|
310
|
+
assetModelCompositeModels: (_) => _json(_),
|
|
311
|
+
assetModelDescription: [],
|
|
312
|
+
assetModelHierarchies: (_) => _json(_),
|
|
313
|
+
assetModelName: [],
|
|
314
|
+
assetModelProperties: (_) => _json(_),
|
|
315
|
+
clientToken: (_) => _ ?? generateIdempotencyToken(),
|
|
316
|
+
tags: (_) => _json(_),
|
|
317
|
+
}));
|
|
328
318
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
329
319
|
if (context.disableHostPrefix !== true) {
|
|
330
320
|
resolvedHostname = "api." + resolvedHostname;
|
|
@@ -349,15 +339,13 @@ export const se_CreateBulkImportJobCommand = async (input, context) => {
|
|
|
349
339
|
};
|
|
350
340
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/jobs";
|
|
351
341
|
let body;
|
|
352
|
-
body = JSON.stringify({
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
...(input.jobRoleArn != null && { jobRoleArn: input.jobRoleArn }),
|
|
360
|
-
});
|
|
342
|
+
body = JSON.stringify(take(input, {
|
|
343
|
+
errorReportLocation: (_) => _json(_),
|
|
344
|
+
files: (_) => _json(_),
|
|
345
|
+
jobConfiguration: (_) => _json(_),
|
|
346
|
+
jobName: [],
|
|
347
|
+
jobRoleArn: [],
|
|
348
|
+
}));
|
|
361
349
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
362
350
|
if (context.disableHostPrefix !== true) {
|
|
363
351
|
resolvedHostname = "data." + resolvedHostname;
|
|
@@ -382,14 +370,14 @@ export const se_CreateDashboardCommand = async (input, context) => {
|
|
|
382
370
|
};
|
|
383
371
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/dashboards";
|
|
384
372
|
let body;
|
|
385
|
-
body = JSON.stringify({
|
|
386
|
-
clientToken:
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
});
|
|
373
|
+
body = JSON.stringify(take(input, {
|
|
374
|
+
clientToken: (_) => _ ?? generateIdempotencyToken(),
|
|
375
|
+
dashboardDefinition: [],
|
|
376
|
+
dashboardDescription: [],
|
|
377
|
+
dashboardName: [],
|
|
378
|
+
projectId: [],
|
|
379
|
+
tags: (_) => _json(_),
|
|
380
|
+
}));
|
|
393
381
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
394
382
|
if (context.disableHostPrefix !== true) {
|
|
395
383
|
resolvedHostname = "monitor." + resolvedHostname;
|
|
@@ -414,11 +402,11 @@ export const se_CreateGatewayCommand = async (input, context) => {
|
|
|
414
402
|
};
|
|
415
403
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/20200301/gateways";
|
|
416
404
|
let body;
|
|
417
|
-
body = JSON.stringify({
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
});
|
|
405
|
+
body = JSON.stringify(take(input, {
|
|
406
|
+
gatewayName: [],
|
|
407
|
+
gatewayPlatform: (_) => _json(_),
|
|
408
|
+
tags: (_) => _json(_),
|
|
409
|
+
}));
|
|
422
410
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
423
411
|
if (context.disableHostPrefix !== true) {
|
|
424
412
|
resolvedHostname = "api." + resolvedHostname;
|
|
@@ -443,18 +431,18 @@ export const se_CreatePortalCommand = async (input, context) => {
|
|
|
443
431
|
};
|
|
444
432
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/portals";
|
|
445
433
|
let body;
|
|
446
|
-
body = JSON.stringify({
|
|
447
|
-
|
|
448
|
-
clientToken:
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
});
|
|
434
|
+
body = JSON.stringify(take(input, {
|
|
435
|
+
alarms: (_) => _json(_),
|
|
436
|
+
clientToken: (_) => _ ?? generateIdempotencyToken(),
|
|
437
|
+
notificationSenderEmail: [],
|
|
438
|
+
portalAuthMode: [],
|
|
439
|
+
portalContactEmail: [],
|
|
440
|
+
portalDescription: [],
|
|
441
|
+
portalLogoImageFile: (_) => se_ImageFile(_, context),
|
|
442
|
+
portalName: [],
|
|
443
|
+
roleArn: [],
|
|
444
|
+
tags: (_) => _json(_),
|
|
445
|
+
}));
|
|
458
446
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
459
447
|
if (context.disableHostPrefix !== true) {
|
|
460
448
|
resolvedHostname = "monitor." + resolvedHostname;
|
|
@@ -479,13 +467,13 @@ export const se_CreateProjectCommand = async (input, context) => {
|
|
|
479
467
|
};
|
|
480
468
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/projects";
|
|
481
469
|
let body;
|
|
482
|
-
body = JSON.stringify({
|
|
483
|
-
clientToken:
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
});
|
|
470
|
+
body = JSON.stringify(take(input, {
|
|
471
|
+
clientToken: (_) => _ ?? generateIdempotencyToken(),
|
|
472
|
+
portalId: [],
|
|
473
|
+
projectDescription: [],
|
|
474
|
+
projectName: [],
|
|
475
|
+
tags: (_) => _json(_),
|
|
476
|
+
}));
|
|
489
477
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
490
478
|
if (context.disableHostPrefix !== true) {
|
|
491
479
|
resolvedHostname = "monitor." + resolvedHostname;
|
|
@@ -700,9 +688,9 @@ export const se_DeleteTimeSeriesCommand = async (input, context) => {
|
|
|
700
688
|
propertyId: [, input.propertyId],
|
|
701
689
|
});
|
|
702
690
|
let body;
|
|
703
|
-
body = JSON.stringify({
|
|
704
|
-
clientToken:
|
|
705
|
-
});
|
|
691
|
+
body = JSON.stringify(take(input, {
|
|
692
|
+
clientToken: (_) => _ ?? generateIdempotencyToken(),
|
|
693
|
+
}));
|
|
706
694
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
707
695
|
if (context.disableHostPrefix !== true) {
|
|
708
696
|
resolvedHostname = "api." + resolvedHostname;
|
|
@@ -1073,11 +1061,11 @@ export const se_DisassociateAssetsCommand = async (input, context) => {
|
|
|
1073
1061
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/assets/{assetId}/disassociate";
|
|
1074
1062
|
resolvedPath = __resolvedPath(resolvedPath, input, "assetId", () => input.assetId, "{assetId}", false);
|
|
1075
1063
|
let body;
|
|
1076
|
-
body = JSON.stringify({
|
|
1077
|
-
|
|
1078
|
-
clientToken:
|
|
1079
|
-
|
|
1080
|
-
});
|
|
1064
|
+
body = JSON.stringify(take(input, {
|
|
1065
|
+
childAssetId: [],
|
|
1066
|
+
clientToken: (_) => _ ?? generateIdempotencyToken(),
|
|
1067
|
+
hierarchyId: [],
|
|
1068
|
+
}));
|
|
1081
1069
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
1082
1070
|
if (context.disableHostPrefix !== true) {
|
|
1083
1071
|
resolvedHostname = "api." + resolvedHostname;
|
|
@@ -1107,9 +1095,9 @@ export const se_DisassociateTimeSeriesFromAssetPropertyCommand = async (input, c
|
|
|
1107
1095
|
propertyId: [, __expectNonNull(input.propertyId, `propertyId`)],
|
|
1108
1096
|
});
|
|
1109
1097
|
let body;
|
|
1110
|
-
body = JSON.stringify({
|
|
1111
|
-
clientToken:
|
|
1112
|
-
});
|
|
1098
|
+
body = JSON.stringify(take(input, {
|
|
1099
|
+
clientToken: (_) => _ ?? generateIdempotencyToken(),
|
|
1100
|
+
}));
|
|
1113
1101
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
1114
1102
|
if (context.disableHostPrefix !== true) {
|
|
1115
1103
|
resolvedHostname = "api." + resolvedHostname;
|
|
@@ -1725,10 +1713,10 @@ export const se_PutDefaultEncryptionConfigurationCommand = async (input, context
|
|
|
1725
1713
|
};
|
|
1726
1714
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/configuration/account/encryption";
|
|
1727
1715
|
let body;
|
|
1728
|
-
body = JSON.stringify({
|
|
1729
|
-
|
|
1730
|
-
|
|
1731
|
-
});
|
|
1716
|
+
body = JSON.stringify(take(input, {
|
|
1717
|
+
encryptionType: [],
|
|
1718
|
+
kmsKeyId: [],
|
|
1719
|
+
}));
|
|
1732
1720
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
1733
1721
|
if (context.disableHostPrefix !== true) {
|
|
1734
1722
|
resolvedHostname = "api." + resolvedHostname;
|
|
@@ -1753,9 +1741,9 @@ export const se_PutLoggingOptionsCommand = async (input, context) => {
|
|
|
1753
1741
|
};
|
|
1754
1742
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/logging";
|
|
1755
1743
|
let body;
|
|
1756
|
-
body = JSON.stringify({
|
|
1757
|
-
|
|
1758
|
-
});
|
|
1744
|
+
body = JSON.stringify(take(input, {
|
|
1745
|
+
loggingOptions: (_) => _json(_),
|
|
1746
|
+
}));
|
|
1759
1747
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
1760
1748
|
if (context.disableHostPrefix !== true) {
|
|
1761
1749
|
resolvedHostname = "api." + resolvedHostname;
|
|
@@ -1780,14 +1768,12 @@ export const se_PutStorageConfigurationCommand = async (input, context) => {
|
|
|
1780
1768
|
};
|
|
1781
1769
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/configuration/account/storage";
|
|
1782
1770
|
let body;
|
|
1783
|
-
body = JSON.stringify({
|
|
1784
|
-
|
|
1785
|
-
|
|
1786
|
-
|
|
1787
|
-
|
|
1788
|
-
|
|
1789
|
-
...(input.storageType != null && { storageType: input.storageType }),
|
|
1790
|
-
});
|
|
1771
|
+
body = JSON.stringify(take(input, {
|
|
1772
|
+
disassociatedDataStorage: [],
|
|
1773
|
+
multiLayerStorage: (_) => _json(_),
|
|
1774
|
+
retentionPeriod: (_) => _json(_),
|
|
1775
|
+
storageType: [],
|
|
1776
|
+
}));
|
|
1791
1777
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
1792
1778
|
if (context.disableHostPrefix !== true) {
|
|
1793
1779
|
resolvedHostname = "api." + resolvedHostname;
|
|
@@ -1815,9 +1801,9 @@ export const se_TagResourceCommand = async (input, context) => {
|
|
|
1815
1801
|
resourceArn: [, __expectNonNull(input.resourceArn, `resourceArn`)],
|
|
1816
1802
|
});
|
|
1817
1803
|
let body;
|
|
1818
|
-
body = JSON.stringify({
|
|
1819
|
-
|
|
1820
|
-
});
|
|
1804
|
+
body = JSON.stringify(take(input, {
|
|
1805
|
+
tags: (_) => _json(_),
|
|
1806
|
+
}));
|
|
1821
1807
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
1822
1808
|
if (context.disableHostPrefix !== true) {
|
|
1823
1809
|
resolvedHostname = "api." + resolvedHostname;
|
|
@@ -1874,16 +1860,12 @@ export const se_UpdateAccessPolicyCommand = async (input, context) => {
|
|
|
1874
1860
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/access-policies/{accessPolicyId}";
|
|
1875
1861
|
resolvedPath = __resolvedPath(resolvedPath, input, "accessPolicyId", () => input.accessPolicyId, "{accessPolicyId}", false);
|
|
1876
1862
|
let body;
|
|
1877
|
-
body = JSON.stringify({
|
|
1878
|
-
|
|
1879
|
-
|
|
1880
|
-
|
|
1881
|
-
|
|
1882
|
-
|
|
1883
|
-
accessPolicyResource: se_Resource(input.accessPolicyResource, context),
|
|
1884
|
-
}),
|
|
1885
|
-
clientToken: input.clientToken ?? generateIdempotencyToken(),
|
|
1886
|
-
});
|
|
1863
|
+
body = JSON.stringify(take(input, {
|
|
1864
|
+
accessPolicyIdentity: (_) => _json(_),
|
|
1865
|
+
accessPolicyPermission: [],
|
|
1866
|
+
accessPolicyResource: (_) => _json(_),
|
|
1867
|
+
clientToken: (_) => _ ?? generateIdempotencyToken(),
|
|
1868
|
+
}));
|
|
1887
1869
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
1888
1870
|
if (context.disableHostPrefix !== true) {
|
|
1889
1871
|
resolvedHostname = "monitor." + resolvedHostname;
|
|
@@ -1909,11 +1891,11 @@ export const se_UpdateAssetCommand = async (input, context) => {
|
|
|
1909
1891
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/assets/{assetId}";
|
|
1910
1892
|
resolvedPath = __resolvedPath(resolvedPath, input, "assetId", () => input.assetId, "{assetId}", false);
|
|
1911
1893
|
let body;
|
|
1912
|
-
body = JSON.stringify({
|
|
1913
|
-
|
|
1914
|
-
|
|
1915
|
-
clientToken:
|
|
1916
|
-
});
|
|
1894
|
+
body = JSON.stringify(take(input, {
|
|
1895
|
+
assetDescription: [],
|
|
1896
|
+
assetName: [],
|
|
1897
|
+
clientToken: (_) => _ ?? generateIdempotencyToken(),
|
|
1898
|
+
}));
|
|
1917
1899
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
1918
1900
|
if (context.disableHostPrefix !== true) {
|
|
1919
1901
|
resolvedHostname = "api." + resolvedHostname;
|
|
@@ -1939,20 +1921,14 @@ export const se_UpdateAssetModelCommand = async (input, context) => {
|
|
|
1939
1921
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/asset-models/{assetModelId}";
|
|
1940
1922
|
resolvedPath = __resolvedPath(resolvedPath, input, "assetModelId", () => input.assetModelId, "{assetModelId}", false);
|
|
1941
1923
|
let body;
|
|
1942
|
-
body = JSON.stringify({
|
|
1943
|
-
|
|
1944
|
-
|
|
1945
|
-
|
|
1946
|
-
|
|
1947
|
-
|
|
1948
|
-
|
|
1949
|
-
|
|
1950
|
-
...(input.assetModelName != null && { assetModelName: input.assetModelName }),
|
|
1951
|
-
...(input.assetModelProperties != null && {
|
|
1952
|
-
assetModelProperties: se_AssetModelProperties(input.assetModelProperties, context),
|
|
1953
|
-
}),
|
|
1954
|
-
clientToken: input.clientToken ?? generateIdempotencyToken(),
|
|
1955
|
-
});
|
|
1924
|
+
body = JSON.stringify(take(input, {
|
|
1925
|
+
assetModelCompositeModels: (_) => _json(_),
|
|
1926
|
+
assetModelDescription: [],
|
|
1927
|
+
assetModelHierarchies: (_) => _json(_),
|
|
1928
|
+
assetModelName: [],
|
|
1929
|
+
assetModelProperties: (_) => _json(_),
|
|
1930
|
+
clientToken: (_) => _ ?? generateIdempotencyToken(),
|
|
1931
|
+
}));
|
|
1956
1932
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
1957
1933
|
if (context.disableHostPrefix !== true) {
|
|
1958
1934
|
resolvedHostname = "api." + resolvedHostname;
|
|
@@ -1979,12 +1955,12 @@ export const se_UpdateAssetPropertyCommand = async (input, context) => {
|
|
|
1979
1955
|
resolvedPath = __resolvedPath(resolvedPath, input, "assetId", () => input.assetId, "{assetId}", false);
|
|
1980
1956
|
resolvedPath = __resolvedPath(resolvedPath, input, "propertyId", () => input.propertyId, "{propertyId}", false);
|
|
1981
1957
|
let body;
|
|
1982
|
-
body = JSON.stringify({
|
|
1983
|
-
clientToken:
|
|
1984
|
-
|
|
1985
|
-
|
|
1986
|
-
|
|
1987
|
-
});
|
|
1958
|
+
body = JSON.stringify(take(input, {
|
|
1959
|
+
clientToken: (_) => _ ?? generateIdempotencyToken(),
|
|
1960
|
+
propertyAlias: [],
|
|
1961
|
+
propertyNotificationState: [],
|
|
1962
|
+
propertyUnit: [],
|
|
1963
|
+
}));
|
|
1988
1964
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
1989
1965
|
if (context.disableHostPrefix !== true) {
|
|
1990
1966
|
resolvedHostname = "api." + resolvedHostname;
|
|
@@ -2010,12 +1986,12 @@ export const se_UpdateDashboardCommand = async (input, context) => {
|
|
|
2010
1986
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/dashboards/{dashboardId}";
|
|
2011
1987
|
resolvedPath = __resolvedPath(resolvedPath, input, "dashboardId", () => input.dashboardId, "{dashboardId}", false);
|
|
2012
1988
|
let body;
|
|
2013
|
-
body = JSON.stringify({
|
|
2014
|
-
clientToken:
|
|
2015
|
-
|
|
2016
|
-
|
|
2017
|
-
|
|
2018
|
-
});
|
|
1989
|
+
body = JSON.stringify(take(input, {
|
|
1990
|
+
clientToken: (_) => _ ?? generateIdempotencyToken(),
|
|
1991
|
+
dashboardDefinition: [],
|
|
1992
|
+
dashboardDescription: [],
|
|
1993
|
+
dashboardName: [],
|
|
1994
|
+
}));
|
|
2019
1995
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
2020
1996
|
if (context.disableHostPrefix !== true) {
|
|
2021
1997
|
resolvedHostname = "monitor." + resolvedHostname;
|
|
@@ -2041,9 +2017,9 @@ export const se_UpdateGatewayCommand = async (input, context) => {
|
|
|
2041
2017
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/20200301/gateways/{gatewayId}";
|
|
2042
2018
|
resolvedPath = __resolvedPath(resolvedPath, input, "gatewayId", () => input.gatewayId, "{gatewayId}", false);
|
|
2043
2019
|
let body;
|
|
2044
|
-
body = JSON.stringify({
|
|
2045
|
-
|
|
2046
|
-
});
|
|
2020
|
+
body = JSON.stringify(take(input, {
|
|
2021
|
+
gatewayName: [],
|
|
2022
|
+
}));
|
|
2047
2023
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
2048
2024
|
if (context.disableHostPrefix !== true) {
|
|
2049
2025
|
resolvedHostname = "api." + resolvedHostname;
|
|
@@ -2069,10 +2045,10 @@ export const se_UpdateGatewayCapabilityConfigurationCommand = async (input, cont
|
|
|
2069
2045
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/20200301/gateways/{gatewayId}/capability";
|
|
2070
2046
|
resolvedPath = __resolvedPath(resolvedPath, input, "gatewayId", () => input.gatewayId, "{gatewayId}", false);
|
|
2071
2047
|
let body;
|
|
2072
|
-
body = JSON.stringify({
|
|
2073
|
-
|
|
2074
|
-
|
|
2075
|
-
});
|
|
2048
|
+
body = JSON.stringify(take(input, {
|
|
2049
|
+
capabilityConfiguration: [],
|
|
2050
|
+
capabilityNamespace: [],
|
|
2051
|
+
}));
|
|
2076
2052
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
2077
2053
|
if (context.disableHostPrefix !== true) {
|
|
2078
2054
|
resolvedHostname = "api." + resolvedHostname;
|
|
@@ -2098,16 +2074,16 @@ export const se_UpdatePortalCommand = async (input, context) => {
|
|
|
2098
2074
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/portals/{portalId}";
|
|
2099
2075
|
resolvedPath = __resolvedPath(resolvedPath, input, "portalId", () => input.portalId, "{portalId}", false);
|
|
2100
2076
|
let body;
|
|
2101
|
-
body = JSON.stringify({
|
|
2102
|
-
|
|
2103
|
-
clientToken:
|
|
2104
|
-
|
|
2105
|
-
|
|
2106
|
-
|
|
2107
|
-
|
|
2108
|
-
|
|
2109
|
-
|
|
2110
|
-
});
|
|
2077
|
+
body = JSON.stringify(take(input, {
|
|
2078
|
+
alarms: (_) => _json(_),
|
|
2079
|
+
clientToken: (_) => _ ?? generateIdempotencyToken(),
|
|
2080
|
+
notificationSenderEmail: [],
|
|
2081
|
+
portalContactEmail: [],
|
|
2082
|
+
portalDescription: [],
|
|
2083
|
+
portalLogoImage: (_) => se_Image(_, context),
|
|
2084
|
+
portalName: [],
|
|
2085
|
+
roleArn: [],
|
|
2086
|
+
}));
|
|
2111
2087
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
2112
2088
|
if (context.disableHostPrefix !== true) {
|
|
2113
2089
|
resolvedHostname = "monitor." + resolvedHostname;
|
|
@@ -2133,11 +2109,11 @@ export const se_UpdateProjectCommand = async (input, context) => {
|
|
|
2133
2109
|
let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/projects/{projectId}";
|
|
2134
2110
|
resolvedPath = __resolvedPath(resolvedPath, input, "projectId", () => input.projectId, "{projectId}", false);
|
|
2135
2111
|
let body;
|
|
2136
|
-
body = JSON.stringify({
|
|
2137
|
-
clientToken:
|
|
2138
|
-
|
|
2139
|
-
|
|
2140
|
-
});
|
|
2112
|
+
body = JSON.stringify(take(input, {
|
|
2113
|
+
clientToken: (_) => _ ?? generateIdempotencyToken(),
|
|
2114
|
+
projectDescription: [],
|
|
2115
|
+
projectName: [],
|
|
2116
|
+
}));
|
|
2141
2117
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
2142
2118
|
if (context.disableHostPrefix !== true) {
|
|
2143
2119
|
resolvedHostname = "monitor." + resolvedHostname;
|
|
@@ -2195,10 +2171,9 @@ const de_AssociateAssetsCommandError = async (output, context) => {
|
|
|
2195
2171
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2196
2172
|
default:
|
|
2197
2173
|
const parsedBody = parsedOutput.body;
|
|
2198
|
-
throwDefaultError({
|
|
2174
|
+
return throwDefaultError({
|
|
2199
2175
|
output,
|
|
2200
2176
|
parsedBody,
|
|
2201
|
-
exceptionCtor: __BaseException,
|
|
2202
2177
|
errorCode,
|
|
2203
2178
|
});
|
|
2204
2179
|
}
|
|
@@ -2237,10 +2212,9 @@ const de_AssociateTimeSeriesToAssetPropertyCommandError = async (output, context
|
|
|
2237
2212
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2238
2213
|
default:
|
|
2239
2214
|
const parsedBody = parsedOutput.body;
|
|
2240
|
-
throwDefaultError({
|
|
2215
|
+
return throwDefaultError({
|
|
2241
2216
|
output,
|
|
2242
2217
|
parsedBody,
|
|
2243
|
-
exceptionCtor: __BaseException,
|
|
2244
2218
|
errorCode,
|
|
2245
2219
|
});
|
|
2246
2220
|
}
|
|
@@ -2253,9 +2227,10 @@ export const de_BatchAssociateProjectAssetsCommand = async (output, context) =>
|
|
|
2253
2227
|
$metadata: deserializeMetadata(output),
|
|
2254
2228
|
});
|
|
2255
2229
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2256
|
-
|
|
2257
|
-
|
|
2258
|
-
}
|
|
2230
|
+
const doc = take(data, {
|
|
2231
|
+
errors: _json,
|
|
2232
|
+
});
|
|
2233
|
+
Object.assign(contents, doc);
|
|
2259
2234
|
return contents;
|
|
2260
2235
|
};
|
|
2261
2236
|
const de_BatchAssociateProjectAssetsCommandError = async (output, context) => {
|
|
@@ -2282,10 +2257,9 @@ const de_BatchAssociateProjectAssetsCommandError = async (output, context) => {
|
|
|
2282
2257
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2283
2258
|
default:
|
|
2284
2259
|
const parsedBody = parsedOutput.body;
|
|
2285
|
-
throwDefaultError({
|
|
2260
|
+
return throwDefaultError({
|
|
2286
2261
|
output,
|
|
2287
2262
|
parsedBody,
|
|
2288
|
-
exceptionCtor: __BaseException,
|
|
2289
2263
|
errorCode,
|
|
2290
2264
|
});
|
|
2291
2265
|
}
|
|
@@ -2298,9 +2272,10 @@ export const de_BatchDisassociateProjectAssetsCommand = async (output, context)
|
|
|
2298
2272
|
$metadata: deserializeMetadata(output),
|
|
2299
2273
|
});
|
|
2300
2274
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2301
|
-
|
|
2302
|
-
|
|
2303
|
-
}
|
|
2275
|
+
const doc = take(data, {
|
|
2276
|
+
errors: _json,
|
|
2277
|
+
});
|
|
2278
|
+
Object.assign(contents, doc);
|
|
2304
2279
|
return contents;
|
|
2305
2280
|
};
|
|
2306
2281
|
const de_BatchDisassociateProjectAssetsCommandError = async (output, context) => {
|
|
@@ -2324,10 +2299,9 @@ const de_BatchDisassociateProjectAssetsCommandError = async (output, context) =>
|
|
|
2324
2299
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2325
2300
|
default:
|
|
2326
2301
|
const parsedBody = parsedOutput.body;
|
|
2327
|
-
throwDefaultError({
|
|
2302
|
+
return throwDefaultError({
|
|
2328
2303
|
output,
|
|
2329
2304
|
parsedBody,
|
|
2330
|
-
exceptionCtor: __BaseException,
|
|
2331
2305
|
errorCode,
|
|
2332
2306
|
});
|
|
2333
2307
|
}
|
|
@@ -2340,18 +2314,13 @@ export const de_BatchGetAssetPropertyAggregatesCommand = async (output, context)
|
|
|
2340
2314
|
$metadata: deserializeMetadata(output),
|
|
2341
2315
|
});
|
|
2342
2316
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2343
|
-
|
|
2344
|
-
|
|
2345
|
-
|
|
2346
|
-
|
|
2347
|
-
|
|
2348
|
-
}
|
|
2349
|
-
|
|
2350
|
-
contents.skippedEntries = de_BatchGetAssetPropertyAggregatesSkippedEntries(data.skippedEntries, context);
|
|
2351
|
-
}
|
|
2352
|
-
if (data.successEntries != null) {
|
|
2353
|
-
contents.successEntries = de_BatchGetAssetPropertyAggregatesSuccessEntries(data.successEntries, context);
|
|
2354
|
-
}
|
|
2317
|
+
const doc = take(data, {
|
|
2318
|
+
errorEntries: _json,
|
|
2319
|
+
nextToken: __expectString,
|
|
2320
|
+
skippedEntries: (_) => de_BatchGetAssetPropertyAggregatesSkippedEntries(_, context),
|
|
2321
|
+
successEntries: (_) => de_BatchGetAssetPropertyAggregatesSuccessEntries(_, context),
|
|
2322
|
+
});
|
|
2323
|
+
Object.assign(contents, doc);
|
|
2355
2324
|
return contents;
|
|
2356
2325
|
};
|
|
2357
2326
|
const de_BatchGetAssetPropertyAggregatesCommandError = async (output, context) => {
|
|
@@ -2375,10 +2344,9 @@ const de_BatchGetAssetPropertyAggregatesCommandError = async (output, context) =
|
|
|
2375
2344
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2376
2345
|
default:
|
|
2377
2346
|
const parsedBody = parsedOutput.body;
|
|
2378
|
-
throwDefaultError({
|
|
2347
|
+
return throwDefaultError({
|
|
2379
2348
|
output,
|
|
2380
2349
|
parsedBody,
|
|
2381
|
-
exceptionCtor: __BaseException,
|
|
2382
2350
|
errorCode,
|
|
2383
2351
|
});
|
|
2384
2352
|
}
|
|
@@ -2391,18 +2359,13 @@ export const de_BatchGetAssetPropertyValueCommand = async (output, context) => {
|
|
|
2391
2359
|
$metadata: deserializeMetadata(output),
|
|
2392
2360
|
});
|
|
2393
2361
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2394
|
-
|
|
2395
|
-
|
|
2396
|
-
|
|
2397
|
-
|
|
2398
|
-
|
|
2399
|
-
}
|
|
2400
|
-
|
|
2401
|
-
contents.skippedEntries = de_BatchGetAssetPropertyValueSkippedEntries(data.skippedEntries, context);
|
|
2402
|
-
}
|
|
2403
|
-
if (data.successEntries != null) {
|
|
2404
|
-
contents.successEntries = de_BatchGetAssetPropertyValueSuccessEntries(data.successEntries, context);
|
|
2405
|
-
}
|
|
2362
|
+
const doc = take(data, {
|
|
2363
|
+
errorEntries: _json,
|
|
2364
|
+
nextToken: __expectString,
|
|
2365
|
+
skippedEntries: (_) => de_BatchGetAssetPropertyValueSkippedEntries(_, context),
|
|
2366
|
+
successEntries: (_) => de_BatchGetAssetPropertyValueSuccessEntries(_, context),
|
|
2367
|
+
});
|
|
2368
|
+
Object.assign(contents, doc);
|
|
2406
2369
|
return contents;
|
|
2407
2370
|
};
|
|
2408
2371
|
const de_BatchGetAssetPropertyValueCommandError = async (output, context) => {
|
|
@@ -2426,10 +2389,9 @@ const de_BatchGetAssetPropertyValueCommandError = async (output, context) => {
|
|
|
2426
2389
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2427
2390
|
default:
|
|
2428
2391
|
const parsedBody = parsedOutput.body;
|
|
2429
|
-
throwDefaultError({
|
|
2392
|
+
return throwDefaultError({
|
|
2430
2393
|
output,
|
|
2431
2394
|
parsedBody,
|
|
2432
|
-
exceptionCtor: __BaseException,
|
|
2433
2395
|
errorCode,
|
|
2434
2396
|
});
|
|
2435
2397
|
}
|
|
@@ -2442,18 +2404,13 @@ export const de_BatchGetAssetPropertyValueHistoryCommand = async (output, contex
|
|
|
2442
2404
|
$metadata: deserializeMetadata(output),
|
|
2443
2405
|
});
|
|
2444
2406
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2445
|
-
|
|
2446
|
-
|
|
2447
|
-
|
|
2448
|
-
|
|
2449
|
-
|
|
2450
|
-
}
|
|
2451
|
-
|
|
2452
|
-
contents.skippedEntries = de_BatchGetAssetPropertyValueHistorySkippedEntries(data.skippedEntries, context);
|
|
2453
|
-
}
|
|
2454
|
-
if (data.successEntries != null) {
|
|
2455
|
-
contents.successEntries = de_BatchGetAssetPropertyValueHistorySuccessEntries(data.successEntries, context);
|
|
2456
|
-
}
|
|
2407
|
+
const doc = take(data, {
|
|
2408
|
+
errorEntries: _json,
|
|
2409
|
+
nextToken: __expectString,
|
|
2410
|
+
skippedEntries: (_) => de_BatchGetAssetPropertyValueHistorySkippedEntries(_, context),
|
|
2411
|
+
successEntries: (_) => de_BatchGetAssetPropertyValueHistorySuccessEntries(_, context),
|
|
2412
|
+
});
|
|
2413
|
+
Object.assign(contents, doc);
|
|
2457
2414
|
return contents;
|
|
2458
2415
|
};
|
|
2459
2416
|
const de_BatchGetAssetPropertyValueHistoryCommandError = async (output, context) => {
|
|
@@ -2477,10 +2434,9 @@ const de_BatchGetAssetPropertyValueHistoryCommandError = async (output, context)
|
|
|
2477
2434
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2478
2435
|
default:
|
|
2479
2436
|
const parsedBody = parsedOutput.body;
|
|
2480
|
-
throwDefaultError({
|
|
2437
|
+
return throwDefaultError({
|
|
2481
2438
|
output,
|
|
2482
2439
|
parsedBody,
|
|
2483
|
-
exceptionCtor: __BaseException,
|
|
2484
2440
|
errorCode,
|
|
2485
2441
|
});
|
|
2486
2442
|
}
|
|
@@ -2493,9 +2449,10 @@ export const de_BatchPutAssetPropertyValueCommand = async (output, context) => {
|
|
|
2493
2449
|
$metadata: deserializeMetadata(output),
|
|
2494
2450
|
});
|
|
2495
2451
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2496
|
-
|
|
2497
|
-
|
|
2498
|
-
}
|
|
2452
|
+
const doc = take(data, {
|
|
2453
|
+
errorEntries: _json,
|
|
2454
|
+
});
|
|
2455
|
+
Object.assign(contents, doc);
|
|
2499
2456
|
return contents;
|
|
2500
2457
|
};
|
|
2501
2458
|
const de_BatchPutAssetPropertyValueCommandError = async (output, context) => {
|
|
@@ -2528,10 +2485,9 @@ const de_BatchPutAssetPropertyValueCommandError = async (output, context) => {
|
|
|
2528
2485
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2529
2486
|
default:
|
|
2530
2487
|
const parsedBody = parsedOutput.body;
|
|
2531
|
-
throwDefaultError({
|
|
2488
|
+
return throwDefaultError({
|
|
2532
2489
|
output,
|
|
2533
2490
|
parsedBody,
|
|
2534
|
-
exceptionCtor: __BaseException,
|
|
2535
2491
|
errorCode,
|
|
2536
2492
|
});
|
|
2537
2493
|
}
|
|
@@ -2544,12 +2500,11 @@ export const de_CreateAccessPolicyCommand = async (output, context) => {
|
|
|
2544
2500
|
$metadata: deserializeMetadata(output),
|
|
2545
2501
|
});
|
|
2546
2502
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2547
|
-
|
|
2548
|
-
|
|
2549
|
-
|
|
2550
|
-
|
|
2551
|
-
|
|
2552
|
-
}
|
|
2503
|
+
const doc = take(data, {
|
|
2504
|
+
accessPolicyArn: __expectString,
|
|
2505
|
+
accessPolicyId: __expectString,
|
|
2506
|
+
});
|
|
2507
|
+
Object.assign(contents, doc);
|
|
2553
2508
|
return contents;
|
|
2554
2509
|
};
|
|
2555
2510
|
const de_CreateAccessPolicyCommandError = async (output, context) => {
|
|
@@ -2576,10 +2531,9 @@ const de_CreateAccessPolicyCommandError = async (output, context) => {
|
|
|
2576
2531
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2577
2532
|
default:
|
|
2578
2533
|
const parsedBody = parsedOutput.body;
|
|
2579
|
-
throwDefaultError({
|
|
2534
|
+
return throwDefaultError({
|
|
2580
2535
|
output,
|
|
2581
2536
|
parsedBody,
|
|
2582
|
-
exceptionCtor: __BaseException,
|
|
2583
2537
|
errorCode,
|
|
2584
2538
|
});
|
|
2585
2539
|
}
|
|
@@ -2592,15 +2546,12 @@ export const de_CreateAssetCommand = async (output, context) => {
|
|
|
2592
2546
|
$metadata: deserializeMetadata(output),
|
|
2593
2547
|
});
|
|
2594
2548
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2595
|
-
|
|
2596
|
-
|
|
2597
|
-
|
|
2598
|
-
|
|
2599
|
-
|
|
2600
|
-
|
|
2601
|
-
if (data.assetStatus != null) {
|
|
2602
|
-
contents.assetStatus = de_AssetStatus(data.assetStatus, context);
|
|
2603
|
-
}
|
|
2549
|
+
const doc = take(data, {
|
|
2550
|
+
assetArn: __expectString,
|
|
2551
|
+
assetId: __expectString,
|
|
2552
|
+
assetStatus: _json,
|
|
2553
|
+
});
|
|
2554
|
+
Object.assign(contents, doc);
|
|
2604
2555
|
return contents;
|
|
2605
2556
|
};
|
|
2606
2557
|
const de_CreateAssetCommandError = async (output, context) => {
|
|
@@ -2633,10 +2584,9 @@ const de_CreateAssetCommandError = async (output, context) => {
|
|
|
2633
2584
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2634
2585
|
default:
|
|
2635
2586
|
const parsedBody = parsedOutput.body;
|
|
2636
|
-
throwDefaultError({
|
|
2587
|
+
return throwDefaultError({
|
|
2637
2588
|
output,
|
|
2638
2589
|
parsedBody,
|
|
2639
|
-
exceptionCtor: __BaseException,
|
|
2640
2590
|
errorCode,
|
|
2641
2591
|
});
|
|
2642
2592
|
}
|
|
@@ -2649,15 +2599,12 @@ export const de_CreateAssetModelCommand = async (output, context) => {
|
|
|
2649
2599
|
$metadata: deserializeMetadata(output),
|
|
2650
2600
|
});
|
|
2651
2601
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2652
|
-
|
|
2653
|
-
|
|
2654
|
-
|
|
2655
|
-
|
|
2656
|
-
|
|
2657
|
-
|
|
2658
|
-
if (data.assetModelStatus != null) {
|
|
2659
|
-
contents.assetModelStatus = de_AssetModelStatus(data.assetModelStatus, context);
|
|
2660
|
-
}
|
|
2602
|
+
const doc = take(data, {
|
|
2603
|
+
assetModelArn: __expectString,
|
|
2604
|
+
assetModelId: __expectString,
|
|
2605
|
+
assetModelStatus: _json,
|
|
2606
|
+
});
|
|
2607
|
+
Object.assign(contents, doc);
|
|
2661
2608
|
return contents;
|
|
2662
2609
|
};
|
|
2663
2610
|
const de_CreateAssetModelCommandError = async (output, context) => {
|
|
@@ -2690,10 +2637,9 @@ const de_CreateAssetModelCommandError = async (output, context) => {
|
|
|
2690
2637
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2691
2638
|
default:
|
|
2692
2639
|
const parsedBody = parsedOutput.body;
|
|
2693
|
-
throwDefaultError({
|
|
2640
|
+
return throwDefaultError({
|
|
2694
2641
|
output,
|
|
2695
2642
|
parsedBody,
|
|
2696
|
-
exceptionCtor: __BaseException,
|
|
2697
2643
|
errorCode,
|
|
2698
2644
|
});
|
|
2699
2645
|
}
|
|
@@ -2706,15 +2652,12 @@ export const de_CreateBulkImportJobCommand = async (output, context) => {
|
|
|
2706
2652
|
$metadata: deserializeMetadata(output),
|
|
2707
2653
|
});
|
|
2708
2654
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2709
|
-
|
|
2710
|
-
|
|
2711
|
-
|
|
2712
|
-
|
|
2713
|
-
|
|
2714
|
-
|
|
2715
|
-
if (data.jobStatus != null) {
|
|
2716
|
-
contents.jobStatus = __expectString(data.jobStatus);
|
|
2717
|
-
}
|
|
2655
|
+
const doc = take(data, {
|
|
2656
|
+
jobId: __expectString,
|
|
2657
|
+
jobName: __expectString,
|
|
2658
|
+
jobStatus: __expectString,
|
|
2659
|
+
});
|
|
2660
|
+
Object.assign(contents, doc);
|
|
2718
2661
|
return contents;
|
|
2719
2662
|
};
|
|
2720
2663
|
const de_CreateBulkImportJobCommandError = async (output, context) => {
|
|
@@ -2747,10 +2690,9 @@ const de_CreateBulkImportJobCommandError = async (output, context) => {
|
|
|
2747
2690
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2748
2691
|
default:
|
|
2749
2692
|
const parsedBody = parsedOutput.body;
|
|
2750
|
-
throwDefaultError({
|
|
2693
|
+
return throwDefaultError({
|
|
2751
2694
|
output,
|
|
2752
2695
|
parsedBody,
|
|
2753
|
-
exceptionCtor: __BaseException,
|
|
2754
2696
|
errorCode,
|
|
2755
2697
|
});
|
|
2756
2698
|
}
|
|
@@ -2763,12 +2705,11 @@ export const de_CreateDashboardCommand = async (output, context) => {
|
|
|
2763
2705
|
$metadata: deserializeMetadata(output),
|
|
2764
2706
|
});
|
|
2765
2707
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2766
|
-
|
|
2767
|
-
|
|
2768
|
-
|
|
2769
|
-
|
|
2770
|
-
|
|
2771
|
-
}
|
|
2708
|
+
const doc = take(data, {
|
|
2709
|
+
dashboardArn: __expectString,
|
|
2710
|
+
dashboardId: __expectString,
|
|
2711
|
+
});
|
|
2712
|
+
Object.assign(contents, doc);
|
|
2772
2713
|
return contents;
|
|
2773
2714
|
};
|
|
2774
2715
|
const de_CreateDashboardCommandError = async (output, context) => {
|
|
@@ -2795,10 +2736,9 @@ const de_CreateDashboardCommandError = async (output, context) => {
|
|
|
2795
2736
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2796
2737
|
default:
|
|
2797
2738
|
const parsedBody = parsedOutput.body;
|
|
2798
|
-
throwDefaultError({
|
|
2739
|
+
return throwDefaultError({
|
|
2799
2740
|
output,
|
|
2800
2741
|
parsedBody,
|
|
2801
|
-
exceptionCtor: __BaseException,
|
|
2802
2742
|
errorCode,
|
|
2803
2743
|
});
|
|
2804
2744
|
}
|
|
@@ -2811,12 +2751,11 @@ export const de_CreateGatewayCommand = async (output, context) => {
|
|
|
2811
2751
|
$metadata: deserializeMetadata(output),
|
|
2812
2752
|
});
|
|
2813
2753
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2814
|
-
|
|
2815
|
-
|
|
2816
|
-
|
|
2817
|
-
|
|
2818
|
-
|
|
2819
|
-
}
|
|
2754
|
+
const doc = take(data, {
|
|
2755
|
+
gatewayArn: __expectString,
|
|
2756
|
+
gatewayId: __expectString,
|
|
2757
|
+
});
|
|
2758
|
+
Object.assign(contents, doc);
|
|
2820
2759
|
return contents;
|
|
2821
2760
|
};
|
|
2822
2761
|
const de_CreateGatewayCommandError = async (output, context) => {
|
|
@@ -2843,10 +2782,9 @@ const de_CreateGatewayCommandError = async (output, context) => {
|
|
|
2843
2782
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2844
2783
|
default:
|
|
2845
2784
|
const parsedBody = parsedOutput.body;
|
|
2846
|
-
throwDefaultError({
|
|
2785
|
+
return throwDefaultError({
|
|
2847
2786
|
output,
|
|
2848
2787
|
parsedBody,
|
|
2849
|
-
exceptionCtor: __BaseException,
|
|
2850
2788
|
errorCode,
|
|
2851
2789
|
});
|
|
2852
2790
|
}
|
|
@@ -2859,21 +2797,14 @@ export const de_CreatePortalCommand = async (output, context) => {
|
|
|
2859
2797
|
$metadata: deserializeMetadata(output),
|
|
2860
2798
|
});
|
|
2861
2799
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2862
|
-
|
|
2863
|
-
|
|
2864
|
-
|
|
2865
|
-
|
|
2866
|
-
|
|
2867
|
-
|
|
2868
|
-
|
|
2869
|
-
|
|
2870
|
-
}
|
|
2871
|
-
if (data.portalStatus != null) {
|
|
2872
|
-
contents.portalStatus = de_PortalStatus(data.portalStatus, context);
|
|
2873
|
-
}
|
|
2874
|
-
if (data.ssoApplicationId != null) {
|
|
2875
|
-
contents.ssoApplicationId = __expectString(data.ssoApplicationId);
|
|
2876
|
-
}
|
|
2800
|
+
const doc = take(data, {
|
|
2801
|
+
portalArn: __expectString,
|
|
2802
|
+
portalId: __expectString,
|
|
2803
|
+
portalStartUrl: __expectString,
|
|
2804
|
+
portalStatus: _json,
|
|
2805
|
+
ssoApplicationId: __expectString,
|
|
2806
|
+
});
|
|
2807
|
+
Object.assign(contents, doc);
|
|
2877
2808
|
return contents;
|
|
2878
2809
|
};
|
|
2879
2810
|
const de_CreatePortalCommandError = async (output, context) => {
|
|
@@ -2900,10 +2831,9 @@ const de_CreatePortalCommandError = async (output, context) => {
|
|
|
2900
2831
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2901
2832
|
default:
|
|
2902
2833
|
const parsedBody = parsedOutput.body;
|
|
2903
|
-
throwDefaultError({
|
|
2834
|
+
return throwDefaultError({
|
|
2904
2835
|
output,
|
|
2905
2836
|
parsedBody,
|
|
2906
|
-
exceptionCtor: __BaseException,
|
|
2907
2837
|
errorCode,
|
|
2908
2838
|
});
|
|
2909
2839
|
}
|
|
@@ -2916,12 +2846,11 @@ export const de_CreateProjectCommand = async (output, context) => {
|
|
|
2916
2846
|
$metadata: deserializeMetadata(output),
|
|
2917
2847
|
});
|
|
2918
2848
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2919
|
-
|
|
2920
|
-
|
|
2921
|
-
|
|
2922
|
-
|
|
2923
|
-
|
|
2924
|
-
}
|
|
2849
|
+
const doc = take(data, {
|
|
2850
|
+
projectArn: __expectString,
|
|
2851
|
+
projectId: __expectString,
|
|
2852
|
+
});
|
|
2853
|
+
Object.assign(contents, doc);
|
|
2925
2854
|
return contents;
|
|
2926
2855
|
};
|
|
2927
2856
|
const de_CreateProjectCommandError = async (output, context) => {
|
|
@@ -2948,10 +2877,9 @@ const de_CreateProjectCommandError = async (output, context) => {
|
|
|
2948
2877
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2949
2878
|
default:
|
|
2950
2879
|
const parsedBody = parsedOutput.body;
|
|
2951
|
-
throwDefaultError({
|
|
2880
|
+
return throwDefaultError({
|
|
2952
2881
|
output,
|
|
2953
2882
|
parsedBody,
|
|
2954
|
-
exceptionCtor: __BaseException,
|
|
2955
2883
|
errorCode,
|
|
2956
2884
|
});
|
|
2957
2885
|
}
|
|
@@ -2987,10 +2915,9 @@ const de_DeleteAccessPolicyCommandError = async (output, context) => {
|
|
|
2987
2915
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2988
2916
|
default:
|
|
2989
2917
|
const parsedBody = parsedOutput.body;
|
|
2990
|
-
throwDefaultError({
|
|
2918
|
+
return throwDefaultError({
|
|
2991
2919
|
output,
|
|
2992
2920
|
parsedBody,
|
|
2993
|
-
exceptionCtor: __BaseException,
|
|
2994
2921
|
errorCode,
|
|
2995
2922
|
});
|
|
2996
2923
|
}
|
|
@@ -3003,9 +2930,10 @@ export const de_DeleteAssetCommand = async (output, context) => {
|
|
|
3003
2930
|
$metadata: deserializeMetadata(output),
|
|
3004
2931
|
});
|
|
3005
2932
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3006
|
-
|
|
3007
|
-
|
|
3008
|
-
}
|
|
2933
|
+
const doc = take(data, {
|
|
2934
|
+
assetStatus: _json,
|
|
2935
|
+
});
|
|
2936
|
+
Object.assign(contents, doc);
|
|
3009
2937
|
return contents;
|
|
3010
2938
|
};
|
|
3011
2939
|
const de_DeleteAssetCommandError = async (output, context) => {
|
|
@@ -3032,10 +2960,9 @@ const de_DeleteAssetCommandError = async (output, context) => {
|
|
|
3032
2960
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3033
2961
|
default:
|
|
3034
2962
|
const parsedBody = parsedOutput.body;
|
|
3035
|
-
throwDefaultError({
|
|
2963
|
+
return throwDefaultError({
|
|
3036
2964
|
output,
|
|
3037
2965
|
parsedBody,
|
|
3038
|
-
exceptionCtor: __BaseException,
|
|
3039
2966
|
errorCode,
|
|
3040
2967
|
});
|
|
3041
2968
|
}
|
|
@@ -3048,9 +2975,10 @@ export const de_DeleteAssetModelCommand = async (output, context) => {
|
|
|
3048
2975
|
$metadata: deserializeMetadata(output),
|
|
3049
2976
|
});
|
|
3050
2977
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3051
|
-
|
|
3052
|
-
|
|
3053
|
-
}
|
|
2978
|
+
const doc = take(data, {
|
|
2979
|
+
assetModelStatus: _json,
|
|
2980
|
+
});
|
|
2981
|
+
Object.assign(contents, doc);
|
|
3054
2982
|
return contents;
|
|
3055
2983
|
};
|
|
3056
2984
|
const de_DeleteAssetModelCommandError = async (output, context) => {
|
|
@@ -3077,10 +3005,9 @@ const de_DeleteAssetModelCommandError = async (output, context) => {
|
|
|
3077
3005
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3078
3006
|
default:
|
|
3079
3007
|
const parsedBody = parsedOutput.body;
|
|
3080
|
-
throwDefaultError({
|
|
3008
|
+
return throwDefaultError({
|
|
3081
3009
|
output,
|
|
3082
3010
|
parsedBody,
|
|
3083
|
-
exceptionCtor: __BaseException,
|
|
3084
3011
|
errorCode,
|
|
3085
3012
|
});
|
|
3086
3013
|
}
|
|
@@ -3116,10 +3043,9 @@ const de_DeleteDashboardCommandError = async (output, context) => {
|
|
|
3116
3043
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3117
3044
|
default:
|
|
3118
3045
|
const parsedBody = parsedOutput.body;
|
|
3119
|
-
throwDefaultError({
|
|
3046
|
+
return throwDefaultError({
|
|
3120
3047
|
output,
|
|
3121
3048
|
parsedBody,
|
|
3122
|
-
exceptionCtor: __BaseException,
|
|
3123
3049
|
errorCode,
|
|
3124
3050
|
});
|
|
3125
3051
|
}
|
|
@@ -3155,10 +3081,9 @@ const de_DeleteGatewayCommandError = async (output, context) => {
|
|
|
3155
3081
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3156
3082
|
default:
|
|
3157
3083
|
const parsedBody = parsedOutput.body;
|
|
3158
|
-
throwDefaultError({
|
|
3084
|
+
return throwDefaultError({
|
|
3159
3085
|
output,
|
|
3160
3086
|
parsedBody,
|
|
3161
|
-
exceptionCtor: __BaseException,
|
|
3162
3087
|
errorCode,
|
|
3163
3088
|
});
|
|
3164
3089
|
}
|
|
@@ -3171,9 +3096,10 @@ export const de_DeletePortalCommand = async (output, context) => {
|
|
|
3171
3096
|
$metadata: deserializeMetadata(output),
|
|
3172
3097
|
});
|
|
3173
3098
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3174
|
-
|
|
3175
|
-
|
|
3176
|
-
}
|
|
3099
|
+
const doc = take(data, {
|
|
3100
|
+
portalStatus: _json,
|
|
3101
|
+
});
|
|
3102
|
+
Object.assign(contents, doc);
|
|
3177
3103
|
return contents;
|
|
3178
3104
|
};
|
|
3179
3105
|
const de_DeletePortalCommandError = async (output, context) => {
|
|
@@ -3200,10 +3126,9 @@ const de_DeletePortalCommandError = async (output, context) => {
|
|
|
3200
3126
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3201
3127
|
default:
|
|
3202
3128
|
const parsedBody = parsedOutput.body;
|
|
3203
|
-
throwDefaultError({
|
|
3129
|
+
return throwDefaultError({
|
|
3204
3130
|
output,
|
|
3205
3131
|
parsedBody,
|
|
3206
|
-
exceptionCtor: __BaseException,
|
|
3207
3132
|
errorCode,
|
|
3208
3133
|
});
|
|
3209
3134
|
}
|
|
@@ -3239,10 +3164,9 @@ const de_DeleteProjectCommandError = async (output, context) => {
|
|
|
3239
3164
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3240
3165
|
default:
|
|
3241
3166
|
const parsedBody = parsedOutput.body;
|
|
3242
|
-
throwDefaultError({
|
|
3167
|
+
return throwDefaultError({
|
|
3243
3168
|
output,
|
|
3244
3169
|
parsedBody,
|
|
3245
|
-
exceptionCtor: __BaseException,
|
|
3246
3170
|
errorCode,
|
|
3247
3171
|
});
|
|
3248
3172
|
}
|
|
@@ -3281,10 +3205,9 @@ const de_DeleteTimeSeriesCommandError = async (output, context) => {
|
|
|
3281
3205
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3282
3206
|
default:
|
|
3283
3207
|
const parsedBody = parsedOutput.body;
|
|
3284
|
-
throwDefaultError({
|
|
3208
|
+
return throwDefaultError({
|
|
3285
3209
|
output,
|
|
3286
3210
|
parsedBody,
|
|
3287
|
-
exceptionCtor: __BaseException,
|
|
3288
3211
|
errorCode,
|
|
3289
3212
|
});
|
|
3290
3213
|
}
|
|
@@ -3297,27 +3220,16 @@ export const de_DescribeAccessPolicyCommand = async (output, context) => {
|
|
|
3297
3220
|
$metadata: deserializeMetadata(output),
|
|
3298
3221
|
});
|
|
3299
3222
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3300
|
-
|
|
3301
|
-
|
|
3302
|
-
|
|
3303
|
-
|
|
3304
|
-
|
|
3305
|
-
|
|
3306
|
-
|
|
3307
|
-
|
|
3308
|
-
}
|
|
3309
|
-
|
|
3310
|
-
contents.accessPolicyIdentity = de_Identity(data.accessPolicyIdentity, context);
|
|
3311
|
-
}
|
|
3312
|
-
if (data.accessPolicyLastUpdateDate != null) {
|
|
3313
|
-
contents.accessPolicyLastUpdateDate = __expectNonNull(__parseEpochTimestamp(__expectNumber(data.accessPolicyLastUpdateDate)));
|
|
3314
|
-
}
|
|
3315
|
-
if (data.accessPolicyPermission != null) {
|
|
3316
|
-
contents.accessPolicyPermission = __expectString(data.accessPolicyPermission);
|
|
3317
|
-
}
|
|
3318
|
-
if (data.accessPolicyResource != null) {
|
|
3319
|
-
contents.accessPolicyResource = de_Resource(data.accessPolicyResource, context);
|
|
3320
|
-
}
|
|
3223
|
+
const doc = take(data, {
|
|
3224
|
+
accessPolicyArn: __expectString,
|
|
3225
|
+
accessPolicyCreationDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3226
|
+
accessPolicyId: __expectString,
|
|
3227
|
+
accessPolicyIdentity: _json,
|
|
3228
|
+
accessPolicyLastUpdateDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3229
|
+
accessPolicyPermission: __expectString,
|
|
3230
|
+
accessPolicyResource: _json,
|
|
3231
|
+
});
|
|
3232
|
+
Object.assign(contents, doc);
|
|
3321
3233
|
return contents;
|
|
3322
3234
|
};
|
|
3323
3235
|
const de_DescribeAccessPolicyCommandError = async (output, context) => {
|
|
@@ -3341,10 +3253,9 @@ const de_DescribeAccessPolicyCommandError = async (output, context) => {
|
|
|
3341
3253
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3342
3254
|
default:
|
|
3343
3255
|
const parsedBody = parsedOutput.body;
|
|
3344
|
-
throwDefaultError({
|
|
3256
|
+
return throwDefaultError({
|
|
3345
3257
|
output,
|
|
3346
3258
|
parsedBody,
|
|
3347
|
-
exceptionCtor: __BaseException,
|
|
3348
3259
|
errorCode,
|
|
3349
3260
|
});
|
|
3350
3261
|
}
|
|
@@ -3357,39 +3268,20 @@ export const de_DescribeAssetCommand = async (output, context) => {
|
|
|
3357
3268
|
$metadata: deserializeMetadata(output),
|
|
3358
3269
|
});
|
|
3359
3270
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3360
|
-
|
|
3361
|
-
|
|
3362
|
-
|
|
3363
|
-
|
|
3364
|
-
|
|
3365
|
-
|
|
3366
|
-
|
|
3367
|
-
|
|
3368
|
-
|
|
3369
|
-
|
|
3370
|
-
|
|
3371
|
-
|
|
3372
|
-
|
|
3373
|
-
|
|
3374
|
-
}
|
|
3375
|
-
if (data.assetId != null) {
|
|
3376
|
-
contents.assetId = __expectString(data.assetId);
|
|
3377
|
-
}
|
|
3378
|
-
if (data.assetLastUpdateDate != null) {
|
|
3379
|
-
contents.assetLastUpdateDate = __expectNonNull(__parseEpochTimestamp(__expectNumber(data.assetLastUpdateDate)));
|
|
3380
|
-
}
|
|
3381
|
-
if (data.assetModelId != null) {
|
|
3382
|
-
contents.assetModelId = __expectString(data.assetModelId);
|
|
3383
|
-
}
|
|
3384
|
-
if (data.assetName != null) {
|
|
3385
|
-
contents.assetName = __expectString(data.assetName);
|
|
3386
|
-
}
|
|
3387
|
-
if (data.assetProperties != null) {
|
|
3388
|
-
contents.assetProperties = de_AssetProperties(data.assetProperties, context);
|
|
3389
|
-
}
|
|
3390
|
-
if (data.assetStatus != null) {
|
|
3391
|
-
contents.assetStatus = de_AssetStatus(data.assetStatus, context);
|
|
3392
|
-
}
|
|
3271
|
+
const doc = take(data, {
|
|
3272
|
+
assetArn: __expectString,
|
|
3273
|
+
assetCompositeModels: _json,
|
|
3274
|
+
assetCreationDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3275
|
+
assetDescription: __expectString,
|
|
3276
|
+
assetHierarchies: _json,
|
|
3277
|
+
assetId: __expectString,
|
|
3278
|
+
assetLastUpdateDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3279
|
+
assetModelId: __expectString,
|
|
3280
|
+
assetName: __expectString,
|
|
3281
|
+
assetProperties: _json,
|
|
3282
|
+
assetStatus: _json,
|
|
3283
|
+
});
|
|
3284
|
+
Object.assign(contents, doc);
|
|
3393
3285
|
return contents;
|
|
3394
3286
|
};
|
|
3395
3287
|
const de_DescribeAssetCommandError = async (output, context) => {
|
|
@@ -3413,10 +3305,9 @@ const de_DescribeAssetCommandError = async (output, context) => {
|
|
|
3413
3305
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3414
3306
|
default:
|
|
3415
3307
|
const parsedBody = parsedOutput.body;
|
|
3416
|
-
throwDefaultError({
|
|
3308
|
+
return throwDefaultError({
|
|
3417
3309
|
output,
|
|
3418
3310
|
parsedBody,
|
|
3419
|
-
exceptionCtor: __BaseException,
|
|
3420
3311
|
errorCode,
|
|
3421
3312
|
});
|
|
3422
3313
|
}
|
|
@@ -3429,36 +3320,19 @@ export const de_DescribeAssetModelCommand = async (output, context) => {
|
|
|
3429
3320
|
$metadata: deserializeMetadata(output),
|
|
3430
3321
|
});
|
|
3431
3322
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3432
|
-
|
|
3433
|
-
|
|
3434
|
-
|
|
3435
|
-
|
|
3436
|
-
|
|
3437
|
-
|
|
3438
|
-
|
|
3439
|
-
|
|
3440
|
-
|
|
3441
|
-
|
|
3442
|
-
|
|
3443
|
-
}
|
|
3444
|
-
|
|
3445
|
-
contents.assetModelHierarchies = de_AssetModelHierarchies(data.assetModelHierarchies, context);
|
|
3446
|
-
}
|
|
3447
|
-
if (data.assetModelId != null) {
|
|
3448
|
-
contents.assetModelId = __expectString(data.assetModelId);
|
|
3449
|
-
}
|
|
3450
|
-
if (data.assetModelLastUpdateDate != null) {
|
|
3451
|
-
contents.assetModelLastUpdateDate = __expectNonNull(__parseEpochTimestamp(__expectNumber(data.assetModelLastUpdateDate)));
|
|
3452
|
-
}
|
|
3453
|
-
if (data.assetModelName != null) {
|
|
3454
|
-
contents.assetModelName = __expectString(data.assetModelName);
|
|
3455
|
-
}
|
|
3456
|
-
if (data.assetModelProperties != null) {
|
|
3457
|
-
contents.assetModelProperties = de_AssetModelProperties(data.assetModelProperties, context);
|
|
3458
|
-
}
|
|
3459
|
-
if (data.assetModelStatus != null) {
|
|
3460
|
-
contents.assetModelStatus = de_AssetModelStatus(data.assetModelStatus, context);
|
|
3461
|
-
}
|
|
3323
|
+
const doc = take(data, {
|
|
3324
|
+
assetModelArn: __expectString,
|
|
3325
|
+
assetModelCompositeModels: _json,
|
|
3326
|
+
assetModelCreationDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3327
|
+
assetModelDescription: __expectString,
|
|
3328
|
+
assetModelHierarchies: _json,
|
|
3329
|
+
assetModelId: __expectString,
|
|
3330
|
+
assetModelLastUpdateDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3331
|
+
assetModelName: __expectString,
|
|
3332
|
+
assetModelProperties: _json,
|
|
3333
|
+
assetModelStatus: _json,
|
|
3334
|
+
});
|
|
3335
|
+
Object.assign(contents, doc);
|
|
3462
3336
|
return contents;
|
|
3463
3337
|
};
|
|
3464
3338
|
const de_DescribeAssetModelCommandError = async (output, context) => {
|
|
@@ -3482,10 +3356,9 @@ const de_DescribeAssetModelCommandError = async (output, context) => {
|
|
|
3482
3356
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3483
3357
|
default:
|
|
3484
3358
|
const parsedBody = parsedOutput.body;
|
|
3485
|
-
throwDefaultError({
|
|
3359
|
+
return throwDefaultError({
|
|
3486
3360
|
output,
|
|
3487
3361
|
parsedBody,
|
|
3488
|
-
exceptionCtor: __BaseException,
|
|
3489
3362
|
errorCode,
|
|
3490
3363
|
});
|
|
3491
3364
|
}
|
|
@@ -3498,21 +3371,14 @@ export const de_DescribeAssetPropertyCommand = async (output, context) => {
|
|
|
3498
3371
|
$metadata: deserializeMetadata(output),
|
|
3499
3372
|
});
|
|
3500
3373
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3501
|
-
|
|
3502
|
-
|
|
3503
|
-
|
|
3504
|
-
|
|
3505
|
-
|
|
3506
|
-
|
|
3507
|
-
|
|
3508
|
-
|
|
3509
|
-
}
|
|
3510
|
-
if (data.assetProperty != null) {
|
|
3511
|
-
contents.assetProperty = de_Property(data.assetProperty, context);
|
|
3512
|
-
}
|
|
3513
|
-
if (data.compositeModel != null) {
|
|
3514
|
-
contents.compositeModel = de_CompositeModelProperty(data.compositeModel, context);
|
|
3515
|
-
}
|
|
3374
|
+
const doc = take(data, {
|
|
3375
|
+
assetId: __expectString,
|
|
3376
|
+
assetModelId: __expectString,
|
|
3377
|
+
assetName: __expectString,
|
|
3378
|
+
assetProperty: _json,
|
|
3379
|
+
compositeModel: _json,
|
|
3380
|
+
});
|
|
3381
|
+
Object.assign(contents, doc);
|
|
3516
3382
|
return contents;
|
|
3517
3383
|
};
|
|
3518
3384
|
const de_DescribeAssetPropertyCommandError = async (output, context) => {
|
|
@@ -3536,10 +3402,9 @@ const de_DescribeAssetPropertyCommandError = async (output, context) => {
|
|
|
3536
3402
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3537
3403
|
default:
|
|
3538
3404
|
const parsedBody = parsedOutput.body;
|
|
3539
|
-
throwDefaultError({
|
|
3405
|
+
return throwDefaultError({
|
|
3540
3406
|
output,
|
|
3541
3407
|
parsedBody,
|
|
3542
|
-
exceptionCtor: __BaseException,
|
|
3543
3408
|
errorCode,
|
|
3544
3409
|
});
|
|
3545
3410
|
}
|
|
@@ -3552,33 +3417,18 @@ export const de_DescribeBulkImportJobCommand = async (output, context) => {
|
|
|
3552
3417
|
$metadata: deserializeMetadata(output),
|
|
3553
3418
|
});
|
|
3554
3419
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3555
|
-
|
|
3556
|
-
|
|
3557
|
-
|
|
3558
|
-
|
|
3559
|
-
|
|
3560
|
-
|
|
3561
|
-
|
|
3562
|
-
|
|
3563
|
-
|
|
3564
|
-
|
|
3565
|
-
|
|
3566
|
-
|
|
3567
|
-
if (data.jobId != null) {
|
|
3568
|
-
contents.jobId = __expectString(data.jobId);
|
|
3569
|
-
}
|
|
3570
|
-
if (data.jobLastUpdateDate != null) {
|
|
3571
|
-
contents.jobLastUpdateDate = __expectNonNull(__parseEpochTimestamp(__expectNumber(data.jobLastUpdateDate)));
|
|
3572
|
-
}
|
|
3573
|
-
if (data.jobName != null) {
|
|
3574
|
-
contents.jobName = __expectString(data.jobName);
|
|
3575
|
-
}
|
|
3576
|
-
if (data.jobRoleArn != null) {
|
|
3577
|
-
contents.jobRoleArn = __expectString(data.jobRoleArn);
|
|
3578
|
-
}
|
|
3579
|
-
if (data.jobStatus != null) {
|
|
3580
|
-
contents.jobStatus = __expectString(data.jobStatus);
|
|
3581
|
-
}
|
|
3420
|
+
const doc = take(data, {
|
|
3421
|
+
errorReportLocation: _json,
|
|
3422
|
+
files: _json,
|
|
3423
|
+
jobConfiguration: _json,
|
|
3424
|
+
jobCreationDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3425
|
+
jobId: __expectString,
|
|
3426
|
+
jobLastUpdateDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3427
|
+
jobName: __expectString,
|
|
3428
|
+
jobRoleArn: __expectString,
|
|
3429
|
+
jobStatus: __expectString,
|
|
3430
|
+
});
|
|
3431
|
+
Object.assign(contents, doc);
|
|
3582
3432
|
return contents;
|
|
3583
3433
|
};
|
|
3584
3434
|
const de_DescribeBulkImportJobCommandError = async (output, context) => {
|
|
@@ -3602,10 +3452,9 @@ const de_DescribeBulkImportJobCommandError = async (output, context) => {
|
|
|
3602
3452
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3603
3453
|
default:
|
|
3604
3454
|
const parsedBody = parsedOutput.body;
|
|
3605
|
-
throwDefaultError({
|
|
3455
|
+
return throwDefaultError({
|
|
3606
3456
|
output,
|
|
3607
3457
|
parsedBody,
|
|
3608
|
-
exceptionCtor: __BaseException,
|
|
3609
3458
|
errorCode,
|
|
3610
3459
|
});
|
|
3611
3460
|
}
|
|
@@ -3618,30 +3467,17 @@ export const de_DescribeDashboardCommand = async (output, context) => {
|
|
|
3618
3467
|
$metadata: deserializeMetadata(output),
|
|
3619
3468
|
});
|
|
3620
3469
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3621
|
-
|
|
3622
|
-
|
|
3623
|
-
|
|
3624
|
-
|
|
3625
|
-
|
|
3626
|
-
|
|
3627
|
-
|
|
3628
|
-
|
|
3629
|
-
|
|
3630
|
-
|
|
3631
|
-
|
|
3632
|
-
}
|
|
3633
|
-
if (data.dashboardId != null) {
|
|
3634
|
-
contents.dashboardId = __expectString(data.dashboardId);
|
|
3635
|
-
}
|
|
3636
|
-
if (data.dashboardLastUpdateDate != null) {
|
|
3637
|
-
contents.dashboardLastUpdateDate = __expectNonNull(__parseEpochTimestamp(__expectNumber(data.dashboardLastUpdateDate)));
|
|
3638
|
-
}
|
|
3639
|
-
if (data.dashboardName != null) {
|
|
3640
|
-
contents.dashboardName = __expectString(data.dashboardName);
|
|
3641
|
-
}
|
|
3642
|
-
if (data.projectId != null) {
|
|
3643
|
-
contents.projectId = __expectString(data.projectId);
|
|
3644
|
-
}
|
|
3470
|
+
const doc = take(data, {
|
|
3471
|
+
dashboardArn: __expectString,
|
|
3472
|
+
dashboardCreationDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3473
|
+
dashboardDefinition: __expectString,
|
|
3474
|
+
dashboardDescription: __expectString,
|
|
3475
|
+
dashboardId: __expectString,
|
|
3476
|
+
dashboardLastUpdateDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3477
|
+
dashboardName: __expectString,
|
|
3478
|
+
projectId: __expectString,
|
|
3479
|
+
});
|
|
3480
|
+
Object.assign(contents, doc);
|
|
3645
3481
|
return contents;
|
|
3646
3482
|
};
|
|
3647
3483
|
const de_DescribeDashboardCommandError = async (output, context) => {
|
|
@@ -3665,10 +3501,9 @@ const de_DescribeDashboardCommandError = async (output, context) => {
|
|
|
3665
3501
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3666
3502
|
default:
|
|
3667
3503
|
const parsedBody = parsedOutput.body;
|
|
3668
|
-
throwDefaultError({
|
|
3504
|
+
return throwDefaultError({
|
|
3669
3505
|
output,
|
|
3670
3506
|
parsedBody,
|
|
3671
|
-
exceptionCtor: __BaseException,
|
|
3672
3507
|
errorCode,
|
|
3673
3508
|
});
|
|
3674
3509
|
}
|
|
@@ -3681,15 +3516,12 @@ export const de_DescribeDefaultEncryptionConfigurationCommand = async (output, c
|
|
|
3681
3516
|
$metadata: deserializeMetadata(output),
|
|
3682
3517
|
});
|
|
3683
3518
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3684
|
-
|
|
3685
|
-
|
|
3686
|
-
|
|
3687
|
-
|
|
3688
|
-
|
|
3689
|
-
|
|
3690
|
-
if (data.kmsKeyArn != null) {
|
|
3691
|
-
contents.kmsKeyArn = __expectString(data.kmsKeyArn);
|
|
3692
|
-
}
|
|
3519
|
+
const doc = take(data, {
|
|
3520
|
+
configurationStatus: _json,
|
|
3521
|
+
encryptionType: __expectString,
|
|
3522
|
+
kmsKeyArn: __expectString,
|
|
3523
|
+
});
|
|
3524
|
+
Object.assign(contents, doc);
|
|
3693
3525
|
return contents;
|
|
3694
3526
|
};
|
|
3695
3527
|
const de_DescribeDefaultEncryptionConfigurationCommandError = async (output, context) => {
|
|
@@ -3710,10 +3542,9 @@ const de_DescribeDefaultEncryptionConfigurationCommandError = async (output, con
|
|
|
3710
3542
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3711
3543
|
default:
|
|
3712
3544
|
const parsedBody = parsedOutput.body;
|
|
3713
|
-
throwDefaultError({
|
|
3545
|
+
return throwDefaultError({
|
|
3714
3546
|
output,
|
|
3715
3547
|
parsedBody,
|
|
3716
|
-
exceptionCtor: __BaseException,
|
|
3717
3548
|
errorCode,
|
|
3718
3549
|
});
|
|
3719
3550
|
}
|
|
@@ -3726,27 +3557,16 @@ export const de_DescribeGatewayCommand = async (output, context) => {
|
|
|
3726
3557
|
$metadata: deserializeMetadata(output),
|
|
3727
3558
|
});
|
|
3728
3559
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3729
|
-
|
|
3730
|
-
|
|
3731
|
-
|
|
3732
|
-
|
|
3733
|
-
|
|
3734
|
-
|
|
3735
|
-
|
|
3736
|
-
|
|
3737
|
-
}
|
|
3738
|
-
|
|
3739
|
-
contents.gatewayId = __expectString(data.gatewayId);
|
|
3740
|
-
}
|
|
3741
|
-
if (data.gatewayName != null) {
|
|
3742
|
-
contents.gatewayName = __expectString(data.gatewayName);
|
|
3743
|
-
}
|
|
3744
|
-
if (data.gatewayPlatform != null) {
|
|
3745
|
-
contents.gatewayPlatform = de_GatewayPlatform(data.gatewayPlatform, context);
|
|
3746
|
-
}
|
|
3747
|
-
if (data.lastUpdateDate != null) {
|
|
3748
|
-
contents.lastUpdateDate = __expectNonNull(__parseEpochTimestamp(__expectNumber(data.lastUpdateDate)));
|
|
3749
|
-
}
|
|
3560
|
+
const doc = take(data, {
|
|
3561
|
+
creationDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3562
|
+
gatewayArn: __expectString,
|
|
3563
|
+
gatewayCapabilitySummaries: _json,
|
|
3564
|
+
gatewayId: __expectString,
|
|
3565
|
+
gatewayName: __expectString,
|
|
3566
|
+
gatewayPlatform: _json,
|
|
3567
|
+
lastUpdateDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3568
|
+
});
|
|
3569
|
+
Object.assign(contents, doc);
|
|
3750
3570
|
return contents;
|
|
3751
3571
|
};
|
|
3752
3572
|
const de_DescribeGatewayCommandError = async (output, context) => {
|
|
@@ -3770,10 +3590,9 @@ const de_DescribeGatewayCommandError = async (output, context) => {
|
|
|
3770
3590
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3771
3591
|
default:
|
|
3772
3592
|
const parsedBody = parsedOutput.body;
|
|
3773
|
-
throwDefaultError({
|
|
3593
|
+
return throwDefaultError({
|
|
3774
3594
|
output,
|
|
3775
3595
|
parsedBody,
|
|
3776
|
-
exceptionCtor: __BaseException,
|
|
3777
3596
|
errorCode,
|
|
3778
3597
|
});
|
|
3779
3598
|
}
|
|
@@ -3786,18 +3605,13 @@ export const de_DescribeGatewayCapabilityConfigurationCommand = async (output, c
|
|
|
3786
3605
|
$metadata: deserializeMetadata(output),
|
|
3787
3606
|
});
|
|
3788
3607
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3789
|
-
|
|
3790
|
-
|
|
3791
|
-
|
|
3792
|
-
|
|
3793
|
-
|
|
3794
|
-
}
|
|
3795
|
-
|
|
3796
|
-
contents.capabilitySyncStatus = __expectString(data.capabilitySyncStatus);
|
|
3797
|
-
}
|
|
3798
|
-
if (data.gatewayId != null) {
|
|
3799
|
-
contents.gatewayId = __expectString(data.gatewayId);
|
|
3800
|
-
}
|
|
3608
|
+
const doc = take(data, {
|
|
3609
|
+
capabilityConfiguration: __expectString,
|
|
3610
|
+
capabilityNamespace: __expectString,
|
|
3611
|
+
capabilitySyncStatus: __expectString,
|
|
3612
|
+
gatewayId: __expectString,
|
|
3613
|
+
});
|
|
3614
|
+
Object.assign(contents, doc);
|
|
3801
3615
|
return contents;
|
|
3802
3616
|
};
|
|
3803
3617
|
const de_DescribeGatewayCapabilityConfigurationCommandError = async (output, context) => {
|
|
@@ -3821,10 +3635,9 @@ const de_DescribeGatewayCapabilityConfigurationCommandError = async (output, con
|
|
|
3821
3635
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3822
3636
|
default:
|
|
3823
3637
|
const parsedBody = parsedOutput.body;
|
|
3824
|
-
throwDefaultError({
|
|
3638
|
+
return throwDefaultError({
|
|
3825
3639
|
output,
|
|
3826
3640
|
parsedBody,
|
|
3827
|
-
exceptionCtor: __BaseException,
|
|
3828
3641
|
errorCode,
|
|
3829
3642
|
});
|
|
3830
3643
|
}
|
|
@@ -3837,9 +3650,10 @@ export const de_DescribeLoggingOptionsCommand = async (output, context) => {
|
|
|
3837
3650
|
$metadata: deserializeMetadata(output),
|
|
3838
3651
|
});
|
|
3839
3652
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3840
|
-
|
|
3841
|
-
|
|
3842
|
-
}
|
|
3653
|
+
const doc = take(data, {
|
|
3654
|
+
loggingOptions: _json,
|
|
3655
|
+
});
|
|
3656
|
+
Object.assign(contents, doc);
|
|
3843
3657
|
return contents;
|
|
3844
3658
|
};
|
|
3845
3659
|
const de_DescribeLoggingOptionsCommandError = async (output, context) => {
|
|
@@ -3863,10 +3677,9 @@ const de_DescribeLoggingOptionsCommandError = async (output, context) => {
|
|
|
3863
3677
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3864
3678
|
default:
|
|
3865
3679
|
const parsedBody = parsedOutput.body;
|
|
3866
|
-
throwDefaultError({
|
|
3680
|
+
return throwDefaultError({
|
|
3867
3681
|
output,
|
|
3868
3682
|
parsedBody,
|
|
3869
|
-
exceptionCtor: __BaseException,
|
|
3870
3683
|
errorCode,
|
|
3871
3684
|
});
|
|
3872
3685
|
}
|
|
@@ -3879,51 +3692,24 @@ export const de_DescribePortalCommand = async (output, context) => {
|
|
|
3879
3692
|
$metadata: deserializeMetadata(output),
|
|
3880
3693
|
});
|
|
3881
3694
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3882
|
-
|
|
3883
|
-
|
|
3884
|
-
|
|
3885
|
-
|
|
3886
|
-
|
|
3887
|
-
|
|
3888
|
-
|
|
3889
|
-
|
|
3890
|
-
|
|
3891
|
-
|
|
3892
|
-
|
|
3893
|
-
|
|
3894
|
-
|
|
3895
|
-
|
|
3896
|
-
|
|
3897
|
-
|
|
3898
|
-
|
|
3899
|
-
|
|
3900
|
-
if (data.portalCreationDate != null) {
|
|
3901
|
-
contents.portalCreationDate = __expectNonNull(__parseEpochTimestamp(__expectNumber(data.portalCreationDate)));
|
|
3902
|
-
}
|
|
3903
|
-
if (data.portalDescription != null) {
|
|
3904
|
-
contents.portalDescription = __expectString(data.portalDescription);
|
|
3905
|
-
}
|
|
3906
|
-
if (data.portalId != null) {
|
|
3907
|
-
contents.portalId = __expectString(data.portalId);
|
|
3908
|
-
}
|
|
3909
|
-
if (data.portalLastUpdateDate != null) {
|
|
3910
|
-
contents.portalLastUpdateDate = __expectNonNull(__parseEpochTimestamp(__expectNumber(data.portalLastUpdateDate)));
|
|
3911
|
-
}
|
|
3912
|
-
if (data.portalLogoImageLocation != null) {
|
|
3913
|
-
contents.portalLogoImageLocation = de_ImageLocation(data.portalLogoImageLocation, context);
|
|
3914
|
-
}
|
|
3915
|
-
if (data.portalName != null) {
|
|
3916
|
-
contents.portalName = __expectString(data.portalName);
|
|
3917
|
-
}
|
|
3918
|
-
if (data.portalStartUrl != null) {
|
|
3919
|
-
contents.portalStartUrl = __expectString(data.portalStartUrl);
|
|
3920
|
-
}
|
|
3921
|
-
if (data.portalStatus != null) {
|
|
3922
|
-
contents.portalStatus = de_PortalStatus(data.portalStatus, context);
|
|
3923
|
-
}
|
|
3924
|
-
if (data.roleArn != null) {
|
|
3925
|
-
contents.roleArn = __expectString(data.roleArn);
|
|
3926
|
-
}
|
|
3695
|
+
const doc = take(data, {
|
|
3696
|
+
alarms: _json,
|
|
3697
|
+
notificationSenderEmail: __expectString,
|
|
3698
|
+
portalArn: __expectString,
|
|
3699
|
+
portalAuthMode: __expectString,
|
|
3700
|
+
portalClientId: __expectString,
|
|
3701
|
+
portalContactEmail: __expectString,
|
|
3702
|
+
portalCreationDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3703
|
+
portalDescription: __expectString,
|
|
3704
|
+
portalId: __expectString,
|
|
3705
|
+
portalLastUpdateDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3706
|
+
portalLogoImageLocation: _json,
|
|
3707
|
+
portalName: __expectString,
|
|
3708
|
+
portalStartUrl: __expectString,
|
|
3709
|
+
portalStatus: _json,
|
|
3710
|
+
roleArn: __expectString,
|
|
3711
|
+
});
|
|
3712
|
+
Object.assign(contents, doc);
|
|
3927
3713
|
return contents;
|
|
3928
3714
|
};
|
|
3929
3715
|
const de_DescribePortalCommandError = async (output, context) => {
|
|
@@ -3947,10 +3733,9 @@ const de_DescribePortalCommandError = async (output, context) => {
|
|
|
3947
3733
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
3948
3734
|
default:
|
|
3949
3735
|
const parsedBody = parsedOutput.body;
|
|
3950
|
-
throwDefaultError({
|
|
3736
|
+
return throwDefaultError({
|
|
3951
3737
|
output,
|
|
3952
3738
|
parsedBody,
|
|
3953
|
-
exceptionCtor: __BaseException,
|
|
3954
3739
|
errorCode,
|
|
3955
3740
|
});
|
|
3956
3741
|
}
|
|
@@ -3963,27 +3748,16 @@ export const de_DescribeProjectCommand = async (output, context) => {
|
|
|
3963
3748
|
$metadata: deserializeMetadata(output),
|
|
3964
3749
|
});
|
|
3965
3750
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3966
|
-
|
|
3967
|
-
|
|
3968
|
-
|
|
3969
|
-
|
|
3970
|
-
|
|
3971
|
-
|
|
3972
|
-
|
|
3973
|
-
|
|
3974
|
-
}
|
|
3975
|
-
|
|
3976
|
-
contents.projectDescription = __expectString(data.projectDescription);
|
|
3977
|
-
}
|
|
3978
|
-
if (data.projectId != null) {
|
|
3979
|
-
contents.projectId = __expectString(data.projectId);
|
|
3980
|
-
}
|
|
3981
|
-
if (data.projectLastUpdateDate != null) {
|
|
3982
|
-
contents.projectLastUpdateDate = __expectNonNull(__parseEpochTimestamp(__expectNumber(data.projectLastUpdateDate)));
|
|
3983
|
-
}
|
|
3984
|
-
if (data.projectName != null) {
|
|
3985
|
-
contents.projectName = __expectString(data.projectName);
|
|
3986
|
-
}
|
|
3751
|
+
const doc = take(data, {
|
|
3752
|
+
portalId: __expectString,
|
|
3753
|
+
projectArn: __expectString,
|
|
3754
|
+
projectCreationDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3755
|
+
projectDescription: __expectString,
|
|
3756
|
+
projectId: __expectString,
|
|
3757
|
+
projectLastUpdateDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3758
|
+
projectName: __expectString,
|
|
3759
|
+
});
|
|
3760
|
+
Object.assign(contents, doc);
|
|
3987
3761
|
return contents;
|
|
3988
3762
|
};
|
|
3989
3763
|
const de_DescribeProjectCommandError = async (output, context) => {
|
|
@@ -4007,10 +3781,9 @@ const de_DescribeProjectCommandError = async (output, context) => {
|
|
|
4007
3781
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
4008
3782
|
default:
|
|
4009
3783
|
const parsedBody = parsedOutput.body;
|
|
4010
|
-
throwDefaultError({
|
|
3784
|
+
return throwDefaultError({
|
|
4011
3785
|
output,
|
|
4012
3786
|
parsedBody,
|
|
4013
|
-
exceptionCtor: __BaseException,
|
|
4014
3787
|
errorCode,
|
|
4015
3788
|
});
|
|
4016
3789
|
}
|
|
@@ -4023,24 +3796,15 @@ export const de_DescribeStorageConfigurationCommand = async (output, context) =>
|
|
|
4023
3796
|
$metadata: deserializeMetadata(output),
|
|
4024
3797
|
});
|
|
4025
3798
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
4026
|
-
|
|
4027
|
-
|
|
4028
|
-
|
|
4029
|
-
|
|
4030
|
-
|
|
4031
|
-
|
|
4032
|
-
|
|
4033
|
-
|
|
4034
|
-
|
|
4035
|
-
if (data.multiLayerStorage != null) {
|
|
4036
|
-
contents.multiLayerStorage = de_MultiLayerStorage(data.multiLayerStorage, context);
|
|
4037
|
-
}
|
|
4038
|
-
if (data.retentionPeriod != null) {
|
|
4039
|
-
contents.retentionPeriod = de_RetentionPeriod(data.retentionPeriod, context);
|
|
4040
|
-
}
|
|
4041
|
-
if (data.storageType != null) {
|
|
4042
|
-
contents.storageType = __expectString(data.storageType);
|
|
4043
|
-
}
|
|
3799
|
+
const doc = take(data, {
|
|
3800
|
+
configurationStatus: _json,
|
|
3801
|
+
disassociatedDataStorage: __expectString,
|
|
3802
|
+
lastUpdateDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3803
|
+
multiLayerStorage: _json,
|
|
3804
|
+
retentionPeriod: _json,
|
|
3805
|
+
storageType: __expectString,
|
|
3806
|
+
});
|
|
3807
|
+
Object.assign(contents, doc);
|
|
4044
3808
|
return contents;
|
|
4045
3809
|
};
|
|
4046
3810
|
const de_DescribeStorageConfigurationCommandError = async (output, context) => {
|
|
@@ -4070,10 +3834,9 @@ const de_DescribeStorageConfigurationCommandError = async (output, context) => {
|
|
|
4070
3834
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
4071
3835
|
default:
|
|
4072
3836
|
const parsedBody = parsedOutput.body;
|
|
4073
|
-
throwDefaultError({
|
|
3837
|
+
return throwDefaultError({
|
|
4074
3838
|
output,
|
|
4075
3839
|
parsedBody,
|
|
4076
|
-
exceptionCtor: __BaseException,
|
|
4077
3840
|
errorCode,
|
|
4078
3841
|
});
|
|
4079
3842
|
}
|
|
@@ -4086,33 +3849,18 @@ export const de_DescribeTimeSeriesCommand = async (output, context) => {
|
|
|
4086
3849
|
$metadata: deserializeMetadata(output),
|
|
4087
3850
|
});
|
|
4088
3851
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
4089
|
-
|
|
4090
|
-
|
|
4091
|
-
|
|
4092
|
-
|
|
4093
|
-
|
|
4094
|
-
|
|
4095
|
-
|
|
4096
|
-
|
|
4097
|
-
|
|
4098
|
-
|
|
4099
|
-
|
|
4100
|
-
|
|
4101
|
-
if (data.propertyId != null) {
|
|
4102
|
-
contents.propertyId = __expectString(data.propertyId);
|
|
4103
|
-
}
|
|
4104
|
-
if (data.timeSeriesArn != null) {
|
|
4105
|
-
contents.timeSeriesArn = __expectString(data.timeSeriesArn);
|
|
4106
|
-
}
|
|
4107
|
-
if (data.timeSeriesCreationDate != null) {
|
|
4108
|
-
contents.timeSeriesCreationDate = __expectNonNull(__parseEpochTimestamp(__expectNumber(data.timeSeriesCreationDate)));
|
|
4109
|
-
}
|
|
4110
|
-
if (data.timeSeriesId != null) {
|
|
4111
|
-
contents.timeSeriesId = __expectString(data.timeSeriesId);
|
|
4112
|
-
}
|
|
4113
|
-
if (data.timeSeriesLastUpdateDate != null) {
|
|
4114
|
-
contents.timeSeriesLastUpdateDate = __expectNonNull(__parseEpochTimestamp(__expectNumber(data.timeSeriesLastUpdateDate)));
|
|
4115
|
-
}
|
|
3852
|
+
const doc = take(data, {
|
|
3853
|
+
alias: __expectString,
|
|
3854
|
+
assetId: __expectString,
|
|
3855
|
+
dataType: __expectString,
|
|
3856
|
+
dataTypeSpec: __expectString,
|
|
3857
|
+
propertyId: __expectString,
|
|
3858
|
+
timeSeriesArn: __expectString,
|
|
3859
|
+
timeSeriesCreationDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3860
|
+
timeSeriesId: __expectString,
|
|
3861
|
+
timeSeriesLastUpdateDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3862
|
+
});
|
|
3863
|
+
Object.assign(contents, doc);
|
|
4116
3864
|
return contents;
|
|
4117
3865
|
};
|
|
4118
3866
|
const de_DescribeTimeSeriesCommandError = async (output, context) => {
|
|
@@ -4136,10 +3884,9 @@ const de_DescribeTimeSeriesCommandError = async (output, context) => {
|
|
|
4136
3884
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
4137
3885
|
default:
|
|
4138
3886
|
const parsedBody = parsedOutput.body;
|
|
4139
|
-
throwDefaultError({
|
|
3887
|
+
return throwDefaultError({
|
|
4140
3888
|
output,
|
|
4141
3889
|
parsedBody,
|
|
4142
|
-
exceptionCtor: __BaseException,
|
|
4143
3890
|
errorCode,
|
|
4144
3891
|
});
|
|
4145
3892
|
}
|
|
@@ -4178,10 +3925,9 @@ const de_DisassociateAssetsCommandError = async (output, context) => {
|
|
|
4178
3925
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
4179
3926
|
default:
|
|
4180
3927
|
const parsedBody = parsedOutput.body;
|
|
4181
|
-
throwDefaultError({
|
|
3928
|
+
return throwDefaultError({
|
|
4182
3929
|
output,
|
|
4183
3930
|
parsedBody,
|
|
4184
|
-
exceptionCtor: __BaseException,
|
|
4185
3931
|
errorCode,
|
|
4186
3932
|
});
|
|
4187
3933
|
}
|
|
@@ -4220,10 +3966,9 @@ const de_DisassociateTimeSeriesFromAssetPropertyCommandError = async (output, co
|
|
|
4220
3966
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
4221
3967
|
default:
|
|
4222
3968
|
const parsedBody = parsedOutput.body;
|
|
4223
|
-
throwDefaultError({
|
|
3969
|
+
return throwDefaultError({
|
|
4224
3970
|
output,
|
|
4225
3971
|
parsedBody,
|
|
4226
|
-
exceptionCtor: __BaseException,
|
|
4227
3972
|
errorCode,
|
|
4228
3973
|
});
|
|
4229
3974
|
}
|
|
@@ -4236,12 +3981,11 @@ export const de_GetAssetPropertyAggregatesCommand = async (output, context) => {
|
|
|
4236
3981
|
$metadata: deserializeMetadata(output),
|
|
4237
3982
|
});
|
|
4238
3983
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
4239
|
-
|
|
4240
|
-
|
|
4241
|
-
|
|
4242
|
-
|
|
4243
|
-
|
|
4244
|
-
}
|
|
3984
|
+
const doc = take(data, {
|
|
3985
|
+
aggregatedValues: (_) => de_AggregatedValues(_, context),
|
|
3986
|
+
nextToken: __expectString,
|
|
3987
|
+
});
|
|
3988
|
+
Object.assign(contents, doc);
|
|
4245
3989
|
return contents;
|
|
4246
3990
|
};
|
|
4247
3991
|
const de_GetAssetPropertyAggregatesCommandError = async (output, context) => {
|
|
@@ -4268,10 +4012,9 @@ const de_GetAssetPropertyAggregatesCommandError = async (output, context) => {
|
|
|
4268
4012
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
4269
4013
|
default:
|
|
4270
4014
|
const parsedBody = parsedOutput.body;
|
|
4271
|
-
throwDefaultError({
|
|
4015
|
+
return throwDefaultError({
|
|
4272
4016
|
output,
|
|
4273
4017
|
parsedBody,
|
|
4274
|
-
exceptionCtor: __BaseException,
|
|
4275
4018
|
errorCode,
|
|
4276
4019
|
});
|
|
4277
4020
|
}
|
|
@@ -4284,9 +4027,10 @@ export const de_GetAssetPropertyValueCommand = async (output, context) => {
|
|
|
4284
4027
|
$metadata: deserializeMetadata(output),
|
|
4285
4028
|
});
|
|
4286
4029
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
4287
|
-
|
|
4288
|
-
|
|
4289
|
-
}
|
|
4030
|
+
const doc = take(data, {
|
|
4031
|
+
propertyValue: (_) => de_AssetPropertyValue(_, context),
|
|
4032
|
+
});
|
|
4033
|
+
Object.assign(contents, doc);
|
|
4290
4034
|
return contents;
|
|
4291
4035
|
};
|
|
4292
4036
|
const de_GetAssetPropertyValueCommandError = async (output, context) => {
|
|
@@ -4313,10 +4057,9 @@ const de_GetAssetPropertyValueCommandError = async (output, context) => {
|
|
|
4313
4057
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
4314
4058
|
default:
|
|
4315
4059
|
const parsedBody = parsedOutput.body;
|
|
4316
|
-
throwDefaultError({
|
|
4060
|
+
return throwDefaultError({
|
|
4317
4061
|
output,
|
|
4318
4062
|
parsedBody,
|
|
4319
|
-
exceptionCtor: __BaseException,
|
|
4320
4063
|
errorCode,
|
|
4321
4064
|
});
|
|
4322
4065
|
}
|
|
@@ -4329,12 +4072,11 @@ export const de_GetAssetPropertyValueHistoryCommand = async (output, context) =>
|
|
|
4329
4072
|
$metadata: deserializeMetadata(output),
|
|
4330
4073
|
});
|
|
4331
4074
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
4332
|
-
|
|
4333
|
-
|
|
4334
|
-
|
|
4335
|
-
|
|
4336
|
-
|
|
4337
|
-
}
|
|
4075
|
+
const doc = take(data, {
|
|
4076
|
+
assetPropertyValueHistory: (_) => de_AssetPropertyValueHistory(_, context),
|
|
4077
|
+
nextToken: __expectString,
|
|
4078
|
+
});
|
|
4079
|
+
Object.assign(contents, doc);
|
|
4338
4080
|
return contents;
|
|
4339
4081
|
};
|
|
4340
4082
|
const de_GetAssetPropertyValueHistoryCommandError = async (output, context) => {
|
|
@@ -4361,10 +4103,9 @@ const de_GetAssetPropertyValueHistoryCommandError = async (output, context) => {
|
|
|
4361
4103
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
4362
4104
|
default:
|
|
4363
4105
|
const parsedBody = parsedOutput.body;
|
|
4364
|
-
throwDefaultError({
|
|
4106
|
+
return throwDefaultError({
|
|
4365
4107
|
output,
|
|
4366
4108
|
parsedBody,
|
|
4367
|
-
exceptionCtor: __BaseException,
|
|
4368
4109
|
errorCode,
|
|
4369
4110
|
});
|
|
4370
4111
|
}
|
|
@@ -4377,12 +4118,11 @@ export const de_GetInterpolatedAssetPropertyValuesCommand = async (output, conte
|
|
|
4377
4118
|
$metadata: deserializeMetadata(output),
|
|
4378
4119
|
});
|
|
4379
4120
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
4380
|
-
|
|
4381
|
-
|
|
4382
|
-
|
|
4383
|
-
|
|
4384
|
-
|
|
4385
|
-
}
|
|
4121
|
+
const doc = take(data, {
|
|
4122
|
+
interpolatedAssetPropertyValues: (_) => de_InterpolatedAssetPropertyValues(_, context),
|
|
4123
|
+
nextToken: __expectString,
|
|
4124
|
+
});
|
|
4125
|
+
Object.assign(contents, doc);
|
|
4386
4126
|
return contents;
|
|
4387
4127
|
};
|
|
4388
4128
|
const de_GetInterpolatedAssetPropertyValuesCommandError = async (output, context) => {
|
|
@@ -4409,10 +4149,9 @@ const de_GetInterpolatedAssetPropertyValuesCommandError = async (output, context
|
|
|
4409
4149
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
4410
4150
|
default:
|
|
4411
4151
|
const parsedBody = parsedOutput.body;
|
|
4412
|
-
throwDefaultError({
|
|
4152
|
+
return throwDefaultError({
|
|
4413
4153
|
output,
|
|
4414
4154
|
parsedBody,
|
|
4415
|
-
exceptionCtor: __BaseException,
|
|
4416
4155
|
errorCode,
|
|
4417
4156
|
});
|
|
4418
4157
|
}
|
|
@@ -4425,12 +4164,11 @@ export const de_ListAccessPoliciesCommand = async (output, context) => {
|
|
|
4425
4164
|
$metadata: deserializeMetadata(output),
|
|
4426
4165
|
});
|
|
4427
4166
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
4428
|
-
|
|
4429
|
-
|
|
4430
|
-
|
|
4431
|
-
|
|
4432
|
-
|
|
4433
|
-
}
|
|
4167
|
+
const doc = take(data, {
|
|
4168
|
+
accessPolicySummaries: (_) => de_AccessPolicySummaries(_, context),
|
|
4169
|
+
nextToken: __expectString,
|
|
4170
|
+
});
|
|
4171
|
+
Object.assign(contents, doc);
|
|
4434
4172
|
return contents;
|
|
4435
4173
|
};
|
|
4436
4174
|
const de_ListAccessPoliciesCommandError = async (output, context) => {
|
|
@@ -4451,10 +4189,9 @@ const de_ListAccessPoliciesCommandError = async (output, context) => {
|
|
|
4451
4189
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
4452
4190
|
default:
|
|
4453
4191
|
const parsedBody = parsedOutput.body;
|
|
4454
|
-
throwDefaultError({
|
|
4192
|
+
return throwDefaultError({
|
|
4455
4193
|
output,
|
|
4456
4194
|
parsedBody,
|
|
4457
|
-
exceptionCtor: __BaseException,
|
|
4458
4195
|
errorCode,
|
|
4459
4196
|
});
|
|
4460
4197
|
}
|
|
@@ -4467,12 +4204,11 @@ export const de_ListAssetModelPropertiesCommand = async (output, context) => {
|
|
|
4467
4204
|
$metadata: deserializeMetadata(output),
|
|
4468
4205
|
});
|
|
4469
4206
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
4470
|
-
|
|
4471
|
-
|
|
4472
|
-
|
|
4473
|
-
|
|
4474
|
-
|
|
4475
|
-
}
|
|
4207
|
+
const doc = take(data, {
|
|
4208
|
+
assetModelPropertySummaries: _json,
|
|
4209
|
+
nextToken: __expectString,
|
|
4210
|
+
});
|
|
4211
|
+
Object.assign(contents, doc);
|
|
4476
4212
|
return contents;
|
|
4477
4213
|
};
|
|
4478
4214
|
const de_ListAssetModelPropertiesCommandError = async (output, context) => {
|
|
@@ -4496,10 +4232,9 @@ const de_ListAssetModelPropertiesCommandError = async (output, context) => {
|
|
|
4496
4232
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
4497
4233
|
default:
|
|
4498
4234
|
const parsedBody = parsedOutput.body;
|
|
4499
|
-
throwDefaultError({
|
|
4235
|
+
return throwDefaultError({
|
|
4500
4236
|
output,
|
|
4501
4237
|
parsedBody,
|
|
4502
|
-
exceptionCtor: __BaseException,
|
|
4503
4238
|
errorCode,
|
|
4504
4239
|
});
|
|
4505
4240
|
}
|
|
@@ -4512,12 +4247,11 @@ export const de_ListAssetModelsCommand = async (output, context) => {
|
|
|
4512
4247
|
$metadata: deserializeMetadata(output),
|
|
4513
4248
|
});
|
|
4514
4249
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
4515
|
-
|
|
4516
|
-
|
|
4517
|
-
|
|
4518
|
-
|
|
4519
|
-
|
|
4520
|
-
}
|
|
4250
|
+
const doc = take(data, {
|
|
4251
|
+
assetModelSummaries: (_) => de_AssetModelSummaries(_, context),
|
|
4252
|
+
nextToken: __expectString,
|
|
4253
|
+
});
|
|
4254
|
+
Object.assign(contents, doc);
|
|
4521
4255
|
return contents;
|
|
4522
4256
|
};
|
|
4523
4257
|
const de_ListAssetModelsCommandError = async (output, context) => {
|
|
@@ -4538,10 +4272,9 @@ const de_ListAssetModelsCommandError = async (output, context) => {
|
|
|
4538
4272
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
4539
4273
|
default:
|
|
4540
4274
|
const parsedBody = parsedOutput.body;
|
|
4541
|
-
throwDefaultError({
|
|
4275
|
+
return throwDefaultError({
|
|
4542
4276
|
output,
|
|
4543
4277
|
parsedBody,
|
|
4544
|
-
exceptionCtor: __BaseException,
|
|
4545
4278
|
errorCode,
|
|
4546
4279
|
});
|
|
4547
4280
|
}
|
|
@@ -4554,12 +4287,11 @@ export const de_ListAssetPropertiesCommand = async (output, context) => {
|
|
|
4554
4287
|
$metadata: deserializeMetadata(output),
|
|
4555
4288
|
});
|
|
4556
4289
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
4557
|
-
|
|
4558
|
-
|
|
4559
|
-
|
|
4560
|
-
|
|
4561
|
-
|
|
4562
|
-
}
|
|
4290
|
+
const doc = take(data, {
|
|
4291
|
+
assetPropertySummaries: _json,
|
|
4292
|
+
nextToken: __expectString,
|
|
4293
|
+
});
|
|
4294
|
+
Object.assign(contents, doc);
|
|
4563
4295
|
return contents;
|
|
4564
4296
|
};
|
|
4565
4297
|
const de_ListAssetPropertiesCommandError = async (output, context) => {
|
|
@@ -4583,10 +4315,9 @@ const de_ListAssetPropertiesCommandError = async (output, context) => {
|
|
|
4583
4315
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
4584
4316
|
default:
|
|
4585
4317
|
const parsedBody = parsedOutput.body;
|
|
4586
|
-
throwDefaultError({
|
|
4318
|
+
return throwDefaultError({
|
|
4587
4319
|
output,
|
|
4588
4320
|
parsedBody,
|
|
4589
|
-
exceptionCtor: __BaseException,
|
|
4590
4321
|
errorCode,
|
|
4591
4322
|
});
|
|
4592
4323
|
}
|
|
@@ -4599,12 +4330,11 @@ export const de_ListAssetRelationshipsCommand = async (output, context) => {
|
|
|
4599
4330
|
$metadata: deserializeMetadata(output),
|
|
4600
4331
|
});
|
|
4601
4332
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
4602
|
-
|
|
4603
|
-
|
|
4604
|
-
|
|
4605
|
-
|
|
4606
|
-
|
|
4607
|
-
}
|
|
4333
|
+
const doc = take(data, {
|
|
4334
|
+
assetRelationshipSummaries: _json,
|
|
4335
|
+
nextToken: __expectString,
|
|
4336
|
+
});
|
|
4337
|
+
Object.assign(contents, doc);
|
|
4608
4338
|
return contents;
|
|
4609
4339
|
};
|
|
4610
4340
|
const de_ListAssetRelationshipsCommandError = async (output, context) => {
|
|
@@ -4628,10 +4358,9 @@ const de_ListAssetRelationshipsCommandError = async (output, context) => {
|
|
|
4628
4358
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
4629
4359
|
default:
|
|
4630
4360
|
const parsedBody = parsedOutput.body;
|
|
4631
|
-
throwDefaultError({
|
|
4361
|
+
return throwDefaultError({
|
|
4632
4362
|
output,
|
|
4633
4363
|
parsedBody,
|
|
4634
|
-
exceptionCtor: __BaseException,
|
|
4635
4364
|
errorCode,
|
|
4636
4365
|
});
|
|
4637
4366
|
}
|
|
@@ -4644,12 +4373,11 @@ export const de_ListAssetsCommand = async (output, context) => {
|
|
|
4644
4373
|
$metadata: deserializeMetadata(output),
|
|
4645
4374
|
});
|
|
4646
4375
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
4647
|
-
|
|
4648
|
-
|
|
4649
|
-
|
|
4650
|
-
|
|
4651
|
-
|
|
4652
|
-
}
|
|
4376
|
+
const doc = take(data, {
|
|
4377
|
+
assetSummaries: (_) => de_AssetSummaries(_, context),
|
|
4378
|
+
nextToken: __expectString,
|
|
4379
|
+
});
|
|
4380
|
+
Object.assign(contents, doc);
|
|
4653
4381
|
return contents;
|
|
4654
4382
|
};
|
|
4655
4383
|
const de_ListAssetsCommandError = async (output, context) => {
|
|
@@ -4673,10 +4401,9 @@ const de_ListAssetsCommandError = async (output, context) => {
|
|
|
4673
4401
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
4674
4402
|
default:
|
|
4675
4403
|
const parsedBody = parsedOutput.body;
|
|
4676
|
-
throwDefaultError({
|
|
4404
|
+
return throwDefaultError({
|
|
4677
4405
|
output,
|
|
4678
4406
|
parsedBody,
|
|
4679
|
-
exceptionCtor: __BaseException,
|
|
4680
4407
|
errorCode,
|
|
4681
4408
|
});
|
|
4682
4409
|
}
|
|
@@ -4689,12 +4416,11 @@ export const de_ListAssociatedAssetsCommand = async (output, context) => {
|
|
|
4689
4416
|
$metadata: deserializeMetadata(output),
|
|
4690
4417
|
});
|
|
4691
4418
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
4692
|
-
|
|
4693
|
-
|
|
4694
|
-
|
|
4695
|
-
|
|
4696
|
-
|
|
4697
|
-
}
|
|
4419
|
+
const doc = take(data, {
|
|
4420
|
+
assetSummaries: (_) => de_AssociatedAssetsSummaries(_, context),
|
|
4421
|
+
nextToken: __expectString,
|
|
4422
|
+
});
|
|
4423
|
+
Object.assign(contents, doc);
|
|
4698
4424
|
return contents;
|
|
4699
4425
|
};
|
|
4700
4426
|
const de_ListAssociatedAssetsCommandError = async (output, context) => {
|
|
@@ -4718,10 +4444,9 @@ const de_ListAssociatedAssetsCommandError = async (output, context) => {
|
|
|
4718
4444
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
4719
4445
|
default:
|
|
4720
4446
|
const parsedBody = parsedOutput.body;
|
|
4721
|
-
throwDefaultError({
|
|
4447
|
+
return throwDefaultError({
|
|
4722
4448
|
output,
|
|
4723
4449
|
parsedBody,
|
|
4724
|
-
exceptionCtor: __BaseException,
|
|
4725
4450
|
errorCode,
|
|
4726
4451
|
});
|
|
4727
4452
|
}
|
|
@@ -4734,12 +4459,11 @@ export const de_ListBulkImportJobsCommand = async (output, context) => {
|
|
|
4734
4459
|
$metadata: deserializeMetadata(output),
|
|
4735
4460
|
});
|
|
4736
4461
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
4737
|
-
|
|
4738
|
-
|
|
4739
|
-
|
|
4740
|
-
|
|
4741
|
-
|
|
4742
|
-
}
|
|
4462
|
+
const doc = take(data, {
|
|
4463
|
+
jobSummaries: _json,
|
|
4464
|
+
nextToken: __expectString,
|
|
4465
|
+
});
|
|
4466
|
+
Object.assign(contents, doc);
|
|
4743
4467
|
return contents;
|
|
4744
4468
|
};
|
|
4745
4469
|
const de_ListBulkImportJobsCommandError = async (output, context) => {
|
|
@@ -4763,10 +4487,9 @@ const de_ListBulkImportJobsCommandError = async (output, context) => {
|
|
|
4763
4487
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
4764
4488
|
default:
|
|
4765
4489
|
const parsedBody = parsedOutput.body;
|
|
4766
|
-
throwDefaultError({
|
|
4490
|
+
return throwDefaultError({
|
|
4767
4491
|
output,
|
|
4768
4492
|
parsedBody,
|
|
4769
|
-
exceptionCtor: __BaseException,
|
|
4770
4493
|
errorCode,
|
|
4771
4494
|
});
|
|
4772
4495
|
}
|
|
@@ -4779,12 +4502,11 @@ export const de_ListDashboardsCommand = async (output, context) => {
|
|
|
4779
4502
|
$metadata: deserializeMetadata(output),
|
|
4780
4503
|
});
|
|
4781
4504
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
4782
|
-
|
|
4783
|
-
|
|
4784
|
-
|
|
4785
|
-
|
|
4786
|
-
|
|
4787
|
-
}
|
|
4505
|
+
const doc = take(data, {
|
|
4506
|
+
dashboardSummaries: (_) => de_DashboardSummaries(_, context),
|
|
4507
|
+
nextToken: __expectString,
|
|
4508
|
+
});
|
|
4509
|
+
Object.assign(contents, doc);
|
|
4788
4510
|
return contents;
|
|
4789
4511
|
};
|
|
4790
4512
|
const de_ListDashboardsCommandError = async (output, context) => {
|
|
@@ -4805,10 +4527,9 @@ const de_ListDashboardsCommandError = async (output, context) => {
|
|
|
4805
4527
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
4806
4528
|
default:
|
|
4807
4529
|
const parsedBody = parsedOutput.body;
|
|
4808
|
-
throwDefaultError({
|
|
4530
|
+
return throwDefaultError({
|
|
4809
4531
|
output,
|
|
4810
4532
|
parsedBody,
|
|
4811
|
-
exceptionCtor: __BaseException,
|
|
4812
4533
|
errorCode,
|
|
4813
4534
|
});
|
|
4814
4535
|
}
|
|
@@ -4821,12 +4542,11 @@ export const de_ListGatewaysCommand = async (output, context) => {
|
|
|
4821
4542
|
$metadata: deserializeMetadata(output),
|
|
4822
4543
|
});
|
|
4823
4544
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
4824
|
-
|
|
4825
|
-
|
|
4826
|
-
|
|
4827
|
-
|
|
4828
|
-
|
|
4829
|
-
}
|
|
4545
|
+
const doc = take(data, {
|
|
4546
|
+
gatewaySummaries: (_) => de_GatewaySummaries(_, context),
|
|
4547
|
+
nextToken: __expectString,
|
|
4548
|
+
});
|
|
4549
|
+
Object.assign(contents, doc);
|
|
4830
4550
|
return contents;
|
|
4831
4551
|
};
|
|
4832
4552
|
const de_ListGatewaysCommandError = async (output, context) => {
|
|
@@ -4847,10 +4567,9 @@ const de_ListGatewaysCommandError = async (output, context) => {
|
|
|
4847
4567
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
4848
4568
|
default:
|
|
4849
4569
|
const parsedBody = parsedOutput.body;
|
|
4850
|
-
throwDefaultError({
|
|
4570
|
+
return throwDefaultError({
|
|
4851
4571
|
output,
|
|
4852
4572
|
parsedBody,
|
|
4853
|
-
exceptionCtor: __BaseException,
|
|
4854
4573
|
errorCode,
|
|
4855
4574
|
});
|
|
4856
4575
|
}
|
|
@@ -4863,12 +4582,11 @@ export const de_ListPortalsCommand = async (output, context) => {
|
|
|
4863
4582
|
$metadata: deserializeMetadata(output),
|
|
4864
4583
|
});
|
|
4865
4584
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
4866
|
-
|
|
4867
|
-
|
|
4868
|
-
|
|
4869
|
-
|
|
4870
|
-
|
|
4871
|
-
}
|
|
4585
|
+
const doc = take(data, {
|
|
4586
|
+
nextToken: __expectString,
|
|
4587
|
+
portalSummaries: (_) => de_PortalSummaries(_, context),
|
|
4588
|
+
});
|
|
4589
|
+
Object.assign(contents, doc);
|
|
4872
4590
|
return contents;
|
|
4873
4591
|
};
|
|
4874
4592
|
const de_ListPortalsCommandError = async (output, context) => {
|
|
@@ -4889,10 +4607,9 @@ const de_ListPortalsCommandError = async (output, context) => {
|
|
|
4889
4607
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
4890
4608
|
default:
|
|
4891
4609
|
const parsedBody = parsedOutput.body;
|
|
4892
|
-
throwDefaultError({
|
|
4610
|
+
return throwDefaultError({
|
|
4893
4611
|
output,
|
|
4894
4612
|
parsedBody,
|
|
4895
|
-
exceptionCtor: __BaseException,
|
|
4896
4613
|
errorCode,
|
|
4897
4614
|
});
|
|
4898
4615
|
}
|
|
@@ -4905,12 +4622,11 @@ export const de_ListProjectAssetsCommand = async (output, context) => {
|
|
|
4905
4622
|
$metadata: deserializeMetadata(output),
|
|
4906
4623
|
});
|
|
4907
4624
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
4908
|
-
|
|
4909
|
-
|
|
4910
|
-
|
|
4911
|
-
|
|
4912
|
-
|
|
4913
|
-
}
|
|
4625
|
+
const doc = take(data, {
|
|
4626
|
+
assetIds: _json,
|
|
4627
|
+
nextToken: __expectString,
|
|
4628
|
+
});
|
|
4629
|
+
Object.assign(contents, doc);
|
|
4914
4630
|
return contents;
|
|
4915
4631
|
};
|
|
4916
4632
|
const de_ListProjectAssetsCommandError = async (output, context) => {
|
|
@@ -4931,10 +4647,9 @@ const de_ListProjectAssetsCommandError = async (output, context) => {
|
|
|
4931
4647
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
4932
4648
|
default:
|
|
4933
4649
|
const parsedBody = parsedOutput.body;
|
|
4934
|
-
throwDefaultError({
|
|
4650
|
+
return throwDefaultError({
|
|
4935
4651
|
output,
|
|
4936
4652
|
parsedBody,
|
|
4937
|
-
exceptionCtor: __BaseException,
|
|
4938
4653
|
errorCode,
|
|
4939
4654
|
});
|
|
4940
4655
|
}
|
|
@@ -4947,12 +4662,11 @@ export const de_ListProjectsCommand = async (output, context) => {
|
|
|
4947
4662
|
$metadata: deserializeMetadata(output),
|
|
4948
4663
|
});
|
|
4949
4664
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
4950
|
-
|
|
4951
|
-
|
|
4952
|
-
|
|
4953
|
-
|
|
4954
|
-
|
|
4955
|
-
}
|
|
4665
|
+
const doc = take(data, {
|
|
4666
|
+
nextToken: __expectString,
|
|
4667
|
+
projectSummaries: (_) => de_ProjectSummaries(_, context),
|
|
4668
|
+
});
|
|
4669
|
+
Object.assign(contents, doc);
|
|
4956
4670
|
return contents;
|
|
4957
4671
|
};
|
|
4958
4672
|
const de_ListProjectsCommandError = async (output, context) => {
|
|
@@ -4973,10 +4687,9 @@ const de_ListProjectsCommandError = async (output, context) => {
|
|
|
4973
4687
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
4974
4688
|
default:
|
|
4975
4689
|
const parsedBody = parsedOutput.body;
|
|
4976
|
-
throwDefaultError({
|
|
4690
|
+
return throwDefaultError({
|
|
4977
4691
|
output,
|
|
4978
4692
|
parsedBody,
|
|
4979
|
-
exceptionCtor: __BaseException,
|
|
4980
4693
|
errorCode,
|
|
4981
4694
|
});
|
|
4982
4695
|
}
|
|
@@ -4989,9 +4702,10 @@ export const de_ListTagsForResourceCommand = async (output, context) => {
|
|
|
4989
4702
|
$metadata: deserializeMetadata(output),
|
|
4990
4703
|
});
|
|
4991
4704
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
4992
|
-
|
|
4993
|
-
|
|
4994
|
-
}
|
|
4705
|
+
const doc = take(data, {
|
|
4706
|
+
tags: _json,
|
|
4707
|
+
});
|
|
4708
|
+
Object.assign(contents, doc);
|
|
4995
4709
|
return contents;
|
|
4996
4710
|
};
|
|
4997
4711
|
const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
@@ -5024,10 +4738,9 @@ const de_ListTagsForResourceCommandError = async (output, context) => {
|
|
|
5024
4738
|
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
5025
4739
|
default:
|
|
5026
4740
|
const parsedBody = parsedOutput.body;
|
|
5027
|
-
throwDefaultError({
|
|
4741
|
+
return throwDefaultError({
|
|
5028
4742
|
output,
|
|
5029
4743
|
parsedBody,
|
|
5030
|
-
exceptionCtor: __BaseException,
|
|
5031
4744
|
errorCode,
|
|
5032
4745
|
});
|
|
5033
4746
|
}
|
|
@@ -5040,12 +4753,11 @@ export const de_ListTimeSeriesCommand = async (output, context) => {
|
|
|
5040
4753
|
$metadata: deserializeMetadata(output),
|
|
5041
4754
|
});
|
|
5042
4755
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
5043
|
-
|
|
5044
|
-
|
|
5045
|
-
|
|
5046
|
-
|
|
5047
|
-
|
|
5048
|
-
}
|
|
4756
|
+
const doc = take(data, {
|
|
4757
|
+
TimeSeriesSummaries: (_) => de_TimeSeriesSummaries(_, context),
|
|
4758
|
+
nextToken: __expectString,
|
|
4759
|
+
});
|
|
4760
|
+
Object.assign(contents, doc);
|
|
5049
4761
|
return contents;
|
|
5050
4762
|
};
|
|
5051
4763
|
const de_ListTimeSeriesCommandError = async (output, context) => {
|
|
@@ -5069,10 +4781,9 @@ const de_ListTimeSeriesCommandError = async (output, context) => {
|
|
|
5069
4781
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
5070
4782
|
default:
|
|
5071
4783
|
const parsedBody = parsedOutput.body;
|
|
5072
|
-
throwDefaultError({
|
|
4784
|
+
return throwDefaultError({
|
|
5073
4785
|
output,
|
|
5074
4786
|
parsedBody,
|
|
5075
|
-
exceptionCtor: __BaseException,
|
|
5076
4787
|
errorCode,
|
|
5077
4788
|
});
|
|
5078
4789
|
}
|
|
@@ -5085,15 +4796,12 @@ export const de_PutDefaultEncryptionConfigurationCommand = async (output, contex
|
|
|
5085
4796
|
$metadata: deserializeMetadata(output),
|
|
5086
4797
|
});
|
|
5087
4798
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
5088
|
-
|
|
5089
|
-
|
|
5090
|
-
|
|
5091
|
-
|
|
5092
|
-
|
|
5093
|
-
|
|
5094
|
-
if (data.kmsKeyArn != null) {
|
|
5095
|
-
contents.kmsKeyArn = __expectString(data.kmsKeyArn);
|
|
5096
|
-
}
|
|
4799
|
+
const doc = take(data, {
|
|
4800
|
+
configurationStatus: _json,
|
|
4801
|
+
encryptionType: __expectString,
|
|
4802
|
+
kmsKeyArn: __expectString,
|
|
4803
|
+
});
|
|
4804
|
+
Object.assign(contents, doc);
|
|
5097
4805
|
return contents;
|
|
5098
4806
|
};
|
|
5099
4807
|
const de_PutDefaultEncryptionConfigurationCommandError = async (output, context) => {
|
|
@@ -5120,10 +4828,9 @@ const de_PutDefaultEncryptionConfigurationCommandError = async (output, context)
|
|
|
5120
4828
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
5121
4829
|
default:
|
|
5122
4830
|
const parsedBody = parsedOutput.body;
|
|
5123
|
-
throwDefaultError({
|
|
4831
|
+
return throwDefaultError({
|
|
5124
4832
|
output,
|
|
5125
4833
|
parsedBody,
|
|
5126
|
-
exceptionCtor: __BaseException,
|
|
5127
4834
|
errorCode,
|
|
5128
4835
|
});
|
|
5129
4836
|
}
|
|
@@ -5162,10 +4869,9 @@ const de_PutLoggingOptionsCommandError = async (output, context) => {
|
|
|
5162
4869
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
5163
4870
|
default:
|
|
5164
4871
|
const parsedBody = parsedOutput.body;
|
|
5165
|
-
throwDefaultError({
|
|
4872
|
+
return throwDefaultError({
|
|
5166
4873
|
output,
|
|
5167
4874
|
parsedBody,
|
|
5168
|
-
exceptionCtor: __BaseException,
|
|
5169
4875
|
errorCode,
|
|
5170
4876
|
});
|
|
5171
4877
|
}
|
|
@@ -5178,21 +4884,14 @@ export const de_PutStorageConfigurationCommand = async (output, context) => {
|
|
|
5178
4884
|
$metadata: deserializeMetadata(output),
|
|
5179
4885
|
});
|
|
5180
4886
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
5181
|
-
|
|
5182
|
-
|
|
5183
|
-
|
|
5184
|
-
|
|
5185
|
-
|
|
5186
|
-
|
|
5187
|
-
|
|
5188
|
-
|
|
5189
|
-
}
|
|
5190
|
-
if (data.retentionPeriod != null) {
|
|
5191
|
-
contents.retentionPeriod = de_RetentionPeriod(data.retentionPeriod, context);
|
|
5192
|
-
}
|
|
5193
|
-
if (data.storageType != null) {
|
|
5194
|
-
contents.storageType = __expectString(data.storageType);
|
|
5195
|
-
}
|
|
4887
|
+
const doc = take(data, {
|
|
4888
|
+
configurationStatus: _json,
|
|
4889
|
+
disassociatedDataStorage: __expectString,
|
|
4890
|
+
multiLayerStorage: _json,
|
|
4891
|
+
retentionPeriod: _json,
|
|
4892
|
+
storageType: __expectString,
|
|
4893
|
+
});
|
|
4894
|
+
Object.assign(contents, doc);
|
|
5196
4895
|
return contents;
|
|
5197
4896
|
};
|
|
5198
4897
|
const de_PutStorageConfigurationCommandError = async (output, context) => {
|
|
@@ -5225,10 +4924,9 @@ const de_PutStorageConfigurationCommandError = async (output, context) => {
|
|
|
5225
4924
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
5226
4925
|
default:
|
|
5227
4926
|
const parsedBody = parsedOutput.body;
|
|
5228
|
-
throwDefaultError({
|
|
4927
|
+
return throwDefaultError({
|
|
5229
4928
|
output,
|
|
5230
4929
|
parsedBody,
|
|
5231
|
-
exceptionCtor: __BaseException,
|
|
5232
4930
|
errorCode,
|
|
5233
4931
|
});
|
|
5234
4932
|
}
|
|
@@ -5276,10 +4974,9 @@ const de_TagResourceCommandError = async (output, context) => {
|
|
|
5276
4974
|
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
5277
4975
|
default:
|
|
5278
4976
|
const parsedBody = parsedOutput.body;
|
|
5279
|
-
throwDefaultError({
|
|
4977
|
+
return throwDefaultError({
|
|
5280
4978
|
output,
|
|
5281
4979
|
parsedBody,
|
|
5282
|
-
exceptionCtor: __BaseException,
|
|
5283
4980
|
errorCode,
|
|
5284
4981
|
});
|
|
5285
4982
|
}
|
|
@@ -5324,10 +5021,9 @@ const de_UntagResourceCommandError = async (output, context) => {
|
|
|
5324
5021
|
throw await de_UnauthorizedExceptionRes(parsedOutput, context);
|
|
5325
5022
|
default:
|
|
5326
5023
|
const parsedBody = parsedOutput.body;
|
|
5327
|
-
throwDefaultError({
|
|
5024
|
+
return throwDefaultError({
|
|
5328
5025
|
output,
|
|
5329
5026
|
parsedBody,
|
|
5330
|
-
exceptionCtor: __BaseException,
|
|
5331
5027
|
errorCode,
|
|
5332
5028
|
});
|
|
5333
5029
|
}
|
|
@@ -5363,10 +5059,9 @@ const de_UpdateAccessPolicyCommandError = async (output, context) => {
|
|
|
5363
5059
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
5364
5060
|
default:
|
|
5365
5061
|
const parsedBody = parsedOutput.body;
|
|
5366
|
-
throwDefaultError({
|
|
5062
|
+
return throwDefaultError({
|
|
5367
5063
|
output,
|
|
5368
5064
|
parsedBody,
|
|
5369
|
-
exceptionCtor: __BaseException,
|
|
5370
5065
|
errorCode,
|
|
5371
5066
|
});
|
|
5372
5067
|
}
|
|
@@ -5379,9 +5074,10 @@ export const de_UpdateAssetCommand = async (output, context) => {
|
|
|
5379
5074
|
$metadata: deserializeMetadata(output),
|
|
5380
5075
|
});
|
|
5381
5076
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
5382
|
-
|
|
5383
|
-
|
|
5384
|
-
}
|
|
5077
|
+
const doc = take(data, {
|
|
5078
|
+
assetStatus: _json,
|
|
5079
|
+
});
|
|
5080
|
+
Object.assign(contents, doc);
|
|
5385
5081
|
return contents;
|
|
5386
5082
|
};
|
|
5387
5083
|
const de_UpdateAssetCommandError = async (output, context) => {
|
|
@@ -5411,10 +5107,9 @@ const de_UpdateAssetCommandError = async (output, context) => {
|
|
|
5411
5107
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
5412
5108
|
default:
|
|
5413
5109
|
const parsedBody = parsedOutput.body;
|
|
5414
|
-
throwDefaultError({
|
|
5110
|
+
return throwDefaultError({
|
|
5415
5111
|
output,
|
|
5416
5112
|
parsedBody,
|
|
5417
|
-
exceptionCtor: __BaseException,
|
|
5418
5113
|
errorCode,
|
|
5419
5114
|
});
|
|
5420
5115
|
}
|
|
@@ -5427,9 +5122,10 @@ export const de_UpdateAssetModelCommand = async (output, context) => {
|
|
|
5427
5122
|
$metadata: deserializeMetadata(output),
|
|
5428
5123
|
});
|
|
5429
5124
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
5430
|
-
|
|
5431
|
-
|
|
5432
|
-
}
|
|
5125
|
+
const doc = take(data, {
|
|
5126
|
+
assetModelStatus: _json,
|
|
5127
|
+
});
|
|
5128
|
+
Object.assign(contents, doc);
|
|
5433
5129
|
return contents;
|
|
5434
5130
|
};
|
|
5435
5131
|
const de_UpdateAssetModelCommandError = async (output, context) => {
|
|
@@ -5462,10 +5158,9 @@ const de_UpdateAssetModelCommandError = async (output, context) => {
|
|
|
5462
5158
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
5463
5159
|
default:
|
|
5464
5160
|
const parsedBody = parsedOutput.body;
|
|
5465
|
-
throwDefaultError({
|
|
5161
|
+
return throwDefaultError({
|
|
5466
5162
|
output,
|
|
5467
5163
|
parsedBody,
|
|
5468
|
-
exceptionCtor: __BaseException,
|
|
5469
5164
|
errorCode,
|
|
5470
5165
|
});
|
|
5471
5166
|
}
|
|
@@ -5504,10 +5199,9 @@ const de_UpdateAssetPropertyCommandError = async (output, context) => {
|
|
|
5504
5199
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
5505
5200
|
default:
|
|
5506
5201
|
const parsedBody = parsedOutput.body;
|
|
5507
|
-
throwDefaultError({
|
|
5202
|
+
return throwDefaultError({
|
|
5508
5203
|
output,
|
|
5509
5204
|
parsedBody,
|
|
5510
|
-
exceptionCtor: __BaseException,
|
|
5511
5205
|
errorCode,
|
|
5512
5206
|
});
|
|
5513
5207
|
}
|
|
@@ -5543,10 +5237,9 @@ const de_UpdateDashboardCommandError = async (output, context) => {
|
|
|
5543
5237
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
5544
5238
|
default:
|
|
5545
5239
|
const parsedBody = parsedOutput.body;
|
|
5546
|
-
throwDefaultError({
|
|
5240
|
+
return throwDefaultError({
|
|
5547
5241
|
output,
|
|
5548
5242
|
parsedBody,
|
|
5549
|
-
exceptionCtor: __BaseException,
|
|
5550
5243
|
errorCode,
|
|
5551
5244
|
});
|
|
5552
5245
|
}
|
|
@@ -5585,10 +5278,9 @@ const de_UpdateGatewayCommandError = async (output, context) => {
|
|
|
5585
5278
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
5586
5279
|
default:
|
|
5587
5280
|
const parsedBody = parsedOutput.body;
|
|
5588
|
-
throwDefaultError({
|
|
5281
|
+
return throwDefaultError({
|
|
5589
5282
|
output,
|
|
5590
5283
|
parsedBody,
|
|
5591
|
-
exceptionCtor: __BaseException,
|
|
5592
5284
|
errorCode,
|
|
5593
5285
|
});
|
|
5594
5286
|
}
|
|
@@ -5601,12 +5293,11 @@ export const de_UpdateGatewayCapabilityConfigurationCommand = async (output, con
|
|
|
5601
5293
|
$metadata: deserializeMetadata(output),
|
|
5602
5294
|
});
|
|
5603
5295
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
5604
|
-
|
|
5605
|
-
|
|
5606
|
-
|
|
5607
|
-
|
|
5608
|
-
|
|
5609
|
-
}
|
|
5296
|
+
const doc = take(data, {
|
|
5297
|
+
capabilityNamespace: __expectString,
|
|
5298
|
+
capabilitySyncStatus: __expectString,
|
|
5299
|
+
});
|
|
5300
|
+
Object.assign(contents, doc);
|
|
5610
5301
|
return contents;
|
|
5611
5302
|
};
|
|
5612
5303
|
const de_UpdateGatewayCapabilityConfigurationCommandError = async (output, context) => {
|
|
@@ -5636,10 +5327,9 @@ const de_UpdateGatewayCapabilityConfigurationCommandError = async (output, conte
|
|
|
5636
5327
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
5637
5328
|
default:
|
|
5638
5329
|
const parsedBody = parsedOutput.body;
|
|
5639
|
-
throwDefaultError({
|
|
5330
|
+
return throwDefaultError({
|
|
5640
5331
|
output,
|
|
5641
5332
|
parsedBody,
|
|
5642
|
-
exceptionCtor: __BaseException,
|
|
5643
5333
|
errorCode,
|
|
5644
5334
|
});
|
|
5645
5335
|
}
|
|
@@ -5652,9 +5342,10 @@ export const de_UpdatePortalCommand = async (output, context) => {
|
|
|
5652
5342
|
$metadata: deserializeMetadata(output),
|
|
5653
5343
|
});
|
|
5654
5344
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
5655
|
-
|
|
5656
|
-
|
|
5657
|
-
}
|
|
5345
|
+
const doc = take(data, {
|
|
5346
|
+
portalStatus: _json,
|
|
5347
|
+
});
|
|
5348
|
+
Object.assign(contents, doc);
|
|
5658
5349
|
return contents;
|
|
5659
5350
|
};
|
|
5660
5351
|
const de_UpdatePortalCommandError = async (output, context) => {
|
|
@@ -5681,10 +5372,9 @@ const de_UpdatePortalCommandError = async (output, context) => {
|
|
|
5681
5372
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
5682
5373
|
default:
|
|
5683
5374
|
const parsedBody = parsedOutput.body;
|
|
5684
|
-
throwDefaultError({
|
|
5375
|
+
return throwDefaultError({
|
|
5685
5376
|
output,
|
|
5686
5377
|
parsedBody,
|
|
5687
|
-
exceptionCtor: __BaseException,
|
|
5688
5378
|
errorCode,
|
|
5689
5379
|
});
|
|
5690
5380
|
}
|
|
@@ -5720,27 +5410,23 @@ const de_UpdateProjectCommandError = async (output, context) => {
|
|
|
5720
5410
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
5721
5411
|
default:
|
|
5722
5412
|
const parsedBody = parsedOutput.body;
|
|
5723
|
-
throwDefaultError({
|
|
5413
|
+
return throwDefaultError({
|
|
5724
5414
|
output,
|
|
5725
5415
|
parsedBody,
|
|
5726
|
-
exceptionCtor: __BaseException,
|
|
5727
5416
|
errorCode,
|
|
5728
5417
|
});
|
|
5729
5418
|
}
|
|
5730
5419
|
};
|
|
5731
|
-
const
|
|
5420
|
+
const throwDefaultError = withBaseException(__BaseException);
|
|
5732
5421
|
const de_ConflictingOperationExceptionRes = async (parsedOutput, context) => {
|
|
5733
5422
|
const contents = map({});
|
|
5734
5423
|
const data = parsedOutput.body;
|
|
5735
|
-
|
|
5736
|
-
|
|
5737
|
-
|
|
5738
|
-
|
|
5739
|
-
|
|
5740
|
-
|
|
5741
|
-
if (data.resourceId != null) {
|
|
5742
|
-
contents.resourceId = __expectString(data.resourceId);
|
|
5743
|
-
}
|
|
5424
|
+
const doc = take(data, {
|
|
5425
|
+
message: __expectString,
|
|
5426
|
+
resourceArn: __expectString,
|
|
5427
|
+
resourceId: __expectString,
|
|
5428
|
+
});
|
|
5429
|
+
Object.assign(contents, doc);
|
|
5744
5430
|
const exception = new ConflictingOperationException({
|
|
5745
5431
|
$metadata: deserializeMetadata(parsedOutput),
|
|
5746
5432
|
...contents,
|
|
@@ -5750,9 +5436,10 @@ const de_ConflictingOperationExceptionRes = async (parsedOutput, context) => {
|
|
|
5750
5436
|
const de_InternalFailureExceptionRes = async (parsedOutput, context) => {
|
|
5751
5437
|
const contents = map({});
|
|
5752
5438
|
const data = parsedOutput.body;
|
|
5753
|
-
|
|
5754
|
-
|
|
5755
|
-
}
|
|
5439
|
+
const doc = take(data, {
|
|
5440
|
+
message: __expectString,
|
|
5441
|
+
});
|
|
5442
|
+
Object.assign(contents, doc);
|
|
5756
5443
|
const exception = new InternalFailureException({
|
|
5757
5444
|
$metadata: deserializeMetadata(parsedOutput),
|
|
5758
5445
|
...contents,
|
|
@@ -5762,9 +5449,10 @@ const de_InternalFailureExceptionRes = async (parsedOutput, context) => {
|
|
|
5762
5449
|
const de_InvalidRequestExceptionRes = async (parsedOutput, context) => {
|
|
5763
5450
|
const contents = map({});
|
|
5764
5451
|
const data = parsedOutput.body;
|
|
5765
|
-
|
|
5766
|
-
|
|
5767
|
-
}
|
|
5452
|
+
const doc = take(data, {
|
|
5453
|
+
message: __expectString,
|
|
5454
|
+
});
|
|
5455
|
+
Object.assign(contents, doc);
|
|
5768
5456
|
const exception = new InvalidRequestException({
|
|
5769
5457
|
$metadata: deserializeMetadata(parsedOutput),
|
|
5770
5458
|
...contents,
|
|
@@ -5774,9 +5462,10 @@ const de_InvalidRequestExceptionRes = async (parsedOutput, context) => {
|
|
|
5774
5462
|
const de_LimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
5775
5463
|
const contents = map({});
|
|
5776
5464
|
const data = parsedOutput.body;
|
|
5777
|
-
|
|
5778
|
-
|
|
5779
|
-
}
|
|
5465
|
+
const doc = take(data, {
|
|
5466
|
+
message: __expectString,
|
|
5467
|
+
});
|
|
5468
|
+
Object.assign(contents, doc);
|
|
5780
5469
|
const exception = new LimitExceededException({
|
|
5781
5470
|
$metadata: deserializeMetadata(parsedOutput),
|
|
5782
5471
|
...contents,
|
|
@@ -5786,15 +5475,12 @@ const de_LimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
|
5786
5475
|
const de_ResourceAlreadyExistsExceptionRes = async (parsedOutput, context) => {
|
|
5787
5476
|
const contents = map({});
|
|
5788
5477
|
const data = parsedOutput.body;
|
|
5789
|
-
|
|
5790
|
-
|
|
5791
|
-
|
|
5792
|
-
|
|
5793
|
-
|
|
5794
|
-
|
|
5795
|
-
if (data.resourceId != null) {
|
|
5796
|
-
contents.resourceId = __expectString(data.resourceId);
|
|
5797
|
-
}
|
|
5478
|
+
const doc = take(data, {
|
|
5479
|
+
message: __expectString,
|
|
5480
|
+
resourceArn: __expectString,
|
|
5481
|
+
resourceId: __expectString,
|
|
5482
|
+
});
|
|
5483
|
+
Object.assign(contents, doc);
|
|
5798
5484
|
const exception = new ResourceAlreadyExistsException({
|
|
5799
5485
|
$metadata: deserializeMetadata(parsedOutput),
|
|
5800
5486
|
...contents,
|
|
@@ -5804,9 +5490,10 @@ const de_ResourceAlreadyExistsExceptionRes = async (parsedOutput, context) => {
|
|
|
5804
5490
|
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
5805
5491
|
const contents = map({});
|
|
5806
5492
|
const data = parsedOutput.body;
|
|
5807
|
-
|
|
5808
|
-
|
|
5809
|
-
}
|
|
5493
|
+
const doc = take(data, {
|
|
5494
|
+
message: __expectString,
|
|
5495
|
+
});
|
|
5496
|
+
Object.assign(contents, doc);
|
|
5810
5497
|
const exception = new ResourceNotFoundException({
|
|
5811
5498
|
$metadata: deserializeMetadata(parsedOutput),
|
|
5812
5499
|
...contents,
|
|
@@ -5816,9 +5503,10 @@ const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
|
5816
5503
|
const de_ServiceUnavailableExceptionRes = async (parsedOutput, context) => {
|
|
5817
5504
|
const contents = map({});
|
|
5818
5505
|
const data = parsedOutput.body;
|
|
5819
|
-
|
|
5820
|
-
|
|
5821
|
-
}
|
|
5506
|
+
const doc = take(data, {
|
|
5507
|
+
message: __expectString,
|
|
5508
|
+
});
|
|
5509
|
+
Object.assign(contents, doc);
|
|
5822
5510
|
const exception = new ServiceUnavailableException({
|
|
5823
5511
|
$metadata: deserializeMetadata(parsedOutput),
|
|
5824
5512
|
...contents,
|
|
@@ -5828,9 +5516,10 @@ const de_ServiceUnavailableExceptionRes = async (parsedOutput, context) => {
|
|
|
5828
5516
|
const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
|
|
5829
5517
|
const contents = map({});
|
|
5830
5518
|
const data = parsedOutput.body;
|
|
5831
|
-
|
|
5832
|
-
|
|
5833
|
-
}
|
|
5519
|
+
const doc = take(data, {
|
|
5520
|
+
message: __expectString,
|
|
5521
|
+
});
|
|
5522
|
+
Object.assign(contents, doc);
|
|
5834
5523
|
const exception = new ThrottlingException({
|
|
5835
5524
|
$metadata: deserializeMetadata(parsedOutput),
|
|
5836
5525
|
...contents,
|
|
@@ -5840,12 +5529,11 @@ const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
|
|
|
5840
5529
|
const de_TooManyTagsExceptionRes = async (parsedOutput, context) => {
|
|
5841
5530
|
const contents = map({});
|
|
5842
5531
|
const data = parsedOutput.body;
|
|
5843
|
-
|
|
5844
|
-
|
|
5845
|
-
|
|
5846
|
-
|
|
5847
|
-
|
|
5848
|
-
}
|
|
5532
|
+
const doc = take(data, {
|
|
5533
|
+
message: __expectString,
|
|
5534
|
+
resourceName: __expectString,
|
|
5535
|
+
});
|
|
5536
|
+
Object.assign(contents, doc);
|
|
5849
5537
|
const exception = new TooManyTagsException({
|
|
5850
5538
|
$metadata: deserializeMetadata(parsedOutput),
|
|
5851
5539
|
...contents,
|
|
@@ -5855,125 +5543,22 @@ const de_TooManyTagsExceptionRes = async (parsedOutput, context) => {
|
|
|
5855
5543
|
const de_UnauthorizedExceptionRes = async (parsedOutput, context) => {
|
|
5856
5544
|
const contents = map({});
|
|
5857
5545
|
const data = parsedOutput.body;
|
|
5858
|
-
|
|
5859
|
-
|
|
5860
|
-
}
|
|
5546
|
+
const doc = take(data, {
|
|
5547
|
+
message: __expectString,
|
|
5548
|
+
});
|
|
5549
|
+
Object.assign(contents, doc);
|
|
5861
5550
|
const exception = new UnauthorizedException({
|
|
5862
5551
|
$metadata: deserializeMetadata(parsedOutput),
|
|
5863
5552
|
...contents,
|
|
5864
5553
|
});
|
|
5865
5554
|
return __decorateServiceException(exception, parsedOutput.body);
|
|
5866
5555
|
};
|
|
5867
|
-
const se_AggregateTypes = (input, context) => {
|
|
5868
|
-
return input
|
|
5869
|
-
.filter((e) => e != null)
|
|
5870
|
-
.map((entry) => {
|
|
5871
|
-
return entry;
|
|
5872
|
-
});
|
|
5873
|
-
};
|
|
5874
|
-
const se_Alarms = (input, context) => {
|
|
5875
|
-
return {
|
|
5876
|
-
...(input.alarmRoleArn != null && { alarmRoleArn: input.alarmRoleArn }),
|
|
5877
|
-
...(input.notificationLambdaArn != null && { notificationLambdaArn: input.notificationLambdaArn }),
|
|
5878
|
-
};
|
|
5879
|
-
};
|
|
5880
|
-
const se_AssetModelCompositeModel = (input, context) => {
|
|
5881
|
-
return {
|
|
5882
|
-
...(input.description != null && { description: input.description }),
|
|
5883
|
-
...(input.id != null && { id: input.id }),
|
|
5884
|
-
...(input.name != null && { name: input.name }),
|
|
5885
|
-
...(input.properties != null && { properties: se_AssetModelProperties(input.properties, context) }),
|
|
5886
|
-
...(input.type != null && { type: input.type }),
|
|
5887
|
-
};
|
|
5888
|
-
};
|
|
5889
|
-
const se_AssetModelCompositeModelDefinition = (input, context) => {
|
|
5890
|
-
return {
|
|
5891
|
-
...(input.description != null && { description: input.description }),
|
|
5892
|
-
...(input.name != null && { name: input.name }),
|
|
5893
|
-
...(input.properties != null && { properties: se_AssetModelPropertyDefinitions(input.properties, context) }),
|
|
5894
|
-
...(input.type != null && { type: input.type }),
|
|
5895
|
-
};
|
|
5896
|
-
};
|
|
5897
|
-
const se_AssetModelCompositeModelDefinitions = (input, context) => {
|
|
5898
|
-
return input
|
|
5899
|
-
.filter((e) => e != null)
|
|
5900
|
-
.map((entry) => {
|
|
5901
|
-
return se_AssetModelCompositeModelDefinition(entry, context);
|
|
5902
|
-
});
|
|
5903
|
-
};
|
|
5904
|
-
const se_AssetModelCompositeModels = (input, context) => {
|
|
5905
|
-
return input
|
|
5906
|
-
.filter((e) => e != null)
|
|
5907
|
-
.map((entry) => {
|
|
5908
|
-
return se_AssetModelCompositeModel(entry, context);
|
|
5909
|
-
});
|
|
5910
|
-
};
|
|
5911
|
-
const se_AssetModelHierarchies = (input, context) => {
|
|
5912
|
-
return input
|
|
5913
|
-
.filter((e) => e != null)
|
|
5914
|
-
.map((entry) => {
|
|
5915
|
-
return se_AssetModelHierarchy(entry, context);
|
|
5916
|
-
});
|
|
5917
|
-
};
|
|
5918
|
-
const se_AssetModelHierarchy = (input, context) => {
|
|
5919
|
-
return {
|
|
5920
|
-
...(input.childAssetModelId != null && { childAssetModelId: input.childAssetModelId }),
|
|
5921
|
-
...(input.id != null && { id: input.id }),
|
|
5922
|
-
...(input.name != null && { name: input.name }),
|
|
5923
|
-
};
|
|
5924
|
-
};
|
|
5925
|
-
const se_AssetModelHierarchyDefinition = (input, context) => {
|
|
5926
|
-
return {
|
|
5927
|
-
...(input.childAssetModelId != null && { childAssetModelId: input.childAssetModelId }),
|
|
5928
|
-
...(input.name != null && { name: input.name }),
|
|
5929
|
-
};
|
|
5930
|
-
};
|
|
5931
|
-
const se_AssetModelHierarchyDefinitions = (input, context) => {
|
|
5932
|
-
return input
|
|
5933
|
-
.filter((e) => e != null)
|
|
5934
|
-
.map((entry) => {
|
|
5935
|
-
return se_AssetModelHierarchyDefinition(entry, context);
|
|
5936
|
-
});
|
|
5937
|
-
};
|
|
5938
|
-
const se_AssetModelProperties = (input, context) => {
|
|
5939
|
-
return input
|
|
5940
|
-
.filter((e) => e != null)
|
|
5941
|
-
.map((entry) => {
|
|
5942
|
-
return se_AssetModelProperty(entry, context);
|
|
5943
|
-
});
|
|
5944
|
-
};
|
|
5945
|
-
const se_AssetModelProperty = (input, context) => {
|
|
5946
|
-
return {
|
|
5947
|
-
...(input.dataType != null && { dataType: input.dataType }),
|
|
5948
|
-
...(input.dataTypeSpec != null && { dataTypeSpec: input.dataTypeSpec }),
|
|
5949
|
-
...(input.id != null && { id: input.id }),
|
|
5950
|
-
...(input.name != null && { name: input.name }),
|
|
5951
|
-
...(input.type != null && { type: se_PropertyType(input.type, context) }),
|
|
5952
|
-
...(input.unit != null && { unit: input.unit }),
|
|
5953
|
-
};
|
|
5954
|
-
};
|
|
5955
|
-
const se_AssetModelPropertyDefinition = (input, context) => {
|
|
5956
|
-
return {
|
|
5957
|
-
...(input.dataType != null && { dataType: input.dataType }),
|
|
5958
|
-
...(input.dataTypeSpec != null && { dataTypeSpec: input.dataTypeSpec }),
|
|
5959
|
-
...(input.name != null && { name: input.name }),
|
|
5960
|
-
...(input.type != null && { type: se_PropertyType(input.type, context) }),
|
|
5961
|
-
...(input.unit != null && { unit: input.unit }),
|
|
5962
|
-
};
|
|
5963
|
-
};
|
|
5964
|
-
const se_AssetModelPropertyDefinitions = (input, context) => {
|
|
5965
|
-
return input
|
|
5966
|
-
.filter((e) => e != null)
|
|
5967
|
-
.map((entry) => {
|
|
5968
|
-
return se_AssetModelPropertyDefinition(entry, context);
|
|
5969
|
-
});
|
|
5970
|
-
};
|
|
5971
5556
|
const se_AssetPropertyValue = (input, context) => {
|
|
5972
|
-
return {
|
|
5973
|
-
|
|
5974
|
-
|
|
5975
|
-
|
|
5976
|
-
};
|
|
5557
|
+
return take(input, {
|
|
5558
|
+
quality: [],
|
|
5559
|
+
timestamp: _json,
|
|
5560
|
+
value: (_) => se_Variant(_, context),
|
|
5561
|
+
});
|
|
5977
5562
|
};
|
|
5978
5563
|
const se_AssetPropertyValues = (input, context) => {
|
|
5979
5564
|
return input
|
|
@@ -5982,11 +5567,6 @@ const se_AssetPropertyValues = (input, context) => {
|
|
|
5982
5567
|
return se_AssetPropertyValue(entry, context);
|
|
5983
5568
|
});
|
|
5984
5569
|
};
|
|
5985
|
-
const se_Attribute = (input, context) => {
|
|
5986
|
-
return {
|
|
5987
|
-
...(input.defaultValue != null && { defaultValue: input.defaultValue }),
|
|
5988
|
-
};
|
|
5989
|
-
};
|
|
5990
5570
|
const se_BatchGetAssetPropertyAggregatesEntries = (input, context) => {
|
|
5991
5571
|
return input
|
|
5992
5572
|
.filter((e) => e != null)
|
|
@@ -5995,34 +5575,19 @@ const se_BatchGetAssetPropertyAggregatesEntries = (input, context) => {
|
|
|
5995
5575
|
});
|
|
5996
5576
|
};
|
|
5997
5577
|
const se_BatchGetAssetPropertyAggregatesEntry = (input, context) => {
|
|
5998
|
-
return {
|
|
5999
|
-
|
|
6000
|
-
|
|
6001
|
-
|
|
6002
|
-
|
|
6003
|
-
|
|
6004
|
-
|
|
6005
|
-
|
|
6006
|
-
|
|
6007
|
-
|
|
6008
|
-
|
|
6009
|
-
};
|
|
6010
|
-
};
|
|
6011
|
-
const se_BatchGetAssetPropertyValueEntries = (input, context) => {
|
|
6012
|
-
return input
|
|
6013
|
-
.filter((e) => e != null)
|
|
6014
|
-
.map((entry) => {
|
|
6015
|
-
return se_BatchGetAssetPropertyValueEntry(entry, context);
|
|
5578
|
+
return take(input, {
|
|
5579
|
+
aggregateTypes: _json,
|
|
5580
|
+
assetId: [],
|
|
5581
|
+
endDate: (_) => Math.round(_.getTime() / 1000),
|
|
5582
|
+
entryId: [],
|
|
5583
|
+
propertyAlias: [],
|
|
5584
|
+
propertyId: [],
|
|
5585
|
+
qualities: _json,
|
|
5586
|
+
resolution: [],
|
|
5587
|
+
startDate: (_) => Math.round(_.getTime() / 1000),
|
|
5588
|
+
timeOrdering: [],
|
|
6016
5589
|
});
|
|
6017
5590
|
};
|
|
6018
|
-
const se_BatchGetAssetPropertyValueEntry = (input, context) => {
|
|
6019
|
-
return {
|
|
6020
|
-
...(input.assetId != null && { assetId: input.assetId }),
|
|
6021
|
-
...(input.entryId != null && { entryId: input.entryId }),
|
|
6022
|
-
...(input.propertyAlias != null && { propertyAlias: input.propertyAlias }),
|
|
6023
|
-
...(input.propertyId != null && { propertyId: input.propertyId }),
|
|
6024
|
-
};
|
|
6025
|
-
};
|
|
6026
5591
|
const se_BatchGetAssetPropertyValueHistoryEntries = (input, context) => {
|
|
6027
5592
|
return input
|
|
6028
5593
|
.filter((e) => e != null)
|
|
@@ -6031,202 +5596,28 @@ const se_BatchGetAssetPropertyValueHistoryEntries = (input, context) => {
|
|
|
6031
5596
|
});
|
|
6032
5597
|
};
|
|
6033
5598
|
const se_BatchGetAssetPropertyValueHistoryEntry = (input, context) => {
|
|
6034
|
-
return {
|
|
6035
|
-
|
|
6036
|
-
|
|
6037
|
-
|
|
6038
|
-
|
|
6039
|
-
|
|
6040
|
-
|
|
6041
|
-
|
|
6042
|
-
|
|
6043
|
-
};
|
|
6044
|
-
};
|
|
6045
|
-
const se_ColumnNames = (input, context) => {
|
|
6046
|
-
return input
|
|
6047
|
-
.filter((e) => e != null)
|
|
6048
|
-
.map((entry) => {
|
|
6049
|
-
return entry;
|
|
6050
|
-
});
|
|
6051
|
-
};
|
|
6052
|
-
const se_Csv = (input, context) => {
|
|
6053
|
-
return {
|
|
6054
|
-
...(input.columnNames != null && { columnNames: se_ColumnNames(input.columnNames, context) }),
|
|
6055
|
-
};
|
|
6056
|
-
};
|
|
6057
|
-
const se_CustomerManagedS3Storage = (input, context) => {
|
|
6058
|
-
return {
|
|
6059
|
-
...(input.roleArn != null && { roleArn: input.roleArn }),
|
|
6060
|
-
...(input.s3ResourceArn != null && { s3ResourceArn: input.s3ResourceArn }),
|
|
6061
|
-
};
|
|
6062
|
-
};
|
|
6063
|
-
const se_ErrorReportLocation = (input, context) => {
|
|
6064
|
-
return {
|
|
6065
|
-
...(input.bucket != null && { bucket: input.bucket }),
|
|
6066
|
-
...(input.prefix != null && { prefix: input.prefix }),
|
|
6067
|
-
};
|
|
6068
|
-
};
|
|
6069
|
-
const se_ExpressionVariable = (input, context) => {
|
|
6070
|
-
return {
|
|
6071
|
-
...(input.name != null && { name: input.name }),
|
|
6072
|
-
...(input.value != null && { value: se_VariableValue(input.value, context) }),
|
|
6073
|
-
};
|
|
6074
|
-
};
|
|
6075
|
-
const se_ExpressionVariables = (input, context) => {
|
|
6076
|
-
return input
|
|
6077
|
-
.filter((e) => e != null)
|
|
6078
|
-
.map((entry) => {
|
|
6079
|
-
return se_ExpressionVariable(entry, context);
|
|
6080
|
-
});
|
|
6081
|
-
};
|
|
6082
|
-
const se_File = (input, context) => {
|
|
6083
|
-
return {
|
|
6084
|
-
...(input.bucket != null && { bucket: input.bucket }),
|
|
6085
|
-
...(input.key != null && { key: input.key }),
|
|
6086
|
-
...(input.versionId != null && { versionId: input.versionId }),
|
|
6087
|
-
};
|
|
6088
|
-
};
|
|
6089
|
-
const se_FileFormat = (input, context) => {
|
|
6090
|
-
return {
|
|
6091
|
-
...(input.csv != null && { csv: se_Csv(input.csv, context) }),
|
|
6092
|
-
};
|
|
6093
|
-
};
|
|
6094
|
-
const se_Files = (input, context) => {
|
|
6095
|
-
return input
|
|
6096
|
-
.filter((e) => e != null)
|
|
6097
|
-
.map((entry) => {
|
|
6098
|
-
return se_File(entry, context);
|
|
6099
|
-
});
|
|
6100
|
-
};
|
|
6101
|
-
const se_ForwardingConfig = (input, context) => {
|
|
6102
|
-
return {
|
|
6103
|
-
...(input.state != null && { state: input.state }),
|
|
6104
|
-
};
|
|
6105
|
-
};
|
|
6106
|
-
const se_GatewayPlatform = (input, context) => {
|
|
6107
|
-
return {
|
|
6108
|
-
...(input.greengrass != null && { greengrass: se_Greengrass(input.greengrass, context) }),
|
|
6109
|
-
...(input.greengrassV2 != null && { greengrassV2: se_GreengrassV2(input.greengrassV2, context) }),
|
|
6110
|
-
};
|
|
6111
|
-
};
|
|
6112
|
-
const se_Greengrass = (input, context) => {
|
|
6113
|
-
return {
|
|
6114
|
-
...(input.groupArn != null && { groupArn: input.groupArn }),
|
|
6115
|
-
};
|
|
6116
|
-
};
|
|
6117
|
-
const se_GreengrassV2 = (input, context) => {
|
|
6118
|
-
return {
|
|
6119
|
-
...(input.coreDeviceThingName != null && { coreDeviceThingName: input.coreDeviceThingName }),
|
|
6120
|
-
};
|
|
6121
|
-
};
|
|
6122
|
-
const se_GroupIdentity = (input, context) => {
|
|
6123
|
-
return {
|
|
6124
|
-
...(input.id != null && { id: input.id }),
|
|
6125
|
-
};
|
|
6126
|
-
};
|
|
6127
|
-
const se_IAMRoleIdentity = (input, context) => {
|
|
6128
|
-
return {
|
|
6129
|
-
...(input.arn != null && { arn: input.arn }),
|
|
6130
|
-
};
|
|
6131
|
-
};
|
|
6132
|
-
const se_IAMUserIdentity = (input, context) => {
|
|
6133
|
-
return {
|
|
6134
|
-
...(input.arn != null && { arn: input.arn }),
|
|
6135
|
-
};
|
|
6136
|
-
};
|
|
6137
|
-
const se_Identity = (input, context) => {
|
|
6138
|
-
return {
|
|
6139
|
-
...(input.group != null && { group: se_GroupIdentity(input.group, context) }),
|
|
6140
|
-
...(input.iamRole != null && { iamRole: se_IAMRoleIdentity(input.iamRole, context) }),
|
|
6141
|
-
...(input.iamUser != null && { iamUser: se_IAMUserIdentity(input.iamUser, context) }),
|
|
6142
|
-
...(input.user != null && { user: se_UserIdentity(input.user, context) }),
|
|
6143
|
-
};
|
|
6144
|
-
};
|
|
6145
|
-
const se_IDs = (input, context) => {
|
|
6146
|
-
return input
|
|
6147
|
-
.filter((e) => e != null)
|
|
6148
|
-
.map((entry) => {
|
|
6149
|
-
return entry;
|
|
5599
|
+
return take(input, {
|
|
5600
|
+
assetId: [],
|
|
5601
|
+
endDate: (_) => Math.round(_.getTime() / 1000),
|
|
5602
|
+
entryId: [],
|
|
5603
|
+
propertyAlias: [],
|
|
5604
|
+
propertyId: [],
|
|
5605
|
+
qualities: _json,
|
|
5606
|
+
startDate: (_) => Math.round(_.getTime() / 1000),
|
|
5607
|
+
timeOrdering: [],
|
|
6150
5608
|
});
|
|
6151
5609
|
};
|
|
6152
5610
|
const se_Image = (input, context) => {
|
|
6153
|
-
return {
|
|
6154
|
-
|
|
6155
|
-
|
|
6156
|
-
};
|
|
5611
|
+
return take(input, {
|
|
5612
|
+
file: (_) => se_ImageFile(_, context),
|
|
5613
|
+
id: [],
|
|
5614
|
+
});
|
|
6157
5615
|
};
|
|
6158
5616
|
const se_ImageFile = (input, context) => {
|
|
6159
|
-
return {
|
|
6160
|
-
|
|
6161
|
-
|
|
6162
|
-
};
|
|
6163
|
-
};
|
|
6164
|
-
const se_JobConfiguration = (input, context) => {
|
|
6165
|
-
return {
|
|
6166
|
-
...(input.fileFormat != null && { fileFormat: se_FileFormat(input.fileFormat, context) }),
|
|
6167
|
-
};
|
|
6168
|
-
};
|
|
6169
|
-
const se_LoggingOptions = (input, context) => {
|
|
6170
|
-
return {
|
|
6171
|
-
...(input.level != null && { level: input.level }),
|
|
6172
|
-
};
|
|
6173
|
-
};
|
|
6174
|
-
const se_Measurement = (input, context) => {
|
|
6175
|
-
return {
|
|
6176
|
-
...(input.processingConfig != null && {
|
|
6177
|
-
processingConfig: se_MeasurementProcessingConfig(input.processingConfig, context),
|
|
6178
|
-
}),
|
|
6179
|
-
};
|
|
6180
|
-
};
|
|
6181
|
-
const se_MeasurementProcessingConfig = (input, context) => {
|
|
6182
|
-
return {
|
|
6183
|
-
...(input.forwardingConfig != null && { forwardingConfig: se_ForwardingConfig(input.forwardingConfig, context) }),
|
|
6184
|
-
};
|
|
6185
|
-
};
|
|
6186
|
-
const se_Metric = (input, context) => {
|
|
6187
|
-
return {
|
|
6188
|
-
...(input.expression != null && { expression: input.expression }),
|
|
6189
|
-
...(input.processingConfig != null && {
|
|
6190
|
-
processingConfig: se_MetricProcessingConfig(input.processingConfig, context),
|
|
6191
|
-
}),
|
|
6192
|
-
...(input.variables != null && { variables: se_ExpressionVariables(input.variables, context) }),
|
|
6193
|
-
...(input.window != null && { window: se_MetricWindow(input.window, context) }),
|
|
6194
|
-
};
|
|
6195
|
-
};
|
|
6196
|
-
const se_MetricProcessingConfig = (input, context) => {
|
|
6197
|
-
return {
|
|
6198
|
-
...(input.computeLocation != null && { computeLocation: input.computeLocation }),
|
|
6199
|
-
};
|
|
6200
|
-
};
|
|
6201
|
-
const se_MetricWindow = (input, context) => {
|
|
6202
|
-
return {
|
|
6203
|
-
...(input.tumbling != null && { tumbling: se_TumblingWindow(input.tumbling, context) }),
|
|
6204
|
-
};
|
|
6205
|
-
};
|
|
6206
|
-
const se_MultiLayerStorage = (input, context) => {
|
|
6207
|
-
return {
|
|
6208
|
-
...(input.customerManagedS3Storage != null && {
|
|
6209
|
-
customerManagedS3Storage: se_CustomerManagedS3Storage(input.customerManagedS3Storage, context),
|
|
6210
|
-
}),
|
|
6211
|
-
};
|
|
6212
|
-
};
|
|
6213
|
-
const se_PortalResource = (input, context) => {
|
|
6214
|
-
return {
|
|
6215
|
-
...(input.id != null && { id: input.id }),
|
|
6216
|
-
};
|
|
6217
|
-
};
|
|
6218
|
-
const se_ProjectResource = (input, context) => {
|
|
6219
|
-
return {
|
|
6220
|
-
...(input.id != null && { id: input.id }),
|
|
6221
|
-
};
|
|
6222
|
-
};
|
|
6223
|
-
const se_PropertyType = (input, context) => {
|
|
6224
|
-
return {
|
|
6225
|
-
...(input.attribute != null && { attribute: se_Attribute(input.attribute, context) }),
|
|
6226
|
-
...(input.measurement != null && { measurement: se_Measurement(input.measurement, context) }),
|
|
6227
|
-
...(input.metric != null && { metric: se_Metric(input.metric, context) }),
|
|
6228
|
-
...(input.transform != null && { transform: se_Transform(input.transform, context) }),
|
|
6229
|
-
};
|
|
5617
|
+
return take(input, {
|
|
5618
|
+
data: context.base64Encoder,
|
|
5619
|
+
type: [],
|
|
5620
|
+
});
|
|
6230
5621
|
};
|
|
6231
5622
|
const se_PutAssetPropertyValueEntries = (input, context) => {
|
|
6232
5623
|
return input
|
|
@@ -6236,1218 +5627,360 @@ const se_PutAssetPropertyValueEntries = (input, context) => {
|
|
|
6236
5627
|
});
|
|
6237
5628
|
};
|
|
6238
5629
|
const se_PutAssetPropertyValueEntry = (input, context) => {
|
|
6239
|
-
return {
|
|
6240
|
-
|
|
6241
|
-
|
|
6242
|
-
|
|
6243
|
-
|
|
6244
|
-
|
|
6245
|
-
};
|
|
6246
|
-
};
|
|
6247
|
-
const se_Qualities = (input, context) => {
|
|
6248
|
-
return input
|
|
6249
|
-
.filter((e) => e != null)
|
|
6250
|
-
.map((entry) => {
|
|
6251
|
-
return entry;
|
|
5630
|
+
return take(input, {
|
|
5631
|
+
assetId: [],
|
|
5632
|
+
entryId: [],
|
|
5633
|
+
propertyAlias: [],
|
|
5634
|
+
propertyId: [],
|
|
5635
|
+
propertyValues: (_) => se_AssetPropertyValues(_, context),
|
|
6252
5636
|
});
|
|
6253
5637
|
};
|
|
6254
|
-
const se_Resource = (input, context) => {
|
|
6255
|
-
return {
|
|
6256
|
-
...(input.portal != null && { portal: se_PortalResource(input.portal, context) }),
|
|
6257
|
-
...(input.project != null && { project: se_ProjectResource(input.project, context) }),
|
|
6258
|
-
};
|
|
6259
|
-
};
|
|
6260
|
-
const se_RetentionPeriod = (input, context) => {
|
|
6261
|
-
return {
|
|
6262
|
-
...(input.numberOfDays != null && { numberOfDays: input.numberOfDays }),
|
|
6263
|
-
...(input.unlimited != null && { unlimited: input.unlimited }),
|
|
6264
|
-
};
|
|
6265
|
-
};
|
|
6266
|
-
const se_TagMap = (input, context) => {
|
|
6267
|
-
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
6268
|
-
if (value === null) {
|
|
6269
|
-
return acc;
|
|
6270
|
-
}
|
|
6271
|
-
acc[key] = value;
|
|
6272
|
-
return acc;
|
|
6273
|
-
}, {});
|
|
6274
|
-
};
|
|
6275
|
-
const se_TimeInNanos = (input, context) => {
|
|
6276
|
-
return {
|
|
6277
|
-
...(input.offsetInNanos != null && { offsetInNanos: input.offsetInNanos }),
|
|
6278
|
-
...(input.timeInSeconds != null && { timeInSeconds: input.timeInSeconds }),
|
|
6279
|
-
};
|
|
6280
|
-
};
|
|
6281
|
-
const se_Transform = (input, context) => {
|
|
6282
|
-
return {
|
|
6283
|
-
...(input.expression != null && { expression: input.expression }),
|
|
6284
|
-
...(input.processingConfig != null && {
|
|
6285
|
-
processingConfig: se_TransformProcessingConfig(input.processingConfig, context),
|
|
6286
|
-
}),
|
|
6287
|
-
...(input.variables != null && { variables: se_ExpressionVariables(input.variables, context) }),
|
|
6288
|
-
};
|
|
6289
|
-
};
|
|
6290
|
-
const se_TransformProcessingConfig = (input, context) => {
|
|
6291
|
-
return {
|
|
6292
|
-
...(input.computeLocation != null && { computeLocation: input.computeLocation }),
|
|
6293
|
-
...(input.forwardingConfig != null && { forwardingConfig: se_ForwardingConfig(input.forwardingConfig, context) }),
|
|
6294
|
-
};
|
|
6295
|
-
};
|
|
6296
|
-
const se_TumblingWindow = (input, context) => {
|
|
6297
|
-
return {
|
|
6298
|
-
...(input.interval != null && { interval: input.interval }),
|
|
6299
|
-
...(input.offset != null && { offset: input.offset }),
|
|
6300
|
-
};
|
|
6301
|
-
};
|
|
6302
|
-
const se_UserIdentity = (input, context) => {
|
|
6303
|
-
return {
|
|
6304
|
-
...(input.id != null && { id: input.id }),
|
|
6305
|
-
};
|
|
6306
|
-
};
|
|
6307
|
-
const se_VariableValue = (input, context) => {
|
|
6308
|
-
return {
|
|
6309
|
-
...(input.hierarchyId != null && { hierarchyId: input.hierarchyId }),
|
|
6310
|
-
...(input.propertyId != null && { propertyId: input.propertyId }),
|
|
6311
|
-
};
|
|
6312
|
-
};
|
|
6313
5638
|
const se_Variant = (input, context) => {
|
|
6314
|
-
return {
|
|
6315
|
-
|
|
6316
|
-
|
|
6317
|
-
|
|
6318
|
-
|
|
6319
|
-
};
|
|
5639
|
+
return take(input, {
|
|
5640
|
+
booleanValue: [],
|
|
5641
|
+
doubleValue: __serializeFloat,
|
|
5642
|
+
integerValue: [],
|
|
5643
|
+
stringValue: [],
|
|
5644
|
+
});
|
|
6320
5645
|
};
|
|
6321
5646
|
const de_AccessPolicySummaries = (output, context) => {
|
|
6322
5647
|
const retVal = (output || [])
|
|
6323
5648
|
.filter((e) => e != null)
|
|
6324
5649
|
.map((entry) => {
|
|
6325
|
-
if (entry === null) {
|
|
6326
|
-
return null;
|
|
6327
|
-
}
|
|
6328
5650
|
return de_AccessPolicySummary(entry, context);
|
|
6329
5651
|
});
|
|
6330
5652
|
return retVal;
|
|
6331
5653
|
};
|
|
6332
5654
|
const de_AccessPolicySummary = (output, context) => {
|
|
6333
|
-
return {
|
|
6334
|
-
creationDate:
|
|
6335
|
-
|
|
6336
|
-
|
|
6337
|
-
|
|
6338
|
-
|
|
6339
|
-
|
|
6340
|
-
|
|
6341
|
-
: undefined,
|
|
6342
|
-
permission: __expectString(output.permission),
|
|
6343
|
-
resource: output.resource != null ? de_Resource(output.resource, context) : undefined,
|
|
6344
|
-
};
|
|
5655
|
+
return take(output, {
|
|
5656
|
+
creationDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
5657
|
+
id: __expectString,
|
|
5658
|
+
identity: _json,
|
|
5659
|
+
lastUpdateDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
5660
|
+
permission: __expectString,
|
|
5661
|
+
resource: _json,
|
|
5662
|
+
});
|
|
6345
5663
|
};
|
|
6346
5664
|
const de_AggregatedValue = (output, context) => {
|
|
6347
|
-
return {
|
|
6348
|
-
quality: __expectString
|
|
6349
|
-
timestamp:
|
|
6350
|
-
value:
|
|
6351
|
-
};
|
|
5665
|
+
return take(output, {
|
|
5666
|
+
quality: __expectString,
|
|
5667
|
+
timestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
5668
|
+
value: (_) => de_Aggregates(_, context),
|
|
5669
|
+
});
|
|
6352
5670
|
};
|
|
6353
5671
|
const de_AggregatedValues = (output, context) => {
|
|
6354
5672
|
const retVal = (output || [])
|
|
6355
5673
|
.filter((e) => e != null)
|
|
6356
5674
|
.map((entry) => {
|
|
6357
|
-
if (entry === null) {
|
|
6358
|
-
return null;
|
|
6359
|
-
}
|
|
6360
5675
|
return de_AggregatedValue(entry, context);
|
|
6361
5676
|
});
|
|
6362
5677
|
return retVal;
|
|
6363
5678
|
};
|
|
6364
5679
|
const de_Aggregates = (output, context) => {
|
|
6365
|
-
return {
|
|
6366
|
-
average: __limitedParseDouble
|
|
6367
|
-
count: __limitedParseDouble
|
|
6368
|
-
maximum: __limitedParseDouble
|
|
6369
|
-
minimum: __limitedParseDouble
|
|
6370
|
-
standardDeviation: __limitedParseDouble
|
|
6371
|
-
sum: __limitedParseDouble
|
|
6372
|
-
};
|
|
6373
|
-
};
|
|
6374
|
-
const de_Alarms = (output, context) => {
|
|
6375
|
-
return {
|
|
6376
|
-
alarmRoleArn: __expectString(output.alarmRoleArn),
|
|
6377
|
-
notificationLambdaArn: __expectString(output.notificationLambdaArn),
|
|
6378
|
-
};
|
|
6379
|
-
};
|
|
6380
|
-
const de_AssetCompositeModel = (output, context) => {
|
|
6381
|
-
return {
|
|
6382
|
-
description: __expectString(output.description),
|
|
6383
|
-
id: __expectString(output.id),
|
|
6384
|
-
name: __expectString(output.name),
|
|
6385
|
-
properties: output.properties != null ? de_AssetProperties(output.properties, context) : undefined,
|
|
6386
|
-
type: __expectString(output.type),
|
|
6387
|
-
};
|
|
5680
|
+
return take(output, {
|
|
5681
|
+
average: __limitedParseDouble,
|
|
5682
|
+
count: __limitedParseDouble,
|
|
5683
|
+
maximum: __limitedParseDouble,
|
|
5684
|
+
minimum: __limitedParseDouble,
|
|
5685
|
+
standardDeviation: __limitedParseDouble,
|
|
5686
|
+
sum: __limitedParseDouble,
|
|
5687
|
+
});
|
|
6388
5688
|
};
|
|
6389
|
-
const
|
|
5689
|
+
const de_AssetModelSummaries = (output, context) => {
|
|
6390
5690
|
const retVal = (output || [])
|
|
6391
5691
|
.filter((e) => e != null)
|
|
6392
5692
|
.map((entry) => {
|
|
6393
|
-
|
|
6394
|
-
return null;
|
|
6395
|
-
}
|
|
6396
|
-
return de_AssetCompositeModel(entry, context);
|
|
5693
|
+
return de_AssetModelSummary(entry, context);
|
|
6397
5694
|
});
|
|
6398
5695
|
return retVal;
|
|
6399
5696
|
};
|
|
6400
|
-
const
|
|
6401
|
-
return {
|
|
6402
|
-
|
|
6403
|
-
|
|
6404
|
-
|
|
6405
|
-
|
|
5697
|
+
const de_AssetModelSummary = (output, context) => {
|
|
5698
|
+
return take(output, {
|
|
5699
|
+
arn: __expectString,
|
|
5700
|
+
creationDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
5701
|
+
description: __expectString,
|
|
5702
|
+
id: __expectString,
|
|
5703
|
+
lastUpdateDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
5704
|
+
name: __expectString,
|
|
5705
|
+
status: _json,
|
|
5706
|
+
});
|
|
5707
|
+
};
|
|
5708
|
+
const de_AssetPropertyValue = (output, context) => {
|
|
5709
|
+
return take(output, {
|
|
5710
|
+
quality: __expectString,
|
|
5711
|
+
timestamp: _json,
|
|
5712
|
+
value: (_) => de_Variant(_, context),
|
|
5713
|
+
});
|
|
6406
5714
|
};
|
|
6407
|
-
const
|
|
5715
|
+
const de_AssetPropertyValueHistory = (output, context) => {
|
|
6408
5716
|
const retVal = (output || [])
|
|
6409
5717
|
.filter((e) => e != null)
|
|
6410
5718
|
.map((entry) => {
|
|
6411
|
-
|
|
6412
|
-
return null;
|
|
6413
|
-
}
|
|
6414
|
-
return de_AssetHierarchy(entry, context);
|
|
5719
|
+
return de_AssetPropertyValue(entry, context);
|
|
6415
5720
|
});
|
|
6416
5721
|
return retVal;
|
|
6417
5722
|
};
|
|
6418
|
-
const
|
|
6419
|
-
return {
|
|
6420
|
-
id: __expectString(output.id),
|
|
6421
|
-
name: __expectString(output.name),
|
|
6422
|
-
};
|
|
6423
|
-
};
|
|
6424
|
-
const de_AssetHierarchyInfo = (output, context) => {
|
|
6425
|
-
return {
|
|
6426
|
-
childAssetId: __expectString(output.childAssetId),
|
|
6427
|
-
parentAssetId: __expectString(output.parentAssetId),
|
|
6428
|
-
};
|
|
6429
|
-
};
|
|
6430
|
-
const de_AssetIDs = (output, context) => {
|
|
5723
|
+
const de_AssetSummaries = (output, context) => {
|
|
6431
5724
|
const retVal = (output || [])
|
|
6432
5725
|
.filter((e) => e != null)
|
|
6433
5726
|
.map((entry) => {
|
|
6434
|
-
|
|
6435
|
-
return null;
|
|
6436
|
-
}
|
|
6437
|
-
return __expectString(entry);
|
|
5727
|
+
return de_AssetSummary(entry, context);
|
|
6438
5728
|
});
|
|
6439
5729
|
return retVal;
|
|
6440
5730
|
};
|
|
6441
|
-
const
|
|
6442
|
-
return {
|
|
6443
|
-
|
|
6444
|
-
|
|
6445
|
-
|
|
6446
|
-
|
|
6447
|
-
|
|
6448
|
-
|
|
5731
|
+
const de_AssetSummary = (output, context) => {
|
|
5732
|
+
return take(output, {
|
|
5733
|
+
arn: __expectString,
|
|
5734
|
+
assetModelId: __expectString,
|
|
5735
|
+
creationDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
5736
|
+
description: __expectString,
|
|
5737
|
+
hierarchies: _json,
|
|
5738
|
+
id: __expectString,
|
|
5739
|
+
lastUpdateDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
5740
|
+
name: __expectString,
|
|
5741
|
+
status: _json,
|
|
5742
|
+
});
|
|
6449
5743
|
};
|
|
6450
|
-
const
|
|
5744
|
+
const de_AssociatedAssetsSummaries = (output, context) => {
|
|
6451
5745
|
const retVal = (output || [])
|
|
6452
5746
|
.filter((e) => e != null)
|
|
6453
5747
|
.map((entry) => {
|
|
6454
|
-
|
|
6455
|
-
return null;
|
|
6456
|
-
}
|
|
6457
|
-
return de_AssetModelCompositeModel(entry, context);
|
|
5748
|
+
return de_AssociatedAssetsSummary(entry, context);
|
|
6458
5749
|
});
|
|
6459
5750
|
return retVal;
|
|
6460
5751
|
};
|
|
6461
|
-
const
|
|
6462
|
-
|
|
6463
|
-
|
|
6464
|
-
|
|
6465
|
-
|
|
6466
|
-
|
|
6467
|
-
|
|
6468
|
-
|
|
5752
|
+
const de_AssociatedAssetsSummary = (output, context) => {
|
|
5753
|
+
return take(output, {
|
|
5754
|
+
arn: __expectString,
|
|
5755
|
+
assetModelId: __expectString,
|
|
5756
|
+
creationDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
5757
|
+
description: __expectString,
|
|
5758
|
+
hierarchies: _json,
|
|
5759
|
+
id: __expectString,
|
|
5760
|
+
lastUpdateDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
5761
|
+
name: __expectString,
|
|
5762
|
+
status: _json,
|
|
6469
5763
|
});
|
|
6470
|
-
return retVal;
|
|
6471
5764
|
};
|
|
6472
|
-
const
|
|
6473
|
-
return {
|
|
6474
|
-
|
|
6475
|
-
|
|
6476
|
-
|
|
6477
|
-
};
|
|
5765
|
+
const de_BatchGetAssetPropertyAggregatesErrorInfo = (output, context) => {
|
|
5766
|
+
return take(output, {
|
|
5767
|
+
errorCode: __expectString,
|
|
5768
|
+
errorTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
5769
|
+
});
|
|
6478
5770
|
};
|
|
6479
|
-
const
|
|
5771
|
+
const de_BatchGetAssetPropertyAggregatesSkippedEntries = (output, context) => {
|
|
6480
5772
|
const retVal = (output || [])
|
|
6481
5773
|
.filter((e) => e != null)
|
|
6482
5774
|
.map((entry) => {
|
|
6483
|
-
|
|
6484
|
-
return null;
|
|
6485
|
-
}
|
|
6486
|
-
return de_AssetModelProperty(entry, context);
|
|
5775
|
+
return de_BatchGetAssetPropertyAggregatesSkippedEntry(entry, context);
|
|
6487
5776
|
});
|
|
6488
5777
|
return retVal;
|
|
6489
5778
|
};
|
|
6490
|
-
const
|
|
6491
|
-
return {
|
|
6492
|
-
|
|
6493
|
-
|
|
6494
|
-
|
|
6495
|
-
|
|
6496
|
-
type: output.type != null ? de_PropertyType(output.type, context) : undefined,
|
|
6497
|
-
unit: __expectString(output.unit),
|
|
6498
|
-
};
|
|
5779
|
+
const de_BatchGetAssetPropertyAggregatesSkippedEntry = (output, context) => {
|
|
5780
|
+
return take(output, {
|
|
5781
|
+
completionStatus: __expectString,
|
|
5782
|
+
entryId: __expectString,
|
|
5783
|
+
errorInfo: (_) => de_BatchGetAssetPropertyAggregatesErrorInfo(_, context),
|
|
5784
|
+
});
|
|
6499
5785
|
};
|
|
6500
|
-
const
|
|
5786
|
+
const de_BatchGetAssetPropertyAggregatesSuccessEntries = (output, context) => {
|
|
6501
5787
|
const retVal = (output || [])
|
|
6502
5788
|
.filter((e) => e != null)
|
|
6503
5789
|
.map((entry) => {
|
|
6504
|
-
|
|
6505
|
-
return null;
|
|
6506
|
-
}
|
|
6507
|
-
return de_AssetModelPropertySummary(entry, context);
|
|
5790
|
+
return de_BatchGetAssetPropertyAggregatesSuccessEntry(entry, context);
|
|
6508
5791
|
});
|
|
6509
5792
|
return retVal;
|
|
6510
5793
|
};
|
|
6511
|
-
const
|
|
6512
|
-
return {
|
|
6513
|
-
|
|
6514
|
-
|
|
6515
|
-
|
|
6516
|
-
id: __expectString(output.id),
|
|
6517
|
-
name: __expectString(output.name),
|
|
6518
|
-
type: output.type != null ? de_PropertyType(output.type, context) : undefined,
|
|
6519
|
-
unit: __expectString(output.unit),
|
|
6520
|
-
};
|
|
5794
|
+
const de_BatchGetAssetPropertyAggregatesSuccessEntry = (output, context) => {
|
|
5795
|
+
return take(output, {
|
|
5796
|
+
aggregatedValues: (_) => de_AggregatedValues(_, context),
|
|
5797
|
+
entryId: __expectString,
|
|
5798
|
+
});
|
|
6521
5799
|
};
|
|
6522
|
-
const
|
|
6523
|
-
return {
|
|
6524
|
-
|
|
6525
|
-
|
|
6526
|
-
};
|
|
6527
|
-
};
|
|
6528
|
-
const de_AssetModelSummaries = (output, context) => {
|
|
6529
|
-
const retVal = (output || [])
|
|
6530
|
-
.filter((e) => e != null)
|
|
6531
|
-
.map((entry) => {
|
|
6532
|
-
if (entry === null) {
|
|
6533
|
-
return null;
|
|
6534
|
-
}
|
|
6535
|
-
return de_AssetModelSummary(entry, context);
|
|
6536
|
-
});
|
|
6537
|
-
return retVal;
|
|
6538
|
-
};
|
|
6539
|
-
const de_AssetModelSummary = (output, context) => {
|
|
6540
|
-
return {
|
|
6541
|
-
arn: __expectString(output.arn),
|
|
6542
|
-
creationDate: output.creationDate != null
|
|
6543
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDate)))
|
|
6544
|
-
: undefined,
|
|
6545
|
-
description: __expectString(output.description),
|
|
6546
|
-
id: __expectString(output.id),
|
|
6547
|
-
lastUpdateDate: output.lastUpdateDate != null
|
|
6548
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdateDate)))
|
|
6549
|
-
: undefined,
|
|
6550
|
-
name: __expectString(output.name),
|
|
6551
|
-
status: output.status != null ? de_AssetModelStatus(output.status, context) : undefined,
|
|
6552
|
-
};
|
|
6553
|
-
};
|
|
6554
|
-
const de_AssetProperties = (output, context) => {
|
|
6555
|
-
const retVal = (output || [])
|
|
6556
|
-
.filter((e) => e != null)
|
|
6557
|
-
.map((entry) => {
|
|
6558
|
-
if (entry === null) {
|
|
6559
|
-
return null;
|
|
6560
|
-
}
|
|
6561
|
-
return de_AssetProperty(entry, context);
|
|
6562
|
-
});
|
|
6563
|
-
return retVal;
|
|
6564
|
-
};
|
|
6565
|
-
const de_AssetProperty = (output, context) => {
|
|
6566
|
-
return {
|
|
6567
|
-
alias: __expectString(output.alias),
|
|
6568
|
-
dataType: __expectString(output.dataType),
|
|
6569
|
-
dataTypeSpec: __expectString(output.dataTypeSpec),
|
|
6570
|
-
id: __expectString(output.id),
|
|
6571
|
-
name: __expectString(output.name),
|
|
6572
|
-
notification: output.notification != null ? de_PropertyNotification(output.notification, context) : undefined,
|
|
6573
|
-
unit: __expectString(output.unit),
|
|
6574
|
-
};
|
|
6575
|
-
};
|
|
6576
|
-
const de_AssetPropertySummaries = (output, context) => {
|
|
6577
|
-
const retVal = (output || [])
|
|
6578
|
-
.filter((e) => e != null)
|
|
6579
|
-
.map((entry) => {
|
|
6580
|
-
if (entry === null) {
|
|
6581
|
-
return null;
|
|
6582
|
-
}
|
|
6583
|
-
return de_AssetPropertySummary(entry, context);
|
|
6584
|
-
});
|
|
6585
|
-
return retVal;
|
|
6586
|
-
};
|
|
6587
|
-
const de_AssetPropertySummary = (output, context) => {
|
|
6588
|
-
return {
|
|
6589
|
-
alias: __expectString(output.alias),
|
|
6590
|
-
assetCompositeModelId: __expectString(output.assetCompositeModelId),
|
|
6591
|
-
id: __expectString(output.id),
|
|
6592
|
-
notification: output.notification != null ? de_PropertyNotification(output.notification, context) : undefined,
|
|
6593
|
-
unit: __expectString(output.unit),
|
|
6594
|
-
};
|
|
6595
|
-
};
|
|
6596
|
-
const de_AssetPropertyValue = (output, context) => {
|
|
6597
|
-
return {
|
|
6598
|
-
quality: __expectString(output.quality),
|
|
6599
|
-
timestamp: output.timestamp != null ? de_TimeInNanos(output.timestamp, context) : undefined,
|
|
6600
|
-
value: output.value != null ? de_Variant(output.value, context) : undefined,
|
|
6601
|
-
};
|
|
6602
|
-
};
|
|
6603
|
-
const de_AssetPropertyValueHistory = (output, context) => {
|
|
6604
|
-
const retVal = (output || [])
|
|
6605
|
-
.filter((e) => e != null)
|
|
6606
|
-
.map((entry) => {
|
|
6607
|
-
if (entry === null) {
|
|
6608
|
-
return null;
|
|
6609
|
-
}
|
|
6610
|
-
return de_AssetPropertyValue(entry, context);
|
|
6611
|
-
});
|
|
6612
|
-
return retVal;
|
|
6613
|
-
};
|
|
6614
|
-
const de_AssetRelationshipSummaries = (output, context) => {
|
|
6615
|
-
const retVal = (output || [])
|
|
6616
|
-
.filter((e) => e != null)
|
|
6617
|
-
.map((entry) => {
|
|
6618
|
-
if (entry === null) {
|
|
6619
|
-
return null;
|
|
6620
|
-
}
|
|
6621
|
-
return de_AssetRelationshipSummary(entry, context);
|
|
6622
|
-
});
|
|
6623
|
-
return retVal;
|
|
6624
|
-
};
|
|
6625
|
-
const de_AssetRelationshipSummary = (output, context) => {
|
|
6626
|
-
return {
|
|
6627
|
-
hierarchyInfo: output.hierarchyInfo != null ? de_AssetHierarchyInfo(output.hierarchyInfo, context) : undefined,
|
|
6628
|
-
relationshipType: __expectString(output.relationshipType),
|
|
6629
|
-
};
|
|
6630
|
-
};
|
|
6631
|
-
const de_AssetStatus = (output, context) => {
|
|
6632
|
-
return {
|
|
6633
|
-
error: output.error != null ? de_ErrorDetails(output.error, context) : undefined,
|
|
6634
|
-
state: __expectString(output.state),
|
|
6635
|
-
};
|
|
6636
|
-
};
|
|
6637
|
-
const de_AssetSummaries = (output, context) => {
|
|
6638
|
-
const retVal = (output || [])
|
|
6639
|
-
.filter((e) => e != null)
|
|
6640
|
-
.map((entry) => {
|
|
6641
|
-
if (entry === null) {
|
|
6642
|
-
return null;
|
|
6643
|
-
}
|
|
6644
|
-
return de_AssetSummary(entry, context);
|
|
6645
|
-
});
|
|
6646
|
-
return retVal;
|
|
6647
|
-
};
|
|
6648
|
-
const de_AssetSummary = (output, context) => {
|
|
6649
|
-
return {
|
|
6650
|
-
arn: __expectString(output.arn),
|
|
6651
|
-
assetModelId: __expectString(output.assetModelId),
|
|
6652
|
-
creationDate: output.creationDate != null
|
|
6653
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDate)))
|
|
6654
|
-
: undefined,
|
|
6655
|
-
description: __expectString(output.description),
|
|
6656
|
-
hierarchies: output.hierarchies != null ? de_AssetHierarchies(output.hierarchies, context) : undefined,
|
|
6657
|
-
id: __expectString(output.id),
|
|
6658
|
-
lastUpdateDate: output.lastUpdateDate != null
|
|
6659
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdateDate)))
|
|
6660
|
-
: undefined,
|
|
6661
|
-
name: __expectString(output.name),
|
|
6662
|
-
status: output.status != null ? de_AssetStatus(output.status, context) : undefined,
|
|
6663
|
-
};
|
|
6664
|
-
};
|
|
6665
|
-
const de_AssociatedAssetsSummaries = (output, context) => {
|
|
6666
|
-
const retVal = (output || [])
|
|
6667
|
-
.filter((e) => e != null)
|
|
6668
|
-
.map((entry) => {
|
|
6669
|
-
if (entry === null) {
|
|
6670
|
-
return null;
|
|
6671
|
-
}
|
|
6672
|
-
return de_AssociatedAssetsSummary(entry, context);
|
|
6673
|
-
});
|
|
6674
|
-
return retVal;
|
|
6675
|
-
};
|
|
6676
|
-
const de_AssociatedAssetsSummary = (output, context) => {
|
|
6677
|
-
return {
|
|
6678
|
-
arn: __expectString(output.arn),
|
|
6679
|
-
assetModelId: __expectString(output.assetModelId),
|
|
6680
|
-
creationDate: output.creationDate != null
|
|
6681
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationDate)))
|
|
6682
|
-
: undefined,
|
|
6683
|
-
description: __expectString(output.description),
|
|
6684
|
-
hierarchies: output.hierarchies != null ? de_AssetHierarchies(output.hierarchies, context) : undefined,
|
|
6685
|
-
id: __expectString(output.id),
|
|
6686
|
-
lastUpdateDate: output.lastUpdateDate != null
|
|
6687
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdateDate)))
|
|
6688
|
-
: undefined,
|
|
6689
|
-
name: __expectString(output.name),
|
|
6690
|
-
status: output.status != null ? de_AssetStatus(output.status, context) : undefined,
|
|
6691
|
-
};
|
|
6692
|
-
};
|
|
6693
|
-
const de_Attribute = (output, context) => {
|
|
6694
|
-
return {
|
|
6695
|
-
defaultValue: __expectString(output.defaultValue),
|
|
6696
|
-
};
|
|
6697
|
-
};
|
|
6698
|
-
const de_BatchAssociateProjectAssetsErrors = (output, context) => {
|
|
6699
|
-
const retVal = (output || [])
|
|
6700
|
-
.filter((e) => e != null)
|
|
6701
|
-
.map((entry) => {
|
|
6702
|
-
if (entry === null) {
|
|
6703
|
-
return null;
|
|
6704
|
-
}
|
|
6705
|
-
return de_AssetErrorDetails(entry, context);
|
|
6706
|
-
});
|
|
6707
|
-
return retVal;
|
|
6708
|
-
};
|
|
6709
|
-
const de_BatchDisassociateProjectAssetsErrors = (output, context) => {
|
|
6710
|
-
const retVal = (output || [])
|
|
6711
|
-
.filter((e) => e != null)
|
|
6712
|
-
.map((entry) => {
|
|
6713
|
-
if (entry === null) {
|
|
6714
|
-
return null;
|
|
6715
|
-
}
|
|
6716
|
-
return de_AssetErrorDetails(entry, context);
|
|
6717
|
-
});
|
|
6718
|
-
return retVal;
|
|
6719
|
-
};
|
|
6720
|
-
const de_BatchGetAssetPropertyAggregatesErrorEntries = (output, context) => {
|
|
6721
|
-
const retVal = (output || [])
|
|
6722
|
-
.filter((e) => e != null)
|
|
6723
|
-
.map((entry) => {
|
|
6724
|
-
if (entry === null) {
|
|
6725
|
-
return null;
|
|
6726
|
-
}
|
|
6727
|
-
return de_BatchGetAssetPropertyAggregatesErrorEntry(entry, context);
|
|
6728
|
-
});
|
|
6729
|
-
return retVal;
|
|
6730
|
-
};
|
|
6731
|
-
const de_BatchGetAssetPropertyAggregatesErrorEntry = (output, context) => {
|
|
6732
|
-
return {
|
|
6733
|
-
entryId: __expectString(output.entryId),
|
|
6734
|
-
errorCode: __expectString(output.errorCode),
|
|
6735
|
-
errorMessage: __expectString(output.errorMessage),
|
|
6736
|
-
};
|
|
6737
|
-
};
|
|
6738
|
-
const de_BatchGetAssetPropertyAggregatesErrorInfo = (output, context) => {
|
|
6739
|
-
return {
|
|
6740
|
-
errorCode: __expectString(output.errorCode),
|
|
6741
|
-
errorTimestamp: output.errorTimestamp != null
|
|
6742
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.errorTimestamp)))
|
|
6743
|
-
: undefined,
|
|
6744
|
-
};
|
|
6745
|
-
};
|
|
6746
|
-
const de_BatchGetAssetPropertyAggregatesSkippedEntries = (output, context) => {
|
|
6747
|
-
const retVal = (output || [])
|
|
6748
|
-
.filter((e) => e != null)
|
|
6749
|
-
.map((entry) => {
|
|
6750
|
-
if (entry === null) {
|
|
6751
|
-
return null;
|
|
6752
|
-
}
|
|
6753
|
-
return de_BatchGetAssetPropertyAggregatesSkippedEntry(entry, context);
|
|
6754
|
-
});
|
|
6755
|
-
return retVal;
|
|
6756
|
-
};
|
|
6757
|
-
const de_BatchGetAssetPropertyAggregatesSkippedEntry = (output, context) => {
|
|
6758
|
-
return {
|
|
6759
|
-
completionStatus: __expectString(output.completionStatus),
|
|
6760
|
-
entryId: __expectString(output.entryId),
|
|
6761
|
-
errorInfo: output.errorInfo != null ? de_BatchGetAssetPropertyAggregatesErrorInfo(output.errorInfo, context) : undefined,
|
|
6762
|
-
};
|
|
6763
|
-
};
|
|
6764
|
-
const de_BatchGetAssetPropertyAggregatesSuccessEntries = (output, context) => {
|
|
6765
|
-
const retVal = (output || [])
|
|
6766
|
-
.filter((e) => e != null)
|
|
6767
|
-
.map((entry) => {
|
|
6768
|
-
if (entry === null) {
|
|
6769
|
-
return null;
|
|
6770
|
-
}
|
|
6771
|
-
return de_BatchGetAssetPropertyAggregatesSuccessEntry(entry, context);
|
|
6772
|
-
});
|
|
6773
|
-
return retVal;
|
|
6774
|
-
};
|
|
6775
|
-
const de_BatchGetAssetPropertyAggregatesSuccessEntry = (output, context) => {
|
|
6776
|
-
return {
|
|
6777
|
-
aggregatedValues: output.aggregatedValues != null ? de_AggregatedValues(output.aggregatedValues, context) : undefined,
|
|
6778
|
-
entryId: __expectString(output.entryId),
|
|
6779
|
-
};
|
|
6780
|
-
};
|
|
6781
|
-
const de_BatchGetAssetPropertyValueErrorEntries = (output, context) => {
|
|
6782
|
-
const retVal = (output || [])
|
|
6783
|
-
.filter((e) => e != null)
|
|
6784
|
-
.map((entry) => {
|
|
6785
|
-
if (entry === null) {
|
|
6786
|
-
return null;
|
|
6787
|
-
}
|
|
6788
|
-
return de_BatchGetAssetPropertyValueErrorEntry(entry, context);
|
|
6789
|
-
});
|
|
6790
|
-
return retVal;
|
|
6791
|
-
};
|
|
6792
|
-
const de_BatchGetAssetPropertyValueErrorEntry = (output, context) => {
|
|
6793
|
-
return {
|
|
6794
|
-
entryId: __expectString(output.entryId),
|
|
6795
|
-
errorCode: __expectString(output.errorCode),
|
|
6796
|
-
errorMessage: __expectString(output.errorMessage),
|
|
6797
|
-
};
|
|
6798
|
-
};
|
|
6799
|
-
const de_BatchGetAssetPropertyValueErrorInfo = (output, context) => {
|
|
6800
|
-
return {
|
|
6801
|
-
errorCode: __expectString(output.errorCode),
|
|
6802
|
-
errorTimestamp: output.errorTimestamp != null
|
|
6803
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.errorTimestamp)))
|
|
6804
|
-
: undefined,
|
|
6805
|
-
};
|
|
6806
|
-
};
|
|
6807
|
-
const de_BatchGetAssetPropertyValueHistoryErrorEntries = (output, context) => {
|
|
6808
|
-
const retVal = (output || [])
|
|
6809
|
-
.filter((e) => e != null)
|
|
6810
|
-
.map((entry) => {
|
|
6811
|
-
if (entry === null) {
|
|
6812
|
-
return null;
|
|
6813
|
-
}
|
|
6814
|
-
return de_BatchGetAssetPropertyValueHistoryErrorEntry(entry, context);
|
|
6815
|
-
});
|
|
6816
|
-
return retVal;
|
|
6817
|
-
};
|
|
6818
|
-
const de_BatchGetAssetPropertyValueHistoryErrorEntry = (output, context) => {
|
|
6819
|
-
return {
|
|
6820
|
-
entryId: __expectString(output.entryId),
|
|
6821
|
-
errorCode: __expectString(output.errorCode),
|
|
6822
|
-
errorMessage: __expectString(output.errorMessage),
|
|
6823
|
-
};
|
|
5800
|
+
const de_BatchGetAssetPropertyValueErrorInfo = (output, context) => {
|
|
5801
|
+
return take(output, {
|
|
5802
|
+
errorCode: __expectString,
|
|
5803
|
+
errorTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
5804
|
+
});
|
|
6824
5805
|
};
|
|
6825
5806
|
const de_BatchGetAssetPropertyValueHistoryErrorInfo = (output, context) => {
|
|
6826
|
-
return {
|
|
6827
|
-
errorCode: __expectString
|
|
6828
|
-
errorTimestamp:
|
|
6829
|
-
|
|
6830
|
-
: undefined,
|
|
6831
|
-
};
|
|
5807
|
+
return take(output, {
|
|
5808
|
+
errorCode: __expectString,
|
|
5809
|
+
errorTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
5810
|
+
});
|
|
6832
5811
|
};
|
|
6833
5812
|
const de_BatchGetAssetPropertyValueHistorySkippedEntries = (output, context) => {
|
|
6834
5813
|
const retVal = (output || [])
|
|
6835
5814
|
.filter((e) => e != null)
|
|
6836
5815
|
.map((entry) => {
|
|
6837
|
-
if (entry === null) {
|
|
6838
|
-
return null;
|
|
6839
|
-
}
|
|
6840
5816
|
return de_BatchGetAssetPropertyValueHistorySkippedEntry(entry, context);
|
|
6841
5817
|
});
|
|
6842
5818
|
return retVal;
|
|
6843
5819
|
};
|
|
6844
5820
|
const de_BatchGetAssetPropertyValueHistorySkippedEntry = (output, context) => {
|
|
6845
|
-
return {
|
|
6846
|
-
completionStatus: __expectString
|
|
6847
|
-
entryId: __expectString
|
|
6848
|
-
errorInfo:
|
|
6849
|
-
};
|
|
5821
|
+
return take(output, {
|
|
5822
|
+
completionStatus: __expectString,
|
|
5823
|
+
entryId: __expectString,
|
|
5824
|
+
errorInfo: (_) => de_BatchGetAssetPropertyValueHistoryErrorInfo(_, context),
|
|
5825
|
+
});
|
|
6850
5826
|
};
|
|
6851
5827
|
const de_BatchGetAssetPropertyValueHistorySuccessEntries = (output, context) => {
|
|
6852
5828
|
const retVal = (output || [])
|
|
6853
5829
|
.filter((e) => e != null)
|
|
6854
5830
|
.map((entry) => {
|
|
6855
|
-
if (entry === null) {
|
|
6856
|
-
return null;
|
|
6857
|
-
}
|
|
6858
5831
|
return de_BatchGetAssetPropertyValueHistorySuccessEntry(entry, context);
|
|
6859
5832
|
});
|
|
6860
5833
|
return retVal;
|
|
6861
5834
|
};
|
|
6862
5835
|
const de_BatchGetAssetPropertyValueHistorySuccessEntry = (output, context) => {
|
|
6863
|
-
return {
|
|
6864
|
-
assetPropertyValueHistory:
|
|
6865
|
-
|
|
6866
|
-
|
|
6867
|
-
entryId: __expectString(output.entryId),
|
|
6868
|
-
};
|
|
5836
|
+
return take(output, {
|
|
5837
|
+
assetPropertyValueHistory: (_) => de_AssetPropertyValueHistory(_, context),
|
|
5838
|
+
entryId: __expectString,
|
|
5839
|
+
});
|
|
6869
5840
|
};
|
|
6870
5841
|
const de_BatchGetAssetPropertyValueSkippedEntries = (output, context) => {
|
|
6871
5842
|
const retVal = (output || [])
|
|
6872
5843
|
.filter((e) => e != null)
|
|
6873
5844
|
.map((entry) => {
|
|
6874
|
-
if (entry === null) {
|
|
6875
|
-
return null;
|
|
6876
|
-
}
|
|
6877
5845
|
return de_BatchGetAssetPropertyValueSkippedEntry(entry, context);
|
|
6878
5846
|
});
|
|
6879
5847
|
return retVal;
|
|
6880
5848
|
};
|
|
6881
5849
|
const de_BatchGetAssetPropertyValueSkippedEntry = (output, context) => {
|
|
6882
|
-
return {
|
|
6883
|
-
completionStatus: __expectString
|
|
6884
|
-
entryId: __expectString
|
|
6885
|
-
errorInfo:
|
|
6886
|
-
};
|
|
5850
|
+
return take(output, {
|
|
5851
|
+
completionStatus: __expectString,
|
|
5852
|
+
entryId: __expectString,
|
|
5853
|
+
errorInfo: (_) => de_BatchGetAssetPropertyValueErrorInfo(_, context),
|
|
5854
|
+
});
|
|
6887
5855
|
};
|
|
6888
5856
|
const de_BatchGetAssetPropertyValueSuccessEntries = (output, context) => {
|
|
6889
5857
|
const retVal = (output || [])
|
|
6890
5858
|
.filter((e) => e != null)
|
|
6891
5859
|
.map((entry) => {
|
|
6892
|
-
if (entry === null) {
|
|
6893
|
-
return null;
|
|
6894
|
-
}
|
|
6895
5860
|
return de_BatchGetAssetPropertyValueSuccessEntry(entry, context);
|
|
6896
5861
|
});
|
|
6897
5862
|
return retVal;
|
|
6898
5863
|
};
|
|
6899
5864
|
const de_BatchGetAssetPropertyValueSuccessEntry = (output, context) => {
|
|
6900
|
-
return {
|
|
6901
|
-
assetPropertyValue:
|
|
6902
|
-
entryId: __expectString
|
|
6903
|
-
};
|
|
6904
|
-
};
|
|
6905
|
-
const de_BatchPutAssetPropertyError = (output, context) => {
|
|
6906
|
-
return {
|
|
6907
|
-
errorCode: __expectString(output.errorCode),
|
|
6908
|
-
errorMessage: __expectString(output.errorMessage),
|
|
6909
|
-
timestamps: output.timestamps != null ? de_Timestamps(output.timestamps, context) : undefined,
|
|
6910
|
-
};
|
|
6911
|
-
};
|
|
6912
|
-
const de_BatchPutAssetPropertyErrorEntries = (output, context) => {
|
|
6913
|
-
const retVal = (output || [])
|
|
6914
|
-
.filter((e) => e != null)
|
|
6915
|
-
.map((entry) => {
|
|
6916
|
-
if (entry === null) {
|
|
6917
|
-
return null;
|
|
6918
|
-
}
|
|
6919
|
-
return de_BatchPutAssetPropertyErrorEntry(entry, context);
|
|
5865
|
+
return take(output, {
|
|
5866
|
+
assetPropertyValue: (_) => de_AssetPropertyValue(_, context),
|
|
5867
|
+
entryId: __expectString,
|
|
6920
5868
|
});
|
|
6921
|
-
return retVal;
|
|
6922
|
-
};
|
|
6923
|
-
const de_BatchPutAssetPropertyErrorEntry = (output, context) => {
|
|
6924
|
-
return {
|
|
6925
|
-
entryId: __expectString(output.entryId),
|
|
6926
|
-
errors: output.errors != null ? de_BatchPutAssetPropertyErrors(output.errors, context) : undefined,
|
|
6927
|
-
};
|
|
6928
|
-
};
|
|
6929
|
-
const de_BatchPutAssetPropertyErrors = (output, context) => {
|
|
6930
|
-
const retVal = (output || [])
|
|
6931
|
-
.filter((e) => e != null)
|
|
6932
|
-
.map((entry) => {
|
|
6933
|
-
if (entry === null) {
|
|
6934
|
-
return null;
|
|
6935
|
-
}
|
|
6936
|
-
return de_BatchPutAssetPropertyError(entry, context);
|
|
6937
|
-
});
|
|
6938
|
-
return retVal;
|
|
6939
|
-
};
|
|
6940
|
-
const de_ColumnNames = (output, context) => {
|
|
6941
|
-
const retVal = (output || [])
|
|
6942
|
-
.filter((e) => e != null)
|
|
6943
|
-
.map((entry) => {
|
|
6944
|
-
if (entry === null) {
|
|
6945
|
-
return null;
|
|
6946
|
-
}
|
|
6947
|
-
return __expectString(entry);
|
|
6948
|
-
});
|
|
6949
|
-
return retVal;
|
|
6950
|
-
};
|
|
6951
|
-
const de_CompositeModelProperty = (output, context) => {
|
|
6952
|
-
return {
|
|
6953
|
-
assetProperty: output.assetProperty != null ? de_Property(output.assetProperty, context) : undefined,
|
|
6954
|
-
id: __expectString(output.id),
|
|
6955
|
-
name: __expectString(output.name),
|
|
6956
|
-
type: __expectString(output.type),
|
|
6957
|
-
};
|
|
6958
|
-
};
|
|
6959
|
-
const de_ConfigurationErrorDetails = (output, context) => {
|
|
6960
|
-
return {
|
|
6961
|
-
code: __expectString(output.code),
|
|
6962
|
-
message: __expectString(output.message),
|
|
6963
|
-
};
|
|
6964
|
-
};
|
|
6965
|
-
const de_ConfigurationStatus = (output, context) => {
|
|
6966
|
-
return {
|
|
6967
|
-
error: output.error != null ? de_ConfigurationErrorDetails(output.error, context) : undefined,
|
|
6968
|
-
state: __expectString(output.state),
|
|
6969
|
-
};
|
|
6970
|
-
};
|
|
6971
|
-
const de_Csv = (output, context) => {
|
|
6972
|
-
return {
|
|
6973
|
-
columnNames: output.columnNames != null ? de_ColumnNames(output.columnNames, context) : undefined,
|
|
6974
|
-
};
|
|
6975
|
-
};
|
|
6976
|
-
const de_CustomerManagedS3Storage = (output, context) => {
|
|
6977
|
-
return {
|
|
6978
|
-
roleArn: __expectString(output.roleArn),
|
|
6979
|
-
s3ResourceArn: __expectString(output.s3ResourceArn),
|
|
6980
|
-
};
|
|
6981
5869
|
};
|
|
6982
5870
|
const de_DashboardSummaries = (output, context) => {
|
|
6983
5871
|
const retVal = (output || [])
|
|
6984
5872
|
.filter((e) => e != null)
|
|
6985
5873
|
.map((entry) => {
|
|
6986
|
-
if (entry === null) {
|
|
6987
|
-
return null;
|
|
6988
|
-
}
|
|
6989
5874
|
return de_DashboardSummary(entry, context);
|
|
6990
5875
|
});
|
|
6991
5876
|
return retVal;
|
|
6992
5877
|
};
|
|
6993
5878
|
const de_DashboardSummary = (output, context) => {
|
|
6994
|
-
return {
|
|
6995
|
-
creationDate:
|
|
6996
|
-
|
|
6997
|
-
|
|
6998
|
-
|
|
6999
|
-
|
|
7000
|
-
lastUpdateDate: output.lastUpdateDate != null
|
|
7001
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdateDate)))
|
|
7002
|
-
: undefined,
|
|
7003
|
-
name: __expectString(output.name),
|
|
7004
|
-
};
|
|
7005
|
-
};
|
|
7006
|
-
const de_DetailedError = (output, context) => {
|
|
7007
|
-
return {
|
|
7008
|
-
code: __expectString(output.code),
|
|
7009
|
-
message: __expectString(output.message),
|
|
7010
|
-
};
|
|
7011
|
-
};
|
|
7012
|
-
const de_DetailedErrors = (output, context) => {
|
|
7013
|
-
const retVal = (output || [])
|
|
7014
|
-
.filter((e) => e != null)
|
|
7015
|
-
.map((entry) => {
|
|
7016
|
-
if (entry === null) {
|
|
7017
|
-
return null;
|
|
7018
|
-
}
|
|
7019
|
-
return de_DetailedError(entry, context);
|
|
7020
|
-
});
|
|
7021
|
-
return retVal;
|
|
7022
|
-
};
|
|
7023
|
-
const de_ErrorDetails = (output, context) => {
|
|
7024
|
-
return {
|
|
7025
|
-
code: __expectString(output.code),
|
|
7026
|
-
details: output.details != null ? de_DetailedErrors(output.details, context) : undefined,
|
|
7027
|
-
message: __expectString(output.message),
|
|
7028
|
-
};
|
|
7029
|
-
};
|
|
7030
|
-
const de_ErrorReportLocation = (output, context) => {
|
|
7031
|
-
return {
|
|
7032
|
-
bucket: __expectString(output.bucket),
|
|
7033
|
-
prefix: __expectString(output.prefix),
|
|
7034
|
-
};
|
|
7035
|
-
};
|
|
7036
|
-
const de_ExpressionVariable = (output, context) => {
|
|
7037
|
-
return {
|
|
7038
|
-
name: __expectString(output.name),
|
|
7039
|
-
value: output.value != null ? de_VariableValue(output.value, context) : undefined,
|
|
7040
|
-
};
|
|
7041
|
-
};
|
|
7042
|
-
const de_ExpressionVariables = (output, context) => {
|
|
7043
|
-
const retVal = (output || [])
|
|
7044
|
-
.filter((e) => e != null)
|
|
7045
|
-
.map((entry) => {
|
|
7046
|
-
if (entry === null) {
|
|
7047
|
-
return null;
|
|
7048
|
-
}
|
|
7049
|
-
return de_ExpressionVariable(entry, context);
|
|
7050
|
-
});
|
|
7051
|
-
return retVal;
|
|
7052
|
-
};
|
|
7053
|
-
const de_File = (output, context) => {
|
|
7054
|
-
return {
|
|
7055
|
-
bucket: __expectString(output.bucket),
|
|
7056
|
-
key: __expectString(output.key),
|
|
7057
|
-
versionId: __expectString(output.versionId),
|
|
7058
|
-
};
|
|
7059
|
-
};
|
|
7060
|
-
const de_FileFormat = (output, context) => {
|
|
7061
|
-
return {
|
|
7062
|
-
csv: output.csv != null ? de_Csv(output.csv, context) : undefined,
|
|
7063
|
-
};
|
|
7064
|
-
};
|
|
7065
|
-
const de_Files = (output, context) => {
|
|
7066
|
-
const retVal = (output || [])
|
|
7067
|
-
.filter((e) => e != null)
|
|
7068
|
-
.map((entry) => {
|
|
7069
|
-
if (entry === null) {
|
|
7070
|
-
return null;
|
|
7071
|
-
}
|
|
7072
|
-
return de_File(entry, context);
|
|
7073
|
-
});
|
|
7074
|
-
return retVal;
|
|
7075
|
-
};
|
|
7076
|
-
const de_ForwardingConfig = (output, context) => {
|
|
7077
|
-
return {
|
|
7078
|
-
state: __expectString(output.state),
|
|
7079
|
-
};
|
|
7080
|
-
};
|
|
7081
|
-
const de_GatewayCapabilitySummaries = (output, context) => {
|
|
7082
|
-
const retVal = (output || [])
|
|
7083
|
-
.filter((e) => e != null)
|
|
7084
|
-
.map((entry) => {
|
|
7085
|
-
if (entry === null) {
|
|
7086
|
-
return null;
|
|
7087
|
-
}
|
|
7088
|
-
return de_GatewayCapabilitySummary(entry, context);
|
|
5879
|
+
return take(output, {
|
|
5880
|
+
creationDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
5881
|
+
description: __expectString,
|
|
5882
|
+
id: __expectString,
|
|
5883
|
+
lastUpdateDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
5884
|
+
name: __expectString,
|
|
7089
5885
|
});
|
|
7090
|
-
return retVal;
|
|
7091
|
-
};
|
|
7092
|
-
const de_GatewayCapabilitySummary = (output, context) => {
|
|
7093
|
-
return {
|
|
7094
|
-
capabilityNamespace: __expectString(output.capabilityNamespace),
|
|
7095
|
-
capabilitySyncStatus: __expectString(output.capabilitySyncStatus),
|
|
7096
|
-
};
|
|
7097
|
-
};
|
|
7098
|
-
const de_GatewayPlatform = (output, context) => {
|
|
7099
|
-
return {
|
|
7100
|
-
greengrass: output.greengrass != null ? de_Greengrass(output.greengrass, context) : undefined,
|
|
7101
|
-
greengrassV2: output.greengrassV2 != null ? de_GreengrassV2(output.greengrassV2, context) : undefined,
|
|
7102
|
-
};
|
|
7103
5886
|
};
|
|
7104
5887
|
const de_GatewaySummaries = (output, context) => {
|
|
7105
5888
|
const retVal = (output || [])
|
|
7106
5889
|
.filter((e) => e != null)
|
|
7107
5890
|
.map((entry) => {
|
|
7108
|
-
if (entry === null) {
|
|
7109
|
-
return null;
|
|
7110
|
-
}
|
|
7111
5891
|
return de_GatewaySummary(entry, context);
|
|
7112
5892
|
});
|
|
7113
5893
|
return retVal;
|
|
7114
5894
|
};
|
|
7115
5895
|
const de_GatewaySummary = (output, context) => {
|
|
7116
|
-
return {
|
|
7117
|
-
creationDate:
|
|
7118
|
-
|
|
7119
|
-
|
|
7120
|
-
|
|
7121
|
-
|
|
7122
|
-
|
|
7123
|
-
|
|
7124
|
-
gatewayName: __expectString(output.gatewayName),
|
|
7125
|
-
gatewayPlatform: output.gatewayPlatform != null ? de_GatewayPlatform(output.gatewayPlatform, context) : undefined,
|
|
7126
|
-
lastUpdateDate: output.lastUpdateDate != null
|
|
7127
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdateDate)))
|
|
7128
|
-
: undefined,
|
|
7129
|
-
};
|
|
7130
|
-
};
|
|
7131
|
-
const de_Greengrass = (output, context) => {
|
|
7132
|
-
return {
|
|
7133
|
-
groupArn: __expectString(output.groupArn),
|
|
7134
|
-
};
|
|
7135
|
-
};
|
|
7136
|
-
const de_GreengrassV2 = (output, context) => {
|
|
7137
|
-
return {
|
|
7138
|
-
coreDeviceThingName: __expectString(output.coreDeviceThingName),
|
|
7139
|
-
};
|
|
7140
|
-
};
|
|
7141
|
-
const de_GroupIdentity = (output, context) => {
|
|
7142
|
-
return {
|
|
7143
|
-
id: __expectString(output.id),
|
|
7144
|
-
};
|
|
7145
|
-
};
|
|
7146
|
-
const de_IAMRoleIdentity = (output, context) => {
|
|
7147
|
-
return {
|
|
7148
|
-
arn: __expectString(output.arn),
|
|
7149
|
-
};
|
|
7150
|
-
};
|
|
7151
|
-
const de_IAMUserIdentity = (output, context) => {
|
|
7152
|
-
return {
|
|
7153
|
-
arn: __expectString(output.arn),
|
|
7154
|
-
};
|
|
7155
|
-
};
|
|
7156
|
-
const de_Identity = (output, context) => {
|
|
7157
|
-
return {
|
|
7158
|
-
group: output.group != null ? de_GroupIdentity(output.group, context) : undefined,
|
|
7159
|
-
iamRole: output.iamRole != null ? de_IAMRoleIdentity(output.iamRole, context) : undefined,
|
|
7160
|
-
iamUser: output.iamUser != null ? de_IAMUserIdentity(output.iamUser, context) : undefined,
|
|
7161
|
-
user: output.user != null ? de_UserIdentity(output.user, context) : undefined,
|
|
7162
|
-
};
|
|
7163
|
-
};
|
|
7164
|
-
const de_ImageLocation = (output, context) => {
|
|
7165
|
-
return {
|
|
7166
|
-
id: __expectString(output.id),
|
|
7167
|
-
url: __expectString(output.url),
|
|
7168
|
-
};
|
|
5896
|
+
return take(output, {
|
|
5897
|
+
creationDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
5898
|
+
gatewayCapabilitySummaries: _json,
|
|
5899
|
+
gatewayId: __expectString,
|
|
5900
|
+
gatewayName: __expectString,
|
|
5901
|
+
gatewayPlatform: _json,
|
|
5902
|
+
lastUpdateDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
5903
|
+
});
|
|
7169
5904
|
};
|
|
7170
5905
|
const de_InterpolatedAssetPropertyValue = (output, context) => {
|
|
7171
|
-
return {
|
|
7172
|
-
timestamp:
|
|
7173
|
-
value:
|
|
7174
|
-
};
|
|
5906
|
+
return take(output, {
|
|
5907
|
+
timestamp: _json,
|
|
5908
|
+
value: (_) => de_Variant(_, context),
|
|
5909
|
+
});
|
|
7175
5910
|
};
|
|
7176
5911
|
const de_InterpolatedAssetPropertyValues = (output, context) => {
|
|
7177
5912
|
const retVal = (output || [])
|
|
7178
5913
|
.filter((e) => e != null)
|
|
7179
5914
|
.map((entry) => {
|
|
7180
|
-
if (entry === null) {
|
|
7181
|
-
return null;
|
|
7182
|
-
}
|
|
7183
5915
|
return de_InterpolatedAssetPropertyValue(entry, context);
|
|
7184
5916
|
});
|
|
7185
5917
|
return retVal;
|
|
7186
5918
|
};
|
|
7187
|
-
const de_JobConfiguration = (output, context) => {
|
|
7188
|
-
return {
|
|
7189
|
-
fileFormat: output.fileFormat != null ? de_FileFormat(output.fileFormat, context) : undefined,
|
|
7190
|
-
};
|
|
7191
|
-
};
|
|
7192
|
-
const de_JobSummaries = (output, context) => {
|
|
7193
|
-
const retVal = (output || [])
|
|
7194
|
-
.filter((e) => e != null)
|
|
7195
|
-
.map((entry) => {
|
|
7196
|
-
if (entry === null) {
|
|
7197
|
-
return null;
|
|
7198
|
-
}
|
|
7199
|
-
return de_JobSummary(entry, context);
|
|
7200
|
-
});
|
|
7201
|
-
return retVal;
|
|
7202
|
-
};
|
|
7203
|
-
const de_JobSummary = (output, context) => {
|
|
7204
|
-
return {
|
|
7205
|
-
id: __expectString(output.id),
|
|
7206
|
-
name: __expectString(output.name),
|
|
7207
|
-
status: __expectString(output.status),
|
|
7208
|
-
};
|
|
7209
|
-
};
|
|
7210
|
-
const de_LoggingOptions = (output, context) => {
|
|
7211
|
-
return {
|
|
7212
|
-
level: __expectString(output.level),
|
|
7213
|
-
};
|
|
7214
|
-
};
|
|
7215
|
-
const de_Measurement = (output, context) => {
|
|
7216
|
-
return {
|
|
7217
|
-
processingConfig: output.processingConfig != null ? de_MeasurementProcessingConfig(output.processingConfig, context) : undefined,
|
|
7218
|
-
};
|
|
7219
|
-
};
|
|
7220
|
-
const de_MeasurementProcessingConfig = (output, context) => {
|
|
7221
|
-
return {
|
|
7222
|
-
forwardingConfig: output.forwardingConfig != null ? de_ForwardingConfig(output.forwardingConfig, context) : undefined,
|
|
7223
|
-
};
|
|
7224
|
-
};
|
|
7225
|
-
const de_Metric = (output, context) => {
|
|
7226
|
-
return {
|
|
7227
|
-
expression: __expectString(output.expression),
|
|
7228
|
-
processingConfig: output.processingConfig != null ? de_MetricProcessingConfig(output.processingConfig, context) : undefined,
|
|
7229
|
-
variables: output.variables != null ? de_ExpressionVariables(output.variables, context) : undefined,
|
|
7230
|
-
window: output.window != null ? de_MetricWindow(output.window, context) : undefined,
|
|
7231
|
-
};
|
|
7232
|
-
};
|
|
7233
|
-
const de_MetricProcessingConfig = (output, context) => {
|
|
7234
|
-
return {
|
|
7235
|
-
computeLocation: __expectString(output.computeLocation),
|
|
7236
|
-
};
|
|
7237
|
-
};
|
|
7238
|
-
const de_MetricWindow = (output, context) => {
|
|
7239
|
-
return {
|
|
7240
|
-
tumbling: output.tumbling != null ? de_TumblingWindow(output.tumbling, context) : undefined,
|
|
7241
|
-
};
|
|
7242
|
-
};
|
|
7243
|
-
const de_MonitorErrorDetails = (output, context) => {
|
|
7244
|
-
return {
|
|
7245
|
-
code: __expectString(output.code),
|
|
7246
|
-
message: __expectString(output.message),
|
|
7247
|
-
};
|
|
7248
|
-
};
|
|
7249
|
-
const de_MultiLayerStorage = (output, context) => {
|
|
7250
|
-
return {
|
|
7251
|
-
customerManagedS3Storage: output.customerManagedS3Storage != null
|
|
7252
|
-
? de_CustomerManagedS3Storage(output.customerManagedS3Storage, context)
|
|
7253
|
-
: undefined,
|
|
7254
|
-
};
|
|
7255
|
-
};
|
|
7256
|
-
const de_PortalResource = (output, context) => {
|
|
7257
|
-
return {
|
|
7258
|
-
id: __expectString(output.id),
|
|
7259
|
-
};
|
|
7260
|
-
};
|
|
7261
|
-
const de_PortalStatus = (output, context) => {
|
|
7262
|
-
return {
|
|
7263
|
-
error: output.error != null ? de_MonitorErrorDetails(output.error, context) : undefined,
|
|
7264
|
-
state: __expectString(output.state),
|
|
7265
|
-
};
|
|
7266
|
-
};
|
|
7267
5919
|
const de_PortalSummaries = (output, context) => {
|
|
7268
5920
|
const retVal = (output || [])
|
|
7269
5921
|
.filter((e) => e != null)
|
|
7270
5922
|
.map((entry) => {
|
|
7271
|
-
if (entry === null) {
|
|
7272
|
-
return null;
|
|
7273
|
-
}
|
|
7274
5923
|
return de_PortalSummary(entry, context);
|
|
7275
5924
|
});
|
|
7276
5925
|
return retVal;
|
|
7277
5926
|
};
|
|
7278
5927
|
const de_PortalSummary = (output, context) => {
|
|
7279
|
-
return {
|
|
7280
|
-
creationDate:
|
|
7281
|
-
|
|
7282
|
-
|
|
7283
|
-
|
|
7284
|
-
|
|
7285
|
-
|
|
7286
|
-
|
|
7287
|
-
|
|
7288
|
-
|
|
7289
|
-
roleArn: __expectString(output.roleArn),
|
|
7290
|
-
startUrl: __expectString(output.startUrl),
|
|
7291
|
-
status: output.status != null ? de_PortalStatus(output.status, context) : undefined,
|
|
7292
|
-
};
|
|
7293
|
-
};
|
|
7294
|
-
const de_ProjectResource = (output, context) => {
|
|
7295
|
-
return {
|
|
7296
|
-
id: __expectString(output.id),
|
|
7297
|
-
};
|
|
5928
|
+
return take(output, {
|
|
5929
|
+
creationDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
5930
|
+
description: __expectString,
|
|
5931
|
+
id: __expectString,
|
|
5932
|
+
lastUpdateDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
5933
|
+
name: __expectString,
|
|
5934
|
+
roleArn: __expectString,
|
|
5935
|
+
startUrl: __expectString,
|
|
5936
|
+
status: _json,
|
|
5937
|
+
});
|
|
7298
5938
|
};
|
|
7299
5939
|
const de_ProjectSummaries = (output, context) => {
|
|
7300
5940
|
const retVal = (output || [])
|
|
7301
5941
|
.filter((e) => e != null)
|
|
7302
5942
|
.map((entry) => {
|
|
7303
|
-
if (entry === null) {
|
|
7304
|
-
return null;
|
|
7305
|
-
}
|
|
7306
5943
|
return de_ProjectSummary(entry, context);
|
|
7307
5944
|
});
|
|
7308
5945
|
return retVal;
|
|
7309
5946
|
};
|
|
7310
5947
|
const de_ProjectSummary = (output, context) => {
|
|
7311
|
-
return {
|
|
7312
|
-
creationDate:
|
|
7313
|
-
|
|
7314
|
-
|
|
7315
|
-
|
|
7316
|
-
|
|
7317
|
-
|
|
7318
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdateDate)))
|
|
7319
|
-
: undefined,
|
|
7320
|
-
name: __expectString(output.name),
|
|
7321
|
-
};
|
|
7322
|
-
};
|
|
7323
|
-
const de_Property = (output, context) => {
|
|
7324
|
-
return {
|
|
7325
|
-
alias: __expectString(output.alias),
|
|
7326
|
-
dataType: __expectString(output.dataType),
|
|
7327
|
-
id: __expectString(output.id),
|
|
7328
|
-
name: __expectString(output.name),
|
|
7329
|
-
notification: output.notification != null ? de_PropertyNotification(output.notification, context) : undefined,
|
|
7330
|
-
type: output.type != null ? de_PropertyType(output.type, context) : undefined,
|
|
7331
|
-
unit: __expectString(output.unit),
|
|
7332
|
-
};
|
|
7333
|
-
};
|
|
7334
|
-
const de_PropertyNotification = (output, context) => {
|
|
7335
|
-
return {
|
|
7336
|
-
state: __expectString(output.state),
|
|
7337
|
-
topic: __expectString(output.topic),
|
|
7338
|
-
};
|
|
7339
|
-
};
|
|
7340
|
-
const de_PropertyType = (output, context) => {
|
|
7341
|
-
return {
|
|
7342
|
-
attribute: output.attribute != null ? de_Attribute(output.attribute, context) : undefined,
|
|
7343
|
-
measurement: output.measurement != null ? de_Measurement(output.measurement, context) : undefined,
|
|
7344
|
-
metric: output.metric != null ? de_Metric(output.metric, context) : undefined,
|
|
7345
|
-
transform: output.transform != null ? de_Transform(output.transform, context) : undefined,
|
|
7346
|
-
};
|
|
7347
|
-
};
|
|
7348
|
-
const de_Resource = (output, context) => {
|
|
7349
|
-
return {
|
|
7350
|
-
portal: output.portal != null ? de_PortalResource(output.portal, context) : undefined,
|
|
7351
|
-
project: output.project != null ? de_ProjectResource(output.project, context) : undefined,
|
|
7352
|
-
};
|
|
7353
|
-
};
|
|
7354
|
-
const de_RetentionPeriod = (output, context) => {
|
|
7355
|
-
return {
|
|
7356
|
-
numberOfDays: __expectInt32(output.numberOfDays),
|
|
7357
|
-
unlimited: __expectBoolean(output.unlimited),
|
|
7358
|
-
};
|
|
7359
|
-
};
|
|
7360
|
-
const de_TagMap = (output, context) => {
|
|
7361
|
-
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
7362
|
-
if (value === null) {
|
|
7363
|
-
return acc;
|
|
7364
|
-
}
|
|
7365
|
-
acc[key] = __expectString(value);
|
|
7366
|
-
return acc;
|
|
7367
|
-
}, {});
|
|
7368
|
-
};
|
|
7369
|
-
const de_TimeInNanos = (output, context) => {
|
|
7370
|
-
return {
|
|
7371
|
-
offsetInNanos: __expectInt32(output.offsetInNanos),
|
|
7372
|
-
timeInSeconds: __expectLong(output.timeInSeconds),
|
|
7373
|
-
};
|
|
5948
|
+
return take(output, {
|
|
5949
|
+
creationDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
5950
|
+
description: __expectString,
|
|
5951
|
+
id: __expectString,
|
|
5952
|
+
lastUpdateDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
5953
|
+
name: __expectString,
|
|
5954
|
+
});
|
|
7374
5955
|
};
|
|
7375
5956
|
const de_TimeSeriesSummaries = (output, context) => {
|
|
7376
5957
|
const retVal = (output || [])
|
|
7377
5958
|
.filter((e) => e != null)
|
|
7378
5959
|
.map((entry) => {
|
|
7379
|
-
if (entry === null) {
|
|
7380
|
-
return null;
|
|
7381
|
-
}
|
|
7382
5960
|
return de_TimeSeriesSummary(entry, context);
|
|
7383
5961
|
});
|
|
7384
5962
|
return retVal;
|
|
7385
5963
|
};
|
|
7386
5964
|
const de_TimeSeriesSummary = (output, context) => {
|
|
7387
|
-
return {
|
|
7388
|
-
alias: __expectString
|
|
7389
|
-
assetId: __expectString
|
|
7390
|
-
dataType: __expectString
|
|
7391
|
-
dataTypeSpec: __expectString
|
|
7392
|
-
propertyId: __expectString
|
|
7393
|
-
timeSeriesArn: __expectString
|
|
7394
|
-
timeSeriesCreationDate:
|
|
7395
|
-
|
|
7396
|
-
|
|
7397
|
-
timeSeriesId: __expectString(output.timeSeriesId),
|
|
7398
|
-
timeSeriesLastUpdateDate: output.timeSeriesLastUpdateDate != null
|
|
7399
|
-
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.timeSeriesLastUpdateDate)))
|
|
7400
|
-
: undefined,
|
|
7401
|
-
};
|
|
7402
|
-
};
|
|
7403
|
-
const de_Timestamps = (output, context) => {
|
|
7404
|
-
const retVal = (output || [])
|
|
7405
|
-
.filter((e) => e != null)
|
|
7406
|
-
.map((entry) => {
|
|
7407
|
-
if (entry === null) {
|
|
7408
|
-
return null;
|
|
7409
|
-
}
|
|
7410
|
-
return de_TimeInNanos(entry, context);
|
|
5965
|
+
return take(output, {
|
|
5966
|
+
alias: __expectString,
|
|
5967
|
+
assetId: __expectString,
|
|
5968
|
+
dataType: __expectString,
|
|
5969
|
+
dataTypeSpec: __expectString,
|
|
5970
|
+
propertyId: __expectString,
|
|
5971
|
+
timeSeriesArn: __expectString,
|
|
5972
|
+
timeSeriesCreationDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
5973
|
+
timeSeriesId: __expectString,
|
|
5974
|
+
timeSeriesLastUpdateDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
7411
5975
|
});
|
|
7412
|
-
return retVal;
|
|
7413
|
-
};
|
|
7414
|
-
const de_Transform = (output, context) => {
|
|
7415
|
-
return {
|
|
7416
|
-
expression: __expectString(output.expression),
|
|
7417
|
-
processingConfig: output.processingConfig != null ? de_TransformProcessingConfig(output.processingConfig, context) : undefined,
|
|
7418
|
-
variables: output.variables != null ? de_ExpressionVariables(output.variables, context) : undefined,
|
|
7419
|
-
};
|
|
7420
|
-
};
|
|
7421
|
-
const de_TransformProcessingConfig = (output, context) => {
|
|
7422
|
-
return {
|
|
7423
|
-
computeLocation: __expectString(output.computeLocation),
|
|
7424
|
-
forwardingConfig: output.forwardingConfig != null ? de_ForwardingConfig(output.forwardingConfig, context) : undefined,
|
|
7425
|
-
};
|
|
7426
|
-
};
|
|
7427
|
-
const de_TumblingWindow = (output, context) => {
|
|
7428
|
-
return {
|
|
7429
|
-
interval: __expectString(output.interval),
|
|
7430
|
-
offset: __expectString(output.offset),
|
|
7431
|
-
};
|
|
7432
|
-
};
|
|
7433
|
-
const de_UserIdentity = (output, context) => {
|
|
7434
|
-
return {
|
|
7435
|
-
id: __expectString(output.id),
|
|
7436
|
-
};
|
|
7437
|
-
};
|
|
7438
|
-
const de_VariableValue = (output, context) => {
|
|
7439
|
-
return {
|
|
7440
|
-
hierarchyId: __expectString(output.hierarchyId),
|
|
7441
|
-
propertyId: __expectString(output.propertyId),
|
|
7442
|
-
};
|
|
7443
5976
|
};
|
|
7444
5977
|
const de_Variant = (output, context) => {
|
|
7445
|
-
return {
|
|
7446
|
-
booleanValue: __expectBoolean
|
|
7447
|
-
doubleValue: __limitedParseDouble
|
|
7448
|
-
integerValue: __expectInt32
|
|
7449
|
-
stringValue: __expectString
|
|
7450
|
-
};
|
|
5978
|
+
return take(output, {
|
|
5979
|
+
booleanValue: __expectBoolean,
|
|
5980
|
+
doubleValue: __limitedParseDouble,
|
|
5981
|
+
integerValue: __expectInt32,
|
|
5982
|
+
stringValue: __expectString,
|
|
5983
|
+
});
|
|
7451
5984
|
};
|
|
7452
5985
|
const deserializeMetadata = (output) => ({
|
|
7453
5986
|
httpStatusCode: output.statusCode,
|