@aws-sdk/client-auditmanager 3.31.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 +8 -0
- package/dist/cjs/AuditManagerClient.js +13 -13
- package/dist/cjs/AuditManagerClient.js.map +1 -1
- package/dist/cjs/commands/AssociateAssessmentReportEvidenceFolderCommand.js +3 -3
- package/dist/cjs/commands/AssociateAssessmentReportEvidenceFolderCommand.js.map +1 -1
- package/dist/cjs/commands/BatchAssociateAssessmentReportEvidenceCommand.js +3 -3
- package/dist/cjs/commands/BatchAssociateAssessmentReportEvidenceCommand.js.map +1 -1
- package/dist/cjs/commands/BatchCreateDelegationByAssessmentCommand.js +3 -3
- package/dist/cjs/commands/BatchCreateDelegationByAssessmentCommand.js.map +1 -1
- package/dist/cjs/commands/BatchDeleteDelegationByAssessmentCommand.js +3 -3
- package/dist/cjs/commands/BatchDeleteDelegationByAssessmentCommand.js.map +1 -1
- package/dist/cjs/commands/BatchDisassociateAssessmentReportEvidenceCommand.js +3 -3
- package/dist/cjs/commands/BatchDisassociateAssessmentReportEvidenceCommand.js.map +1 -1
- package/dist/cjs/commands/BatchImportEvidenceToAssessmentControlCommand.js +3 -3
- package/dist/cjs/commands/BatchImportEvidenceToAssessmentControlCommand.js.map +1 -1
- package/dist/cjs/commands/CreateAssessmentCommand.js +3 -3
- package/dist/cjs/commands/CreateAssessmentCommand.js.map +1 -1
- package/dist/cjs/commands/CreateAssessmentFrameworkCommand.js +3 -3
- package/dist/cjs/commands/CreateAssessmentFrameworkCommand.js.map +1 -1
- package/dist/cjs/commands/CreateAssessmentReportCommand.js +3 -3
- package/dist/cjs/commands/CreateAssessmentReportCommand.js.map +1 -1
- package/dist/cjs/commands/CreateControlCommand.js +3 -3
- package/dist/cjs/commands/CreateControlCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteAssessmentCommand.js +3 -3
- package/dist/cjs/commands/DeleteAssessmentCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteAssessmentFrameworkCommand.js +3 -3
- package/dist/cjs/commands/DeleteAssessmentFrameworkCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteAssessmentReportCommand.js +3 -3
- package/dist/cjs/commands/DeleteAssessmentReportCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteControlCommand.js +3 -3
- package/dist/cjs/commands/DeleteControlCommand.js.map +1 -1
- package/dist/cjs/commands/DeregisterAccountCommand.js +3 -3
- package/dist/cjs/commands/DeregisterAccountCommand.js.map +1 -1
- package/dist/cjs/commands/DeregisterOrganizationAdminAccountCommand.js +3 -3
- package/dist/cjs/commands/DeregisterOrganizationAdminAccountCommand.js.map +1 -1
- package/dist/cjs/commands/DisassociateAssessmentReportEvidenceFolderCommand.js +3 -3
- package/dist/cjs/commands/DisassociateAssessmentReportEvidenceFolderCommand.js.map +1 -1
- package/dist/cjs/commands/GetAccountStatusCommand.js +3 -3
- package/dist/cjs/commands/GetAccountStatusCommand.js.map +1 -1
- package/dist/cjs/commands/GetAssessmentCommand.js +3 -3
- package/dist/cjs/commands/GetAssessmentCommand.js.map +1 -1
- package/dist/cjs/commands/GetAssessmentFrameworkCommand.js +3 -3
- package/dist/cjs/commands/GetAssessmentFrameworkCommand.js.map +1 -1
- package/dist/cjs/commands/GetAssessmentReportUrlCommand.js +3 -3
- package/dist/cjs/commands/GetAssessmentReportUrlCommand.js.map +1 -1
- package/dist/cjs/commands/GetChangeLogsCommand.js +3 -3
- package/dist/cjs/commands/GetChangeLogsCommand.js.map +1 -1
- package/dist/cjs/commands/GetControlCommand.js +3 -3
- package/dist/cjs/commands/GetControlCommand.js.map +1 -1
- package/dist/cjs/commands/GetDelegationsCommand.js +3 -3
- package/dist/cjs/commands/GetDelegationsCommand.js.map +1 -1
- package/dist/cjs/commands/GetEvidenceByEvidenceFolderCommand.js +3 -3
- package/dist/cjs/commands/GetEvidenceByEvidenceFolderCommand.js.map +1 -1
- package/dist/cjs/commands/GetEvidenceCommand.js +3 -3
- package/dist/cjs/commands/GetEvidenceCommand.js.map +1 -1
- package/dist/cjs/commands/GetEvidenceFolderCommand.js +3 -3
- package/dist/cjs/commands/GetEvidenceFolderCommand.js.map +1 -1
- package/dist/cjs/commands/GetEvidenceFoldersByAssessmentCommand.js +3 -3
- package/dist/cjs/commands/GetEvidenceFoldersByAssessmentCommand.js.map +1 -1
- package/dist/cjs/commands/GetEvidenceFoldersByAssessmentControlCommand.js +3 -3
- package/dist/cjs/commands/GetEvidenceFoldersByAssessmentControlCommand.js.map +1 -1
- package/dist/cjs/commands/GetOrganizationAdminAccountCommand.js +3 -3
- package/dist/cjs/commands/GetOrganizationAdminAccountCommand.js.map +1 -1
- package/dist/cjs/commands/GetServicesInScopeCommand.js +3 -3
- package/dist/cjs/commands/GetServicesInScopeCommand.js.map +1 -1
- package/dist/cjs/commands/GetSettingsCommand.js +3 -3
- package/dist/cjs/commands/GetSettingsCommand.js.map +1 -1
- package/dist/cjs/commands/ListAssessmentFrameworksCommand.js +3 -3
- package/dist/cjs/commands/ListAssessmentFrameworksCommand.js.map +1 -1
- package/dist/cjs/commands/ListAssessmentReportsCommand.js +3 -3
- package/dist/cjs/commands/ListAssessmentReportsCommand.js.map +1 -1
- package/dist/cjs/commands/ListAssessmentsCommand.js +3 -3
- package/dist/cjs/commands/ListAssessmentsCommand.js.map +1 -1
- package/dist/cjs/commands/ListControlsCommand.js +3 -3
- package/dist/cjs/commands/ListControlsCommand.js.map +1 -1
- package/dist/cjs/commands/ListKeywordsForDataSourceCommand.js +3 -3
- package/dist/cjs/commands/ListKeywordsForDataSourceCommand.js.map +1 -1
- package/dist/cjs/commands/ListNotificationsCommand.js +3 -3
- package/dist/cjs/commands/ListNotificationsCommand.js.map +1 -1
- package/dist/cjs/commands/ListTagsForResourceCommand.js +3 -3
- package/dist/cjs/commands/ListTagsForResourceCommand.js.map +1 -1
- package/dist/cjs/commands/RegisterAccountCommand.js +3 -3
- package/dist/cjs/commands/RegisterAccountCommand.js.map +1 -1
- package/dist/cjs/commands/RegisterOrganizationAdminAccountCommand.js +3 -3
- package/dist/cjs/commands/RegisterOrganizationAdminAccountCommand.js.map +1 -1
- package/dist/cjs/commands/TagResourceCommand.js +3 -3
- package/dist/cjs/commands/TagResourceCommand.js.map +1 -1
- package/dist/cjs/commands/UntagResourceCommand.js +3 -3
- package/dist/cjs/commands/UntagResourceCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateAssessmentCommand.js +3 -3
- package/dist/cjs/commands/UpdateAssessmentCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateAssessmentControlCommand.js +3 -3
- package/dist/cjs/commands/UpdateAssessmentControlCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateAssessmentControlSetStatusCommand.js +3 -3
- package/dist/cjs/commands/UpdateAssessmentControlSetStatusCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateAssessmentFrameworkCommand.js +3 -3
- package/dist/cjs/commands/UpdateAssessmentFrameworkCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateAssessmentStatusCommand.js +3 -3
- package/dist/cjs/commands/UpdateAssessmentStatusCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateControlCommand.js +3 -3
- package/dist/cjs/commands/UpdateControlCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateSettingsCommand.js +3 -3
- package/dist/cjs/commands/UpdateSettingsCommand.js.map +1 -1
- package/dist/cjs/commands/ValidateAssessmentReportIntegrityCommand.js +3 -3
- package/dist/cjs/commands/ValidateAssessmentReportIntegrityCommand.js.map +1 -1
- package/dist/cjs/endpoints.js +1 -1
- package/dist/cjs/endpoints.js.map +1 -1
- package/dist/cjs/index.js +66 -66
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/models/index.js +1 -1
- package/dist/cjs/models/index.js.map +1 -1
- package/dist/cjs/package.json +31 -31
- package/dist/cjs/protocols/Aws_restJson1.js +328 -328
- package/dist/cjs/protocols/Aws_restJson1.js.map +1 -1
- package/dist/cjs/runtimeConfig.browser.js +4 -4
- package/dist/cjs/runtimeConfig.browser.js.map +1 -1
- package/dist/cjs/runtimeConfig.js +8 -8
- package/dist/cjs/runtimeConfig.js.map +1 -1
- package/dist/cjs/runtimeConfig.native.js +1 -1
- package/dist/cjs/runtimeConfig.native.js.map +1 -1
- package/dist/es/package.json +31 -31
- package/dist/es/pagination/GetChangeLogsPaginator.js +4 -4
- package/dist/es/pagination/GetChangeLogsPaginator.js.map +1 -1
- package/dist/es/pagination/GetDelegationsPaginator.js +4 -4
- package/dist/es/pagination/GetDelegationsPaginator.js.map +1 -1
- package/dist/es/pagination/GetEvidenceByEvidenceFolderPaginator.js +4 -4
- package/dist/es/pagination/GetEvidenceByEvidenceFolderPaginator.js.map +1 -1
- package/dist/es/pagination/GetEvidenceFoldersByAssessmentControlPaginator.js +4 -4
- package/dist/es/pagination/GetEvidenceFoldersByAssessmentControlPaginator.js.map +1 -1
- package/dist/es/pagination/GetEvidenceFoldersByAssessmentPaginator.js +4 -4
- package/dist/es/pagination/GetEvidenceFoldersByAssessmentPaginator.js.map +1 -1
- package/dist/es/pagination/ListAssessmentFrameworksPaginator.js +4 -4
- package/dist/es/pagination/ListAssessmentFrameworksPaginator.js.map +1 -1
- package/dist/es/pagination/ListAssessmentReportsPaginator.js +4 -4
- package/dist/es/pagination/ListAssessmentReportsPaginator.js.map +1 -1
- package/dist/es/pagination/ListAssessmentsPaginator.js +4 -4
- package/dist/es/pagination/ListAssessmentsPaginator.js.map +1 -1
- package/dist/es/pagination/ListControlsPaginator.js +4 -4
- package/dist/es/pagination/ListControlsPaginator.js.map +1 -1
- package/dist/es/pagination/ListKeywordsForDataSourcePaginator.js +4 -4
- package/dist/es/pagination/ListKeywordsForDataSourcePaginator.js.map +1 -1
- package/dist/es/pagination/ListNotificationsPaginator.js +4 -4
- package/dist/es/pagination/ListNotificationsPaginator.js.map +1 -1
- package/package.json +31 -31
- package/tsconfig.json +1 -2
|
@@ -17,7 +17,7 @@ const serializeAws_restJson1AssociateAssessmentReportEvidenceFolderCommand = asy
|
|
|
17
17
|
if (labelValue.length <= 0) {
|
|
18
18
|
throw new Error("Empty value provided for input HTTP label: assessmentId.");
|
|
19
19
|
}
|
|
20
|
-
resolvedPath = resolvedPath.replace("{assessmentId}",
|
|
20
|
+
resolvedPath = resolvedPath.replace("{assessmentId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
21
21
|
}
|
|
22
22
|
else {
|
|
23
23
|
throw new Error("No value provided for input HTTP label: assessmentId.");
|
|
@@ -50,7 +50,7 @@ const serializeAws_restJson1BatchAssociateAssessmentReportEvidenceCommand = asyn
|
|
|
50
50
|
if (labelValue.length <= 0) {
|
|
51
51
|
throw new Error("Empty value provided for input HTTP label: assessmentId.");
|
|
52
52
|
}
|
|
53
|
-
resolvedPath = resolvedPath.replace("{assessmentId}",
|
|
53
|
+
resolvedPath = resolvedPath.replace("{assessmentId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
54
54
|
}
|
|
55
55
|
else {
|
|
56
56
|
throw new Error("No value provided for input HTTP label: assessmentId.");
|
|
@@ -84,7 +84,7 @@ const serializeAws_restJson1BatchCreateDelegationByAssessmentCommand = async (in
|
|
|
84
84
|
if (labelValue.length <= 0) {
|
|
85
85
|
throw new Error("Empty value provided for input HTTP label: assessmentId.");
|
|
86
86
|
}
|
|
87
|
-
resolvedPath = resolvedPath.replace("{assessmentId}",
|
|
87
|
+
resolvedPath = resolvedPath.replace("{assessmentId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
88
88
|
}
|
|
89
89
|
else {
|
|
90
90
|
throw new Error("No value provided for input HTTP label: assessmentId.");
|
|
@@ -118,7 +118,7 @@ const serializeAws_restJson1BatchDeleteDelegationByAssessmentCommand = async (in
|
|
|
118
118
|
if (labelValue.length <= 0) {
|
|
119
119
|
throw new Error("Empty value provided for input HTTP label: assessmentId.");
|
|
120
120
|
}
|
|
121
|
-
resolvedPath = resolvedPath.replace("{assessmentId}",
|
|
121
|
+
resolvedPath = resolvedPath.replace("{assessmentId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
122
122
|
}
|
|
123
123
|
else {
|
|
124
124
|
throw new Error("No value provided for input HTTP label: assessmentId.");
|
|
@@ -153,7 +153,7 @@ const serializeAws_restJson1BatchDisassociateAssessmentReportEvidenceCommand = a
|
|
|
153
153
|
if (labelValue.length <= 0) {
|
|
154
154
|
throw new Error("Empty value provided for input HTTP label: assessmentId.");
|
|
155
155
|
}
|
|
156
|
-
resolvedPath = resolvedPath.replace("{assessmentId}",
|
|
156
|
+
resolvedPath = resolvedPath.replace("{assessmentId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
157
157
|
}
|
|
158
158
|
else {
|
|
159
159
|
throw new Error("No value provided for input HTTP label: assessmentId.");
|
|
@@ -188,7 +188,7 @@ const serializeAws_restJson1BatchImportEvidenceToAssessmentControlCommand = asyn
|
|
|
188
188
|
if (labelValue.length <= 0) {
|
|
189
189
|
throw new Error("Empty value provided for input HTTP label: assessmentId.");
|
|
190
190
|
}
|
|
191
|
-
resolvedPath = resolvedPath.replace("{assessmentId}",
|
|
191
|
+
resolvedPath = resolvedPath.replace("{assessmentId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
192
192
|
}
|
|
193
193
|
else {
|
|
194
194
|
throw new Error("No value provided for input HTTP label: assessmentId.");
|
|
@@ -198,7 +198,7 @@ const serializeAws_restJson1BatchImportEvidenceToAssessmentControlCommand = asyn
|
|
|
198
198
|
if (labelValue.length <= 0) {
|
|
199
199
|
throw new Error("Empty value provided for input HTTP label: controlSetId.");
|
|
200
200
|
}
|
|
201
|
-
resolvedPath = resolvedPath.replace("{controlSetId}",
|
|
201
|
+
resolvedPath = resolvedPath.replace("{controlSetId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
202
202
|
}
|
|
203
203
|
else {
|
|
204
204
|
throw new Error("No value provided for input HTTP label: controlSetId.");
|
|
@@ -208,7 +208,7 @@ const serializeAws_restJson1BatchImportEvidenceToAssessmentControlCommand = asyn
|
|
|
208
208
|
if (labelValue.length <= 0) {
|
|
209
209
|
throw new Error("Empty value provided for input HTTP label: controlId.");
|
|
210
210
|
}
|
|
211
|
-
resolvedPath = resolvedPath.replace("{controlId}",
|
|
211
|
+
resolvedPath = resolvedPath.replace("{controlId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
212
212
|
}
|
|
213
213
|
else {
|
|
214
214
|
throw new Error("No value provided for input HTTP label: controlId.");
|
|
@@ -303,7 +303,7 @@ const serializeAws_restJson1CreateAssessmentReportCommand = async (input, contex
|
|
|
303
303
|
if (labelValue.length <= 0) {
|
|
304
304
|
throw new Error("Empty value provided for input HTTP label: assessmentId.");
|
|
305
305
|
}
|
|
306
|
-
resolvedPath = resolvedPath.replace("{assessmentId}",
|
|
306
|
+
resolvedPath = resolvedPath.replace("{assessmentId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
307
307
|
}
|
|
308
308
|
else {
|
|
309
309
|
throw new Error("No value provided for input HTTP label: assessmentId.");
|
|
@@ -366,7 +366,7 @@ const serializeAws_restJson1DeleteAssessmentCommand = async (input, context) =>
|
|
|
366
366
|
if (labelValue.length <= 0) {
|
|
367
367
|
throw new Error("Empty value provided for input HTTP label: assessmentId.");
|
|
368
368
|
}
|
|
369
|
-
resolvedPath = resolvedPath.replace("{assessmentId}",
|
|
369
|
+
resolvedPath = resolvedPath.replace("{assessmentId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
370
370
|
}
|
|
371
371
|
else {
|
|
372
372
|
throw new Error("No value provided for input HTTP label: assessmentId.");
|
|
@@ -392,7 +392,7 @@ const serializeAws_restJson1DeleteAssessmentFrameworkCommand = async (input, con
|
|
|
392
392
|
if (labelValue.length <= 0) {
|
|
393
393
|
throw new Error("Empty value provided for input HTTP label: frameworkId.");
|
|
394
394
|
}
|
|
395
|
-
resolvedPath = resolvedPath.replace("{frameworkId}",
|
|
395
|
+
resolvedPath = resolvedPath.replace("{frameworkId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
396
396
|
}
|
|
397
397
|
else {
|
|
398
398
|
throw new Error("No value provided for input HTTP label: frameworkId.");
|
|
@@ -419,7 +419,7 @@ const serializeAws_restJson1DeleteAssessmentReportCommand = async (input, contex
|
|
|
419
419
|
if (labelValue.length <= 0) {
|
|
420
420
|
throw new Error("Empty value provided for input HTTP label: assessmentId.");
|
|
421
421
|
}
|
|
422
|
-
resolvedPath = resolvedPath.replace("{assessmentId}",
|
|
422
|
+
resolvedPath = resolvedPath.replace("{assessmentId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
423
423
|
}
|
|
424
424
|
else {
|
|
425
425
|
throw new Error("No value provided for input HTTP label: assessmentId.");
|
|
@@ -429,7 +429,7 @@ const serializeAws_restJson1DeleteAssessmentReportCommand = async (input, contex
|
|
|
429
429
|
if (labelValue.length <= 0) {
|
|
430
430
|
throw new Error("Empty value provided for input HTTP label: assessmentReportId.");
|
|
431
431
|
}
|
|
432
|
-
resolvedPath = resolvedPath.replace("{assessmentReportId}",
|
|
432
|
+
resolvedPath = resolvedPath.replace("{assessmentReportId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
433
433
|
}
|
|
434
434
|
else {
|
|
435
435
|
throw new Error("No value provided for input HTTP label: assessmentReportId.");
|
|
@@ -455,7 +455,7 @@ const serializeAws_restJson1DeleteControlCommand = async (input, context) => {
|
|
|
455
455
|
if (labelValue.length <= 0) {
|
|
456
456
|
throw new Error("Empty value provided for input HTTP label: controlId.");
|
|
457
457
|
}
|
|
458
|
-
resolvedPath = resolvedPath.replace("{controlId}",
|
|
458
|
+
resolvedPath = resolvedPath.replace("{controlId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
459
459
|
}
|
|
460
460
|
else {
|
|
461
461
|
throw new Error("No value provided for input HTTP label: controlId.");
|
|
@@ -526,7 +526,7 @@ const serializeAws_restJson1DisassociateAssessmentReportEvidenceFolderCommand =
|
|
|
526
526
|
if (labelValue.length <= 0) {
|
|
527
527
|
throw new Error("Empty value provided for input HTTP label: assessmentId.");
|
|
528
528
|
}
|
|
529
|
-
resolvedPath = resolvedPath.replace("{assessmentId}",
|
|
529
|
+
resolvedPath = resolvedPath.replace("{assessmentId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
530
530
|
}
|
|
531
531
|
else {
|
|
532
532
|
throw new Error("No value provided for input HTTP label: assessmentId.");
|
|
@@ -575,7 +575,7 @@ const serializeAws_restJson1GetAssessmentCommand = async (input, context) => {
|
|
|
575
575
|
if (labelValue.length <= 0) {
|
|
576
576
|
throw new Error("Empty value provided for input HTTP label: assessmentId.");
|
|
577
577
|
}
|
|
578
|
-
resolvedPath = resolvedPath.replace("{assessmentId}",
|
|
578
|
+
resolvedPath = resolvedPath.replace("{assessmentId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
579
579
|
}
|
|
580
580
|
else {
|
|
581
581
|
throw new Error("No value provided for input HTTP label: assessmentId.");
|
|
@@ -601,7 +601,7 @@ const serializeAws_restJson1GetAssessmentFrameworkCommand = async (input, contex
|
|
|
601
601
|
if (labelValue.length <= 0) {
|
|
602
602
|
throw new Error("Empty value provided for input HTTP label: frameworkId.");
|
|
603
603
|
}
|
|
604
|
-
resolvedPath = resolvedPath.replace("{frameworkId}",
|
|
604
|
+
resolvedPath = resolvedPath.replace("{frameworkId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
605
605
|
}
|
|
606
606
|
else {
|
|
607
607
|
throw new Error("No value provided for input HTTP label: frameworkId.");
|
|
@@ -628,7 +628,7 @@ const serializeAws_restJson1GetAssessmentReportUrlCommand = async (input, contex
|
|
|
628
628
|
if (labelValue.length <= 0) {
|
|
629
629
|
throw new Error("Empty value provided for input HTTP label: assessmentReportId.");
|
|
630
630
|
}
|
|
631
|
-
resolvedPath = resolvedPath.replace("{assessmentReportId}",
|
|
631
|
+
resolvedPath = resolvedPath.replace("{assessmentReportId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
632
632
|
}
|
|
633
633
|
else {
|
|
634
634
|
throw new Error("No value provided for input HTTP label: assessmentReportId.");
|
|
@@ -638,7 +638,7 @@ const serializeAws_restJson1GetAssessmentReportUrlCommand = async (input, contex
|
|
|
638
638
|
if (labelValue.length <= 0) {
|
|
639
639
|
throw new Error("Empty value provided for input HTTP label: assessmentId.");
|
|
640
640
|
}
|
|
641
|
-
resolvedPath = resolvedPath.replace("{assessmentId}",
|
|
641
|
+
resolvedPath = resolvedPath.replace("{assessmentId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
642
642
|
}
|
|
643
643
|
else {
|
|
644
644
|
throw new Error("No value provided for input HTTP label: assessmentId.");
|
|
@@ -664,7 +664,7 @@ const serializeAws_restJson1GetChangeLogsCommand = async (input, context) => {
|
|
|
664
664
|
if (labelValue.length <= 0) {
|
|
665
665
|
throw new Error("Empty value provided for input HTTP label: assessmentId.");
|
|
666
666
|
}
|
|
667
|
-
resolvedPath = resolvedPath.replace("{assessmentId}",
|
|
667
|
+
resolvedPath = resolvedPath.replace("{assessmentId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
668
668
|
}
|
|
669
669
|
else {
|
|
670
670
|
throw new Error("No value provided for input HTTP label: assessmentId.");
|
|
@@ -697,7 +697,7 @@ const serializeAws_restJson1GetControlCommand = async (input, context) => {
|
|
|
697
697
|
if (labelValue.length <= 0) {
|
|
698
698
|
throw new Error("Empty value provided for input HTTP label: controlId.");
|
|
699
699
|
}
|
|
700
|
-
resolvedPath = resolvedPath.replace("{controlId}",
|
|
700
|
+
resolvedPath = resolvedPath.replace("{controlId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
701
701
|
}
|
|
702
702
|
else {
|
|
703
703
|
throw new Error("No value provided for input HTTP label: controlId.");
|
|
@@ -745,7 +745,7 @@ const serializeAws_restJson1GetEvidenceCommand = async (input, context) => {
|
|
|
745
745
|
if (labelValue.length <= 0) {
|
|
746
746
|
throw new Error("Empty value provided for input HTTP label: assessmentId.");
|
|
747
747
|
}
|
|
748
|
-
resolvedPath = resolvedPath.replace("{assessmentId}",
|
|
748
|
+
resolvedPath = resolvedPath.replace("{assessmentId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
749
749
|
}
|
|
750
750
|
else {
|
|
751
751
|
throw new Error("No value provided for input HTTP label: assessmentId.");
|
|
@@ -755,7 +755,7 @@ const serializeAws_restJson1GetEvidenceCommand = async (input, context) => {
|
|
|
755
755
|
if (labelValue.length <= 0) {
|
|
756
756
|
throw new Error("Empty value provided for input HTTP label: controlSetId.");
|
|
757
757
|
}
|
|
758
|
-
resolvedPath = resolvedPath.replace("{controlSetId}",
|
|
758
|
+
resolvedPath = resolvedPath.replace("{controlSetId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
759
759
|
}
|
|
760
760
|
else {
|
|
761
761
|
throw new Error("No value provided for input HTTP label: controlSetId.");
|
|
@@ -765,7 +765,7 @@ const serializeAws_restJson1GetEvidenceCommand = async (input, context) => {
|
|
|
765
765
|
if (labelValue.length <= 0) {
|
|
766
766
|
throw new Error("Empty value provided for input HTTP label: evidenceFolderId.");
|
|
767
767
|
}
|
|
768
|
-
resolvedPath = resolvedPath.replace("{evidenceFolderId}",
|
|
768
|
+
resolvedPath = resolvedPath.replace("{evidenceFolderId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
769
769
|
}
|
|
770
770
|
else {
|
|
771
771
|
throw new Error("No value provided for input HTTP label: evidenceFolderId.");
|
|
@@ -775,7 +775,7 @@ const serializeAws_restJson1GetEvidenceCommand = async (input, context) => {
|
|
|
775
775
|
if (labelValue.length <= 0) {
|
|
776
776
|
throw new Error("Empty value provided for input HTTP label: evidenceId.");
|
|
777
777
|
}
|
|
778
|
-
resolvedPath = resolvedPath.replace("{evidenceId}",
|
|
778
|
+
resolvedPath = resolvedPath.replace("{evidenceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
779
779
|
}
|
|
780
780
|
else {
|
|
781
781
|
throw new Error("No value provided for input HTTP label: evidenceId.");
|
|
@@ -802,7 +802,7 @@ const serializeAws_restJson1GetEvidenceByEvidenceFolderCommand = async (input, c
|
|
|
802
802
|
if (labelValue.length <= 0) {
|
|
803
803
|
throw new Error("Empty value provided for input HTTP label: assessmentId.");
|
|
804
804
|
}
|
|
805
|
-
resolvedPath = resolvedPath.replace("{assessmentId}",
|
|
805
|
+
resolvedPath = resolvedPath.replace("{assessmentId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
806
806
|
}
|
|
807
807
|
else {
|
|
808
808
|
throw new Error("No value provided for input HTTP label: assessmentId.");
|
|
@@ -812,7 +812,7 @@ const serializeAws_restJson1GetEvidenceByEvidenceFolderCommand = async (input, c
|
|
|
812
812
|
if (labelValue.length <= 0) {
|
|
813
813
|
throw new Error("Empty value provided for input HTTP label: controlSetId.");
|
|
814
814
|
}
|
|
815
|
-
resolvedPath = resolvedPath.replace("{controlSetId}",
|
|
815
|
+
resolvedPath = resolvedPath.replace("{controlSetId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
816
816
|
}
|
|
817
817
|
else {
|
|
818
818
|
throw new Error("No value provided for input HTTP label: controlSetId.");
|
|
@@ -822,7 +822,7 @@ const serializeAws_restJson1GetEvidenceByEvidenceFolderCommand = async (input, c
|
|
|
822
822
|
if (labelValue.length <= 0) {
|
|
823
823
|
throw new Error("Empty value provided for input HTTP label: evidenceFolderId.");
|
|
824
824
|
}
|
|
825
|
-
resolvedPath = resolvedPath.replace("{evidenceFolderId}",
|
|
825
|
+
resolvedPath = resolvedPath.replace("{evidenceFolderId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
826
826
|
}
|
|
827
827
|
else {
|
|
828
828
|
throw new Error("No value provided for input HTTP label: evidenceFolderId.");
|
|
@@ -854,7 +854,7 @@ const serializeAws_restJson1GetEvidenceFolderCommand = async (input, context) =>
|
|
|
854
854
|
if (labelValue.length <= 0) {
|
|
855
855
|
throw new Error("Empty value provided for input HTTP label: assessmentId.");
|
|
856
856
|
}
|
|
857
|
-
resolvedPath = resolvedPath.replace("{assessmentId}",
|
|
857
|
+
resolvedPath = resolvedPath.replace("{assessmentId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
858
858
|
}
|
|
859
859
|
else {
|
|
860
860
|
throw new Error("No value provided for input HTTP label: assessmentId.");
|
|
@@ -864,7 +864,7 @@ const serializeAws_restJson1GetEvidenceFolderCommand = async (input, context) =>
|
|
|
864
864
|
if (labelValue.length <= 0) {
|
|
865
865
|
throw new Error("Empty value provided for input HTTP label: controlSetId.");
|
|
866
866
|
}
|
|
867
|
-
resolvedPath = resolvedPath.replace("{controlSetId}",
|
|
867
|
+
resolvedPath = resolvedPath.replace("{controlSetId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
868
868
|
}
|
|
869
869
|
else {
|
|
870
870
|
throw new Error("No value provided for input HTTP label: controlSetId.");
|
|
@@ -874,7 +874,7 @@ const serializeAws_restJson1GetEvidenceFolderCommand = async (input, context) =>
|
|
|
874
874
|
if (labelValue.length <= 0) {
|
|
875
875
|
throw new Error("Empty value provided for input HTTP label: evidenceFolderId.");
|
|
876
876
|
}
|
|
877
|
-
resolvedPath = resolvedPath.replace("{evidenceFolderId}",
|
|
877
|
+
resolvedPath = resolvedPath.replace("{evidenceFolderId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
878
878
|
}
|
|
879
879
|
else {
|
|
880
880
|
throw new Error("No value provided for input HTTP label: evidenceFolderId.");
|
|
@@ -901,7 +901,7 @@ const serializeAws_restJson1GetEvidenceFoldersByAssessmentCommand = async (input
|
|
|
901
901
|
if (labelValue.length <= 0) {
|
|
902
902
|
throw new Error("Empty value provided for input HTTP label: assessmentId.");
|
|
903
903
|
}
|
|
904
|
-
resolvedPath = resolvedPath.replace("{assessmentId}",
|
|
904
|
+
resolvedPath = resolvedPath.replace("{assessmentId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
905
905
|
}
|
|
906
906
|
else {
|
|
907
907
|
throw new Error("No value provided for input HTTP label: assessmentId.");
|
|
@@ -933,7 +933,7 @@ const serializeAws_restJson1GetEvidenceFoldersByAssessmentControlCommand = async
|
|
|
933
933
|
if (labelValue.length <= 0) {
|
|
934
934
|
throw new Error("Empty value provided for input HTTP label: assessmentId.");
|
|
935
935
|
}
|
|
936
|
-
resolvedPath = resolvedPath.replace("{assessmentId}",
|
|
936
|
+
resolvedPath = resolvedPath.replace("{assessmentId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
937
937
|
}
|
|
938
938
|
else {
|
|
939
939
|
throw new Error("No value provided for input HTTP label: assessmentId.");
|
|
@@ -943,7 +943,7 @@ const serializeAws_restJson1GetEvidenceFoldersByAssessmentControlCommand = async
|
|
|
943
943
|
if (labelValue.length <= 0) {
|
|
944
944
|
throw new Error("Empty value provided for input HTTP label: controlSetId.");
|
|
945
945
|
}
|
|
946
|
-
resolvedPath = resolvedPath.replace("{controlSetId}",
|
|
946
|
+
resolvedPath = resolvedPath.replace("{controlSetId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
947
947
|
}
|
|
948
948
|
else {
|
|
949
949
|
throw new Error("No value provided for input HTTP label: controlSetId.");
|
|
@@ -953,7 +953,7 @@ const serializeAws_restJson1GetEvidenceFoldersByAssessmentControlCommand = async
|
|
|
953
953
|
if (labelValue.length <= 0) {
|
|
954
954
|
throw new Error("Empty value provided for input HTTP label: controlId.");
|
|
955
955
|
}
|
|
956
|
-
resolvedPath = resolvedPath.replace("{controlId}",
|
|
956
|
+
resolvedPath = resolvedPath.replace("{controlId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
957
957
|
}
|
|
958
958
|
else {
|
|
959
959
|
throw new Error("No value provided for input HTTP label: controlId.");
|
|
@@ -1022,7 +1022,7 @@ const serializeAws_restJson1GetSettingsCommand = async (input, context) => {
|
|
|
1022
1022
|
if (labelValue.length <= 0) {
|
|
1023
1023
|
throw new Error("Empty value provided for input HTTP label: attribute.");
|
|
1024
1024
|
}
|
|
1025
|
-
resolvedPath = resolvedPath.replace("{attribute}",
|
|
1025
|
+
resolvedPath = resolvedPath.replace("{attribute}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1026
1026
|
}
|
|
1027
1027
|
else {
|
|
1028
1028
|
throw new Error("No value provided for input HTTP label: attribute.");
|
|
@@ -1177,7 +1177,7 @@ const serializeAws_restJson1ListTagsForResourceCommand = async (input, context)
|
|
|
1177
1177
|
if (labelValue.length <= 0) {
|
|
1178
1178
|
throw new Error("Empty value provided for input HTTP label: resourceArn.");
|
|
1179
1179
|
}
|
|
1180
|
-
resolvedPath = resolvedPath.replace("{resourceArn}",
|
|
1180
|
+
resolvedPath = resolvedPath.replace("{resourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1181
1181
|
}
|
|
1182
1182
|
else {
|
|
1183
1183
|
throw new Error("No value provided for input HTTP label: resourceArn.");
|
|
@@ -1250,7 +1250,7 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
|
|
|
1250
1250
|
if (labelValue.length <= 0) {
|
|
1251
1251
|
throw new Error("Empty value provided for input HTTP label: resourceArn.");
|
|
1252
1252
|
}
|
|
1253
|
-
resolvedPath = resolvedPath.replace("{resourceArn}",
|
|
1253
|
+
resolvedPath = resolvedPath.replace("{resourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1254
1254
|
}
|
|
1255
1255
|
else {
|
|
1256
1256
|
throw new Error("No value provided for input HTTP label: resourceArn.");
|
|
@@ -1279,7 +1279,7 @@ const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
|
|
|
1279
1279
|
if (labelValue.length <= 0) {
|
|
1280
1280
|
throw new Error("Empty value provided for input HTTP label: resourceArn.");
|
|
1281
1281
|
}
|
|
1282
|
-
resolvedPath = resolvedPath.replace("{resourceArn}",
|
|
1282
|
+
resolvedPath = resolvedPath.replace("{resourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1283
1283
|
}
|
|
1284
1284
|
else {
|
|
1285
1285
|
throw new Error("No value provided for input HTTP label: resourceArn.");
|
|
@@ -1311,7 +1311,7 @@ const serializeAws_restJson1UpdateAssessmentCommand = async (input, context) =>
|
|
|
1311
1311
|
if (labelValue.length <= 0) {
|
|
1312
1312
|
throw new Error("Empty value provided for input HTTP label: assessmentId.");
|
|
1313
1313
|
}
|
|
1314
|
-
resolvedPath = resolvedPath.replace("{assessmentId}",
|
|
1314
|
+
resolvedPath = resolvedPath.replace("{assessmentId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1315
1315
|
}
|
|
1316
1316
|
else {
|
|
1317
1317
|
throw new Error("No value provided for input HTTP label: assessmentId.");
|
|
@@ -1354,7 +1354,7 @@ const serializeAws_restJson1UpdateAssessmentControlCommand = async (input, conte
|
|
|
1354
1354
|
if (labelValue.length <= 0) {
|
|
1355
1355
|
throw new Error("Empty value provided for input HTTP label: assessmentId.");
|
|
1356
1356
|
}
|
|
1357
|
-
resolvedPath = resolvedPath.replace("{assessmentId}",
|
|
1357
|
+
resolvedPath = resolvedPath.replace("{assessmentId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1358
1358
|
}
|
|
1359
1359
|
else {
|
|
1360
1360
|
throw new Error("No value provided for input HTTP label: assessmentId.");
|
|
@@ -1364,7 +1364,7 @@ const serializeAws_restJson1UpdateAssessmentControlCommand = async (input, conte
|
|
|
1364
1364
|
if (labelValue.length <= 0) {
|
|
1365
1365
|
throw new Error("Empty value provided for input HTTP label: controlSetId.");
|
|
1366
1366
|
}
|
|
1367
|
-
resolvedPath = resolvedPath.replace("{controlSetId}",
|
|
1367
|
+
resolvedPath = resolvedPath.replace("{controlSetId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1368
1368
|
}
|
|
1369
1369
|
else {
|
|
1370
1370
|
throw new Error("No value provided for input HTTP label: controlSetId.");
|
|
@@ -1374,7 +1374,7 @@ const serializeAws_restJson1UpdateAssessmentControlCommand = async (input, conte
|
|
|
1374
1374
|
if (labelValue.length <= 0) {
|
|
1375
1375
|
throw new Error("Empty value provided for input HTTP label: controlId.");
|
|
1376
1376
|
}
|
|
1377
|
-
resolvedPath = resolvedPath.replace("{controlId}",
|
|
1377
|
+
resolvedPath = resolvedPath.replace("{controlId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1378
1378
|
}
|
|
1379
1379
|
else {
|
|
1380
1380
|
throw new Error("No value provided for input HTTP label: controlId.");
|
|
@@ -1407,7 +1407,7 @@ const serializeAws_restJson1UpdateAssessmentControlSetStatusCommand = async (inp
|
|
|
1407
1407
|
if (labelValue.length <= 0) {
|
|
1408
1408
|
throw new Error("Empty value provided for input HTTP label: assessmentId.");
|
|
1409
1409
|
}
|
|
1410
|
-
resolvedPath = resolvedPath.replace("{assessmentId}",
|
|
1410
|
+
resolvedPath = resolvedPath.replace("{assessmentId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1411
1411
|
}
|
|
1412
1412
|
else {
|
|
1413
1413
|
throw new Error("No value provided for input HTTP label: assessmentId.");
|
|
@@ -1417,7 +1417,7 @@ const serializeAws_restJson1UpdateAssessmentControlSetStatusCommand = async (inp
|
|
|
1417
1417
|
if (labelValue.length <= 0) {
|
|
1418
1418
|
throw new Error("Empty value provided for input HTTP label: controlSetId.");
|
|
1419
1419
|
}
|
|
1420
|
-
resolvedPath = resolvedPath.replace("{controlSetId}",
|
|
1420
|
+
resolvedPath = resolvedPath.replace("{controlSetId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1421
1421
|
}
|
|
1422
1422
|
else {
|
|
1423
1423
|
throw new Error("No value provided for input HTTP label: controlSetId.");
|
|
@@ -1449,7 +1449,7 @@ const serializeAws_restJson1UpdateAssessmentFrameworkCommand = async (input, con
|
|
|
1449
1449
|
if (labelValue.length <= 0) {
|
|
1450
1450
|
throw new Error("Empty value provided for input HTTP label: frameworkId.");
|
|
1451
1451
|
}
|
|
1452
|
-
resolvedPath = resolvedPath.replace("{frameworkId}",
|
|
1452
|
+
resolvedPath = resolvedPath.replace("{frameworkId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1453
1453
|
}
|
|
1454
1454
|
else {
|
|
1455
1455
|
throw new Error("No value provided for input HTTP label: frameworkId.");
|
|
@@ -1487,7 +1487,7 @@ const serializeAws_restJson1UpdateAssessmentStatusCommand = async (input, contex
|
|
|
1487
1487
|
if (labelValue.length <= 0) {
|
|
1488
1488
|
throw new Error("Empty value provided for input HTTP label: assessmentId.");
|
|
1489
1489
|
}
|
|
1490
|
-
resolvedPath = resolvedPath.replace("{assessmentId}",
|
|
1490
|
+
resolvedPath = resolvedPath.replace("{assessmentId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1491
1491
|
}
|
|
1492
1492
|
else {
|
|
1493
1493
|
throw new Error("No value provided for input HTTP label: assessmentId.");
|
|
@@ -1518,7 +1518,7 @@ const serializeAws_restJson1UpdateControlCommand = async (input, context) => {
|
|
|
1518
1518
|
if (labelValue.length <= 0) {
|
|
1519
1519
|
throw new Error("Empty value provided for input HTTP label: controlId.");
|
|
1520
1520
|
}
|
|
1521
|
-
resolvedPath = resolvedPath.replace("{controlId}",
|
|
1521
|
+
resolvedPath = resolvedPath.replace("{controlId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1522
1522
|
}
|
|
1523
1523
|
else {
|
|
1524
1524
|
throw new Error("No value provided for input HTTP label: controlId.");
|
|
@@ -1678,7 +1678,7 @@ const deserializeAws_restJson1BatchAssociateAssessmentReportEvidenceCommand = as
|
|
|
1678
1678
|
errors: undefined,
|
|
1679
1679
|
evidenceIds: undefined,
|
|
1680
1680
|
};
|
|
1681
|
-
const data =
|
|
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 =
|
|
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 =
|
|
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 =
|
|
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 =
|
|
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 =
|
|
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 =
|
|
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 =
|
|
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 =
|
|
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,9 +2609,9 @@ const deserializeAws_restJson1DeregisterAccountCommand = async (output, context)
|
|
|
2609
2609
|
$metadata: deserializeMetadata(output),
|
|
2610
2610
|
status: undefined,
|
|
2611
2611
|
};
|
|
2612
|
-
const data =
|
|
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
|
-
contents.status =
|
|
2614
|
+
contents.status = smithy_client_1.expectString(data.status);
|
|
2615
2615
|
}
|
|
2616
2616
|
return Promise.resolve(contents);
|
|
2617
2617
|
};
|
|
@@ -2817,9 +2817,9 @@ const deserializeAws_restJson1GetAccountStatusCommand = async (output, context)
|
|
|
2817
2817
|
$metadata: deserializeMetadata(output),
|
|
2818
2818
|
status: undefined,
|
|
2819
2819
|
};
|
|
2820
|
-
const data =
|
|
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
|
-
contents.status =
|
|
2822
|
+
contents.status = smithy_client_1.expectString(data.status);
|
|
2823
2823
|
}
|
|
2824
2824
|
return Promise.resolve(contents);
|
|
2825
2825
|
};
|
|
@@ -2866,7 +2866,7 @@ const deserializeAws_restJson1GetAssessmentCommand = async (output, context) =>
|
|
|
2866
2866
|
assessment: undefined,
|
|
2867
2867
|
userRole: undefined,
|
|
2868
2868
|
};
|
|
2869
|
-
const data =
|
|
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 =
|
|
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 =
|
|
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,12 +3086,12 @@ const deserializeAws_restJson1GetChangeLogsCommand = async (output, context) =>
|
|
|
3086
3086
|
changeLogs: undefined,
|
|
3087
3087
|
nextToken: undefined,
|
|
3088
3088
|
};
|
|
3089
|
-
const data =
|
|
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
|
}
|
|
3093
3093
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
3094
|
-
contents.nextToken =
|
|
3094
|
+
contents.nextToken = smithy_client_1.expectString(data.nextToken);
|
|
3095
3095
|
}
|
|
3096
3096
|
return Promise.resolve(contents);
|
|
3097
3097
|
};
|
|
@@ -3161,7 +3161,7 @@ const deserializeAws_restJson1GetControlCommand = async (output, context) => {
|
|
|
3161
3161
|
$metadata: deserializeMetadata(output),
|
|
3162
3162
|
control: undefined,
|
|
3163
3163
|
};
|
|
3164
|
-
const data =
|
|
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,12 +3234,12 @@ const deserializeAws_restJson1GetDelegationsCommand = async (output, context) =>
|
|
|
3234
3234
|
delegations: undefined,
|
|
3235
3235
|
nextToken: undefined,
|
|
3236
3236
|
};
|
|
3237
|
-
const data =
|
|
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
|
}
|
|
3241
3241
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
3242
|
-
contents.nextToken =
|
|
3242
|
+
contents.nextToken = smithy_client_1.expectString(data.nextToken);
|
|
3243
3243
|
}
|
|
3244
3244
|
return Promise.resolve(contents);
|
|
3245
3245
|
};
|
|
@@ -3301,7 +3301,7 @@ const deserializeAws_restJson1GetEvidenceCommand = async (output, context) => {
|
|
|
3301
3301
|
$metadata: deserializeMetadata(output),
|
|
3302
3302
|
evidence: undefined,
|
|
3303
3303
|
};
|
|
3304
|
-
const data =
|
|
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,12 +3374,12 @@ const deserializeAws_restJson1GetEvidenceByEvidenceFolderCommand = async (output
|
|
|
3374
3374
|
evidence: undefined,
|
|
3375
3375
|
nextToken: undefined,
|
|
3376
3376
|
};
|
|
3377
|
-
const data =
|
|
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
|
}
|
|
3381
3381
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
3382
|
-
contents.nextToken =
|
|
3382
|
+
contents.nextToken = smithy_client_1.expectString(data.nextToken);
|
|
3383
3383
|
}
|
|
3384
3384
|
return Promise.resolve(contents);
|
|
3385
3385
|
};
|
|
@@ -3449,7 +3449,7 @@ const deserializeAws_restJson1GetEvidenceFolderCommand = async (output, context)
|
|
|
3449
3449
|
$metadata: deserializeMetadata(output),
|
|
3450
3450
|
evidenceFolder: undefined,
|
|
3451
3451
|
};
|
|
3452
|
-
const data =
|
|
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,12 +3522,12 @@ const deserializeAws_restJson1GetEvidenceFoldersByAssessmentCommand = async (out
|
|
|
3522
3522
|
evidenceFolders: undefined,
|
|
3523
3523
|
nextToken: undefined,
|
|
3524
3524
|
};
|
|
3525
|
-
const data =
|
|
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
|
}
|
|
3529
3529
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
3530
|
-
contents.nextToken =
|
|
3530
|
+
contents.nextToken = smithy_client_1.expectString(data.nextToken);
|
|
3531
3531
|
}
|
|
3532
3532
|
return Promise.resolve(contents);
|
|
3533
3533
|
};
|
|
@@ -3598,12 +3598,12 @@ const deserializeAws_restJson1GetEvidenceFoldersByAssessmentControlCommand = asy
|
|
|
3598
3598
|
evidenceFolders: undefined,
|
|
3599
3599
|
nextToken: undefined,
|
|
3600
3600
|
};
|
|
3601
|
-
const data =
|
|
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
|
}
|
|
3605
3605
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
3606
|
-
contents.nextToken =
|
|
3606
|
+
contents.nextToken = smithy_client_1.expectString(data.nextToken);
|
|
3607
3607
|
}
|
|
3608
3608
|
return Promise.resolve(contents);
|
|
3609
3609
|
};
|
|
@@ -3674,12 +3674,12 @@ const deserializeAws_restJson1GetOrganizationAdminAccountCommand = async (output
|
|
|
3674
3674
|
adminAccountId: undefined,
|
|
3675
3675
|
organizationId: undefined,
|
|
3676
3676
|
};
|
|
3677
|
-
const data =
|
|
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
|
-
contents.adminAccountId =
|
|
3679
|
+
contents.adminAccountId = smithy_client_1.expectString(data.adminAccountId);
|
|
3680
3680
|
}
|
|
3681
3681
|
if (data.organizationId !== undefined && data.organizationId !== null) {
|
|
3682
|
-
contents.organizationId =
|
|
3682
|
+
contents.organizationId = smithy_client_1.expectString(data.organizationId);
|
|
3683
3683
|
}
|
|
3684
3684
|
return Promise.resolve(contents);
|
|
3685
3685
|
};
|
|
@@ -3749,7 +3749,7 @@ const deserializeAws_restJson1GetServicesInScopeCommand = async (output, context
|
|
|
3749
3749
|
$metadata: deserializeMetadata(output),
|
|
3750
3750
|
serviceMetadata: undefined,
|
|
3751
3751
|
};
|
|
3752
|
-
const data =
|
|
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 =
|
|
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,12 +3870,12 @@ const deserializeAws_restJson1ListAssessmentFrameworksCommand = async (output, c
|
|
|
3870
3870
|
frameworkMetadataList: undefined,
|
|
3871
3871
|
nextToken: undefined,
|
|
3872
3872
|
};
|
|
3873
|
-
const data =
|
|
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
|
}
|
|
3877
3877
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
3878
|
-
contents.nextToken =
|
|
3878
|
+
contents.nextToken = smithy_client_1.expectString(data.nextToken);
|
|
3879
3879
|
}
|
|
3880
3880
|
return Promise.resolve(contents);
|
|
3881
3881
|
};
|
|
@@ -3938,12 +3938,12 @@ const deserializeAws_restJson1ListAssessmentReportsCommand = async (output, cont
|
|
|
3938
3938
|
assessmentReports: undefined,
|
|
3939
3939
|
nextToken: undefined,
|
|
3940
3940
|
};
|
|
3941
|
-
const data =
|
|
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
|
}
|
|
3945
3945
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
3946
|
-
contents.nextToken =
|
|
3946
|
+
contents.nextToken = smithy_client_1.expectString(data.nextToken);
|
|
3947
3947
|
}
|
|
3948
3948
|
return Promise.resolve(contents);
|
|
3949
3949
|
};
|
|
@@ -4006,12 +4006,12 @@ const deserializeAws_restJson1ListAssessmentsCommand = async (output, context) =
|
|
|
4006
4006
|
assessmentMetadata: undefined,
|
|
4007
4007
|
nextToken: undefined,
|
|
4008
4008
|
};
|
|
4009
|
-
const data =
|
|
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
|
}
|
|
4013
4013
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
4014
|
-
contents.nextToken =
|
|
4014
|
+
contents.nextToken = smithy_client_1.expectString(data.nextToken);
|
|
4015
4015
|
}
|
|
4016
4016
|
return Promise.resolve(contents);
|
|
4017
4017
|
};
|
|
@@ -4074,12 +4074,12 @@ const deserializeAws_restJson1ListControlsCommand = async (output, context) => {
|
|
|
4074
4074
|
controlMetadataList: undefined,
|
|
4075
4075
|
nextToken: undefined,
|
|
4076
4076
|
};
|
|
4077
|
-
const data =
|
|
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
|
}
|
|
4081
4081
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
4082
|
-
contents.nextToken =
|
|
4082
|
+
contents.nextToken = smithy_client_1.expectString(data.nextToken);
|
|
4083
4083
|
}
|
|
4084
4084
|
return Promise.resolve(contents);
|
|
4085
4085
|
};
|
|
@@ -4142,12 +4142,12 @@ const deserializeAws_restJson1ListKeywordsForDataSourceCommand = async (output,
|
|
|
4142
4142
|
keywords: undefined,
|
|
4143
4143
|
nextToken: undefined,
|
|
4144
4144
|
};
|
|
4145
|
-
const data =
|
|
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
|
}
|
|
4149
4149
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
4150
|
-
contents.nextToken =
|
|
4150
|
+
contents.nextToken = smithy_client_1.expectString(data.nextToken);
|
|
4151
4151
|
}
|
|
4152
4152
|
return Promise.resolve(contents);
|
|
4153
4153
|
};
|
|
@@ -4210,9 +4210,9 @@ const deserializeAws_restJson1ListNotificationsCommand = async (output, context)
|
|
|
4210
4210
|
nextToken: undefined,
|
|
4211
4211
|
notifications: undefined,
|
|
4212
4212
|
};
|
|
4213
|
-
const data =
|
|
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
|
-
contents.nextToken =
|
|
4215
|
+
contents.nextToken = smithy_client_1.expectString(data.nextToken);
|
|
4216
4216
|
}
|
|
4217
4217
|
if (data.notifications !== undefined && data.notifications !== null) {
|
|
4218
4218
|
contents.notifications = deserializeAws_restJson1Notifications(data.notifications, context);
|
|
@@ -4277,7 +4277,7 @@ const deserializeAws_restJson1ListTagsForResourceCommand = async (output, contex
|
|
|
4277
4277
|
$metadata: deserializeMetadata(output),
|
|
4278
4278
|
tags: undefined,
|
|
4279
4279
|
};
|
|
4280
|
-
const data =
|
|
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,9 +4341,9 @@ const deserializeAws_restJson1RegisterAccountCommand = async (output, context) =
|
|
|
4341
4341
|
$metadata: deserializeMetadata(output),
|
|
4342
4342
|
status: undefined,
|
|
4343
4343
|
};
|
|
4344
|
-
const data =
|
|
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
|
-
contents.status =
|
|
4346
|
+
contents.status = smithy_client_1.expectString(data.status);
|
|
4347
4347
|
}
|
|
4348
4348
|
return Promise.resolve(contents);
|
|
4349
4349
|
};
|
|
@@ -4414,12 +4414,12 @@ const deserializeAws_restJson1RegisterOrganizationAdminAccountCommand = async (o
|
|
|
4414
4414
|
adminAccountId: undefined,
|
|
4415
4415
|
organizationId: undefined,
|
|
4416
4416
|
};
|
|
4417
|
-
const data =
|
|
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
|
-
contents.adminAccountId =
|
|
4419
|
+
contents.adminAccountId = smithy_client_1.expectString(data.adminAccountId);
|
|
4420
4420
|
}
|
|
4421
4421
|
if (data.organizationId !== undefined && data.organizationId !== null) {
|
|
4422
|
-
contents.organizationId =
|
|
4422
|
+
contents.organizationId = smithy_client_1.expectString(data.organizationId);
|
|
4423
4423
|
}
|
|
4424
4424
|
return Promise.resolve(contents);
|
|
4425
4425
|
};
|
|
@@ -4609,7 +4609,7 @@ const deserializeAws_restJson1UpdateAssessmentCommand = async (output, context)
|
|
|
4609
4609
|
$metadata: deserializeMetadata(output),
|
|
4610
4610
|
assessment: undefined,
|
|
4611
4611
|
};
|
|
4612
|
-
const data =
|
|
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 =
|
|
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 =
|
|
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 =
|
|
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 =
|
|
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 =
|
|
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 =
|
|
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,18 +5109,18 @@ const deserializeAws_restJson1ValidateAssessmentReportIntegrityCommand = async (
|
|
|
5109
5109
|
signatureValid: undefined,
|
|
5110
5110
|
validationErrors: undefined,
|
|
5111
5111
|
};
|
|
5112
|
-
const data =
|
|
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
|
-
contents.signatureAlgorithm =
|
|
5114
|
+
contents.signatureAlgorithm = smithy_client_1.expectString(data.signatureAlgorithm);
|
|
5115
5115
|
}
|
|
5116
5116
|
if (data.signatureDateTime !== undefined && data.signatureDateTime !== null) {
|
|
5117
|
-
contents.signatureDateTime =
|
|
5117
|
+
contents.signatureDateTime = smithy_client_1.expectString(data.signatureDateTime);
|
|
5118
5118
|
}
|
|
5119
5119
|
if (data.signatureKeyId !== undefined && data.signatureKeyId !== null) {
|
|
5120
|
-
contents.signatureKeyId =
|
|
5120
|
+
contents.signatureKeyId = smithy_client_1.expectString(data.signatureKeyId);
|
|
5121
5121
|
}
|
|
5122
5122
|
if (data.signatureValid !== undefined && data.signatureValid !== null) {
|
|
5123
|
-
contents.signatureValid =
|
|
5123
|
+
contents.signatureValid = smithy_client_1.expectBoolean(data.signatureValid);
|
|
5124
5124
|
}
|
|
5125
5125
|
if (data.validationErrors !== undefined && data.validationErrors !== null) {
|
|
5126
5126
|
contents.validationErrors = deserializeAws_restJson1ValidationErrors(data.validationErrors, context);
|
|
@@ -5194,7 +5194,7 @@ const deserializeAws_restJson1AccessDeniedExceptionResponse = async (parsedOutpu
|
|
|
5194
5194
|
};
|
|
5195
5195
|
const data = parsedOutput.body;
|
|
5196
5196
|
if (data.message !== undefined && data.message !== null) {
|
|
5197
|
-
contents.message =
|
|
5197
|
+
contents.message = smithy_client_1.expectString(data.message);
|
|
5198
5198
|
}
|
|
5199
5199
|
return contents;
|
|
5200
5200
|
};
|
|
@@ -5207,7 +5207,7 @@ const deserializeAws_restJson1InternalServerExceptionResponse = async (parsedOut
|
|
|
5207
5207
|
};
|
|
5208
5208
|
const data = parsedOutput.body;
|
|
5209
5209
|
if (data.message !== undefined && data.message !== null) {
|
|
5210
|
-
contents.message =
|
|
5210
|
+
contents.message = smithy_client_1.expectString(data.message);
|
|
5211
5211
|
}
|
|
5212
5212
|
return contents;
|
|
5213
5213
|
};
|
|
@@ -5222,13 +5222,13 @@ const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedO
|
|
|
5222
5222
|
};
|
|
5223
5223
|
const data = parsedOutput.body;
|
|
5224
5224
|
if (data.message !== undefined && data.message !== null) {
|
|
5225
|
-
contents.message =
|
|
5225
|
+
contents.message = smithy_client_1.expectString(data.message);
|
|
5226
5226
|
}
|
|
5227
5227
|
if (data.resourceId !== undefined && data.resourceId !== null) {
|
|
5228
|
-
contents.resourceId =
|
|
5228
|
+
contents.resourceId = smithy_client_1.expectString(data.resourceId);
|
|
5229
5229
|
}
|
|
5230
5230
|
if (data.resourceType !== undefined && data.resourceType !== null) {
|
|
5231
|
-
contents.resourceType =
|
|
5231
|
+
contents.resourceType = smithy_client_1.expectString(data.resourceType);
|
|
5232
5232
|
}
|
|
5233
5233
|
return contents;
|
|
5234
5234
|
};
|
|
@@ -5246,10 +5246,10 @@ const deserializeAws_restJson1ValidationExceptionResponse = async (parsedOutput,
|
|
|
5246
5246
|
contents.fields = deserializeAws_restJson1ValidationExceptionFieldList(data.fields, context);
|
|
5247
5247
|
}
|
|
5248
5248
|
if (data.message !== undefined && data.message !== null) {
|
|
5249
|
-
contents.message =
|
|
5249
|
+
contents.message = smithy_client_1.expectString(data.message);
|
|
5250
5250
|
}
|
|
5251
5251
|
if (data.reason !== undefined && data.reason !== null) {
|
|
5252
|
-
contents.reason =
|
|
5252
|
+
contents.reason = smithy_client_1.expectString(data.reason);
|
|
5253
5253
|
}
|
|
5254
5254
|
return contents;
|
|
5255
5255
|
};
|
|
@@ -5501,7 +5501,7 @@ const serializeAws_restJson1UpdateAssessmentFrameworkControlSets = (input, conte
|
|
|
5501
5501
|
};
|
|
5502
5502
|
const deserializeAws_restJson1Assessment = (output, context) => {
|
|
5503
5503
|
return {
|
|
5504
|
-
arn:
|
|
5504
|
+
arn: smithy_client_1.expectString(output.arn),
|
|
5505
5505
|
awsAccount: output.awsAccount !== undefined && output.awsAccount !== null
|
|
5506
5506
|
? deserializeAws_restJson1AWSAccount(output.awsAccount, context)
|
|
5507
5507
|
: undefined,
|
|
@@ -5518,19 +5518,19 @@ const deserializeAws_restJson1Assessment = (output, context) => {
|
|
|
5518
5518
|
};
|
|
5519
5519
|
const deserializeAws_restJson1AssessmentControl = (output, context) => {
|
|
5520
5520
|
return {
|
|
5521
|
-
assessmentReportEvidenceCount:
|
|
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
|
-
description:
|
|
5526
|
-
evidenceCount:
|
|
5525
|
+
description: smithy_client_1.expectString(output.description),
|
|
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,
|
|
5530
|
-
id:
|
|
5531
|
-
name:
|
|
5532
|
-
response:
|
|
5533
|
-
status:
|
|
5530
|
+
id: smithy_client_1.expectString(output.id),
|
|
5531
|
+
name: smithy_client_1.expectString(output.name),
|
|
5532
|
+
response: smithy_client_1.expectString(output.response),
|
|
5533
|
+
status: smithy_client_1.expectString(output.status),
|
|
5534
5534
|
};
|
|
5535
5535
|
};
|
|
5536
5536
|
const deserializeAws_restJson1AssessmentControls = (output, context) => {
|
|
@@ -5551,14 +5551,14 @@ const deserializeAws_restJson1AssessmentControlSet = (output, context) => {
|
|
|
5551
5551
|
delegations: output.delegations !== undefined && output.delegations !== null
|
|
5552
5552
|
? deserializeAws_restJson1Delegations(output.delegations, context)
|
|
5553
5553
|
: undefined,
|
|
5554
|
-
description:
|
|
5555
|
-
id:
|
|
5556
|
-
manualEvidenceCount:
|
|
5554
|
+
description: smithy_client_1.expectString(output.description),
|
|
5555
|
+
id: smithy_client_1.expectString(output.id),
|
|
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
|
-
status:
|
|
5561
|
-
systemEvidenceCount:
|
|
5560
|
+
status: smithy_client_1.expectString(output.status),
|
|
5561
|
+
systemEvidenceCount: smithy_client_1.expectInt32(output.systemEvidenceCount),
|
|
5562
5562
|
};
|
|
5563
5563
|
};
|
|
5564
5564
|
const deserializeAws_restJson1AssessmentControlSets = (output, context) => {
|
|
@@ -5573,26 +5573,26 @@ const deserializeAws_restJson1AssessmentControlSets = (output, context) => {
|
|
|
5573
5573
|
};
|
|
5574
5574
|
const deserializeAws_restJson1AssessmentEvidenceFolder = (output, context) => {
|
|
5575
5575
|
return {
|
|
5576
|
-
assessmentId:
|
|
5577
|
-
assessmentReportSelectionCount:
|
|
5578
|
-
author:
|
|
5579
|
-
controlId:
|
|
5580
|
-
controlName:
|
|
5581
|
-
controlSetId:
|
|
5582
|
-
dataSource:
|
|
5576
|
+
assessmentId: smithy_client_1.expectString(output.assessmentId),
|
|
5577
|
+
assessmentReportSelectionCount: smithy_client_1.expectInt32(output.assessmentReportSelectionCount),
|
|
5578
|
+
author: smithy_client_1.expectString(output.author),
|
|
5579
|
+
controlId: smithy_client_1.expectString(output.controlId),
|
|
5580
|
+
controlName: smithy_client_1.expectString(output.controlName),
|
|
5581
|
+
controlSetId: smithy_client_1.expectString(output.controlSetId),
|
|
5582
|
+
dataSource: smithy_client_1.expectString(output.dataSource),
|
|
5583
5583
|
date: output.date !== undefined && output.date !== null
|
|
5584
|
-
?
|
|
5584
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.date)))
|
|
5585
5585
|
: undefined,
|
|
5586
|
-
evidenceAwsServiceSourceCount:
|
|
5587
|
-
evidenceByTypeComplianceCheckCount:
|
|
5588
|
-
evidenceByTypeComplianceCheckIssuesCount:
|
|
5589
|
-
evidenceByTypeConfigurationDataCount:
|
|
5590
|
-
evidenceByTypeManualCount:
|
|
5591
|
-
evidenceByTypeUserActivityCount:
|
|
5592
|
-
evidenceResourcesIncludedCount:
|
|
5593
|
-
id:
|
|
5594
|
-
name:
|
|
5595
|
-
totalEvidence:
|
|
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),
|
|
5593
|
+
id: smithy_client_1.expectString(output.id),
|
|
5594
|
+
name: smithy_client_1.expectString(output.name),
|
|
5595
|
+
totalEvidence: smithy_client_1.expectInt32(output.totalEvidence),
|
|
5596
5596
|
};
|
|
5597
5597
|
};
|
|
5598
5598
|
const deserializeAws_restJson1AssessmentEvidenceFolders = (output, context) => {
|
|
@@ -5607,11 +5607,11 @@ const deserializeAws_restJson1AssessmentEvidenceFolders = (output, context) => {
|
|
|
5607
5607
|
};
|
|
5608
5608
|
const deserializeAws_restJson1AssessmentFramework = (output, context) => {
|
|
5609
5609
|
return {
|
|
5610
|
-
arn:
|
|
5610
|
+
arn: smithy_client_1.expectString(output.arn),
|
|
5611
5611
|
controlSets: output.controlSets !== undefined && output.controlSets !== null
|
|
5612
5612
|
? deserializeAws_restJson1AssessmentControlSets(output.controlSets, context)
|
|
5613
5613
|
: undefined,
|
|
5614
|
-
id:
|
|
5614
|
+
id: smithy_client_1.expectString(output.id),
|
|
5615
5615
|
metadata: output.metadata !== undefined && output.metadata !== null
|
|
5616
5616
|
? deserializeAws_restJson1FrameworkMetadata(output.metadata, context)
|
|
5617
5617
|
: undefined,
|
|
@@ -5619,21 +5619,21 @@ const deserializeAws_restJson1AssessmentFramework = (output, context) => {
|
|
|
5619
5619
|
};
|
|
5620
5620
|
const deserializeAws_restJson1AssessmentFrameworkMetadata = (output, context) => {
|
|
5621
5621
|
return {
|
|
5622
|
-
arn:
|
|
5623
|
-
complianceType:
|
|
5624
|
-
controlSetsCount:
|
|
5625
|
-
controlsCount:
|
|
5622
|
+
arn: smithy_client_1.expectString(output.arn),
|
|
5623
|
+
complianceType: smithy_client_1.expectString(output.complianceType),
|
|
5624
|
+
controlSetsCount: smithy_client_1.expectInt32(output.controlSetsCount),
|
|
5625
|
+
controlsCount: smithy_client_1.expectInt32(output.controlsCount),
|
|
5626
5626
|
createdAt: output.createdAt !== undefined && output.createdAt !== null
|
|
5627
|
-
?
|
|
5627
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.createdAt)))
|
|
5628
5628
|
: undefined,
|
|
5629
|
-
description:
|
|
5630
|
-
id:
|
|
5629
|
+
description: smithy_client_1.expectString(output.description),
|
|
5630
|
+
id: smithy_client_1.expectString(output.id),
|
|
5631
5631
|
lastUpdatedAt: output.lastUpdatedAt !== undefined && output.lastUpdatedAt !== null
|
|
5632
|
-
?
|
|
5632
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastUpdatedAt)))
|
|
5633
5633
|
: undefined,
|
|
5634
|
-
logo:
|
|
5635
|
-
name:
|
|
5636
|
-
type:
|
|
5634
|
+
logo: smithy_client_1.expectString(output.logo),
|
|
5635
|
+
name: smithy_client_1.expectString(output.name),
|
|
5636
|
+
type: smithy_client_1.expectString(output.type),
|
|
5637
5637
|
};
|
|
5638
5638
|
};
|
|
5639
5639
|
const deserializeAws_restJson1AssessmentMetadata = (output, context) => {
|
|
@@ -5641,68 +5641,68 @@ const deserializeAws_restJson1AssessmentMetadata = (output, context) => {
|
|
|
5641
5641
|
assessmentReportsDestination: output.assessmentReportsDestination !== undefined && output.assessmentReportsDestination !== null
|
|
5642
5642
|
? deserializeAws_restJson1AssessmentReportsDestination(output.assessmentReportsDestination, context)
|
|
5643
5643
|
: undefined,
|
|
5644
|
-
complianceType:
|
|
5644
|
+
complianceType: smithy_client_1.expectString(output.complianceType),
|
|
5645
5645
|
creationTime: output.creationTime !== undefined && output.creationTime !== null
|
|
5646
|
-
?
|
|
5646
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.creationTime)))
|
|
5647
5647
|
: undefined,
|
|
5648
5648
|
delegations: output.delegations !== undefined && output.delegations !== null
|
|
5649
5649
|
? deserializeAws_restJson1Delegations(output.delegations, context)
|
|
5650
5650
|
: undefined,
|
|
5651
|
-
description:
|
|
5652
|
-
id:
|
|
5651
|
+
description: smithy_client_1.expectString(output.description),
|
|
5652
|
+
id: smithy_client_1.expectString(output.id),
|
|
5653
5653
|
lastUpdated: output.lastUpdated !== undefined && output.lastUpdated !== null
|
|
5654
|
-
?
|
|
5654
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastUpdated)))
|
|
5655
5655
|
: undefined,
|
|
5656
|
-
name:
|
|
5656
|
+
name: smithy_client_1.expectString(output.name),
|
|
5657
5657
|
roles: output.roles !== undefined && output.roles !== null
|
|
5658
5658
|
? deserializeAws_restJson1Roles(output.roles, context)
|
|
5659
5659
|
: undefined,
|
|
5660
5660
|
scope: output.scope !== undefined && output.scope !== null
|
|
5661
5661
|
? deserializeAws_restJson1Scope(output.scope, context)
|
|
5662
5662
|
: undefined,
|
|
5663
|
-
status:
|
|
5663
|
+
status: smithy_client_1.expectString(output.status),
|
|
5664
5664
|
};
|
|
5665
5665
|
};
|
|
5666
5666
|
const deserializeAws_restJson1AssessmentMetadataItem = (output, context) => {
|
|
5667
5667
|
return {
|
|
5668
|
-
complianceType:
|
|
5668
|
+
complianceType: smithy_client_1.expectString(output.complianceType),
|
|
5669
5669
|
creationTime: output.creationTime !== undefined && output.creationTime !== null
|
|
5670
|
-
?
|
|
5670
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.creationTime)))
|
|
5671
5671
|
: undefined,
|
|
5672
5672
|
delegations: output.delegations !== undefined && output.delegations !== null
|
|
5673
5673
|
? deserializeAws_restJson1Delegations(output.delegations, context)
|
|
5674
5674
|
: undefined,
|
|
5675
|
-
id:
|
|
5675
|
+
id: smithy_client_1.expectString(output.id),
|
|
5676
5676
|
lastUpdated: output.lastUpdated !== undefined && output.lastUpdated !== null
|
|
5677
|
-
?
|
|
5677
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastUpdated)))
|
|
5678
5678
|
: undefined,
|
|
5679
|
-
name:
|
|
5679
|
+
name: smithy_client_1.expectString(output.name),
|
|
5680
5680
|
roles: output.roles !== undefined && output.roles !== null
|
|
5681
5681
|
? deserializeAws_restJson1Roles(output.roles, context)
|
|
5682
5682
|
: undefined,
|
|
5683
|
-
status:
|
|
5683
|
+
status: smithy_client_1.expectString(output.status),
|
|
5684
5684
|
};
|
|
5685
5685
|
};
|
|
5686
5686
|
const deserializeAws_restJson1AssessmentReport = (output, context) => {
|
|
5687
5687
|
return {
|
|
5688
|
-
assessmentId:
|
|
5689
|
-
assessmentName:
|
|
5690
|
-
author:
|
|
5691
|
-
awsAccountId:
|
|
5688
|
+
assessmentId: smithy_client_1.expectString(output.assessmentId),
|
|
5689
|
+
assessmentName: smithy_client_1.expectString(output.assessmentName),
|
|
5690
|
+
author: smithy_client_1.expectString(output.author),
|
|
5691
|
+
awsAccountId: smithy_client_1.expectString(output.awsAccountId),
|
|
5692
5692
|
creationTime: output.creationTime !== undefined && output.creationTime !== null
|
|
5693
|
-
?
|
|
5693
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.creationTime)))
|
|
5694
5694
|
: undefined,
|
|
5695
|
-
description:
|
|
5696
|
-
id:
|
|
5697
|
-
name:
|
|
5698
|
-
status:
|
|
5695
|
+
description: smithy_client_1.expectString(output.description),
|
|
5696
|
+
id: smithy_client_1.expectString(output.id),
|
|
5697
|
+
name: smithy_client_1.expectString(output.name),
|
|
5698
|
+
status: smithy_client_1.expectString(output.status),
|
|
5699
5699
|
};
|
|
5700
5700
|
};
|
|
5701
5701
|
const deserializeAws_restJson1AssessmentReportEvidenceError = (output, context) => {
|
|
5702
5702
|
return {
|
|
5703
|
-
errorCode:
|
|
5704
|
-
errorMessage:
|
|
5705
|
-
evidenceId:
|
|
5703
|
+
errorCode: smithy_client_1.expectString(output.errorCode),
|
|
5704
|
+
errorMessage: smithy_client_1.expectString(output.errorMessage),
|
|
5705
|
+
evidenceId: smithy_client_1.expectString(output.evidenceId),
|
|
5706
5706
|
};
|
|
5707
5707
|
};
|
|
5708
5708
|
const deserializeAws_restJson1AssessmentReportEvidenceErrors = (output, context) => {
|
|
@@ -5717,22 +5717,22 @@ const deserializeAws_restJson1AssessmentReportEvidenceErrors = (output, context)
|
|
|
5717
5717
|
};
|
|
5718
5718
|
const deserializeAws_restJson1AssessmentReportMetadata = (output, context) => {
|
|
5719
5719
|
return {
|
|
5720
|
-
assessmentId:
|
|
5721
|
-
assessmentName:
|
|
5722
|
-
author:
|
|
5720
|
+
assessmentId: smithy_client_1.expectString(output.assessmentId),
|
|
5721
|
+
assessmentName: smithy_client_1.expectString(output.assessmentName),
|
|
5722
|
+
author: smithy_client_1.expectString(output.author),
|
|
5723
5723
|
creationTime: output.creationTime !== undefined && output.creationTime !== null
|
|
5724
|
-
?
|
|
5724
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.creationTime)))
|
|
5725
5725
|
: undefined,
|
|
5726
|
-
description:
|
|
5727
|
-
id:
|
|
5728
|
-
name:
|
|
5729
|
-
status:
|
|
5726
|
+
description: smithy_client_1.expectString(output.description),
|
|
5727
|
+
id: smithy_client_1.expectString(output.id),
|
|
5728
|
+
name: smithy_client_1.expectString(output.name),
|
|
5729
|
+
status: smithy_client_1.expectString(output.status),
|
|
5730
5730
|
};
|
|
5731
5731
|
};
|
|
5732
5732
|
const deserializeAws_restJson1AssessmentReportsDestination = (output, context) => {
|
|
5733
5733
|
return {
|
|
5734
|
-
destination:
|
|
5735
|
-
destinationType:
|
|
5734
|
+
destination: smithy_client_1.expectString(output.destination),
|
|
5735
|
+
destinationType: smithy_client_1.expectString(output.destinationType),
|
|
5736
5736
|
};
|
|
5737
5737
|
};
|
|
5738
5738
|
const deserializeAws_restJson1AssessmentReportsMetadata = (output, context) => {
|
|
@@ -5747,9 +5747,9 @@ const deserializeAws_restJson1AssessmentReportsMetadata = (output, context) => {
|
|
|
5747
5747
|
};
|
|
5748
5748
|
const deserializeAws_restJson1AWSAccount = (output, context) => {
|
|
5749
5749
|
return {
|
|
5750
|
-
emailAddress:
|
|
5751
|
-
id:
|
|
5752
|
-
name:
|
|
5750
|
+
emailAddress: smithy_client_1.expectString(output.emailAddress),
|
|
5751
|
+
id: smithy_client_1.expectString(output.id),
|
|
5752
|
+
name: smithy_client_1.expectString(output.name),
|
|
5753
5753
|
};
|
|
5754
5754
|
};
|
|
5755
5755
|
const deserializeAws_restJson1AWSAccounts = (output, context) => {
|
|
@@ -5764,7 +5764,7 @@ const deserializeAws_restJson1AWSAccounts = (output, context) => {
|
|
|
5764
5764
|
};
|
|
5765
5765
|
const deserializeAws_restJson1AWSService = (output, context) => {
|
|
5766
5766
|
return {
|
|
5767
|
-
serviceName:
|
|
5767
|
+
serviceName: smithy_client_1.expectString(output.serviceName),
|
|
5768
5768
|
};
|
|
5769
5769
|
};
|
|
5770
5770
|
const deserializeAws_restJson1AWSServices = (output, context) => {
|
|
@@ -5782,8 +5782,8 @@ const deserializeAws_restJson1BatchCreateDelegationByAssessmentError = (output,
|
|
|
5782
5782
|
createDelegationRequest: output.createDelegationRequest !== undefined && output.createDelegationRequest !== null
|
|
5783
5783
|
? deserializeAws_restJson1CreateDelegationRequest(output.createDelegationRequest, context)
|
|
5784
5784
|
: undefined,
|
|
5785
|
-
errorCode:
|
|
5786
|
-
errorMessage:
|
|
5785
|
+
errorCode: smithy_client_1.expectString(output.errorCode),
|
|
5786
|
+
errorMessage: smithy_client_1.expectString(output.errorMessage),
|
|
5787
5787
|
};
|
|
5788
5788
|
};
|
|
5789
5789
|
const deserializeAws_restJson1BatchCreateDelegationByAssessmentErrors = (output, context) => {
|
|
@@ -5798,9 +5798,9 @@ const deserializeAws_restJson1BatchCreateDelegationByAssessmentErrors = (output,
|
|
|
5798
5798
|
};
|
|
5799
5799
|
const deserializeAws_restJson1BatchDeleteDelegationByAssessmentError = (output, context) => {
|
|
5800
5800
|
return {
|
|
5801
|
-
delegationId:
|
|
5802
|
-
errorCode:
|
|
5803
|
-
errorMessage:
|
|
5801
|
+
delegationId: smithy_client_1.expectString(output.delegationId),
|
|
5802
|
+
errorCode: smithy_client_1.expectString(output.errorCode),
|
|
5803
|
+
errorMessage: smithy_client_1.expectString(output.errorMessage),
|
|
5804
5804
|
};
|
|
5805
5805
|
};
|
|
5806
5806
|
const deserializeAws_restJson1BatchDeleteDelegationByAssessmentErrors = (output, context) => {
|
|
@@ -5815,8 +5815,8 @@ const deserializeAws_restJson1BatchDeleteDelegationByAssessmentErrors = (output,
|
|
|
5815
5815
|
};
|
|
5816
5816
|
const deserializeAws_restJson1BatchImportEvidenceToAssessmentControlError = (output, context) => {
|
|
5817
5817
|
return {
|
|
5818
|
-
errorCode:
|
|
5819
|
-
errorMessage:
|
|
5818
|
+
errorCode: smithy_client_1.expectString(output.errorCode),
|
|
5819
|
+
errorMessage: smithy_client_1.expectString(output.errorMessage),
|
|
5820
5820
|
manualEvidence: output.manualEvidence !== undefined && output.manualEvidence !== null
|
|
5821
5821
|
? deserializeAws_restJson1ManualEvidence(output.manualEvidence, context)
|
|
5822
5822
|
: undefined,
|
|
@@ -5834,13 +5834,13 @@ const deserializeAws_restJson1BatchImportEvidenceToAssessmentControlErrors = (ou
|
|
|
5834
5834
|
};
|
|
5835
5835
|
const deserializeAws_restJson1ChangeLog = (output, context) => {
|
|
5836
5836
|
return {
|
|
5837
|
-
action:
|
|
5837
|
+
action: smithy_client_1.expectString(output.action),
|
|
5838
5838
|
createdAt: output.createdAt !== undefined && output.createdAt !== null
|
|
5839
|
-
?
|
|
5839
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.createdAt)))
|
|
5840
5840
|
: undefined,
|
|
5841
|
-
createdBy:
|
|
5842
|
-
objectName:
|
|
5843
|
-
objectType:
|
|
5841
|
+
createdBy: smithy_client_1.expectString(output.createdBy),
|
|
5842
|
+
objectName: smithy_client_1.expectString(output.objectName),
|
|
5843
|
+
objectType: smithy_client_1.expectString(output.objectType),
|
|
5844
5844
|
};
|
|
5845
5845
|
};
|
|
5846
5846
|
const deserializeAws_restJson1ChangeLogs = (output, context) => {
|
|
@@ -5855,37 +5855,37 @@ const deserializeAws_restJson1ChangeLogs = (output, context) => {
|
|
|
5855
5855
|
};
|
|
5856
5856
|
const deserializeAws_restJson1Control = (output, context) => {
|
|
5857
5857
|
return {
|
|
5858
|
-
actionPlanInstructions:
|
|
5859
|
-
actionPlanTitle:
|
|
5860
|
-
arn:
|
|
5858
|
+
actionPlanInstructions: smithy_client_1.expectString(output.actionPlanInstructions),
|
|
5859
|
+
actionPlanTitle: smithy_client_1.expectString(output.actionPlanTitle),
|
|
5860
|
+
arn: smithy_client_1.expectString(output.arn),
|
|
5861
5861
|
controlMappingSources: output.controlMappingSources !== undefined && output.controlMappingSources !== null
|
|
5862
5862
|
? deserializeAws_restJson1ControlMappingSources(output.controlMappingSources, context)
|
|
5863
5863
|
: undefined,
|
|
5864
|
-
controlSources:
|
|
5864
|
+
controlSources: smithy_client_1.expectString(output.controlSources),
|
|
5865
5865
|
createdAt: output.createdAt !== undefined && output.createdAt !== null
|
|
5866
|
-
?
|
|
5866
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.createdAt)))
|
|
5867
5867
|
: undefined,
|
|
5868
|
-
createdBy:
|
|
5869
|
-
description:
|
|
5870
|
-
id:
|
|
5868
|
+
createdBy: smithy_client_1.expectString(output.createdBy),
|
|
5869
|
+
description: smithy_client_1.expectString(output.description),
|
|
5870
|
+
id: smithy_client_1.expectString(output.id),
|
|
5871
5871
|
lastUpdatedAt: output.lastUpdatedAt !== undefined && output.lastUpdatedAt !== null
|
|
5872
|
-
?
|
|
5872
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastUpdatedAt)))
|
|
5873
5873
|
: undefined,
|
|
5874
|
-
lastUpdatedBy:
|
|
5875
|
-
name:
|
|
5874
|
+
lastUpdatedBy: smithy_client_1.expectString(output.lastUpdatedBy),
|
|
5875
|
+
name: smithy_client_1.expectString(output.name),
|
|
5876
5876
|
tags: output.tags !== undefined && output.tags !== null
|
|
5877
5877
|
? deserializeAws_restJson1TagMap(output.tags, context)
|
|
5878
5878
|
: undefined,
|
|
5879
|
-
testingInformation:
|
|
5880
|
-
type:
|
|
5879
|
+
testingInformation: smithy_client_1.expectString(output.testingInformation),
|
|
5880
|
+
type: smithy_client_1.expectString(output.type),
|
|
5881
5881
|
};
|
|
5882
5882
|
};
|
|
5883
5883
|
const deserializeAws_restJson1ControlComment = (output, context) => {
|
|
5884
5884
|
return {
|
|
5885
|
-
authorName:
|
|
5886
|
-
commentBody:
|
|
5885
|
+
authorName: smithy_client_1.expectString(output.authorName),
|
|
5886
|
+
commentBody: smithy_client_1.expectString(output.commentBody),
|
|
5887
5887
|
postedDate: output.postedDate !== undefined && output.postedDate !== null
|
|
5888
|
-
?
|
|
5888
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.postedDate)))
|
|
5889
5889
|
: undefined,
|
|
5890
5890
|
};
|
|
5891
5891
|
};
|
|
@@ -5901,16 +5901,16 @@ const deserializeAws_restJson1ControlComments = (output, context) => {
|
|
|
5901
5901
|
};
|
|
5902
5902
|
const deserializeAws_restJson1ControlMappingSource = (output, context) => {
|
|
5903
5903
|
return {
|
|
5904
|
-
sourceDescription:
|
|
5905
|
-
sourceFrequency:
|
|
5906
|
-
sourceId:
|
|
5904
|
+
sourceDescription: smithy_client_1.expectString(output.sourceDescription),
|
|
5905
|
+
sourceFrequency: smithy_client_1.expectString(output.sourceFrequency),
|
|
5906
|
+
sourceId: smithy_client_1.expectString(output.sourceId),
|
|
5907
5907
|
sourceKeyword: output.sourceKeyword !== undefined && output.sourceKeyword !== null
|
|
5908
5908
|
? deserializeAws_restJson1SourceKeyword(output.sourceKeyword, context)
|
|
5909
5909
|
: undefined,
|
|
5910
|
-
sourceName:
|
|
5911
|
-
sourceSetUpOption:
|
|
5912
|
-
sourceType:
|
|
5913
|
-
troubleshootingText:
|
|
5910
|
+
sourceName: smithy_client_1.expectString(output.sourceName),
|
|
5911
|
+
sourceSetUpOption: smithy_client_1.expectString(output.sourceSetUpOption),
|
|
5912
|
+
sourceType: smithy_client_1.expectString(output.sourceType),
|
|
5913
|
+
troubleshootingText: smithy_client_1.expectString(output.troubleshootingText),
|
|
5914
5914
|
};
|
|
5915
5915
|
};
|
|
5916
5916
|
const deserializeAws_restJson1ControlMappingSources = (output, context) => {
|
|
@@ -5925,16 +5925,16 @@ const deserializeAws_restJson1ControlMappingSources = (output, context) => {
|
|
|
5925
5925
|
};
|
|
5926
5926
|
const deserializeAws_restJson1ControlMetadata = (output, context) => {
|
|
5927
5927
|
return {
|
|
5928
|
-
arn:
|
|
5929
|
-
controlSources:
|
|
5928
|
+
arn: smithy_client_1.expectString(output.arn),
|
|
5929
|
+
controlSources: smithy_client_1.expectString(output.controlSources),
|
|
5930
5930
|
createdAt: output.createdAt !== undefined && output.createdAt !== null
|
|
5931
|
-
?
|
|
5931
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.createdAt)))
|
|
5932
5932
|
: undefined,
|
|
5933
|
-
id:
|
|
5933
|
+
id: smithy_client_1.expectString(output.id),
|
|
5934
5934
|
lastUpdatedAt: output.lastUpdatedAt !== undefined && output.lastUpdatedAt !== null
|
|
5935
|
-
?
|
|
5935
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastUpdatedAt)))
|
|
5936
5936
|
: undefined,
|
|
5937
|
-
name:
|
|
5937
|
+
name: smithy_client_1.expectString(output.name),
|
|
5938
5938
|
};
|
|
5939
5939
|
};
|
|
5940
5940
|
const deserializeAws_restJson1ControlMetadataList = (output, context) => {
|
|
@@ -5962,8 +5962,8 @@ const deserializeAws_restJson1ControlSet = (output, context) => {
|
|
|
5962
5962
|
controls: output.controls !== undefined && output.controls !== null
|
|
5963
5963
|
? deserializeAws_restJson1Controls(output.controls, context)
|
|
5964
5964
|
: undefined,
|
|
5965
|
-
id:
|
|
5966
|
-
name:
|
|
5965
|
+
id: smithy_client_1.expectString(output.id),
|
|
5966
|
+
name: smithy_client_1.expectString(output.name),
|
|
5967
5967
|
};
|
|
5968
5968
|
};
|
|
5969
5969
|
const deserializeAws_restJson1ControlSets = (output, context) => {
|
|
@@ -5978,42 +5978,42 @@ const deserializeAws_restJson1ControlSets = (output, context) => {
|
|
|
5978
5978
|
};
|
|
5979
5979
|
const deserializeAws_restJson1CreateDelegationRequest = (output, context) => {
|
|
5980
5980
|
return {
|
|
5981
|
-
comment:
|
|
5982
|
-
controlSetId:
|
|
5983
|
-
roleArn:
|
|
5984
|
-
roleType:
|
|
5981
|
+
comment: smithy_client_1.expectString(output.comment),
|
|
5982
|
+
controlSetId: smithy_client_1.expectString(output.controlSetId),
|
|
5983
|
+
roleArn: smithy_client_1.expectString(output.roleArn),
|
|
5984
|
+
roleType: smithy_client_1.expectString(output.roleType),
|
|
5985
5985
|
};
|
|
5986
5986
|
};
|
|
5987
5987
|
const deserializeAws_restJson1Delegation = (output, context) => {
|
|
5988
5988
|
return {
|
|
5989
|
-
assessmentId:
|
|
5990
|
-
assessmentName:
|
|
5991
|
-
comment:
|
|
5992
|
-
controlSetId:
|
|
5993
|
-
createdBy:
|
|
5989
|
+
assessmentId: smithy_client_1.expectString(output.assessmentId),
|
|
5990
|
+
assessmentName: smithy_client_1.expectString(output.assessmentName),
|
|
5991
|
+
comment: smithy_client_1.expectString(output.comment),
|
|
5992
|
+
controlSetId: smithy_client_1.expectString(output.controlSetId),
|
|
5993
|
+
createdBy: smithy_client_1.expectString(output.createdBy),
|
|
5994
5994
|
creationTime: output.creationTime !== undefined && output.creationTime !== null
|
|
5995
|
-
?
|
|
5995
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.creationTime)))
|
|
5996
5996
|
: undefined,
|
|
5997
|
-
id:
|
|
5997
|
+
id: smithy_client_1.expectString(output.id),
|
|
5998
5998
|
lastUpdated: output.lastUpdated !== undefined && output.lastUpdated !== null
|
|
5999
|
-
?
|
|
5999
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastUpdated)))
|
|
6000
6000
|
: undefined,
|
|
6001
|
-
roleArn:
|
|
6002
|
-
roleType:
|
|
6003
|
-
status:
|
|
6001
|
+
roleArn: smithy_client_1.expectString(output.roleArn),
|
|
6002
|
+
roleType: smithy_client_1.expectString(output.roleType),
|
|
6003
|
+
status: smithy_client_1.expectString(output.status),
|
|
6004
6004
|
};
|
|
6005
6005
|
};
|
|
6006
6006
|
const deserializeAws_restJson1DelegationMetadata = (output, context) => {
|
|
6007
6007
|
return {
|
|
6008
|
-
assessmentId:
|
|
6009
|
-
assessmentName:
|
|
6010
|
-
controlSetName:
|
|
6008
|
+
assessmentId: smithy_client_1.expectString(output.assessmentId),
|
|
6009
|
+
assessmentName: smithy_client_1.expectString(output.assessmentName),
|
|
6010
|
+
controlSetName: smithy_client_1.expectString(output.controlSetName),
|
|
6011
6011
|
creationTime: output.creationTime !== undefined && output.creationTime !== null
|
|
6012
|
-
?
|
|
6012
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.creationTime)))
|
|
6013
6013
|
: undefined,
|
|
6014
|
-
id:
|
|
6015
|
-
roleArn:
|
|
6016
|
-
status:
|
|
6014
|
+
id: smithy_client_1.expectString(output.id),
|
|
6015
|
+
roleArn: smithy_client_1.expectString(output.roleArn),
|
|
6016
|
+
status: smithy_client_1.expectString(output.status),
|
|
6017
6017
|
};
|
|
6018
6018
|
};
|
|
6019
6019
|
const deserializeAws_restJson1DelegationMetadataList = (output, context) => {
|
|
@@ -6038,26 +6038,26 @@ const deserializeAws_restJson1Delegations = (output, context) => {
|
|
|
6038
6038
|
};
|
|
6039
6039
|
const deserializeAws_restJson1Evidence = (output, context) => {
|
|
6040
6040
|
return {
|
|
6041
|
-
assessmentReportSelection:
|
|
6041
|
+
assessmentReportSelection: smithy_client_1.expectString(output.assessmentReportSelection),
|
|
6042
6042
|
attributes: output.attributes !== undefined && output.attributes !== null
|
|
6043
6043
|
? deserializeAws_restJson1EvidenceAttributes(output.attributes, context)
|
|
6044
6044
|
: undefined,
|
|
6045
|
-
awsAccountId:
|
|
6046
|
-
awsOrganization:
|
|
6047
|
-
complianceCheck:
|
|
6048
|
-
dataSource:
|
|
6049
|
-
eventName:
|
|
6050
|
-
eventSource:
|
|
6051
|
-
evidenceAwsAccountId:
|
|
6052
|
-
evidenceByType:
|
|
6053
|
-
evidenceFolderId:
|
|
6054
|
-
iamId:
|
|
6055
|
-
id:
|
|
6045
|
+
awsAccountId: smithy_client_1.expectString(output.awsAccountId),
|
|
6046
|
+
awsOrganization: smithy_client_1.expectString(output.awsOrganization),
|
|
6047
|
+
complianceCheck: smithy_client_1.expectString(output.complianceCheck),
|
|
6048
|
+
dataSource: smithy_client_1.expectString(output.dataSource),
|
|
6049
|
+
eventName: smithy_client_1.expectString(output.eventName),
|
|
6050
|
+
eventSource: smithy_client_1.expectString(output.eventSource),
|
|
6051
|
+
evidenceAwsAccountId: smithy_client_1.expectString(output.evidenceAwsAccountId),
|
|
6052
|
+
evidenceByType: smithy_client_1.expectString(output.evidenceByType),
|
|
6053
|
+
evidenceFolderId: smithy_client_1.expectString(output.evidenceFolderId),
|
|
6054
|
+
iamId: smithy_client_1.expectString(output.iamId),
|
|
6055
|
+
id: smithy_client_1.expectString(output.id),
|
|
6056
6056
|
resourcesIncluded: output.resourcesIncluded !== undefined && output.resourcesIncluded !== null
|
|
6057
6057
|
? deserializeAws_restJson1Resources(output.resourcesIncluded, context)
|
|
6058
6058
|
: undefined,
|
|
6059
6059
|
time: output.time !== undefined && output.time !== null
|
|
6060
|
-
?
|
|
6060
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.time)))
|
|
6061
6061
|
: undefined,
|
|
6062
6062
|
};
|
|
6063
6063
|
};
|
|
@@ -6068,7 +6068,7 @@ const deserializeAws_restJson1EvidenceAttributes = (output, context) => {
|
|
|
6068
6068
|
}
|
|
6069
6069
|
return {
|
|
6070
6070
|
...acc,
|
|
6071
|
-
[key]:
|
|
6071
|
+
[key]: smithy_client_1.expectString(value),
|
|
6072
6072
|
};
|
|
6073
6073
|
}, {});
|
|
6074
6074
|
};
|
|
@@ -6079,7 +6079,7 @@ const deserializeAws_restJson1EvidenceIds = (output, context) => {
|
|
|
6079
6079
|
if (entry === null) {
|
|
6080
6080
|
return null;
|
|
6081
6081
|
}
|
|
6082
|
-
return
|
|
6082
|
+
return smithy_client_1.expectString(entry);
|
|
6083
6083
|
});
|
|
6084
6084
|
};
|
|
6085
6085
|
const deserializeAws_restJson1EvidenceList = (output, context) => {
|
|
@@ -6099,41 +6099,41 @@ const deserializeAws_restJson1EvidenceSources = (output, context) => {
|
|
|
6099
6099
|
if (entry === null) {
|
|
6100
6100
|
return null;
|
|
6101
6101
|
}
|
|
6102
|
-
return
|
|
6102
|
+
return smithy_client_1.expectString(entry);
|
|
6103
6103
|
});
|
|
6104
6104
|
};
|
|
6105
6105
|
const deserializeAws_restJson1Framework = (output, context) => {
|
|
6106
6106
|
return {
|
|
6107
|
-
arn:
|
|
6108
|
-
complianceType:
|
|
6107
|
+
arn: smithy_client_1.expectString(output.arn),
|
|
6108
|
+
complianceType: smithy_client_1.expectString(output.complianceType),
|
|
6109
6109
|
controlSets: output.controlSets !== undefined && output.controlSets !== null
|
|
6110
6110
|
? deserializeAws_restJson1ControlSets(output.controlSets, context)
|
|
6111
6111
|
: undefined,
|
|
6112
|
-
controlSources:
|
|
6112
|
+
controlSources: smithy_client_1.expectString(output.controlSources),
|
|
6113
6113
|
createdAt: output.createdAt !== undefined && output.createdAt !== null
|
|
6114
|
-
?
|
|
6114
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.createdAt)))
|
|
6115
6115
|
: undefined,
|
|
6116
|
-
createdBy:
|
|
6117
|
-
description:
|
|
6118
|
-
id:
|
|
6116
|
+
createdBy: smithy_client_1.expectString(output.createdBy),
|
|
6117
|
+
description: smithy_client_1.expectString(output.description),
|
|
6118
|
+
id: smithy_client_1.expectString(output.id),
|
|
6119
6119
|
lastUpdatedAt: output.lastUpdatedAt !== undefined && output.lastUpdatedAt !== null
|
|
6120
|
-
?
|
|
6120
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastUpdatedAt)))
|
|
6121
6121
|
: undefined,
|
|
6122
|
-
lastUpdatedBy:
|
|
6123
|
-
logo:
|
|
6124
|
-
name:
|
|
6122
|
+
lastUpdatedBy: smithy_client_1.expectString(output.lastUpdatedBy),
|
|
6123
|
+
logo: smithy_client_1.expectString(output.logo),
|
|
6124
|
+
name: smithy_client_1.expectString(output.name),
|
|
6125
6125
|
tags: output.tags !== undefined && output.tags !== null
|
|
6126
6126
|
? deserializeAws_restJson1TagMap(output.tags, context)
|
|
6127
6127
|
: undefined,
|
|
6128
|
-
type:
|
|
6128
|
+
type: smithy_client_1.expectString(output.type),
|
|
6129
6129
|
};
|
|
6130
6130
|
};
|
|
6131
6131
|
const deserializeAws_restJson1FrameworkMetadata = (output, context) => {
|
|
6132
6132
|
return {
|
|
6133
|
-
complianceType:
|
|
6134
|
-
description:
|
|
6135
|
-
logo:
|
|
6136
|
-
name:
|
|
6133
|
+
complianceType: smithy_client_1.expectString(output.complianceType),
|
|
6134
|
+
description: smithy_client_1.expectString(output.description),
|
|
6135
|
+
logo: smithy_client_1.expectString(output.logo),
|
|
6136
|
+
name: smithy_client_1.expectString(output.name),
|
|
6137
6137
|
};
|
|
6138
6138
|
};
|
|
6139
6139
|
const deserializeAws_restJson1FrameworkMetadataList = (output, context) => {
|
|
@@ -6153,7 +6153,7 @@ const deserializeAws_restJson1Keywords = (output, context) => {
|
|
|
6153
6153
|
if (entry === null) {
|
|
6154
6154
|
return null;
|
|
6155
6155
|
}
|
|
6156
|
-
return
|
|
6156
|
+
return smithy_client_1.expectString(entry);
|
|
6157
6157
|
});
|
|
6158
6158
|
};
|
|
6159
6159
|
const deserializeAws_restJson1ListAssessmentMetadata = (output, context) => {
|
|
@@ -6168,21 +6168,21 @@ const deserializeAws_restJson1ListAssessmentMetadata = (output, context) => {
|
|
|
6168
6168
|
};
|
|
6169
6169
|
const deserializeAws_restJson1ManualEvidence = (output, context) => {
|
|
6170
6170
|
return {
|
|
6171
|
-
s3ResourcePath:
|
|
6171
|
+
s3ResourcePath: smithy_client_1.expectString(output.s3ResourcePath),
|
|
6172
6172
|
};
|
|
6173
6173
|
};
|
|
6174
6174
|
const deserializeAws_restJson1Notification = (output, context) => {
|
|
6175
6175
|
return {
|
|
6176
|
-
assessmentId:
|
|
6177
|
-
assessmentName:
|
|
6178
|
-
controlSetId:
|
|
6179
|
-
controlSetName:
|
|
6180
|
-
description:
|
|
6176
|
+
assessmentId: smithy_client_1.expectString(output.assessmentId),
|
|
6177
|
+
assessmentName: smithy_client_1.expectString(output.assessmentName),
|
|
6178
|
+
controlSetId: smithy_client_1.expectString(output.controlSetId),
|
|
6179
|
+
controlSetName: smithy_client_1.expectString(output.controlSetName),
|
|
6180
|
+
description: smithy_client_1.expectString(output.description),
|
|
6181
6181
|
eventTime: output.eventTime !== undefined && output.eventTime !== null
|
|
6182
|
-
?
|
|
6182
|
+
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.eventTime)))
|
|
6183
6183
|
: undefined,
|
|
6184
|
-
id:
|
|
6185
|
-
source:
|
|
6184
|
+
id: smithy_client_1.expectString(output.id),
|
|
6185
|
+
source: smithy_client_1.expectString(output.source),
|
|
6186
6186
|
};
|
|
6187
6187
|
};
|
|
6188
6188
|
const deserializeAws_restJson1Notifications = (output, context) => {
|
|
@@ -6197,8 +6197,8 @@ const deserializeAws_restJson1Notifications = (output, context) => {
|
|
|
6197
6197
|
};
|
|
6198
6198
|
const deserializeAws_restJson1Resource = (output, context) => {
|
|
6199
6199
|
return {
|
|
6200
|
-
arn:
|
|
6201
|
-
value:
|
|
6200
|
+
arn: smithy_client_1.expectString(output.arn),
|
|
6201
|
+
value: smithy_client_1.expectString(output.value),
|
|
6202
6202
|
};
|
|
6203
6203
|
};
|
|
6204
6204
|
const deserializeAws_restJson1Resources = (output, context) => {
|
|
@@ -6213,8 +6213,8 @@ const deserializeAws_restJson1Resources = (output, context) => {
|
|
|
6213
6213
|
};
|
|
6214
6214
|
const deserializeAws_restJson1Role = (output, context) => {
|
|
6215
6215
|
return {
|
|
6216
|
-
roleArn:
|
|
6217
|
-
roleType:
|
|
6216
|
+
roleArn: smithy_client_1.expectString(output.roleArn),
|
|
6217
|
+
roleType: smithy_client_1.expectString(output.roleType),
|
|
6218
6218
|
};
|
|
6219
6219
|
};
|
|
6220
6220
|
const deserializeAws_restJson1Roles = (output, context) => {
|
|
@@ -6239,10 +6239,10 @@ const deserializeAws_restJson1Scope = (output, context) => {
|
|
|
6239
6239
|
};
|
|
6240
6240
|
const deserializeAws_restJson1ServiceMetadata = (output, context) => {
|
|
6241
6241
|
return {
|
|
6242
|
-
category:
|
|
6243
|
-
description:
|
|
6244
|
-
displayName:
|
|
6245
|
-
name:
|
|
6242
|
+
category: smithy_client_1.expectString(output.category),
|
|
6243
|
+
description: smithy_client_1.expectString(output.description),
|
|
6244
|
+
displayName: smithy_client_1.expectString(output.displayName),
|
|
6245
|
+
name: smithy_client_1.expectString(output.name),
|
|
6246
6246
|
};
|
|
6247
6247
|
};
|
|
6248
6248
|
const deserializeAws_restJson1ServiceMetadataList = (output, context) => {
|
|
@@ -6263,15 +6263,15 @@ const deserializeAws_restJson1Settings = (output, context) => {
|
|
|
6263
6263
|
defaultProcessOwners: output.defaultProcessOwners !== undefined && output.defaultProcessOwners !== null
|
|
6264
6264
|
? deserializeAws_restJson1Roles(output.defaultProcessOwners, context)
|
|
6265
6265
|
: undefined,
|
|
6266
|
-
isAwsOrgEnabled:
|
|
6267
|
-
kmsKey:
|
|
6268
|
-
snsTopic:
|
|
6266
|
+
isAwsOrgEnabled: smithy_client_1.expectBoolean(output.isAwsOrgEnabled),
|
|
6267
|
+
kmsKey: smithy_client_1.expectString(output.kmsKey),
|
|
6268
|
+
snsTopic: smithy_client_1.expectString(output.snsTopic),
|
|
6269
6269
|
};
|
|
6270
6270
|
};
|
|
6271
6271
|
const deserializeAws_restJson1SourceKeyword = (output, context) => {
|
|
6272
6272
|
return {
|
|
6273
|
-
keywordInputType:
|
|
6274
|
-
keywordValue:
|
|
6273
|
+
keywordInputType: smithy_client_1.expectString(output.keywordInputType),
|
|
6274
|
+
keywordValue: smithy_client_1.expectString(output.keywordValue),
|
|
6275
6275
|
};
|
|
6276
6276
|
};
|
|
6277
6277
|
const deserializeAws_restJson1TagMap = (output, context) => {
|
|
@@ -6281,14 +6281,14 @@ const deserializeAws_restJson1TagMap = (output, context) => {
|
|
|
6281
6281
|
}
|
|
6282
6282
|
return {
|
|
6283
6283
|
...acc,
|
|
6284
|
-
[key]:
|
|
6284
|
+
[key]: smithy_client_1.expectString(value),
|
|
6285
6285
|
};
|
|
6286
6286
|
}, {});
|
|
6287
6287
|
};
|
|
6288
6288
|
const deserializeAws_restJson1URL = (output, context) => {
|
|
6289
6289
|
return {
|
|
6290
|
-
hyperlinkName:
|
|
6291
|
-
link:
|
|
6290
|
+
hyperlinkName: smithy_client_1.expectString(output.hyperlinkName),
|
|
6291
|
+
link: smithy_client_1.expectString(output.link),
|
|
6292
6292
|
};
|
|
6293
6293
|
};
|
|
6294
6294
|
const deserializeAws_restJson1ValidationErrors = (output, context) => {
|
|
@@ -6298,13 +6298,13 @@ const deserializeAws_restJson1ValidationErrors = (output, context) => {
|
|
|
6298
6298
|
if (entry === null) {
|
|
6299
6299
|
return null;
|
|
6300
6300
|
}
|
|
6301
|
-
return
|
|
6301
|
+
return smithy_client_1.expectString(entry);
|
|
6302
6302
|
});
|
|
6303
6303
|
};
|
|
6304
6304
|
const deserializeAws_restJson1ValidationExceptionField = (output, context) => {
|
|
6305
6305
|
return {
|
|
6306
|
-
message:
|
|
6307
|
-
name:
|
|
6306
|
+
message: smithy_client_1.expectString(output.message),
|
|
6307
|
+
name: smithy_client_1.expectString(output.name),
|
|
6308
6308
|
};
|
|
6309
6309
|
};
|
|
6310
6310
|
const deserializeAws_restJson1ValidationExceptionFieldList = (output, context) => {
|