@aws-sdk/client-auditmanager 3.28.0 → 3.32.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +32 -0
- package/dist/cjs/package.json +31 -31
- package/dist/cjs/protocols/Aws_restJson1.js +83 -79
- package/dist/cjs/protocols/Aws_restJson1.js.map +1 -1
- package/dist/es/endpoints.js +1 -2
- package/dist/es/endpoints.js.map +1 -1
- package/dist/es/package.json +31 -31
- package/dist/es/protocols/Aws_restJson1.js +294 -206
- package/dist/es/protocols/Aws_restJson1.js.map +1 -1
- package/package.json +31 -31
- package/protocols/Aws_restJson1.ts +90 -80
|
@@ -185,9 +185,13 @@ import {
|
|
|
185
185
|
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
186
186
|
import {
|
|
187
187
|
expectBoolean as __expectBoolean,
|
|
188
|
-
|
|
188
|
+
expectInt32 as __expectInt32,
|
|
189
|
+
expectNonNull as __expectNonNull,
|
|
190
|
+
expectNumber as __expectNumber,
|
|
191
|
+
expectObject as __expectObject,
|
|
189
192
|
expectString as __expectString,
|
|
190
193
|
extendedEncodeURIComponent as __extendedEncodeURIComponent,
|
|
194
|
+
parseEpochTimestamp as __parseEpochTimestamp,
|
|
191
195
|
} from "@aws-sdk/smithy-client";
|
|
192
196
|
import {
|
|
193
197
|
Endpoint as __Endpoint,
|
|
@@ -2027,7 +2031,7 @@ export const deserializeAws_restJson1BatchAssociateAssessmentReportEvidenceComma
|
|
|
2027
2031
|
errors: undefined,
|
|
2028
2032
|
evidenceIds: undefined,
|
|
2029
2033
|
};
|
|
2030
|
-
const data: any = await parseBody(output.body, context);
|
|
2034
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2031
2035
|
if (data.errors !== undefined && data.errors !== null) {
|
|
2032
2036
|
contents.errors = deserializeAws_restJson1AssessmentReportEvidenceErrors(data.errors, context);
|
|
2033
2037
|
}
|
|
@@ -2110,7 +2114,7 @@ export const deserializeAws_restJson1BatchCreateDelegationByAssessmentCommand =
|
|
|
2110
2114
|
delegations: undefined,
|
|
2111
2115
|
errors: undefined,
|
|
2112
2116
|
};
|
|
2113
|
-
const data: any = await parseBody(output.body, context);
|
|
2117
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2114
2118
|
if (data.delegations !== undefined && data.delegations !== null) {
|
|
2115
2119
|
contents.delegations = deserializeAws_restJson1Delegations(data.delegations, context);
|
|
2116
2120
|
}
|
|
@@ -2192,7 +2196,7 @@ export const deserializeAws_restJson1BatchDeleteDelegationByAssessmentCommand =
|
|
|
2192
2196
|
$metadata: deserializeMetadata(output),
|
|
2193
2197
|
errors: undefined,
|
|
2194
2198
|
};
|
|
2195
|
-
const data: any = await parseBody(output.body, context);
|
|
2199
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2196
2200
|
if (data.errors !== undefined && data.errors !== null) {
|
|
2197
2201
|
contents.errors = deserializeAws_restJson1BatchDeleteDelegationByAssessmentErrors(data.errors, context);
|
|
2198
2202
|
}
|
|
@@ -2272,7 +2276,7 @@ export const deserializeAws_restJson1BatchDisassociateAssessmentReportEvidenceCo
|
|
|
2272
2276
|
errors: undefined,
|
|
2273
2277
|
evidenceIds: undefined,
|
|
2274
2278
|
};
|
|
2275
|
-
const data: any = await parseBody(output.body, context);
|
|
2279
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2276
2280
|
if (data.errors !== undefined && data.errors !== null) {
|
|
2277
2281
|
contents.errors = deserializeAws_restJson1AssessmentReportEvidenceErrors(data.errors, context);
|
|
2278
2282
|
}
|
|
@@ -2354,7 +2358,7 @@ export const deserializeAws_restJson1BatchImportEvidenceToAssessmentControlComma
|
|
|
2354
2358
|
$metadata: deserializeMetadata(output),
|
|
2355
2359
|
errors: undefined,
|
|
2356
2360
|
};
|
|
2357
|
-
const data: any = await parseBody(output.body, context);
|
|
2361
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2358
2362
|
if (data.errors !== undefined && data.errors !== null) {
|
|
2359
2363
|
contents.errors = deserializeAws_restJson1BatchImportEvidenceToAssessmentControlErrors(data.errors, context);
|
|
2360
2364
|
}
|
|
@@ -2433,7 +2437,7 @@ export const deserializeAws_restJson1CreateAssessmentCommand = async (
|
|
|
2433
2437
|
$metadata: deserializeMetadata(output),
|
|
2434
2438
|
assessment: undefined,
|
|
2435
2439
|
};
|
|
2436
|
-
const data: any = await parseBody(output.body, context);
|
|
2440
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2437
2441
|
if (data.assessment !== undefined && data.assessment !== null) {
|
|
2438
2442
|
contents.assessment = deserializeAws_restJson1Assessment(data.assessment, context);
|
|
2439
2443
|
}
|
|
@@ -2512,7 +2516,7 @@ export const deserializeAws_restJson1CreateAssessmentFrameworkCommand = async (
|
|
|
2512
2516
|
$metadata: deserializeMetadata(output),
|
|
2513
2517
|
framework: undefined,
|
|
2514
2518
|
};
|
|
2515
|
-
const data: any = await parseBody(output.body, context);
|
|
2519
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2516
2520
|
if (data.framework !== undefined && data.framework !== null) {
|
|
2517
2521
|
contents.framework = deserializeAws_restJson1Framework(data.framework, context);
|
|
2518
2522
|
}
|
|
@@ -2591,7 +2595,7 @@ export const deserializeAws_restJson1CreateAssessmentReportCommand = async (
|
|
|
2591
2595
|
$metadata: deserializeMetadata(output),
|
|
2592
2596
|
assessmentReport: undefined,
|
|
2593
2597
|
};
|
|
2594
|
-
const data: any = await parseBody(output.body, context);
|
|
2598
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2595
2599
|
if (data.assessmentReport !== undefined && data.assessmentReport !== null) {
|
|
2596
2600
|
contents.assessmentReport = deserializeAws_restJson1AssessmentReport(data.assessmentReport, context);
|
|
2597
2601
|
}
|
|
@@ -2670,7 +2674,7 @@ export const deserializeAws_restJson1CreateControlCommand = async (
|
|
|
2670
2674
|
$metadata: deserializeMetadata(output),
|
|
2671
2675
|
control: undefined,
|
|
2672
2676
|
};
|
|
2673
|
-
const data: any = await parseBody(output.body, context);
|
|
2677
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2674
2678
|
if (data.control !== undefined && data.control !== null) {
|
|
2675
2679
|
contents.control = deserializeAws_restJson1Control(data.control, context);
|
|
2676
2680
|
}
|
|
@@ -3049,7 +3053,7 @@ export const deserializeAws_restJson1DeregisterAccountCommand = async (
|
|
|
3049
3053
|
$metadata: deserializeMetadata(output),
|
|
3050
3054
|
status: undefined,
|
|
3051
3055
|
};
|
|
3052
|
-
const data: any = await parseBody(output.body, context);
|
|
3056
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3053
3057
|
if (data.status !== undefined && data.status !== null) {
|
|
3054
3058
|
contents.status = __expectString(data.status);
|
|
3055
3059
|
}
|
|
@@ -3278,7 +3282,7 @@ export const deserializeAws_restJson1GetAccountStatusCommand = async (
|
|
|
3278
3282
|
$metadata: deserializeMetadata(output),
|
|
3279
3283
|
status: undefined,
|
|
3280
3284
|
};
|
|
3281
|
-
const data: any = await parseBody(output.body, context);
|
|
3285
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3282
3286
|
if (data.status !== undefined && data.status !== null) {
|
|
3283
3287
|
contents.status = __expectString(data.status);
|
|
3284
3288
|
}
|
|
@@ -3334,7 +3338,7 @@ export const deserializeAws_restJson1GetAssessmentCommand = async (
|
|
|
3334
3338
|
assessment: undefined,
|
|
3335
3339
|
userRole: undefined,
|
|
3336
3340
|
};
|
|
3337
|
-
const data: any = await parseBody(output.body, context);
|
|
3341
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3338
3342
|
if (data.assessment !== undefined && data.assessment !== null) {
|
|
3339
3343
|
contents.assessment = deserializeAws_restJson1Assessment(data.assessment, context);
|
|
3340
3344
|
}
|
|
@@ -3416,7 +3420,7 @@ export const deserializeAws_restJson1GetAssessmentFrameworkCommand = async (
|
|
|
3416
3420
|
$metadata: deserializeMetadata(output),
|
|
3417
3421
|
framework: undefined,
|
|
3418
3422
|
};
|
|
3419
|
-
const data: any = await parseBody(output.body, context);
|
|
3423
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3420
3424
|
if (data.framework !== undefined && data.framework !== null) {
|
|
3421
3425
|
contents.framework = deserializeAws_restJson1Framework(data.framework, context);
|
|
3422
3426
|
}
|
|
@@ -3495,7 +3499,7 @@ export const deserializeAws_restJson1GetAssessmentReportUrlCommand = async (
|
|
|
3495
3499
|
$metadata: deserializeMetadata(output),
|
|
3496
3500
|
preSignedUrl: undefined,
|
|
3497
3501
|
};
|
|
3498
|
-
const data: any = await parseBody(output.body, context);
|
|
3502
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3499
3503
|
if (data.preSignedUrl !== undefined && data.preSignedUrl !== null) {
|
|
3500
3504
|
contents.preSignedUrl = deserializeAws_restJson1URL(data.preSignedUrl, context);
|
|
3501
3505
|
}
|
|
@@ -3575,7 +3579,7 @@ export const deserializeAws_restJson1GetChangeLogsCommand = async (
|
|
|
3575
3579
|
changeLogs: undefined,
|
|
3576
3580
|
nextToken: undefined,
|
|
3577
3581
|
};
|
|
3578
|
-
const data: any = await parseBody(output.body, context);
|
|
3582
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3579
3583
|
if (data.changeLogs !== undefined && data.changeLogs !== null) {
|
|
3580
3584
|
contents.changeLogs = deserializeAws_restJson1ChangeLogs(data.changeLogs, context);
|
|
3581
3585
|
}
|
|
@@ -3657,7 +3661,7 @@ export const deserializeAws_restJson1GetControlCommand = async (
|
|
|
3657
3661
|
$metadata: deserializeMetadata(output),
|
|
3658
3662
|
control: undefined,
|
|
3659
3663
|
};
|
|
3660
|
-
const data: any = await parseBody(output.body, context);
|
|
3664
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3661
3665
|
if (data.control !== undefined && data.control !== null) {
|
|
3662
3666
|
contents.control = deserializeAws_restJson1Control(data.control, context);
|
|
3663
3667
|
}
|
|
@@ -3737,7 +3741,7 @@ export const deserializeAws_restJson1GetDelegationsCommand = async (
|
|
|
3737
3741
|
delegations: undefined,
|
|
3738
3742
|
nextToken: undefined,
|
|
3739
3743
|
};
|
|
3740
|
-
const data: any = await parseBody(output.body, context);
|
|
3744
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3741
3745
|
if (data.delegations !== undefined && data.delegations !== null) {
|
|
3742
3746
|
contents.delegations = deserializeAws_restJson1DelegationMetadataList(data.delegations, context);
|
|
3743
3747
|
}
|
|
@@ -3811,7 +3815,7 @@ export const deserializeAws_restJson1GetEvidenceCommand = async (
|
|
|
3811
3815
|
$metadata: deserializeMetadata(output),
|
|
3812
3816
|
evidence: undefined,
|
|
3813
3817
|
};
|
|
3814
|
-
const data: any = await parseBody(output.body, context);
|
|
3818
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3815
3819
|
if (data.evidence !== undefined && data.evidence !== null) {
|
|
3816
3820
|
contents.evidence = deserializeAws_restJson1Evidence(data.evidence, context);
|
|
3817
3821
|
}
|
|
@@ -3891,7 +3895,7 @@ export const deserializeAws_restJson1GetEvidenceByEvidenceFolderCommand = async
|
|
|
3891
3895
|
evidence: undefined,
|
|
3892
3896
|
nextToken: undefined,
|
|
3893
3897
|
};
|
|
3894
|
-
const data: any = await parseBody(output.body, context);
|
|
3898
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3895
3899
|
if (data.evidence !== undefined && data.evidence !== null) {
|
|
3896
3900
|
contents.evidence = deserializeAws_restJson1EvidenceList(data.evidence, context);
|
|
3897
3901
|
}
|
|
@@ -3973,7 +3977,7 @@ export const deserializeAws_restJson1GetEvidenceFolderCommand = async (
|
|
|
3973
3977
|
$metadata: deserializeMetadata(output),
|
|
3974
3978
|
evidenceFolder: undefined,
|
|
3975
3979
|
};
|
|
3976
|
-
const data: any = await parseBody(output.body, context);
|
|
3980
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3977
3981
|
if (data.evidenceFolder !== undefined && data.evidenceFolder !== null) {
|
|
3978
3982
|
contents.evidenceFolder = deserializeAws_restJson1AssessmentEvidenceFolder(data.evidenceFolder, context);
|
|
3979
3983
|
}
|
|
@@ -4053,7 +4057,7 @@ export const deserializeAws_restJson1GetEvidenceFoldersByAssessmentCommand = asy
|
|
|
4053
4057
|
evidenceFolders: undefined,
|
|
4054
4058
|
nextToken: undefined,
|
|
4055
4059
|
};
|
|
4056
|
-
const data: any = await parseBody(output.body, context);
|
|
4060
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
4057
4061
|
if (data.evidenceFolders !== undefined && data.evidenceFolders !== null) {
|
|
4058
4062
|
contents.evidenceFolders = deserializeAws_restJson1AssessmentEvidenceFolders(data.evidenceFolders, context);
|
|
4059
4063
|
}
|
|
@@ -4136,7 +4140,7 @@ export const deserializeAws_restJson1GetEvidenceFoldersByAssessmentControlComman
|
|
|
4136
4140
|
evidenceFolders: undefined,
|
|
4137
4141
|
nextToken: undefined,
|
|
4138
4142
|
};
|
|
4139
|
-
const data: any = await parseBody(output.body, context);
|
|
4143
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
4140
4144
|
if (data.evidenceFolders !== undefined && data.evidenceFolders !== null) {
|
|
4141
4145
|
contents.evidenceFolders = deserializeAws_restJson1AssessmentEvidenceFolders(data.evidenceFolders, context);
|
|
4142
4146
|
}
|
|
@@ -4219,7 +4223,7 @@ export const deserializeAws_restJson1GetOrganizationAdminAccountCommand = async
|
|
|
4219
4223
|
adminAccountId: undefined,
|
|
4220
4224
|
organizationId: undefined,
|
|
4221
4225
|
};
|
|
4222
|
-
const data: any = await parseBody(output.body, context);
|
|
4226
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
4223
4227
|
if (data.adminAccountId !== undefined && data.adminAccountId !== null) {
|
|
4224
4228
|
contents.adminAccountId = __expectString(data.adminAccountId);
|
|
4225
4229
|
}
|
|
@@ -4301,7 +4305,7 @@ export const deserializeAws_restJson1GetServicesInScopeCommand = async (
|
|
|
4301
4305
|
$metadata: deserializeMetadata(output),
|
|
4302
4306
|
serviceMetadata: undefined,
|
|
4303
4307
|
};
|
|
4304
|
-
const data: any = await parseBody(output.body, context);
|
|
4308
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
4305
4309
|
if (data.serviceMetadata !== undefined && data.serviceMetadata !== null) {
|
|
4306
4310
|
contents.serviceMetadata = deserializeAws_restJson1ServiceMetadataList(data.serviceMetadata, context);
|
|
4307
4311
|
}
|
|
@@ -4372,7 +4376,7 @@ export const deserializeAws_restJson1GetSettingsCommand = async (
|
|
|
4372
4376
|
$metadata: deserializeMetadata(output),
|
|
4373
4377
|
settings: undefined,
|
|
4374
4378
|
};
|
|
4375
|
-
const data: any = await parseBody(output.body, context);
|
|
4379
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
4376
4380
|
if (data.settings !== undefined && data.settings !== null) {
|
|
4377
4381
|
contents.settings = deserializeAws_restJson1Settings(data.settings, context);
|
|
4378
4382
|
}
|
|
@@ -4436,7 +4440,7 @@ export const deserializeAws_restJson1ListAssessmentFrameworksCommand = async (
|
|
|
4436
4440
|
frameworkMetadataList: undefined,
|
|
4437
4441
|
nextToken: undefined,
|
|
4438
4442
|
};
|
|
4439
|
-
const data: any = await parseBody(output.body, context);
|
|
4443
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
4440
4444
|
if (data.frameworkMetadataList !== undefined && data.frameworkMetadataList !== null) {
|
|
4441
4445
|
contents.frameworkMetadataList = deserializeAws_restJson1FrameworkMetadataList(data.frameworkMetadataList, context);
|
|
4442
4446
|
}
|
|
@@ -4511,7 +4515,7 @@ export const deserializeAws_restJson1ListAssessmentReportsCommand = async (
|
|
|
4511
4515
|
assessmentReports: undefined,
|
|
4512
4516
|
nextToken: undefined,
|
|
4513
4517
|
};
|
|
4514
|
-
const data: any = await parseBody(output.body, context);
|
|
4518
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
4515
4519
|
if (data.assessmentReports !== undefined && data.assessmentReports !== null) {
|
|
4516
4520
|
contents.assessmentReports = deserializeAws_restJson1AssessmentReportsMetadata(data.assessmentReports, context);
|
|
4517
4521
|
}
|
|
@@ -4586,7 +4590,7 @@ export const deserializeAws_restJson1ListAssessmentsCommand = async (
|
|
|
4586
4590
|
assessmentMetadata: undefined,
|
|
4587
4591
|
nextToken: undefined,
|
|
4588
4592
|
};
|
|
4589
|
-
const data: any = await parseBody(output.body, context);
|
|
4593
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
4590
4594
|
if (data.assessmentMetadata !== undefined && data.assessmentMetadata !== null) {
|
|
4591
4595
|
contents.assessmentMetadata = deserializeAws_restJson1ListAssessmentMetadata(data.assessmentMetadata, context);
|
|
4592
4596
|
}
|
|
@@ -4661,7 +4665,7 @@ export const deserializeAws_restJson1ListControlsCommand = async (
|
|
|
4661
4665
|
controlMetadataList: undefined,
|
|
4662
4666
|
nextToken: undefined,
|
|
4663
4667
|
};
|
|
4664
|
-
const data: any = await parseBody(output.body, context);
|
|
4668
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
4665
4669
|
if (data.controlMetadataList !== undefined && data.controlMetadataList !== null) {
|
|
4666
4670
|
contents.controlMetadataList = deserializeAws_restJson1ControlMetadataList(data.controlMetadataList, context);
|
|
4667
4671
|
}
|
|
@@ -4736,7 +4740,7 @@ export const deserializeAws_restJson1ListKeywordsForDataSourceCommand = async (
|
|
|
4736
4740
|
keywords: undefined,
|
|
4737
4741
|
nextToken: undefined,
|
|
4738
4742
|
};
|
|
4739
|
-
const data: any = await parseBody(output.body, context);
|
|
4743
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
4740
4744
|
if (data.keywords !== undefined && data.keywords !== null) {
|
|
4741
4745
|
contents.keywords = deserializeAws_restJson1Keywords(data.keywords, context);
|
|
4742
4746
|
}
|
|
@@ -4811,7 +4815,7 @@ export const deserializeAws_restJson1ListNotificationsCommand = async (
|
|
|
4811
4815
|
nextToken: undefined,
|
|
4812
4816
|
notifications: undefined,
|
|
4813
4817
|
};
|
|
4814
|
-
const data: any = await parseBody(output.body, context);
|
|
4818
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
4815
4819
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
4816
4820
|
contents.nextToken = __expectString(data.nextToken);
|
|
4817
4821
|
}
|
|
@@ -4885,7 +4889,7 @@ export const deserializeAws_restJson1ListTagsForResourceCommand = async (
|
|
|
4885
4889
|
$metadata: deserializeMetadata(output),
|
|
4886
4890
|
tags: undefined,
|
|
4887
4891
|
};
|
|
4888
|
-
const data: any = await parseBody(output.body, context);
|
|
4892
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
4889
4893
|
if (data.tags !== undefined && data.tags !== null) {
|
|
4890
4894
|
contents.tags = deserializeAws_restJson1TagMap(data.tags, context);
|
|
4891
4895
|
}
|
|
@@ -4956,7 +4960,7 @@ export const deserializeAws_restJson1RegisterAccountCommand = async (
|
|
|
4956
4960
|
$metadata: deserializeMetadata(output),
|
|
4957
4961
|
status: undefined,
|
|
4958
4962
|
};
|
|
4959
|
-
const data: any = await parseBody(output.body, context);
|
|
4963
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
4960
4964
|
if (data.status !== undefined && data.status !== null) {
|
|
4961
4965
|
contents.status = __expectString(data.status);
|
|
4962
4966
|
}
|
|
@@ -5036,7 +5040,7 @@ export const deserializeAws_restJson1RegisterOrganizationAdminAccountCommand = a
|
|
|
5036
5040
|
adminAccountId: undefined,
|
|
5037
5041
|
organizationId: undefined,
|
|
5038
5042
|
};
|
|
5039
|
-
const data: any = await parseBody(output.body, context);
|
|
5043
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
5040
5044
|
if (data.adminAccountId !== undefined && data.adminAccountId !== null) {
|
|
5041
5045
|
contents.adminAccountId = __expectString(data.adminAccountId);
|
|
5042
5046
|
}
|
|
@@ -5252,7 +5256,7 @@ export const deserializeAws_restJson1UpdateAssessmentCommand = async (
|
|
|
5252
5256
|
$metadata: deserializeMetadata(output),
|
|
5253
5257
|
assessment: undefined,
|
|
5254
5258
|
};
|
|
5255
|
-
const data: any = await parseBody(output.body, context);
|
|
5259
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
5256
5260
|
if (data.assessment !== undefined && data.assessment !== null) {
|
|
5257
5261
|
contents.assessment = deserializeAws_restJson1Assessment(data.assessment, context);
|
|
5258
5262
|
}
|
|
@@ -5331,7 +5335,7 @@ export const deserializeAws_restJson1UpdateAssessmentControlCommand = async (
|
|
|
5331
5335
|
$metadata: deserializeMetadata(output),
|
|
5332
5336
|
control: undefined,
|
|
5333
5337
|
};
|
|
5334
|
-
const data: any = await parseBody(output.body, context);
|
|
5338
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
5335
5339
|
if (data.control !== undefined && data.control !== null) {
|
|
5336
5340
|
contents.control = deserializeAws_restJson1AssessmentControl(data.control, context);
|
|
5337
5341
|
}
|
|
@@ -5410,7 +5414,7 @@ export const deserializeAws_restJson1UpdateAssessmentControlSetStatusCommand = a
|
|
|
5410
5414
|
$metadata: deserializeMetadata(output),
|
|
5411
5415
|
controlSet: undefined,
|
|
5412
5416
|
};
|
|
5413
|
-
const data: any = await parseBody(output.body, context);
|
|
5417
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
5414
5418
|
if (data.controlSet !== undefined && data.controlSet !== null) {
|
|
5415
5419
|
contents.controlSet = deserializeAws_restJson1AssessmentControlSet(data.controlSet, context);
|
|
5416
5420
|
}
|
|
@@ -5489,7 +5493,7 @@ export const deserializeAws_restJson1UpdateAssessmentFrameworkCommand = async (
|
|
|
5489
5493
|
$metadata: deserializeMetadata(output),
|
|
5490
5494
|
framework: undefined,
|
|
5491
5495
|
};
|
|
5492
|
-
const data: any = await parseBody(output.body, context);
|
|
5496
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
5493
5497
|
if (data.framework !== undefined && data.framework !== null) {
|
|
5494
5498
|
contents.framework = deserializeAws_restJson1Framework(data.framework, context);
|
|
5495
5499
|
}
|
|
@@ -5568,7 +5572,7 @@ export const deserializeAws_restJson1UpdateAssessmentStatusCommand = async (
|
|
|
5568
5572
|
$metadata: deserializeMetadata(output),
|
|
5569
5573
|
assessment: undefined,
|
|
5570
5574
|
};
|
|
5571
|
-
const data: any = await parseBody(output.body, context);
|
|
5575
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
5572
5576
|
if (data.assessment !== undefined && data.assessment !== null) {
|
|
5573
5577
|
contents.assessment = deserializeAws_restJson1Assessment(data.assessment, context);
|
|
5574
5578
|
}
|
|
@@ -5647,7 +5651,7 @@ export const deserializeAws_restJson1UpdateControlCommand = async (
|
|
|
5647
5651
|
$metadata: deserializeMetadata(output),
|
|
5648
5652
|
control: undefined,
|
|
5649
5653
|
};
|
|
5650
|
-
const data: any = await parseBody(output.body, context);
|
|
5654
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
5651
5655
|
if (data.control !== undefined && data.control !== null) {
|
|
5652
5656
|
contents.control = deserializeAws_restJson1Control(data.control, context);
|
|
5653
5657
|
}
|
|
@@ -5726,7 +5730,7 @@ export const deserializeAws_restJson1UpdateSettingsCommand = async (
|
|
|
5726
5730
|
$metadata: deserializeMetadata(output),
|
|
5727
5731
|
settings: undefined,
|
|
5728
5732
|
};
|
|
5729
|
-
const data: any = await parseBody(output.body, context);
|
|
5733
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
5730
5734
|
if (data.settings !== undefined && data.settings !== null) {
|
|
5731
5735
|
contents.settings = deserializeAws_restJson1Settings(data.settings, context);
|
|
5732
5736
|
}
|
|
@@ -5801,7 +5805,7 @@ export const deserializeAws_restJson1ValidateAssessmentReportIntegrityCommand =
|
|
|
5801
5805
|
signatureValid: undefined,
|
|
5802
5806
|
validationErrors: undefined,
|
|
5803
5807
|
};
|
|
5804
|
-
const data: any = await parseBody(output.body, context);
|
|
5808
|
+
const data: { [key: string]: any } = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
5805
5809
|
if (data.signatureAlgorithm !== undefined && data.signatureAlgorithm !== null) {
|
|
5806
5810
|
contents.signatureAlgorithm = __expectString(data.signatureAlgorithm);
|
|
5807
5811
|
}
|
|
@@ -6294,13 +6298,13 @@ const deserializeAws_restJson1Assessment = (output: any, context: __SerdeContext
|
|
|
6294
6298
|
|
|
6295
6299
|
const deserializeAws_restJson1AssessmentControl = (output: any, context: __SerdeContext): AssessmentControl => {
|
|
6296
6300
|
return {
|
|
6297
|
-
assessmentReportEvidenceCount:
|
|
6301
|
+
assessmentReportEvidenceCount: __expectInt32(output.assessmentReportEvidenceCount),
|
|
6298
6302
|
comments:
|
|
6299
6303
|
output.comments !== undefined && output.comments !== null
|
|
6300
6304
|
? deserializeAws_restJson1ControlComments(output.comments, context)
|
|
6301
6305
|
: undefined,
|
|
6302
6306
|
description: __expectString(output.description),
|
|
6303
|
-
evidenceCount:
|
|
6307
|
+
evidenceCount: __expectInt32(output.evidenceCount),
|
|
6304
6308
|
evidenceSources:
|
|
6305
6309
|
output.evidenceSources !== undefined && output.evidenceSources !== null
|
|
6306
6310
|
? deserializeAws_restJson1EvidenceSources(output.evidenceSources, context)
|
|
@@ -6335,13 +6339,13 @@ const deserializeAws_restJson1AssessmentControlSet = (output: any, context: __Se
|
|
|
6335
6339
|
: undefined,
|
|
6336
6340
|
description: __expectString(output.description),
|
|
6337
6341
|
id: __expectString(output.id),
|
|
6338
|
-
manualEvidenceCount:
|
|
6342
|
+
manualEvidenceCount: __expectInt32(output.manualEvidenceCount),
|
|
6339
6343
|
roles:
|
|
6340
6344
|
output.roles !== undefined && output.roles !== null
|
|
6341
6345
|
? deserializeAws_restJson1Roles(output.roles, context)
|
|
6342
6346
|
: undefined,
|
|
6343
6347
|
status: __expectString(output.status),
|
|
6344
|
-
systemEvidenceCount:
|
|
6348
|
+
systemEvidenceCount: __expectInt32(output.systemEvidenceCount),
|
|
6345
6349
|
} as any;
|
|
6346
6350
|
};
|
|
6347
6351
|
|
|
@@ -6365,23 +6369,26 @@ const deserializeAws_restJson1AssessmentEvidenceFolder = (
|
|
|
6365
6369
|
): AssessmentEvidenceFolder => {
|
|
6366
6370
|
return {
|
|
6367
6371
|
assessmentId: __expectString(output.assessmentId),
|
|
6368
|
-
assessmentReportSelectionCount:
|
|
6372
|
+
assessmentReportSelectionCount: __expectInt32(output.assessmentReportSelectionCount),
|
|
6369
6373
|
author: __expectString(output.author),
|
|
6370
6374
|
controlId: __expectString(output.controlId),
|
|
6371
6375
|
controlName: __expectString(output.controlName),
|
|
6372
6376
|
controlSetId: __expectString(output.controlSetId),
|
|
6373
6377
|
dataSource: __expectString(output.dataSource),
|
|
6374
|
-
date:
|
|
6375
|
-
|
|
6376
|
-
|
|
6377
|
-
|
|
6378
|
-
|
|
6379
|
-
|
|
6380
|
-
|
|
6381
|
-
|
|
6378
|
+
date:
|
|
6379
|
+
output.date !== undefined && output.date !== null
|
|
6380
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.date)))
|
|
6381
|
+
: undefined,
|
|
6382
|
+
evidenceAwsServiceSourceCount: __expectInt32(output.evidenceAwsServiceSourceCount),
|
|
6383
|
+
evidenceByTypeComplianceCheckCount: __expectInt32(output.evidenceByTypeComplianceCheckCount),
|
|
6384
|
+
evidenceByTypeComplianceCheckIssuesCount: __expectInt32(output.evidenceByTypeComplianceCheckIssuesCount),
|
|
6385
|
+
evidenceByTypeConfigurationDataCount: __expectInt32(output.evidenceByTypeConfigurationDataCount),
|
|
6386
|
+
evidenceByTypeManualCount: __expectInt32(output.evidenceByTypeManualCount),
|
|
6387
|
+
evidenceByTypeUserActivityCount: __expectInt32(output.evidenceByTypeUserActivityCount),
|
|
6388
|
+
evidenceResourcesIncludedCount: __expectInt32(output.evidenceResourcesIncludedCount),
|
|
6382
6389
|
id: __expectString(output.id),
|
|
6383
6390
|
name: __expectString(output.name),
|
|
6384
|
-
totalEvidence:
|
|
6391
|
+
totalEvidence: __expectInt32(output.totalEvidence),
|
|
6385
6392
|
} as any;
|
|
6386
6393
|
};
|
|
6387
6394
|
|
|
@@ -6421,17 +6428,17 @@ const deserializeAws_restJson1AssessmentFrameworkMetadata = (
|
|
|
6421
6428
|
return {
|
|
6422
6429
|
arn: __expectString(output.arn),
|
|
6423
6430
|
complianceType: __expectString(output.complianceType),
|
|
6424
|
-
controlSetsCount:
|
|
6425
|
-
controlsCount:
|
|
6431
|
+
controlSetsCount: __expectInt32(output.controlSetsCount),
|
|
6432
|
+
controlsCount: __expectInt32(output.controlsCount),
|
|
6426
6433
|
createdAt:
|
|
6427
6434
|
output.createdAt !== undefined && output.createdAt !== null
|
|
6428
|
-
?
|
|
6435
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt)))
|
|
6429
6436
|
: undefined,
|
|
6430
6437
|
description: __expectString(output.description),
|
|
6431
6438
|
id: __expectString(output.id),
|
|
6432
6439
|
lastUpdatedAt:
|
|
6433
6440
|
output.lastUpdatedAt !== undefined && output.lastUpdatedAt !== null
|
|
6434
|
-
?
|
|
6441
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedAt)))
|
|
6435
6442
|
: undefined,
|
|
6436
6443
|
logo: __expectString(output.logo),
|
|
6437
6444
|
name: __expectString(output.name),
|
|
@@ -6448,7 +6455,7 @@ const deserializeAws_restJson1AssessmentMetadata = (output: any, context: __Serd
|
|
|
6448
6455
|
complianceType: __expectString(output.complianceType),
|
|
6449
6456
|
creationTime:
|
|
6450
6457
|
output.creationTime !== undefined && output.creationTime !== null
|
|
6451
|
-
?
|
|
6458
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationTime)))
|
|
6452
6459
|
: undefined,
|
|
6453
6460
|
delegations:
|
|
6454
6461
|
output.delegations !== undefined && output.delegations !== null
|
|
@@ -6458,7 +6465,7 @@ const deserializeAws_restJson1AssessmentMetadata = (output: any, context: __Serd
|
|
|
6458
6465
|
id: __expectString(output.id),
|
|
6459
6466
|
lastUpdated:
|
|
6460
6467
|
output.lastUpdated !== undefined && output.lastUpdated !== null
|
|
6461
|
-
?
|
|
6468
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdated)))
|
|
6462
6469
|
: undefined,
|
|
6463
6470
|
name: __expectString(output.name),
|
|
6464
6471
|
roles:
|
|
@@ -6481,7 +6488,7 @@ const deserializeAws_restJson1AssessmentMetadataItem = (
|
|
|
6481
6488
|
complianceType: __expectString(output.complianceType),
|
|
6482
6489
|
creationTime:
|
|
6483
6490
|
output.creationTime !== undefined && output.creationTime !== null
|
|
6484
|
-
?
|
|
6491
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationTime)))
|
|
6485
6492
|
: undefined,
|
|
6486
6493
|
delegations:
|
|
6487
6494
|
output.delegations !== undefined && output.delegations !== null
|
|
@@ -6490,7 +6497,7 @@ const deserializeAws_restJson1AssessmentMetadataItem = (
|
|
|
6490
6497
|
id: __expectString(output.id),
|
|
6491
6498
|
lastUpdated:
|
|
6492
6499
|
output.lastUpdated !== undefined && output.lastUpdated !== null
|
|
6493
|
-
?
|
|
6500
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdated)))
|
|
6494
6501
|
: undefined,
|
|
6495
6502
|
name: __expectString(output.name),
|
|
6496
6503
|
roles:
|
|
@@ -6509,7 +6516,7 @@ const deserializeAws_restJson1AssessmentReport = (output: any, context: __SerdeC
|
|
|
6509
6516
|
awsAccountId: __expectString(output.awsAccountId),
|
|
6510
6517
|
creationTime:
|
|
6511
6518
|
output.creationTime !== undefined && output.creationTime !== null
|
|
6512
|
-
?
|
|
6519
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationTime)))
|
|
6513
6520
|
: undefined,
|
|
6514
6521
|
description: __expectString(output.description),
|
|
6515
6522
|
id: __expectString(output.id),
|
|
@@ -6553,7 +6560,7 @@ const deserializeAws_restJson1AssessmentReportMetadata = (
|
|
|
6553
6560
|
author: __expectString(output.author),
|
|
6554
6561
|
creationTime:
|
|
6555
6562
|
output.creationTime !== undefined && output.creationTime !== null
|
|
6556
|
-
?
|
|
6563
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationTime)))
|
|
6557
6564
|
: undefined,
|
|
6558
6565
|
description: __expectString(output.description),
|
|
6559
6566
|
id: __expectString(output.id),
|
|
@@ -6708,7 +6715,7 @@ const deserializeAws_restJson1ChangeLog = (output: any, context: __SerdeContext)
|
|
|
6708
6715
|
action: __expectString(output.action),
|
|
6709
6716
|
createdAt:
|
|
6710
6717
|
output.createdAt !== undefined && output.createdAt !== null
|
|
6711
|
-
?
|
|
6718
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt)))
|
|
6712
6719
|
: undefined,
|
|
6713
6720
|
createdBy: __expectString(output.createdBy),
|
|
6714
6721
|
objectName: __expectString(output.objectName),
|
|
@@ -6739,14 +6746,14 @@ const deserializeAws_restJson1Control = (output: any, context: __SerdeContext):
|
|
|
6739
6746
|
controlSources: __expectString(output.controlSources),
|
|
6740
6747
|
createdAt:
|
|
6741
6748
|
output.createdAt !== undefined && output.createdAt !== null
|
|
6742
|
-
?
|
|
6749
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt)))
|
|
6743
6750
|
: undefined,
|
|
6744
6751
|
createdBy: __expectString(output.createdBy),
|
|
6745
6752
|
description: __expectString(output.description),
|
|
6746
6753
|
id: __expectString(output.id),
|
|
6747
6754
|
lastUpdatedAt:
|
|
6748
6755
|
output.lastUpdatedAt !== undefined && output.lastUpdatedAt !== null
|
|
6749
|
-
?
|
|
6756
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedAt)))
|
|
6750
6757
|
: undefined,
|
|
6751
6758
|
lastUpdatedBy: __expectString(output.lastUpdatedBy),
|
|
6752
6759
|
name: __expectString(output.name),
|
|
@@ -6765,7 +6772,7 @@ const deserializeAws_restJson1ControlComment = (output: any, context: __SerdeCon
|
|
|
6765
6772
|
commentBody: __expectString(output.commentBody),
|
|
6766
6773
|
postedDate:
|
|
6767
6774
|
output.postedDate !== undefined && output.postedDate !== null
|
|
6768
|
-
?
|
|
6775
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.postedDate)))
|
|
6769
6776
|
: undefined,
|
|
6770
6777
|
} as any;
|
|
6771
6778
|
};
|
|
@@ -6817,12 +6824,12 @@ const deserializeAws_restJson1ControlMetadata = (output: any, context: __SerdeCo
|
|
|
6817
6824
|
controlSources: __expectString(output.controlSources),
|
|
6818
6825
|
createdAt:
|
|
6819
6826
|
output.createdAt !== undefined && output.createdAt !== null
|
|
6820
|
-
?
|
|
6827
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt)))
|
|
6821
6828
|
: undefined,
|
|
6822
6829
|
id: __expectString(output.id),
|
|
6823
6830
|
lastUpdatedAt:
|
|
6824
6831
|
output.lastUpdatedAt !== undefined && output.lastUpdatedAt !== null
|
|
6825
|
-
?
|
|
6832
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedAt)))
|
|
6826
6833
|
: undefined,
|
|
6827
6834
|
name: __expectString(output.name),
|
|
6828
6835
|
} as any;
|
|
@@ -6893,12 +6900,12 @@ const deserializeAws_restJson1Delegation = (output: any, context: __SerdeContext
|
|
|
6893
6900
|
createdBy: __expectString(output.createdBy),
|
|
6894
6901
|
creationTime:
|
|
6895
6902
|
output.creationTime !== undefined && output.creationTime !== null
|
|
6896
|
-
?
|
|
6903
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationTime)))
|
|
6897
6904
|
: undefined,
|
|
6898
6905
|
id: __expectString(output.id),
|
|
6899
6906
|
lastUpdated:
|
|
6900
6907
|
output.lastUpdated !== undefined && output.lastUpdated !== null
|
|
6901
|
-
?
|
|
6908
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdated)))
|
|
6902
6909
|
: undefined,
|
|
6903
6910
|
roleArn: __expectString(output.roleArn),
|
|
6904
6911
|
roleType: __expectString(output.roleType),
|
|
@@ -6913,7 +6920,7 @@ const deserializeAws_restJson1DelegationMetadata = (output: any, context: __Serd
|
|
|
6913
6920
|
controlSetName: __expectString(output.controlSetName),
|
|
6914
6921
|
creationTime:
|
|
6915
6922
|
output.creationTime !== undefined && output.creationTime !== null
|
|
6916
|
-
?
|
|
6923
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.creationTime)))
|
|
6917
6924
|
: undefined,
|
|
6918
6925
|
id: __expectString(output.id),
|
|
6919
6926
|
roleArn: __expectString(output.roleArn),
|
|
@@ -6965,7 +6972,10 @@ const deserializeAws_restJson1Evidence = (output: any, context: __SerdeContext):
|
|
|
6965
6972
|
output.resourcesIncluded !== undefined && output.resourcesIncluded !== null
|
|
6966
6973
|
? deserializeAws_restJson1Resources(output.resourcesIncluded, context)
|
|
6967
6974
|
: undefined,
|
|
6968
|
-
time:
|
|
6975
|
+
time:
|
|
6976
|
+
output.time !== undefined && output.time !== null
|
|
6977
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.time)))
|
|
6978
|
+
: undefined,
|
|
6969
6979
|
} as any;
|
|
6970
6980
|
};
|
|
6971
6981
|
|
|
@@ -7028,14 +7038,14 @@ const deserializeAws_restJson1Framework = (output: any, context: __SerdeContext)
|
|
|
7028
7038
|
controlSources: __expectString(output.controlSources),
|
|
7029
7039
|
createdAt:
|
|
7030
7040
|
output.createdAt !== undefined && output.createdAt !== null
|
|
7031
|
-
?
|
|
7041
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.createdAt)))
|
|
7032
7042
|
: undefined,
|
|
7033
7043
|
createdBy: __expectString(output.createdBy),
|
|
7034
7044
|
description: __expectString(output.description),
|
|
7035
7045
|
id: __expectString(output.id),
|
|
7036
7046
|
lastUpdatedAt:
|
|
7037
7047
|
output.lastUpdatedAt !== undefined && output.lastUpdatedAt !== null
|
|
7038
|
-
?
|
|
7048
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedAt)))
|
|
7039
7049
|
: undefined,
|
|
7040
7050
|
lastUpdatedBy: __expectString(output.lastUpdatedBy),
|
|
7041
7051
|
logo: __expectString(output.logo),
|
|
@@ -7111,7 +7121,7 @@ const deserializeAws_restJson1Notification = (output: any, context: __SerdeConte
|
|
|
7111
7121
|
description: __expectString(output.description),
|
|
7112
7122
|
eventTime:
|
|
7113
7123
|
output.eventTime !== undefined && output.eventTime !== null
|
|
7114
|
-
?
|
|
7124
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.eventTime)))
|
|
7115
7125
|
: undefined,
|
|
7116
7126
|
id: __expectString(output.id),
|
|
7117
7127
|
source: __expectString(output.source),
|