@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
|
@@ -1678,7 +1678,7 @@ const deserializeAws_restJson1BatchAssociateAssessmentReportEvidenceCommand = as
|
|
|
1678
1678
|
errors: undefined,
|
|
1679
1679
|
evidenceIds: undefined,
|
|
1680
1680
|
};
|
|
1681
|
-
const data = await parseBody(output.body, context);
|
|
1681
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1682
1682
|
if (data.errors !== undefined && data.errors !== null) {
|
|
1683
1683
|
contents.errors = deserializeAws_restJson1AssessmentReportEvidenceErrors(data.errors, context);
|
|
1684
1684
|
}
|
|
@@ -1754,7 +1754,7 @@ const deserializeAws_restJson1BatchCreateDelegationByAssessmentCommand = async (
|
|
|
1754
1754
|
delegations: undefined,
|
|
1755
1755
|
errors: undefined,
|
|
1756
1756
|
};
|
|
1757
|
-
const data = await parseBody(output.body, context);
|
|
1757
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1758
1758
|
if (data.delegations !== undefined && data.delegations !== null) {
|
|
1759
1759
|
contents.delegations = deserializeAws_restJson1Delegations(data.delegations, context);
|
|
1760
1760
|
}
|
|
@@ -1829,7 +1829,7 @@ const deserializeAws_restJson1BatchDeleteDelegationByAssessmentCommand = async (
|
|
|
1829
1829
|
$metadata: deserializeMetadata(output),
|
|
1830
1830
|
errors: undefined,
|
|
1831
1831
|
};
|
|
1832
|
-
const data = await parseBody(output.body, context);
|
|
1832
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1833
1833
|
if (data.errors !== undefined && data.errors !== null) {
|
|
1834
1834
|
contents.errors = deserializeAws_restJson1BatchDeleteDelegationByAssessmentErrors(data.errors, context);
|
|
1835
1835
|
}
|
|
@@ -1902,7 +1902,7 @@ const deserializeAws_restJson1BatchDisassociateAssessmentReportEvidenceCommand =
|
|
|
1902
1902
|
errors: undefined,
|
|
1903
1903
|
evidenceIds: undefined,
|
|
1904
1904
|
};
|
|
1905
|
-
const data = await parseBody(output.body, context);
|
|
1905
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1906
1906
|
if (data.errors !== undefined && data.errors !== null) {
|
|
1907
1907
|
contents.errors = deserializeAws_restJson1AssessmentReportEvidenceErrors(data.errors, context);
|
|
1908
1908
|
}
|
|
@@ -1977,7 +1977,7 @@ const deserializeAws_restJson1BatchImportEvidenceToAssessmentControlCommand = as
|
|
|
1977
1977
|
$metadata: deserializeMetadata(output),
|
|
1978
1978
|
errors: undefined,
|
|
1979
1979
|
};
|
|
1980
|
-
const data = await parseBody(output.body, context);
|
|
1980
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1981
1981
|
if (data.errors !== undefined && data.errors !== null) {
|
|
1982
1982
|
contents.errors = deserializeAws_restJson1BatchImportEvidenceToAssessmentControlErrors(data.errors, context);
|
|
1983
1983
|
}
|
|
@@ -2049,7 +2049,7 @@ const deserializeAws_restJson1CreateAssessmentCommand = async (output, context)
|
|
|
2049
2049
|
$metadata: deserializeMetadata(output),
|
|
2050
2050
|
assessment: undefined,
|
|
2051
2051
|
};
|
|
2052
|
-
const data = await parseBody(output.body, context);
|
|
2052
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2053
2053
|
if (data.assessment !== undefined && data.assessment !== null) {
|
|
2054
2054
|
contents.assessment = deserializeAws_restJson1Assessment(data.assessment, context);
|
|
2055
2055
|
}
|
|
@@ -2121,7 +2121,7 @@ const deserializeAws_restJson1CreateAssessmentFrameworkCommand = async (output,
|
|
|
2121
2121
|
$metadata: deserializeMetadata(output),
|
|
2122
2122
|
framework: undefined,
|
|
2123
2123
|
};
|
|
2124
|
-
const data = await parseBody(output.body, context);
|
|
2124
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2125
2125
|
if (data.framework !== undefined && data.framework !== null) {
|
|
2126
2126
|
contents.framework = deserializeAws_restJson1Framework(data.framework, context);
|
|
2127
2127
|
}
|
|
@@ -2193,7 +2193,7 @@ const deserializeAws_restJson1CreateAssessmentReportCommand = async (output, con
|
|
|
2193
2193
|
$metadata: deserializeMetadata(output),
|
|
2194
2194
|
assessmentReport: undefined,
|
|
2195
2195
|
};
|
|
2196
|
-
const data = await parseBody(output.body, context);
|
|
2196
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2197
2197
|
if (data.assessmentReport !== undefined && data.assessmentReport !== null) {
|
|
2198
2198
|
contents.assessmentReport = deserializeAws_restJson1AssessmentReport(data.assessmentReport, context);
|
|
2199
2199
|
}
|
|
@@ -2265,7 +2265,7 @@ const deserializeAws_restJson1CreateControlCommand = async (output, context) =>
|
|
|
2265
2265
|
$metadata: deserializeMetadata(output),
|
|
2266
2266
|
control: undefined,
|
|
2267
2267
|
};
|
|
2268
|
-
const data = await parseBody(output.body, context);
|
|
2268
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2269
2269
|
if (data.control !== undefined && data.control !== null) {
|
|
2270
2270
|
contents.control = deserializeAws_restJson1Control(data.control, context);
|
|
2271
2271
|
}
|
|
@@ -2609,7 +2609,7 @@ const deserializeAws_restJson1DeregisterAccountCommand = async (output, context)
|
|
|
2609
2609
|
$metadata: deserializeMetadata(output),
|
|
2610
2610
|
status: undefined,
|
|
2611
2611
|
};
|
|
2612
|
-
const data = await parseBody(output.body, context);
|
|
2612
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2613
2613
|
if (data.status !== undefined && data.status !== null) {
|
|
2614
2614
|
contents.status = smithy_client_1.expectString(data.status);
|
|
2615
2615
|
}
|
|
@@ -2817,7 +2817,7 @@ const deserializeAws_restJson1GetAccountStatusCommand = async (output, context)
|
|
|
2817
2817
|
$metadata: deserializeMetadata(output),
|
|
2818
2818
|
status: undefined,
|
|
2819
2819
|
};
|
|
2820
|
-
const data = await parseBody(output.body, context);
|
|
2820
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2821
2821
|
if (data.status !== undefined && data.status !== null) {
|
|
2822
2822
|
contents.status = smithy_client_1.expectString(data.status);
|
|
2823
2823
|
}
|
|
@@ -2866,7 +2866,7 @@ const deserializeAws_restJson1GetAssessmentCommand = async (output, context) =>
|
|
|
2866
2866
|
assessment: undefined,
|
|
2867
2867
|
userRole: undefined,
|
|
2868
2868
|
};
|
|
2869
|
-
const data = await parseBody(output.body, context);
|
|
2869
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2870
2870
|
if (data.assessment !== undefined && data.assessment !== null) {
|
|
2871
2871
|
contents.assessment = deserializeAws_restJson1Assessment(data.assessment, context);
|
|
2872
2872
|
}
|
|
@@ -2941,7 +2941,7 @@ const deserializeAws_restJson1GetAssessmentFrameworkCommand = async (output, con
|
|
|
2941
2941
|
$metadata: deserializeMetadata(output),
|
|
2942
2942
|
framework: undefined,
|
|
2943
2943
|
};
|
|
2944
|
-
const data = await parseBody(output.body, context);
|
|
2944
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2945
2945
|
if (data.framework !== undefined && data.framework !== null) {
|
|
2946
2946
|
contents.framework = deserializeAws_restJson1Framework(data.framework, context);
|
|
2947
2947
|
}
|
|
@@ -3013,7 +3013,7 @@ const deserializeAws_restJson1GetAssessmentReportUrlCommand = async (output, con
|
|
|
3013
3013
|
$metadata: deserializeMetadata(output),
|
|
3014
3014
|
preSignedUrl: undefined,
|
|
3015
3015
|
};
|
|
3016
|
-
const data = await parseBody(output.body, context);
|
|
3016
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3017
3017
|
if (data.preSignedUrl !== undefined && data.preSignedUrl !== null) {
|
|
3018
3018
|
contents.preSignedUrl = deserializeAws_restJson1URL(data.preSignedUrl, context);
|
|
3019
3019
|
}
|
|
@@ -3086,7 +3086,7 @@ const deserializeAws_restJson1GetChangeLogsCommand = async (output, context) =>
|
|
|
3086
3086
|
changeLogs: undefined,
|
|
3087
3087
|
nextToken: undefined,
|
|
3088
3088
|
};
|
|
3089
|
-
const data = await parseBody(output.body, context);
|
|
3089
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3090
3090
|
if (data.changeLogs !== undefined && data.changeLogs !== null) {
|
|
3091
3091
|
contents.changeLogs = deserializeAws_restJson1ChangeLogs(data.changeLogs, context);
|
|
3092
3092
|
}
|
|
@@ -3161,7 +3161,7 @@ const deserializeAws_restJson1GetControlCommand = async (output, context) => {
|
|
|
3161
3161
|
$metadata: deserializeMetadata(output),
|
|
3162
3162
|
control: undefined,
|
|
3163
3163
|
};
|
|
3164
|
-
const data = await parseBody(output.body, context);
|
|
3164
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3165
3165
|
if (data.control !== undefined && data.control !== null) {
|
|
3166
3166
|
contents.control = deserializeAws_restJson1Control(data.control, context);
|
|
3167
3167
|
}
|
|
@@ -3234,7 +3234,7 @@ const deserializeAws_restJson1GetDelegationsCommand = async (output, context) =>
|
|
|
3234
3234
|
delegations: undefined,
|
|
3235
3235
|
nextToken: undefined,
|
|
3236
3236
|
};
|
|
3237
|
-
const data = await parseBody(output.body, context);
|
|
3237
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3238
3238
|
if (data.delegations !== undefined && data.delegations !== null) {
|
|
3239
3239
|
contents.delegations = deserializeAws_restJson1DelegationMetadataList(data.delegations, context);
|
|
3240
3240
|
}
|
|
@@ -3301,7 +3301,7 @@ const deserializeAws_restJson1GetEvidenceCommand = async (output, context) => {
|
|
|
3301
3301
|
$metadata: deserializeMetadata(output),
|
|
3302
3302
|
evidence: undefined,
|
|
3303
3303
|
};
|
|
3304
|
-
const data = await parseBody(output.body, context);
|
|
3304
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3305
3305
|
if (data.evidence !== undefined && data.evidence !== null) {
|
|
3306
3306
|
contents.evidence = deserializeAws_restJson1Evidence(data.evidence, context);
|
|
3307
3307
|
}
|
|
@@ -3374,7 +3374,7 @@ const deserializeAws_restJson1GetEvidenceByEvidenceFolderCommand = async (output
|
|
|
3374
3374
|
evidence: undefined,
|
|
3375
3375
|
nextToken: undefined,
|
|
3376
3376
|
};
|
|
3377
|
-
const data = await parseBody(output.body, context);
|
|
3377
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3378
3378
|
if (data.evidence !== undefined && data.evidence !== null) {
|
|
3379
3379
|
contents.evidence = deserializeAws_restJson1EvidenceList(data.evidence, context);
|
|
3380
3380
|
}
|
|
@@ -3449,7 +3449,7 @@ const deserializeAws_restJson1GetEvidenceFolderCommand = async (output, context)
|
|
|
3449
3449
|
$metadata: deserializeMetadata(output),
|
|
3450
3450
|
evidenceFolder: undefined,
|
|
3451
3451
|
};
|
|
3452
|
-
const data = await parseBody(output.body, context);
|
|
3452
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3453
3453
|
if (data.evidenceFolder !== undefined && data.evidenceFolder !== null) {
|
|
3454
3454
|
contents.evidenceFolder = deserializeAws_restJson1AssessmentEvidenceFolder(data.evidenceFolder, context);
|
|
3455
3455
|
}
|
|
@@ -3522,7 +3522,7 @@ const deserializeAws_restJson1GetEvidenceFoldersByAssessmentCommand = async (out
|
|
|
3522
3522
|
evidenceFolders: undefined,
|
|
3523
3523
|
nextToken: undefined,
|
|
3524
3524
|
};
|
|
3525
|
-
const data = await parseBody(output.body, context);
|
|
3525
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3526
3526
|
if (data.evidenceFolders !== undefined && data.evidenceFolders !== null) {
|
|
3527
3527
|
contents.evidenceFolders = deserializeAws_restJson1AssessmentEvidenceFolders(data.evidenceFolders, context);
|
|
3528
3528
|
}
|
|
@@ -3598,7 +3598,7 @@ const deserializeAws_restJson1GetEvidenceFoldersByAssessmentControlCommand = asy
|
|
|
3598
3598
|
evidenceFolders: undefined,
|
|
3599
3599
|
nextToken: undefined,
|
|
3600
3600
|
};
|
|
3601
|
-
const data = await parseBody(output.body, context);
|
|
3601
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3602
3602
|
if (data.evidenceFolders !== undefined && data.evidenceFolders !== null) {
|
|
3603
3603
|
contents.evidenceFolders = deserializeAws_restJson1AssessmentEvidenceFolders(data.evidenceFolders, context);
|
|
3604
3604
|
}
|
|
@@ -3674,7 +3674,7 @@ const deserializeAws_restJson1GetOrganizationAdminAccountCommand = async (output
|
|
|
3674
3674
|
adminAccountId: undefined,
|
|
3675
3675
|
organizationId: undefined,
|
|
3676
3676
|
};
|
|
3677
|
-
const data = await parseBody(output.body, context);
|
|
3677
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3678
3678
|
if (data.adminAccountId !== undefined && data.adminAccountId !== null) {
|
|
3679
3679
|
contents.adminAccountId = smithy_client_1.expectString(data.adminAccountId);
|
|
3680
3680
|
}
|
|
@@ -3749,7 +3749,7 @@ const deserializeAws_restJson1GetServicesInScopeCommand = async (output, context
|
|
|
3749
3749
|
$metadata: deserializeMetadata(output),
|
|
3750
3750
|
serviceMetadata: undefined,
|
|
3751
3751
|
};
|
|
3752
|
-
const data = await parseBody(output.body, context);
|
|
3752
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3753
3753
|
if (data.serviceMetadata !== undefined && data.serviceMetadata !== null) {
|
|
3754
3754
|
contents.serviceMetadata = deserializeAws_restJson1ServiceMetadataList(data.serviceMetadata, context);
|
|
3755
3755
|
}
|
|
@@ -3813,7 +3813,7 @@ const deserializeAws_restJson1GetSettingsCommand = async (output, context) => {
|
|
|
3813
3813
|
$metadata: deserializeMetadata(output),
|
|
3814
3814
|
settings: undefined,
|
|
3815
3815
|
};
|
|
3816
|
-
const data = await parseBody(output.body, context);
|
|
3816
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3817
3817
|
if (data.settings !== undefined && data.settings !== null) {
|
|
3818
3818
|
contents.settings = deserializeAws_restJson1Settings(data.settings, context);
|
|
3819
3819
|
}
|
|
@@ -3870,7 +3870,7 @@ const deserializeAws_restJson1ListAssessmentFrameworksCommand = async (output, c
|
|
|
3870
3870
|
frameworkMetadataList: undefined,
|
|
3871
3871
|
nextToken: undefined,
|
|
3872
3872
|
};
|
|
3873
|
-
const data = await parseBody(output.body, context);
|
|
3873
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3874
3874
|
if (data.frameworkMetadataList !== undefined && data.frameworkMetadataList !== null) {
|
|
3875
3875
|
contents.frameworkMetadataList = deserializeAws_restJson1FrameworkMetadataList(data.frameworkMetadataList, context);
|
|
3876
3876
|
}
|
|
@@ -3938,7 +3938,7 @@ const deserializeAws_restJson1ListAssessmentReportsCommand = async (output, cont
|
|
|
3938
3938
|
assessmentReports: undefined,
|
|
3939
3939
|
nextToken: undefined,
|
|
3940
3940
|
};
|
|
3941
|
-
const data = await parseBody(output.body, context);
|
|
3941
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3942
3942
|
if (data.assessmentReports !== undefined && data.assessmentReports !== null) {
|
|
3943
3943
|
contents.assessmentReports = deserializeAws_restJson1AssessmentReportsMetadata(data.assessmentReports, context);
|
|
3944
3944
|
}
|
|
@@ -4006,7 +4006,7 @@ const deserializeAws_restJson1ListAssessmentsCommand = async (output, context) =
|
|
|
4006
4006
|
assessmentMetadata: undefined,
|
|
4007
4007
|
nextToken: undefined,
|
|
4008
4008
|
};
|
|
4009
|
-
const data = await parseBody(output.body, context);
|
|
4009
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4010
4010
|
if (data.assessmentMetadata !== undefined && data.assessmentMetadata !== null) {
|
|
4011
4011
|
contents.assessmentMetadata = deserializeAws_restJson1ListAssessmentMetadata(data.assessmentMetadata, context);
|
|
4012
4012
|
}
|
|
@@ -4074,7 +4074,7 @@ const deserializeAws_restJson1ListControlsCommand = async (output, context) => {
|
|
|
4074
4074
|
controlMetadataList: undefined,
|
|
4075
4075
|
nextToken: undefined,
|
|
4076
4076
|
};
|
|
4077
|
-
const data = await parseBody(output.body, context);
|
|
4077
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4078
4078
|
if (data.controlMetadataList !== undefined && data.controlMetadataList !== null) {
|
|
4079
4079
|
contents.controlMetadataList = deserializeAws_restJson1ControlMetadataList(data.controlMetadataList, context);
|
|
4080
4080
|
}
|
|
@@ -4142,7 +4142,7 @@ const deserializeAws_restJson1ListKeywordsForDataSourceCommand = async (output,
|
|
|
4142
4142
|
keywords: undefined,
|
|
4143
4143
|
nextToken: undefined,
|
|
4144
4144
|
};
|
|
4145
|
-
const data = await parseBody(output.body, context);
|
|
4145
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4146
4146
|
if (data.keywords !== undefined && data.keywords !== null) {
|
|
4147
4147
|
contents.keywords = deserializeAws_restJson1Keywords(data.keywords, context);
|
|
4148
4148
|
}
|
|
@@ -4210,7 +4210,7 @@ const deserializeAws_restJson1ListNotificationsCommand = async (output, context)
|
|
|
4210
4210
|
nextToken: undefined,
|
|
4211
4211
|
notifications: undefined,
|
|
4212
4212
|
};
|
|
4213
|
-
const data = await parseBody(output.body, context);
|
|
4213
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4214
4214
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
4215
4215
|
contents.nextToken = smithy_client_1.expectString(data.nextToken);
|
|
4216
4216
|
}
|
|
@@ -4277,7 +4277,7 @@ const deserializeAws_restJson1ListTagsForResourceCommand = async (output, contex
|
|
|
4277
4277
|
$metadata: deserializeMetadata(output),
|
|
4278
4278
|
tags: undefined,
|
|
4279
4279
|
};
|
|
4280
|
-
const data = await parseBody(output.body, context);
|
|
4280
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4281
4281
|
if (data.tags !== undefined && data.tags !== null) {
|
|
4282
4282
|
contents.tags = deserializeAws_restJson1TagMap(data.tags, context);
|
|
4283
4283
|
}
|
|
@@ -4341,7 +4341,7 @@ const deserializeAws_restJson1RegisterAccountCommand = async (output, context) =
|
|
|
4341
4341
|
$metadata: deserializeMetadata(output),
|
|
4342
4342
|
status: undefined,
|
|
4343
4343
|
};
|
|
4344
|
-
const data = await parseBody(output.body, context);
|
|
4344
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4345
4345
|
if (data.status !== undefined && data.status !== null) {
|
|
4346
4346
|
contents.status = smithy_client_1.expectString(data.status);
|
|
4347
4347
|
}
|
|
@@ -4414,7 +4414,7 @@ const deserializeAws_restJson1RegisterOrganizationAdminAccountCommand = async (o
|
|
|
4414
4414
|
adminAccountId: undefined,
|
|
4415
4415
|
organizationId: undefined,
|
|
4416
4416
|
};
|
|
4417
|
-
const data = await parseBody(output.body, context);
|
|
4417
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4418
4418
|
if (data.adminAccountId !== undefined && data.adminAccountId !== null) {
|
|
4419
4419
|
contents.adminAccountId = smithy_client_1.expectString(data.adminAccountId);
|
|
4420
4420
|
}
|
|
@@ -4609,7 +4609,7 @@ const deserializeAws_restJson1UpdateAssessmentCommand = async (output, context)
|
|
|
4609
4609
|
$metadata: deserializeMetadata(output),
|
|
4610
4610
|
assessment: undefined,
|
|
4611
4611
|
};
|
|
4612
|
-
const data = await parseBody(output.body, context);
|
|
4612
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4613
4613
|
if (data.assessment !== undefined && data.assessment !== null) {
|
|
4614
4614
|
contents.assessment = deserializeAws_restJson1Assessment(data.assessment, context);
|
|
4615
4615
|
}
|
|
@@ -4681,7 +4681,7 @@ const deserializeAws_restJson1UpdateAssessmentControlCommand = async (output, co
|
|
|
4681
4681
|
$metadata: deserializeMetadata(output),
|
|
4682
4682
|
control: undefined,
|
|
4683
4683
|
};
|
|
4684
|
-
const data = await parseBody(output.body, context);
|
|
4684
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4685
4685
|
if (data.control !== undefined && data.control !== null) {
|
|
4686
4686
|
contents.control = deserializeAws_restJson1AssessmentControl(data.control, context);
|
|
4687
4687
|
}
|
|
@@ -4753,7 +4753,7 @@ const deserializeAws_restJson1UpdateAssessmentControlSetStatusCommand = async (o
|
|
|
4753
4753
|
$metadata: deserializeMetadata(output),
|
|
4754
4754
|
controlSet: undefined,
|
|
4755
4755
|
};
|
|
4756
|
-
const data = await parseBody(output.body, context);
|
|
4756
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4757
4757
|
if (data.controlSet !== undefined && data.controlSet !== null) {
|
|
4758
4758
|
contents.controlSet = deserializeAws_restJson1AssessmentControlSet(data.controlSet, context);
|
|
4759
4759
|
}
|
|
@@ -4825,7 +4825,7 @@ const deserializeAws_restJson1UpdateAssessmentFrameworkCommand = async (output,
|
|
|
4825
4825
|
$metadata: deserializeMetadata(output),
|
|
4826
4826
|
framework: undefined,
|
|
4827
4827
|
};
|
|
4828
|
-
const data = await parseBody(output.body, context);
|
|
4828
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4829
4829
|
if (data.framework !== undefined && data.framework !== null) {
|
|
4830
4830
|
contents.framework = deserializeAws_restJson1Framework(data.framework, context);
|
|
4831
4831
|
}
|
|
@@ -4897,7 +4897,7 @@ const deserializeAws_restJson1UpdateAssessmentStatusCommand = async (output, con
|
|
|
4897
4897
|
$metadata: deserializeMetadata(output),
|
|
4898
4898
|
assessment: undefined,
|
|
4899
4899
|
};
|
|
4900
|
-
const data = await parseBody(output.body, context);
|
|
4900
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4901
4901
|
if (data.assessment !== undefined && data.assessment !== null) {
|
|
4902
4902
|
contents.assessment = deserializeAws_restJson1Assessment(data.assessment, context);
|
|
4903
4903
|
}
|
|
@@ -4969,7 +4969,7 @@ const deserializeAws_restJson1UpdateControlCommand = async (output, context) =>
|
|
|
4969
4969
|
$metadata: deserializeMetadata(output),
|
|
4970
4970
|
control: undefined,
|
|
4971
4971
|
};
|
|
4972
|
-
const data = await parseBody(output.body, context);
|
|
4972
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4973
4973
|
if (data.control !== undefined && data.control !== null) {
|
|
4974
4974
|
contents.control = deserializeAws_restJson1Control(data.control, context);
|
|
4975
4975
|
}
|
|
@@ -5041,7 +5041,7 @@ const deserializeAws_restJson1UpdateSettingsCommand = async (output, context) =>
|
|
|
5041
5041
|
$metadata: deserializeMetadata(output),
|
|
5042
5042
|
settings: undefined,
|
|
5043
5043
|
};
|
|
5044
|
-
const data = await parseBody(output.body, context);
|
|
5044
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
5045
5045
|
if (data.settings !== undefined && data.settings !== null) {
|
|
5046
5046
|
contents.settings = deserializeAws_restJson1Settings(data.settings, context);
|
|
5047
5047
|
}
|
|
@@ -5109,7 +5109,7 @@ const deserializeAws_restJson1ValidateAssessmentReportIntegrityCommand = async (
|
|
|
5109
5109
|
signatureValid: undefined,
|
|
5110
5110
|
validationErrors: undefined,
|
|
5111
5111
|
};
|
|
5112
|
-
const data = await parseBody(output.body, context);
|
|
5112
|
+
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
5113
5113
|
if (data.signatureAlgorithm !== undefined && data.signatureAlgorithm !== null) {
|
|
5114
5114
|
contents.signatureAlgorithm = smithy_client_1.expectString(data.signatureAlgorithm);
|
|
5115
5115
|
}
|
|
@@ -5518,12 +5518,12 @@ const deserializeAws_restJson1Assessment = (output, context) => {
|
|
|
5518
5518
|
};
|
|
5519
5519
|
const deserializeAws_restJson1AssessmentControl = (output, context) => {
|
|
5520
5520
|
return {
|
|
5521
|
-
assessmentReportEvidenceCount: smithy_client_1.
|
|
5521
|
+
assessmentReportEvidenceCount: smithy_client_1.expectInt32(output.assessmentReportEvidenceCount),
|
|
5522
5522
|
comments: output.comments !== undefined && output.comments !== null
|
|
5523
5523
|
? deserializeAws_restJson1ControlComments(output.comments, context)
|
|
5524
5524
|
: undefined,
|
|
5525
5525
|
description: smithy_client_1.expectString(output.description),
|
|
5526
|
-
evidenceCount: smithy_client_1.
|
|
5526
|
+
evidenceCount: smithy_client_1.expectInt32(output.evidenceCount),
|
|
5527
5527
|
evidenceSources: output.evidenceSources !== undefined && output.evidenceSources !== null
|
|
5528
5528
|
? deserializeAws_restJson1EvidenceSources(output.evidenceSources, context)
|
|
5529
5529
|
: undefined,
|
|
@@ -5553,12 +5553,12 @@ const deserializeAws_restJson1AssessmentControlSet = (output, context) => {
|
|
|
5553
5553
|
: undefined,
|
|
5554
5554
|
description: smithy_client_1.expectString(output.description),
|
|
5555
5555
|
id: smithy_client_1.expectString(output.id),
|
|
5556
|
-
manualEvidenceCount: smithy_client_1.
|
|
5556
|
+
manualEvidenceCount: smithy_client_1.expectInt32(output.manualEvidenceCount),
|
|
5557
5557
|
roles: output.roles !== undefined && output.roles !== null
|
|
5558
5558
|
? deserializeAws_restJson1Roles(output.roles, context)
|
|
5559
5559
|
: undefined,
|
|
5560
5560
|
status: smithy_client_1.expectString(output.status),
|
|
5561
|
-
systemEvidenceCount: smithy_client_1.
|
|
5561
|
+
systemEvidenceCount: smithy_client_1.expectInt32(output.systemEvidenceCount),
|
|
5562
5562
|
};
|
|
5563
5563
|
};
|
|
5564
5564
|
const deserializeAws_restJson1AssessmentControlSets = (output, context) => {
|
|
@@ -5574,23 +5574,25 @@ const deserializeAws_restJson1AssessmentControlSets = (output, context) => {
|
|
|
5574
5574
|
const deserializeAws_restJson1AssessmentEvidenceFolder = (output, context) => {
|
|
5575
5575
|
return {
|
|
5576
5576
|
assessmentId: smithy_client_1.expectString(output.assessmentId),
|
|
5577
|
-
assessmentReportSelectionCount: smithy_client_1.
|
|
5577
|
+
assessmentReportSelectionCount: smithy_client_1.expectInt32(output.assessmentReportSelectionCount),
|
|
5578
5578
|
author: smithy_client_1.expectString(output.author),
|
|
5579
5579
|
controlId: smithy_client_1.expectString(output.controlId),
|
|
5580
5580
|
controlName: smithy_client_1.expectString(output.controlName),
|
|
5581
5581
|
controlSetId: smithy_client_1.expectString(output.controlSetId),
|
|
5582
5582
|
dataSource: smithy_client_1.expectString(output.dataSource),
|
|
5583
|
-
date: output.date !== undefined && output.date !== null
|
|
5584
|
-
|
|
5585
|
-
|
|
5586
|
-
|
|
5587
|
-
|
|
5588
|
-
|
|
5589
|
-
|
|
5590
|
-
|
|
5583
|
+
date: output.date !== undefined && output.date !== null
|
|
5584
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.date)))
|
|
5585
|
+
: undefined,
|
|
5586
|
+
evidenceAwsServiceSourceCount: smithy_client_1.expectInt32(output.evidenceAwsServiceSourceCount),
|
|
5587
|
+
evidenceByTypeComplianceCheckCount: smithy_client_1.expectInt32(output.evidenceByTypeComplianceCheckCount),
|
|
5588
|
+
evidenceByTypeComplianceCheckIssuesCount: smithy_client_1.expectInt32(output.evidenceByTypeComplianceCheckIssuesCount),
|
|
5589
|
+
evidenceByTypeConfigurationDataCount: smithy_client_1.expectInt32(output.evidenceByTypeConfigurationDataCount),
|
|
5590
|
+
evidenceByTypeManualCount: smithy_client_1.expectInt32(output.evidenceByTypeManualCount),
|
|
5591
|
+
evidenceByTypeUserActivityCount: smithy_client_1.expectInt32(output.evidenceByTypeUserActivityCount),
|
|
5592
|
+
evidenceResourcesIncludedCount: smithy_client_1.expectInt32(output.evidenceResourcesIncludedCount),
|
|
5591
5593
|
id: smithy_client_1.expectString(output.id),
|
|
5592
5594
|
name: smithy_client_1.expectString(output.name),
|
|
5593
|
-
totalEvidence: smithy_client_1.
|
|
5595
|
+
totalEvidence: smithy_client_1.expectInt32(output.totalEvidence),
|
|
5594
5596
|
};
|
|
5595
5597
|
};
|
|
5596
5598
|
const deserializeAws_restJson1AssessmentEvidenceFolders = (output, context) => {
|
|
@@ -5619,15 +5621,15 @@ const deserializeAws_restJson1AssessmentFrameworkMetadata = (output, context) =>
|
|
|
5619
5621
|
return {
|
|
5620
5622
|
arn: smithy_client_1.expectString(output.arn),
|
|
5621
5623
|
complianceType: smithy_client_1.expectString(output.complianceType),
|
|
5622
|
-
controlSetsCount: smithy_client_1.
|
|
5623
|
-
controlsCount: smithy_client_1.
|
|
5624
|
+
controlSetsCount: smithy_client_1.expectInt32(output.controlSetsCount),
|
|
5625
|
+
controlsCount: smithy_client_1.expectInt32(output.controlsCount),
|
|
5624
5626
|
createdAt: output.createdAt !== undefined && output.createdAt !== null
|
|
5625
|
-
?
|
|
5627
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.createdAt)))
|
|
5626
5628
|
: undefined,
|
|
5627
5629
|
description: smithy_client_1.expectString(output.description),
|
|
5628
5630
|
id: smithy_client_1.expectString(output.id),
|
|
5629
5631
|
lastUpdatedAt: output.lastUpdatedAt !== undefined && output.lastUpdatedAt !== null
|
|
5630
|
-
?
|
|
5632
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastUpdatedAt)))
|
|
5631
5633
|
: undefined,
|
|
5632
5634
|
logo: smithy_client_1.expectString(output.logo),
|
|
5633
5635
|
name: smithy_client_1.expectString(output.name),
|
|
@@ -5641,7 +5643,7 @@ const deserializeAws_restJson1AssessmentMetadata = (output, context) => {
|
|
|
5641
5643
|
: undefined,
|
|
5642
5644
|
complianceType: smithy_client_1.expectString(output.complianceType),
|
|
5643
5645
|
creationTime: output.creationTime !== undefined && output.creationTime !== null
|
|
5644
|
-
?
|
|
5646
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.creationTime)))
|
|
5645
5647
|
: undefined,
|
|
5646
5648
|
delegations: output.delegations !== undefined && output.delegations !== null
|
|
5647
5649
|
? deserializeAws_restJson1Delegations(output.delegations, context)
|
|
@@ -5649,7 +5651,7 @@ const deserializeAws_restJson1AssessmentMetadata = (output, context) => {
|
|
|
5649
5651
|
description: smithy_client_1.expectString(output.description),
|
|
5650
5652
|
id: smithy_client_1.expectString(output.id),
|
|
5651
5653
|
lastUpdated: output.lastUpdated !== undefined && output.lastUpdated !== null
|
|
5652
|
-
?
|
|
5654
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastUpdated)))
|
|
5653
5655
|
: undefined,
|
|
5654
5656
|
name: smithy_client_1.expectString(output.name),
|
|
5655
5657
|
roles: output.roles !== undefined && output.roles !== null
|
|
@@ -5665,14 +5667,14 @@ const deserializeAws_restJson1AssessmentMetadataItem = (output, context) => {
|
|
|
5665
5667
|
return {
|
|
5666
5668
|
complianceType: smithy_client_1.expectString(output.complianceType),
|
|
5667
5669
|
creationTime: output.creationTime !== undefined && output.creationTime !== null
|
|
5668
|
-
?
|
|
5670
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.creationTime)))
|
|
5669
5671
|
: undefined,
|
|
5670
5672
|
delegations: output.delegations !== undefined && output.delegations !== null
|
|
5671
5673
|
? deserializeAws_restJson1Delegations(output.delegations, context)
|
|
5672
5674
|
: undefined,
|
|
5673
5675
|
id: smithy_client_1.expectString(output.id),
|
|
5674
5676
|
lastUpdated: output.lastUpdated !== undefined && output.lastUpdated !== null
|
|
5675
|
-
?
|
|
5677
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastUpdated)))
|
|
5676
5678
|
: undefined,
|
|
5677
5679
|
name: smithy_client_1.expectString(output.name),
|
|
5678
5680
|
roles: output.roles !== undefined && output.roles !== null
|
|
@@ -5688,7 +5690,7 @@ const deserializeAws_restJson1AssessmentReport = (output, context) => {
|
|
|
5688
5690
|
author: smithy_client_1.expectString(output.author),
|
|
5689
5691
|
awsAccountId: smithy_client_1.expectString(output.awsAccountId),
|
|
5690
5692
|
creationTime: output.creationTime !== undefined && output.creationTime !== null
|
|
5691
|
-
?
|
|
5693
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.creationTime)))
|
|
5692
5694
|
: undefined,
|
|
5693
5695
|
description: smithy_client_1.expectString(output.description),
|
|
5694
5696
|
id: smithy_client_1.expectString(output.id),
|
|
@@ -5719,7 +5721,7 @@ const deserializeAws_restJson1AssessmentReportMetadata = (output, context) => {
|
|
|
5719
5721
|
assessmentName: smithy_client_1.expectString(output.assessmentName),
|
|
5720
5722
|
author: smithy_client_1.expectString(output.author),
|
|
5721
5723
|
creationTime: output.creationTime !== undefined && output.creationTime !== null
|
|
5722
|
-
?
|
|
5724
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.creationTime)))
|
|
5723
5725
|
: undefined,
|
|
5724
5726
|
description: smithy_client_1.expectString(output.description),
|
|
5725
5727
|
id: smithy_client_1.expectString(output.id),
|
|
@@ -5834,7 +5836,7 @@ const deserializeAws_restJson1ChangeLog = (output, context) => {
|
|
|
5834
5836
|
return {
|
|
5835
5837
|
action: smithy_client_1.expectString(output.action),
|
|
5836
5838
|
createdAt: output.createdAt !== undefined && output.createdAt !== null
|
|
5837
|
-
?
|
|
5839
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.createdAt)))
|
|
5838
5840
|
: undefined,
|
|
5839
5841
|
createdBy: smithy_client_1.expectString(output.createdBy),
|
|
5840
5842
|
objectName: smithy_client_1.expectString(output.objectName),
|
|
@@ -5861,13 +5863,13 @@ const deserializeAws_restJson1Control = (output, context) => {
|
|
|
5861
5863
|
: undefined,
|
|
5862
5864
|
controlSources: smithy_client_1.expectString(output.controlSources),
|
|
5863
5865
|
createdAt: output.createdAt !== undefined && output.createdAt !== null
|
|
5864
|
-
?
|
|
5866
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.createdAt)))
|
|
5865
5867
|
: undefined,
|
|
5866
5868
|
createdBy: smithy_client_1.expectString(output.createdBy),
|
|
5867
5869
|
description: smithy_client_1.expectString(output.description),
|
|
5868
5870
|
id: smithy_client_1.expectString(output.id),
|
|
5869
5871
|
lastUpdatedAt: output.lastUpdatedAt !== undefined && output.lastUpdatedAt !== null
|
|
5870
|
-
?
|
|
5872
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastUpdatedAt)))
|
|
5871
5873
|
: undefined,
|
|
5872
5874
|
lastUpdatedBy: smithy_client_1.expectString(output.lastUpdatedBy),
|
|
5873
5875
|
name: smithy_client_1.expectString(output.name),
|
|
@@ -5883,7 +5885,7 @@ const deserializeAws_restJson1ControlComment = (output, context) => {
|
|
|
5883
5885
|
authorName: smithy_client_1.expectString(output.authorName),
|
|
5884
5886
|
commentBody: smithy_client_1.expectString(output.commentBody),
|
|
5885
5887
|
postedDate: output.postedDate !== undefined && output.postedDate !== null
|
|
5886
|
-
?
|
|
5888
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.postedDate)))
|
|
5887
5889
|
: undefined,
|
|
5888
5890
|
};
|
|
5889
5891
|
};
|
|
@@ -5926,11 +5928,11 @@ const deserializeAws_restJson1ControlMetadata = (output, context) => {
|
|
|
5926
5928
|
arn: smithy_client_1.expectString(output.arn),
|
|
5927
5929
|
controlSources: smithy_client_1.expectString(output.controlSources),
|
|
5928
5930
|
createdAt: output.createdAt !== undefined && output.createdAt !== null
|
|
5929
|
-
?
|
|
5931
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.createdAt)))
|
|
5930
5932
|
: undefined,
|
|
5931
5933
|
id: smithy_client_1.expectString(output.id),
|
|
5932
5934
|
lastUpdatedAt: output.lastUpdatedAt !== undefined && output.lastUpdatedAt !== null
|
|
5933
|
-
?
|
|
5935
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastUpdatedAt)))
|
|
5934
5936
|
: undefined,
|
|
5935
5937
|
name: smithy_client_1.expectString(output.name),
|
|
5936
5938
|
};
|
|
@@ -5990,11 +5992,11 @@ const deserializeAws_restJson1Delegation = (output, context) => {
|
|
|
5990
5992
|
controlSetId: smithy_client_1.expectString(output.controlSetId),
|
|
5991
5993
|
createdBy: smithy_client_1.expectString(output.createdBy),
|
|
5992
5994
|
creationTime: output.creationTime !== undefined && output.creationTime !== null
|
|
5993
|
-
?
|
|
5995
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.creationTime)))
|
|
5994
5996
|
: undefined,
|
|
5995
5997
|
id: smithy_client_1.expectString(output.id),
|
|
5996
5998
|
lastUpdated: output.lastUpdated !== undefined && output.lastUpdated !== null
|
|
5997
|
-
?
|
|
5999
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastUpdated)))
|
|
5998
6000
|
: undefined,
|
|
5999
6001
|
roleArn: smithy_client_1.expectString(output.roleArn),
|
|
6000
6002
|
roleType: smithy_client_1.expectString(output.roleType),
|
|
@@ -6007,7 +6009,7 @@ const deserializeAws_restJson1DelegationMetadata = (output, context) => {
|
|
|
6007
6009
|
assessmentName: smithy_client_1.expectString(output.assessmentName),
|
|
6008
6010
|
controlSetName: smithy_client_1.expectString(output.controlSetName),
|
|
6009
6011
|
creationTime: output.creationTime !== undefined && output.creationTime !== null
|
|
6010
|
-
?
|
|
6012
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.creationTime)))
|
|
6011
6013
|
: undefined,
|
|
6012
6014
|
id: smithy_client_1.expectString(output.id),
|
|
6013
6015
|
roleArn: smithy_client_1.expectString(output.roleArn),
|
|
@@ -6054,7 +6056,9 @@ const deserializeAws_restJson1Evidence = (output, context) => {
|
|
|
6054
6056
|
resourcesIncluded: output.resourcesIncluded !== undefined && output.resourcesIncluded !== null
|
|
6055
6057
|
? deserializeAws_restJson1Resources(output.resourcesIncluded, context)
|
|
6056
6058
|
: undefined,
|
|
6057
|
-
time: output.time !== undefined && output.time !== null
|
|
6059
|
+
time: output.time !== undefined && output.time !== null
|
|
6060
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.time)))
|
|
6061
|
+
: undefined,
|
|
6058
6062
|
};
|
|
6059
6063
|
};
|
|
6060
6064
|
const deserializeAws_restJson1EvidenceAttributes = (output, context) => {
|
|
@@ -6107,13 +6111,13 @@ const deserializeAws_restJson1Framework = (output, context) => {
|
|
|
6107
6111
|
: undefined,
|
|
6108
6112
|
controlSources: smithy_client_1.expectString(output.controlSources),
|
|
6109
6113
|
createdAt: output.createdAt !== undefined && output.createdAt !== null
|
|
6110
|
-
?
|
|
6114
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.createdAt)))
|
|
6111
6115
|
: undefined,
|
|
6112
6116
|
createdBy: smithy_client_1.expectString(output.createdBy),
|
|
6113
6117
|
description: smithy_client_1.expectString(output.description),
|
|
6114
6118
|
id: smithy_client_1.expectString(output.id),
|
|
6115
6119
|
lastUpdatedAt: output.lastUpdatedAt !== undefined && output.lastUpdatedAt !== null
|
|
6116
|
-
?
|
|
6120
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastUpdatedAt)))
|
|
6117
6121
|
: undefined,
|
|
6118
6122
|
lastUpdatedBy: smithy_client_1.expectString(output.lastUpdatedBy),
|
|
6119
6123
|
logo: smithy_client_1.expectString(output.logo),
|
|
@@ -6175,7 +6179,7 @@ const deserializeAws_restJson1Notification = (output, context) => {
|
|
|
6175
6179
|
controlSetName: smithy_client_1.expectString(output.controlSetName),
|
|
6176
6180
|
description: smithy_client_1.expectString(output.description),
|
|
6177
6181
|
eventTime: output.eventTime !== undefined && output.eventTime !== null
|
|
6178
|
-
?
|
|
6182
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.eventTime)))
|
|
6179
6183
|
: undefined,
|
|
6180
6184
|
id: smithy_client_1.expectString(output.id),
|
|
6181
6185
|
source: smithy_client_1.expectString(output.source),
|