@aws-sdk/client-auditmanager 3.54.1 → 3.55.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/dist-cjs/AuditManagerClient.js +13 -13
- package/dist-cjs/commands/AssociateAssessmentReportEvidenceFolderCommand.js +3 -3
- package/dist-cjs/commands/BatchAssociateAssessmentReportEvidenceCommand.js +3 -3
- package/dist-cjs/commands/BatchCreateDelegationByAssessmentCommand.js +3 -3
- package/dist-cjs/commands/BatchDeleteDelegationByAssessmentCommand.js +3 -3
- package/dist-cjs/commands/BatchDisassociateAssessmentReportEvidenceCommand.js +3 -3
- package/dist-cjs/commands/BatchImportEvidenceToAssessmentControlCommand.js +3 -3
- package/dist-cjs/commands/CreateAssessmentCommand.js +3 -3
- package/dist-cjs/commands/CreateAssessmentFrameworkCommand.js +3 -3
- package/dist-cjs/commands/CreateAssessmentReportCommand.js +3 -3
- package/dist-cjs/commands/CreateControlCommand.js +3 -3
- package/dist-cjs/commands/DeleteAssessmentCommand.js +3 -3
- package/dist-cjs/commands/DeleteAssessmentFrameworkCommand.js +3 -3
- package/dist-cjs/commands/DeleteAssessmentFrameworkShareCommand.js +3 -3
- package/dist-cjs/commands/DeleteAssessmentReportCommand.js +3 -3
- package/dist-cjs/commands/DeleteControlCommand.js +3 -3
- package/dist-cjs/commands/DeregisterAccountCommand.js +3 -3
- package/dist-cjs/commands/DeregisterOrganizationAdminAccountCommand.js +3 -3
- package/dist-cjs/commands/DisassociateAssessmentReportEvidenceFolderCommand.js +3 -3
- package/dist-cjs/commands/GetAccountStatusCommand.js +3 -3
- package/dist-cjs/commands/GetAssessmentCommand.js +3 -3
- package/dist-cjs/commands/GetAssessmentFrameworkCommand.js +3 -3
- package/dist-cjs/commands/GetAssessmentReportUrlCommand.js +3 -3
- package/dist-cjs/commands/GetChangeLogsCommand.js +3 -3
- package/dist-cjs/commands/GetControlCommand.js +3 -3
- package/dist-cjs/commands/GetDelegationsCommand.js +3 -3
- package/dist-cjs/commands/GetEvidenceByEvidenceFolderCommand.js +3 -3
- package/dist-cjs/commands/GetEvidenceCommand.js +3 -3
- package/dist-cjs/commands/GetEvidenceFolderCommand.js +3 -3
- package/dist-cjs/commands/GetEvidenceFoldersByAssessmentCommand.js +3 -3
- package/dist-cjs/commands/GetEvidenceFoldersByAssessmentControlCommand.js +3 -3
- package/dist-cjs/commands/GetInsightsByAssessmentCommand.js +3 -3
- package/dist-cjs/commands/GetInsightsCommand.js +3 -3
- package/dist-cjs/commands/GetOrganizationAdminAccountCommand.js +3 -3
- package/dist-cjs/commands/GetServicesInScopeCommand.js +3 -3
- package/dist-cjs/commands/GetSettingsCommand.js +3 -3
- package/dist-cjs/commands/ListAssessmentControlInsightsByControlDomainCommand.js +3 -3
- package/dist-cjs/commands/ListAssessmentFrameworkShareRequestsCommand.js +3 -3
- package/dist-cjs/commands/ListAssessmentFrameworksCommand.js +3 -3
- package/dist-cjs/commands/ListAssessmentReportsCommand.js +3 -3
- package/dist-cjs/commands/ListAssessmentsCommand.js +3 -3
- package/dist-cjs/commands/ListControlDomainInsightsByAssessmentCommand.js +3 -3
- package/dist-cjs/commands/ListControlDomainInsightsCommand.js +3 -3
- package/dist-cjs/commands/ListControlInsightsByControlDomainCommand.js +3 -3
- package/dist-cjs/commands/ListControlsCommand.js +3 -3
- package/dist-cjs/commands/ListKeywordsForDataSourceCommand.js +3 -3
- package/dist-cjs/commands/ListNotificationsCommand.js +3 -3
- package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-cjs/commands/RegisterAccountCommand.js +3 -3
- package/dist-cjs/commands/RegisterOrganizationAdminAccountCommand.js +3 -3
- package/dist-cjs/commands/StartAssessmentFrameworkShareCommand.js +3 -3
- package/dist-cjs/commands/TagResourceCommand.js +3 -3
- package/dist-cjs/commands/UntagResourceCommand.js +3 -3
- package/dist-cjs/commands/UpdateAssessmentCommand.js +3 -3
- package/dist-cjs/commands/UpdateAssessmentControlCommand.js +3 -3
- package/dist-cjs/commands/UpdateAssessmentControlSetStatusCommand.js +3 -3
- package/dist-cjs/commands/UpdateAssessmentFrameworkCommand.js +3 -3
- package/dist-cjs/commands/UpdateAssessmentFrameworkShareCommand.js +3 -3
- package/dist-cjs/commands/UpdateAssessmentStatusCommand.js +3 -3
- package/dist-cjs/commands/UpdateControlCommand.js +3 -3
- package/dist-cjs/commands/UpdateSettingsCommand.js +3 -3
- package/dist-cjs/commands/ValidateAssessmentReportIntegrityCommand.js +3 -3
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/protocols/Aws_restJson1.js +454 -454
- package/dist-cjs/runtimeConfig.browser.js +4 -4
- package/dist-cjs/runtimeConfig.js +9 -9
- package/dist-cjs/runtimeConfig.native.js +1 -1
- package/dist-es/AuditManager.js +61 -61
- package/dist-es/pagination/GetChangeLogsPaginator.js +4 -4
- package/dist-es/pagination/GetDelegationsPaginator.js +4 -4
- package/dist-es/pagination/GetEvidenceByEvidenceFolderPaginator.js +4 -4
- package/dist-es/pagination/GetEvidenceFoldersByAssessmentControlPaginator.js +4 -4
- package/dist-es/pagination/GetEvidenceFoldersByAssessmentPaginator.js +4 -4
- package/dist-es/pagination/ListAssessmentControlInsightsByControlDomainPaginator.js +4 -4
- package/dist-es/pagination/ListAssessmentFrameworkShareRequestsPaginator.js +4 -4
- package/dist-es/pagination/ListAssessmentFrameworksPaginator.js +4 -4
- package/dist-es/pagination/ListAssessmentReportsPaginator.js +4 -4
- package/dist-es/pagination/ListAssessmentsPaginator.js +4 -4
- package/dist-es/pagination/ListControlDomainInsightsByAssessmentPaginator.js +4 -4
- package/dist-es/pagination/ListControlDomainInsightsPaginator.js +4 -4
- package/dist-es/pagination/ListControlInsightsByControlDomainPaginator.js +4 -4
- package/dist-es/pagination/ListControlsPaginator.js +4 -4
- package/dist-es/pagination/ListKeywordsForDataSourcePaginator.js +4 -4
- package/dist-es/pagination/ListNotificationsPaginator.js +4 -4
- package/dist-es/protocols/Aws_restJson1.js +61 -61
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
- package/package.json +34 -34
|
@@ -19,7 +19,7 @@ const serializeAws_restJson1AssociateAssessmentReportEvidenceFolderCommand = asy
|
|
|
19
19
|
if (labelValue.length <= 0) {
|
|
20
20
|
throw new Error("Empty value provided for input HTTP label: assessmentId.");
|
|
21
21
|
}
|
|
22
|
-
resolvedPath = resolvedPath.replace("{assessmentId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
22
|
+
resolvedPath = resolvedPath.replace("{assessmentId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
23
23
|
}
|
|
24
24
|
else {
|
|
25
25
|
throw new Error("No value provided for input HTTP label: assessmentId.");
|
|
@@ -52,7 +52,7 @@ const serializeAws_restJson1BatchAssociateAssessmentReportEvidenceCommand = asyn
|
|
|
52
52
|
if (labelValue.length <= 0) {
|
|
53
53
|
throw new Error("Empty value provided for input HTTP label: assessmentId.");
|
|
54
54
|
}
|
|
55
|
-
resolvedPath = resolvedPath.replace("{assessmentId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
55
|
+
resolvedPath = resolvedPath.replace("{assessmentId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
56
56
|
}
|
|
57
57
|
else {
|
|
58
58
|
throw new Error("No value provided for input HTTP label: assessmentId.");
|
|
@@ -86,7 +86,7 @@ const serializeAws_restJson1BatchCreateDelegationByAssessmentCommand = async (in
|
|
|
86
86
|
if (labelValue.length <= 0) {
|
|
87
87
|
throw new Error("Empty value provided for input HTTP label: assessmentId.");
|
|
88
88
|
}
|
|
89
|
-
resolvedPath = resolvedPath.replace("{assessmentId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
89
|
+
resolvedPath = resolvedPath.replace("{assessmentId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
90
90
|
}
|
|
91
91
|
else {
|
|
92
92
|
throw new Error("No value provided for input HTTP label: assessmentId.");
|
|
@@ -120,7 +120,7 @@ const serializeAws_restJson1BatchDeleteDelegationByAssessmentCommand = async (in
|
|
|
120
120
|
if (labelValue.length <= 0) {
|
|
121
121
|
throw new Error("Empty value provided for input HTTP label: assessmentId.");
|
|
122
122
|
}
|
|
123
|
-
resolvedPath = resolvedPath.replace("{assessmentId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
123
|
+
resolvedPath = resolvedPath.replace("{assessmentId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
124
124
|
}
|
|
125
125
|
else {
|
|
126
126
|
throw new Error("No value provided for input HTTP label: assessmentId.");
|
|
@@ -155,7 +155,7 @@ const serializeAws_restJson1BatchDisassociateAssessmentReportEvidenceCommand = a
|
|
|
155
155
|
if (labelValue.length <= 0) {
|
|
156
156
|
throw new Error("Empty value provided for input HTTP label: assessmentId.");
|
|
157
157
|
}
|
|
158
|
-
resolvedPath = resolvedPath.replace("{assessmentId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
158
|
+
resolvedPath = resolvedPath.replace("{assessmentId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
159
159
|
}
|
|
160
160
|
else {
|
|
161
161
|
throw new Error("No value provided for input HTTP label: assessmentId.");
|
|
@@ -190,7 +190,7 @@ const serializeAws_restJson1BatchImportEvidenceToAssessmentControlCommand = asyn
|
|
|
190
190
|
if (labelValue.length <= 0) {
|
|
191
191
|
throw new Error("Empty value provided for input HTTP label: assessmentId.");
|
|
192
192
|
}
|
|
193
|
-
resolvedPath = resolvedPath.replace("{assessmentId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
193
|
+
resolvedPath = resolvedPath.replace("{assessmentId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
194
194
|
}
|
|
195
195
|
else {
|
|
196
196
|
throw new Error("No value provided for input HTTP label: assessmentId.");
|
|
@@ -200,7 +200,7 @@ const serializeAws_restJson1BatchImportEvidenceToAssessmentControlCommand = asyn
|
|
|
200
200
|
if (labelValue.length <= 0) {
|
|
201
201
|
throw new Error("Empty value provided for input HTTP label: controlSetId.");
|
|
202
202
|
}
|
|
203
|
-
resolvedPath = resolvedPath.replace("{controlSetId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
203
|
+
resolvedPath = resolvedPath.replace("{controlSetId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
204
204
|
}
|
|
205
205
|
else {
|
|
206
206
|
throw new Error("No value provided for input HTTP label: controlSetId.");
|
|
@@ -210,7 +210,7 @@ const serializeAws_restJson1BatchImportEvidenceToAssessmentControlCommand = asyn
|
|
|
210
210
|
if (labelValue.length <= 0) {
|
|
211
211
|
throw new Error("Empty value provided for input HTTP label: controlId.");
|
|
212
212
|
}
|
|
213
|
-
resolvedPath = resolvedPath.replace("{controlId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
213
|
+
resolvedPath = resolvedPath.replace("{controlId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
214
214
|
}
|
|
215
215
|
else {
|
|
216
216
|
throw new Error("No value provided for input HTTP label: controlId.");
|
|
@@ -305,7 +305,7 @@ const serializeAws_restJson1CreateAssessmentReportCommand = async (input, contex
|
|
|
305
305
|
if (labelValue.length <= 0) {
|
|
306
306
|
throw new Error("Empty value provided for input HTTP label: assessmentId.");
|
|
307
307
|
}
|
|
308
|
-
resolvedPath = resolvedPath.replace("{assessmentId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
308
|
+
resolvedPath = resolvedPath.replace("{assessmentId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
309
309
|
}
|
|
310
310
|
else {
|
|
311
311
|
throw new Error("No value provided for input HTTP label: assessmentId.");
|
|
@@ -368,7 +368,7 @@ const serializeAws_restJson1DeleteAssessmentCommand = async (input, context) =>
|
|
|
368
368
|
if (labelValue.length <= 0) {
|
|
369
369
|
throw new Error("Empty value provided for input HTTP label: assessmentId.");
|
|
370
370
|
}
|
|
371
|
-
resolvedPath = resolvedPath.replace("{assessmentId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
371
|
+
resolvedPath = resolvedPath.replace("{assessmentId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
372
372
|
}
|
|
373
373
|
else {
|
|
374
374
|
throw new Error("No value provided for input HTTP label: assessmentId.");
|
|
@@ -394,7 +394,7 @@ const serializeAws_restJson1DeleteAssessmentFrameworkCommand = async (input, con
|
|
|
394
394
|
if (labelValue.length <= 0) {
|
|
395
395
|
throw new Error("Empty value provided for input HTTP label: frameworkId.");
|
|
396
396
|
}
|
|
397
|
-
resolvedPath = resolvedPath.replace("{frameworkId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
397
|
+
resolvedPath = resolvedPath.replace("{frameworkId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
398
398
|
}
|
|
399
399
|
else {
|
|
400
400
|
throw new Error("No value provided for input HTTP label: frameworkId.");
|
|
@@ -421,7 +421,7 @@ const serializeAws_restJson1DeleteAssessmentFrameworkShareCommand = async (input
|
|
|
421
421
|
if (labelValue.length <= 0) {
|
|
422
422
|
throw new Error("Empty value provided for input HTTP label: requestId.");
|
|
423
423
|
}
|
|
424
|
-
resolvedPath = resolvedPath.replace("{requestId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
424
|
+
resolvedPath = resolvedPath.replace("{requestId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
425
425
|
}
|
|
426
426
|
else {
|
|
427
427
|
throw new Error("No value provided for input HTTP label: requestId.");
|
|
@@ -452,7 +452,7 @@ const serializeAws_restJson1DeleteAssessmentReportCommand = async (input, contex
|
|
|
452
452
|
if (labelValue.length <= 0) {
|
|
453
453
|
throw new Error("Empty value provided for input HTTP label: assessmentId.");
|
|
454
454
|
}
|
|
455
|
-
resolvedPath = resolvedPath.replace("{assessmentId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
455
|
+
resolvedPath = resolvedPath.replace("{assessmentId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
456
456
|
}
|
|
457
457
|
else {
|
|
458
458
|
throw new Error("No value provided for input HTTP label: assessmentId.");
|
|
@@ -462,7 +462,7 @@ const serializeAws_restJson1DeleteAssessmentReportCommand = async (input, contex
|
|
|
462
462
|
if (labelValue.length <= 0) {
|
|
463
463
|
throw new Error("Empty value provided for input HTTP label: assessmentReportId.");
|
|
464
464
|
}
|
|
465
|
-
resolvedPath = resolvedPath.replace("{assessmentReportId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
465
|
+
resolvedPath = resolvedPath.replace("{assessmentReportId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
466
466
|
}
|
|
467
467
|
else {
|
|
468
468
|
throw new Error("No value provided for input HTTP label: assessmentReportId.");
|
|
@@ -488,7 +488,7 @@ const serializeAws_restJson1DeleteControlCommand = async (input, context) => {
|
|
|
488
488
|
if (labelValue.length <= 0) {
|
|
489
489
|
throw new Error("Empty value provided for input HTTP label: controlId.");
|
|
490
490
|
}
|
|
491
|
-
resolvedPath = resolvedPath.replace("{controlId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
491
|
+
resolvedPath = resolvedPath.replace("{controlId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
492
492
|
}
|
|
493
493
|
else {
|
|
494
494
|
throw new Error("No value provided for input HTTP label: controlId.");
|
|
@@ -559,7 +559,7 @@ const serializeAws_restJson1DisassociateAssessmentReportEvidenceFolderCommand =
|
|
|
559
559
|
if (labelValue.length <= 0) {
|
|
560
560
|
throw new Error("Empty value provided for input HTTP label: assessmentId.");
|
|
561
561
|
}
|
|
562
|
-
resolvedPath = resolvedPath.replace("{assessmentId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
562
|
+
resolvedPath = resolvedPath.replace("{assessmentId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
563
563
|
}
|
|
564
564
|
else {
|
|
565
565
|
throw new Error("No value provided for input HTTP label: assessmentId.");
|
|
@@ -608,7 +608,7 @@ const serializeAws_restJson1GetAssessmentCommand = async (input, context) => {
|
|
|
608
608
|
if (labelValue.length <= 0) {
|
|
609
609
|
throw new Error("Empty value provided for input HTTP label: assessmentId.");
|
|
610
610
|
}
|
|
611
|
-
resolvedPath = resolvedPath.replace("{assessmentId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
611
|
+
resolvedPath = resolvedPath.replace("{assessmentId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
612
612
|
}
|
|
613
613
|
else {
|
|
614
614
|
throw new Error("No value provided for input HTTP label: assessmentId.");
|
|
@@ -634,7 +634,7 @@ const serializeAws_restJson1GetAssessmentFrameworkCommand = async (input, contex
|
|
|
634
634
|
if (labelValue.length <= 0) {
|
|
635
635
|
throw new Error("Empty value provided for input HTTP label: frameworkId.");
|
|
636
636
|
}
|
|
637
|
-
resolvedPath = resolvedPath.replace("{frameworkId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
637
|
+
resolvedPath = resolvedPath.replace("{frameworkId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
638
638
|
}
|
|
639
639
|
else {
|
|
640
640
|
throw new Error("No value provided for input HTTP label: frameworkId.");
|
|
@@ -661,7 +661,7 @@ const serializeAws_restJson1GetAssessmentReportUrlCommand = async (input, contex
|
|
|
661
661
|
if (labelValue.length <= 0) {
|
|
662
662
|
throw new Error("Empty value provided for input HTTP label: assessmentReportId.");
|
|
663
663
|
}
|
|
664
|
-
resolvedPath = resolvedPath.replace("{assessmentReportId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
664
|
+
resolvedPath = resolvedPath.replace("{assessmentReportId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
665
665
|
}
|
|
666
666
|
else {
|
|
667
667
|
throw new Error("No value provided for input HTTP label: assessmentReportId.");
|
|
@@ -671,7 +671,7 @@ const serializeAws_restJson1GetAssessmentReportUrlCommand = async (input, contex
|
|
|
671
671
|
if (labelValue.length <= 0) {
|
|
672
672
|
throw new Error("Empty value provided for input HTTP label: assessmentId.");
|
|
673
673
|
}
|
|
674
|
-
resolvedPath = resolvedPath.replace("{assessmentId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
674
|
+
resolvedPath = resolvedPath.replace("{assessmentId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
675
675
|
}
|
|
676
676
|
else {
|
|
677
677
|
throw new Error("No value provided for input HTTP label: assessmentId.");
|
|
@@ -697,7 +697,7 @@ const serializeAws_restJson1GetChangeLogsCommand = async (input, context) => {
|
|
|
697
697
|
if (labelValue.length <= 0) {
|
|
698
698
|
throw new Error("Empty value provided for input HTTP label: assessmentId.");
|
|
699
699
|
}
|
|
700
|
-
resolvedPath = resolvedPath.replace("{assessmentId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
700
|
+
resolvedPath = resolvedPath.replace("{assessmentId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
701
701
|
}
|
|
702
702
|
else {
|
|
703
703
|
throw new Error("No value provided for input HTTP label: assessmentId.");
|
|
@@ -730,7 +730,7 @@ const serializeAws_restJson1GetControlCommand = async (input, context) => {
|
|
|
730
730
|
if (labelValue.length <= 0) {
|
|
731
731
|
throw new Error("Empty value provided for input HTTP label: controlId.");
|
|
732
732
|
}
|
|
733
|
-
resolvedPath = resolvedPath.replace("{controlId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
733
|
+
resolvedPath = resolvedPath.replace("{controlId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
734
734
|
}
|
|
735
735
|
else {
|
|
736
736
|
throw new Error("No value provided for input HTTP label: controlId.");
|
|
@@ -778,7 +778,7 @@ const serializeAws_restJson1GetEvidenceCommand = async (input, context) => {
|
|
|
778
778
|
if (labelValue.length <= 0) {
|
|
779
779
|
throw new Error("Empty value provided for input HTTP label: assessmentId.");
|
|
780
780
|
}
|
|
781
|
-
resolvedPath = resolvedPath.replace("{assessmentId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
781
|
+
resolvedPath = resolvedPath.replace("{assessmentId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
782
782
|
}
|
|
783
783
|
else {
|
|
784
784
|
throw new Error("No value provided for input HTTP label: assessmentId.");
|
|
@@ -788,7 +788,7 @@ const serializeAws_restJson1GetEvidenceCommand = async (input, context) => {
|
|
|
788
788
|
if (labelValue.length <= 0) {
|
|
789
789
|
throw new Error("Empty value provided for input HTTP label: controlSetId.");
|
|
790
790
|
}
|
|
791
|
-
resolvedPath = resolvedPath.replace("{controlSetId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
791
|
+
resolvedPath = resolvedPath.replace("{controlSetId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
792
792
|
}
|
|
793
793
|
else {
|
|
794
794
|
throw new Error("No value provided for input HTTP label: controlSetId.");
|
|
@@ -798,7 +798,7 @@ const serializeAws_restJson1GetEvidenceCommand = async (input, context) => {
|
|
|
798
798
|
if (labelValue.length <= 0) {
|
|
799
799
|
throw new Error("Empty value provided for input HTTP label: evidenceFolderId.");
|
|
800
800
|
}
|
|
801
|
-
resolvedPath = resolvedPath.replace("{evidenceFolderId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
801
|
+
resolvedPath = resolvedPath.replace("{evidenceFolderId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
802
802
|
}
|
|
803
803
|
else {
|
|
804
804
|
throw new Error("No value provided for input HTTP label: evidenceFolderId.");
|
|
@@ -808,7 +808,7 @@ const serializeAws_restJson1GetEvidenceCommand = async (input, context) => {
|
|
|
808
808
|
if (labelValue.length <= 0) {
|
|
809
809
|
throw new Error("Empty value provided for input HTTP label: evidenceId.");
|
|
810
810
|
}
|
|
811
|
-
resolvedPath = resolvedPath.replace("{evidenceId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
811
|
+
resolvedPath = resolvedPath.replace("{evidenceId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
812
812
|
}
|
|
813
813
|
else {
|
|
814
814
|
throw new Error("No value provided for input HTTP label: evidenceId.");
|
|
@@ -835,7 +835,7 @@ const serializeAws_restJson1GetEvidenceByEvidenceFolderCommand = async (input, c
|
|
|
835
835
|
if (labelValue.length <= 0) {
|
|
836
836
|
throw new Error("Empty value provided for input HTTP label: assessmentId.");
|
|
837
837
|
}
|
|
838
|
-
resolvedPath = resolvedPath.replace("{assessmentId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
838
|
+
resolvedPath = resolvedPath.replace("{assessmentId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
839
839
|
}
|
|
840
840
|
else {
|
|
841
841
|
throw new Error("No value provided for input HTTP label: assessmentId.");
|
|
@@ -845,7 +845,7 @@ const serializeAws_restJson1GetEvidenceByEvidenceFolderCommand = async (input, c
|
|
|
845
845
|
if (labelValue.length <= 0) {
|
|
846
846
|
throw new Error("Empty value provided for input HTTP label: controlSetId.");
|
|
847
847
|
}
|
|
848
|
-
resolvedPath = resolvedPath.replace("{controlSetId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
848
|
+
resolvedPath = resolvedPath.replace("{controlSetId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
849
849
|
}
|
|
850
850
|
else {
|
|
851
851
|
throw new Error("No value provided for input HTTP label: controlSetId.");
|
|
@@ -855,7 +855,7 @@ const serializeAws_restJson1GetEvidenceByEvidenceFolderCommand = async (input, c
|
|
|
855
855
|
if (labelValue.length <= 0) {
|
|
856
856
|
throw new Error("Empty value provided for input HTTP label: evidenceFolderId.");
|
|
857
857
|
}
|
|
858
|
-
resolvedPath = resolvedPath.replace("{evidenceFolderId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
858
|
+
resolvedPath = resolvedPath.replace("{evidenceFolderId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
859
859
|
}
|
|
860
860
|
else {
|
|
861
861
|
throw new Error("No value provided for input HTTP label: evidenceFolderId.");
|
|
@@ -887,7 +887,7 @@ const serializeAws_restJson1GetEvidenceFolderCommand = async (input, context) =>
|
|
|
887
887
|
if (labelValue.length <= 0) {
|
|
888
888
|
throw new Error("Empty value provided for input HTTP label: assessmentId.");
|
|
889
889
|
}
|
|
890
|
-
resolvedPath = resolvedPath.replace("{assessmentId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
890
|
+
resolvedPath = resolvedPath.replace("{assessmentId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
891
891
|
}
|
|
892
892
|
else {
|
|
893
893
|
throw new Error("No value provided for input HTTP label: assessmentId.");
|
|
@@ -897,7 +897,7 @@ const serializeAws_restJson1GetEvidenceFolderCommand = async (input, context) =>
|
|
|
897
897
|
if (labelValue.length <= 0) {
|
|
898
898
|
throw new Error("Empty value provided for input HTTP label: controlSetId.");
|
|
899
899
|
}
|
|
900
|
-
resolvedPath = resolvedPath.replace("{controlSetId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
900
|
+
resolvedPath = resolvedPath.replace("{controlSetId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
901
901
|
}
|
|
902
902
|
else {
|
|
903
903
|
throw new Error("No value provided for input HTTP label: controlSetId.");
|
|
@@ -907,7 +907,7 @@ const serializeAws_restJson1GetEvidenceFolderCommand = async (input, context) =>
|
|
|
907
907
|
if (labelValue.length <= 0) {
|
|
908
908
|
throw new Error("Empty value provided for input HTTP label: evidenceFolderId.");
|
|
909
909
|
}
|
|
910
|
-
resolvedPath = resolvedPath.replace("{evidenceFolderId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
910
|
+
resolvedPath = resolvedPath.replace("{evidenceFolderId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
911
911
|
}
|
|
912
912
|
else {
|
|
913
913
|
throw new Error("No value provided for input HTTP label: evidenceFolderId.");
|
|
@@ -934,7 +934,7 @@ const serializeAws_restJson1GetEvidenceFoldersByAssessmentCommand = async (input
|
|
|
934
934
|
if (labelValue.length <= 0) {
|
|
935
935
|
throw new Error("Empty value provided for input HTTP label: assessmentId.");
|
|
936
936
|
}
|
|
937
|
-
resolvedPath = resolvedPath.replace("{assessmentId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
937
|
+
resolvedPath = resolvedPath.replace("{assessmentId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
938
938
|
}
|
|
939
939
|
else {
|
|
940
940
|
throw new Error("No value provided for input HTTP label: assessmentId.");
|
|
@@ -966,7 +966,7 @@ const serializeAws_restJson1GetEvidenceFoldersByAssessmentControlCommand = async
|
|
|
966
966
|
if (labelValue.length <= 0) {
|
|
967
967
|
throw new Error("Empty value provided for input HTTP label: assessmentId.");
|
|
968
968
|
}
|
|
969
|
-
resolvedPath = resolvedPath.replace("{assessmentId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
969
|
+
resolvedPath = resolvedPath.replace("{assessmentId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
970
970
|
}
|
|
971
971
|
else {
|
|
972
972
|
throw new Error("No value provided for input HTTP label: assessmentId.");
|
|
@@ -976,7 +976,7 @@ const serializeAws_restJson1GetEvidenceFoldersByAssessmentControlCommand = async
|
|
|
976
976
|
if (labelValue.length <= 0) {
|
|
977
977
|
throw new Error("Empty value provided for input HTTP label: controlSetId.");
|
|
978
978
|
}
|
|
979
|
-
resolvedPath = resolvedPath.replace("{controlSetId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
979
|
+
resolvedPath = resolvedPath.replace("{controlSetId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
980
980
|
}
|
|
981
981
|
else {
|
|
982
982
|
throw new Error("No value provided for input HTTP label: controlSetId.");
|
|
@@ -986,7 +986,7 @@ const serializeAws_restJson1GetEvidenceFoldersByAssessmentControlCommand = async
|
|
|
986
986
|
if (labelValue.length <= 0) {
|
|
987
987
|
throw new Error("Empty value provided for input HTTP label: controlId.");
|
|
988
988
|
}
|
|
989
|
-
resolvedPath = resolvedPath.replace("{controlId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
989
|
+
resolvedPath = resolvedPath.replace("{controlId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
990
990
|
}
|
|
991
991
|
else {
|
|
992
992
|
throw new Error("No value provided for input HTTP label: controlId.");
|
|
@@ -1036,7 +1036,7 @@ const serializeAws_restJson1GetInsightsByAssessmentCommand = async (input, conte
|
|
|
1036
1036
|
if (labelValue.length <= 0) {
|
|
1037
1037
|
throw new Error("Empty value provided for input HTTP label: assessmentId.");
|
|
1038
1038
|
}
|
|
1039
|
-
resolvedPath = resolvedPath.replace("{assessmentId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1039
|
+
resolvedPath = resolvedPath.replace("{assessmentId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1040
1040
|
}
|
|
1041
1041
|
else {
|
|
1042
1042
|
throw new Error("No value provided for input HTTP label: assessmentId.");
|
|
@@ -1100,7 +1100,7 @@ const serializeAws_restJson1GetSettingsCommand = async (input, context) => {
|
|
|
1100
1100
|
if (labelValue.length <= 0) {
|
|
1101
1101
|
throw new Error("Empty value provided for input HTTP label: attribute.");
|
|
1102
1102
|
}
|
|
1103
|
-
resolvedPath = resolvedPath.replace("{attribute}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1103
|
+
resolvedPath = resolvedPath.replace("{attribute}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1104
1104
|
}
|
|
1105
1105
|
else {
|
|
1106
1106
|
throw new Error("No value provided for input HTTP label: attribute.");
|
|
@@ -1366,7 +1366,7 @@ const serializeAws_restJson1ListTagsForResourceCommand = async (input, context)
|
|
|
1366
1366
|
if (labelValue.length <= 0) {
|
|
1367
1367
|
throw new Error("Empty value provided for input HTTP label: resourceArn.");
|
|
1368
1368
|
}
|
|
1369
|
-
resolvedPath = resolvedPath.replace("{resourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1369
|
+
resolvedPath = resolvedPath.replace("{resourceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1370
1370
|
}
|
|
1371
1371
|
else {
|
|
1372
1372
|
throw new Error("No value provided for input HTTP label: resourceArn.");
|
|
@@ -1440,7 +1440,7 @@ const serializeAws_restJson1StartAssessmentFrameworkShareCommand = async (input,
|
|
|
1440
1440
|
if (labelValue.length <= 0) {
|
|
1441
1441
|
throw new Error("Empty value provided for input HTTP label: frameworkId.");
|
|
1442
1442
|
}
|
|
1443
|
-
resolvedPath = resolvedPath.replace("{frameworkId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1443
|
+
resolvedPath = resolvedPath.replace("{frameworkId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1444
1444
|
}
|
|
1445
1445
|
else {
|
|
1446
1446
|
throw new Error("No value provided for input HTTP label: frameworkId.");
|
|
@@ -1475,7 +1475,7 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
|
|
|
1475
1475
|
if (labelValue.length <= 0) {
|
|
1476
1476
|
throw new Error("Empty value provided for input HTTP label: resourceArn.");
|
|
1477
1477
|
}
|
|
1478
|
-
resolvedPath = resolvedPath.replace("{resourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1478
|
+
resolvedPath = resolvedPath.replace("{resourceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1479
1479
|
}
|
|
1480
1480
|
else {
|
|
1481
1481
|
throw new Error("No value provided for input HTTP label: resourceArn.");
|
|
@@ -1504,7 +1504,7 @@ const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
|
|
|
1504
1504
|
if (labelValue.length <= 0) {
|
|
1505
1505
|
throw new Error("Empty value provided for input HTTP label: resourceArn.");
|
|
1506
1506
|
}
|
|
1507
|
-
resolvedPath = resolvedPath.replace("{resourceArn}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1507
|
+
resolvedPath = resolvedPath.replace("{resourceArn}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1508
1508
|
}
|
|
1509
1509
|
else {
|
|
1510
1510
|
throw new Error("No value provided for input HTTP label: resourceArn.");
|
|
@@ -1536,7 +1536,7 @@ const serializeAws_restJson1UpdateAssessmentCommand = async (input, context) =>
|
|
|
1536
1536
|
if (labelValue.length <= 0) {
|
|
1537
1537
|
throw new Error("Empty value provided for input HTTP label: assessmentId.");
|
|
1538
1538
|
}
|
|
1539
|
-
resolvedPath = resolvedPath.replace("{assessmentId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1539
|
+
resolvedPath = resolvedPath.replace("{assessmentId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1540
1540
|
}
|
|
1541
1541
|
else {
|
|
1542
1542
|
throw new Error("No value provided for input HTTP label: assessmentId.");
|
|
@@ -1579,7 +1579,7 @@ const serializeAws_restJson1UpdateAssessmentControlCommand = async (input, conte
|
|
|
1579
1579
|
if (labelValue.length <= 0) {
|
|
1580
1580
|
throw new Error("Empty value provided for input HTTP label: assessmentId.");
|
|
1581
1581
|
}
|
|
1582
|
-
resolvedPath = resolvedPath.replace("{assessmentId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1582
|
+
resolvedPath = resolvedPath.replace("{assessmentId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1583
1583
|
}
|
|
1584
1584
|
else {
|
|
1585
1585
|
throw new Error("No value provided for input HTTP label: assessmentId.");
|
|
@@ -1589,7 +1589,7 @@ const serializeAws_restJson1UpdateAssessmentControlCommand = async (input, conte
|
|
|
1589
1589
|
if (labelValue.length <= 0) {
|
|
1590
1590
|
throw new Error("Empty value provided for input HTTP label: controlSetId.");
|
|
1591
1591
|
}
|
|
1592
|
-
resolvedPath = resolvedPath.replace("{controlSetId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1592
|
+
resolvedPath = resolvedPath.replace("{controlSetId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1593
1593
|
}
|
|
1594
1594
|
else {
|
|
1595
1595
|
throw new Error("No value provided for input HTTP label: controlSetId.");
|
|
@@ -1599,7 +1599,7 @@ const serializeAws_restJson1UpdateAssessmentControlCommand = async (input, conte
|
|
|
1599
1599
|
if (labelValue.length <= 0) {
|
|
1600
1600
|
throw new Error("Empty value provided for input HTTP label: controlId.");
|
|
1601
1601
|
}
|
|
1602
|
-
resolvedPath = resolvedPath.replace("{controlId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1602
|
+
resolvedPath = resolvedPath.replace("{controlId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1603
1603
|
}
|
|
1604
1604
|
else {
|
|
1605
1605
|
throw new Error("No value provided for input HTTP label: controlId.");
|
|
@@ -1632,7 +1632,7 @@ const serializeAws_restJson1UpdateAssessmentControlSetStatusCommand = async (inp
|
|
|
1632
1632
|
if (labelValue.length <= 0) {
|
|
1633
1633
|
throw new Error("Empty value provided for input HTTP label: assessmentId.");
|
|
1634
1634
|
}
|
|
1635
|
-
resolvedPath = resolvedPath.replace("{assessmentId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1635
|
+
resolvedPath = resolvedPath.replace("{assessmentId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1636
1636
|
}
|
|
1637
1637
|
else {
|
|
1638
1638
|
throw new Error("No value provided for input HTTP label: assessmentId.");
|
|
@@ -1642,7 +1642,7 @@ const serializeAws_restJson1UpdateAssessmentControlSetStatusCommand = async (inp
|
|
|
1642
1642
|
if (labelValue.length <= 0) {
|
|
1643
1643
|
throw new Error("Empty value provided for input HTTP label: controlSetId.");
|
|
1644
1644
|
}
|
|
1645
|
-
resolvedPath = resolvedPath.replace("{controlSetId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1645
|
+
resolvedPath = resolvedPath.replace("{controlSetId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1646
1646
|
}
|
|
1647
1647
|
else {
|
|
1648
1648
|
throw new Error("No value provided for input HTTP label: controlSetId.");
|
|
@@ -1674,7 +1674,7 @@ const serializeAws_restJson1UpdateAssessmentFrameworkCommand = async (input, con
|
|
|
1674
1674
|
if (labelValue.length <= 0) {
|
|
1675
1675
|
throw new Error("Empty value provided for input HTTP label: frameworkId.");
|
|
1676
1676
|
}
|
|
1677
|
-
resolvedPath = resolvedPath.replace("{frameworkId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1677
|
+
resolvedPath = resolvedPath.replace("{frameworkId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1678
1678
|
}
|
|
1679
1679
|
else {
|
|
1680
1680
|
throw new Error("No value provided for input HTTP label: frameworkId.");
|
|
@@ -1713,7 +1713,7 @@ const serializeAws_restJson1UpdateAssessmentFrameworkShareCommand = async (input
|
|
|
1713
1713
|
if (labelValue.length <= 0) {
|
|
1714
1714
|
throw new Error("Empty value provided for input HTTP label: requestId.");
|
|
1715
1715
|
}
|
|
1716
|
-
resolvedPath = resolvedPath.replace("{requestId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1716
|
+
resolvedPath = resolvedPath.replace("{requestId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1717
1717
|
}
|
|
1718
1718
|
else {
|
|
1719
1719
|
throw new Error("No value provided for input HTTP label: requestId.");
|
|
@@ -1745,7 +1745,7 @@ const serializeAws_restJson1UpdateAssessmentStatusCommand = async (input, contex
|
|
|
1745
1745
|
if (labelValue.length <= 0) {
|
|
1746
1746
|
throw new Error("Empty value provided for input HTTP label: assessmentId.");
|
|
1747
1747
|
}
|
|
1748
|
-
resolvedPath = resolvedPath.replace("{assessmentId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1748
|
+
resolvedPath = resolvedPath.replace("{assessmentId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1749
1749
|
}
|
|
1750
1750
|
else {
|
|
1751
1751
|
throw new Error("No value provided for input HTTP label: assessmentId.");
|
|
@@ -1776,7 +1776,7 @@ const serializeAws_restJson1UpdateControlCommand = async (input, context) => {
|
|
|
1776
1776
|
if (labelValue.length <= 0) {
|
|
1777
1777
|
throw new Error("Empty value provided for input HTTP label: controlId.");
|
|
1778
1778
|
}
|
|
1779
|
-
resolvedPath = resolvedPath.replace("{controlId}", smithy_client_1.extendedEncodeURIComponent(labelValue));
|
|
1779
|
+
resolvedPath = resolvedPath.replace("{controlId}", (0, smithy_client_1.extendedEncodeURIComponent)(labelValue));
|
|
1780
1780
|
}
|
|
1781
1781
|
else {
|
|
1782
1782
|
throw new Error("No value provided for input HTTP label: controlId.");
|
|
@@ -1898,7 +1898,7 @@ const deserializeAws_restJson1AssociateAssessmentReportEvidenceFolderCommandErro
|
|
|
1898
1898
|
$fault: "client",
|
|
1899
1899
|
$metadata: deserializeMetadata(output),
|
|
1900
1900
|
});
|
|
1901
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1901
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1902
1902
|
}
|
|
1903
1903
|
};
|
|
1904
1904
|
const deserializeAws_restJson1BatchAssociateAssessmentReportEvidenceCommand = async (output, context) => {
|
|
@@ -1910,7 +1910,7 @@ const deserializeAws_restJson1BatchAssociateAssessmentReportEvidenceCommand = as
|
|
|
1910
1910
|
errors: undefined,
|
|
1911
1911
|
evidenceIds: undefined,
|
|
1912
1912
|
};
|
|
1913
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1913
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1914
1914
|
if (data.errors !== undefined && data.errors !== null) {
|
|
1915
1915
|
contents.errors = deserializeAws_restJson1AssessmentReportEvidenceErrors(data.errors, context);
|
|
1916
1916
|
}
|
|
@@ -1948,7 +1948,7 @@ const deserializeAws_restJson1BatchAssociateAssessmentReportEvidenceCommandError
|
|
|
1948
1948
|
$fault: "client",
|
|
1949
1949
|
$metadata: deserializeMetadata(output),
|
|
1950
1950
|
});
|
|
1951
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
1951
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
1952
1952
|
}
|
|
1953
1953
|
};
|
|
1954
1954
|
const deserializeAws_restJson1BatchCreateDelegationByAssessmentCommand = async (output, context) => {
|
|
@@ -1960,7 +1960,7 @@ const deserializeAws_restJson1BatchCreateDelegationByAssessmentCommand = async (
|
|
|
1960
1960
|
delegations: undefined,
|
|
1961
1961
|
errors: undefined,
|
|
1962
1962
|
};
|
|
1963
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
1963
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
1964
1964
|
if (data.delegations !== undefined && data.delegations !== null) {
|
|
1965
1965
|
contents.delegations = deserializeAws_restJson1Delegations(data.delegations, context);
|
|
1966
1966
|
}
|
|
@@ -1998,7 +1998,7 @@ const deserializeAws_restJson1BatchCreateDelegationByAssessmentCommandError = as
|
|
|
1998
1998
|
$fault: "client",
|
|
1999
1999
|
$metadata: deserializeMetadata(output),
|
|
2000
2000
|
});
|
|
2001
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2001
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2002
2002
|
}
|
|
2003
2003
|
};
|
|
2004
2004
|
const deserializeAws_restJson1BatchDeleteDelegationByAssessmentCommand = async (output, context) => {
|
|
@@ -2009,7 +2009,7 @@ const deserializeAws_restJson1BatchDeleteDelegationByAssessmentCommand = async (
|
|
|
2009
2009
|
$metadata: deserializeMetadata(output),
|
|
2010
2010
|
errors: undefined,
|
|
2011
2011
|
};
|
|
2012
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2012
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2013
2013
|
if (data.errors !== undefined && data.errors !== null) {
|
|
2014
2014
|
contents.errors = deserializeAws_restJson1BatchDeleteDelegationByAssessmentErrors(data.errors, context);
|
|
2015
2015
|
}
|
|
@@ -2044,7 +2044,7 @@ const deserializeAws_restJson1BatchDeleteDelegationByAssessmentCommandError = as
|
|
|
2044
2044
|
$fault: "client",
|
|
2045
2045
|
$metadata: deserializeMetadata(output),
|
|
2046
2046
|
});
|
|
2047
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2047
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2048
2048
|
}
|
|
2049
2049
|
};
|
|
2050
2050
|
const deserializeAws_restJson1BatchDisassociateAssessmentReportEvidenceCommand = async (output, context) => {
|
|
@@ -2056,7 +2056,7 @@ const deserializeAws_restJson1BatchDisassociateAssessmentReportEvidenceCommand =
|
|
|
2056
2056
|
errors: undefined,
|
|
2057
2057
|
evidenceIds: undefined,
|
|
2058
2058
|
};
|
|
2059
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2059
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2060
2060
|
if (data.errors !== undefined && data.errors !== null) {
|
|
2061
2061
|
contents.errors = deserializeAws_restJson1AssessmentReportEvidenceErrors(data.errors, context);
|
|
2062
2062
|
}
|
|
@@ -2094,7 +2094,7 @@ const deserializeAws_restJson1BatchDisassociateAssessmentReportEvidenceCommandEr
|
|
|
2094
2094
|
$fault: "client",
|
|
2095
2095
|
$metadata: deserializeMetadata(output),
|
|
2096
2096
|
});
|
|
2097
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2097
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2098
2098
|
}
|
|
2099
2099
|
};
|
|
2100
2100
|
const deserializeAws_restJson1BatchImportEvidenceToAssessmentControlCommand = async (output, context) => {
|
|
@@ -2105,7 +2105,7 @@ const deserializeAws_restJson1BatchImportEvidenceToAssessmentControlCommand = as
|
|
|
2105
2105
|
$metadata: deserializeMetadata(output),
|
|
2106
2106
|
errors: undefined,
|
|
2107
2107
|
};
|
|
2108
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2108
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2109
2109
|
if (data.errors !== undefined && data.errors !== null) {
|
|
2110
2110
|
contents.errors = deserializeAws_restJson1BatchImportEvidenceToAssessmentControlErrors(data.errors, context);
|
|
2111
2111
|
}
|
|
@@ -2140,7 +2140,7 @@ const deserializeAws_restJson1BatchImportEvidenceToAssessmentControlCommandError
|
|
|
2140
2140
|
$fault: "client",
|
|
2141
2141
|
$metadata: deserializeMetadata(output),
|
|
2142
2142
|
});
|
|
2143
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2143
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2144
2144
|
}
|
|
2145
2145
|
};
|
|
2146
2146
|
const deserializeAws_restJson1CreateAssessmentCommand = async (output, context) => {
|
|
@@ -2151,7 +2151,7 @@ const deserializeAws_restJson1CreateAssessmentCommand = async (output, context)
|
|
|
2151
2151
|
$metadata: deserializeMetadata(output),
|
|
2152
2152
|
assessment: undefined,
|
|
2153
2153
|
};
|
|
2154
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2154
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2155
2155
|
if (data.assessment !== undefined && data.assessment !== null) {
|
|
2156
2156
|
contents.assessment = deserializeAws_restJson1Assessment(data.assessment, context);
|
|
2157
2157
|
}
|
|
@@ -2186,7 +2186,7 @@ const deserializeAws_restJson1CreateAssessmentCommandError = async (output, cont
|
|
|
2186
2186
|
$fault: "client",
|
|
2187
2187
|
$metadata: deserializeMetadata(output),
|
|
2188
2188
|
});
|
|
2189
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2189
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2190
2190
|
}
|
|
2191
2191
|
};
|
|
2192
2192
|
const deserializeAws_restJson1CreateAssessmentFrameworkCommand = async (output, context) => {
|
|
@@ -2197,7 +2197,7 @@ const deserializeAws_restJson1CreateAssessmentFrameworkCommand = async (output,
|
|
|
2197
2197
|
$metadata: deserializeMetadata(output),
|
|
2198
2198
|
framework: undefined,
|
|
2199
2199
|
};
|
|
2200
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2200
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2201
2201
|
if (data.framework !== undefined && data.framework !== null) {
|
|
2202
2202
|
contents.framework = deserializeAws_restJson1Framework(data.framework, context);
|
|
2203
2203
|
}
|
|
@@ -2232,7 +2232,7 @@ const deserializeAws_restJson1CreateAssessmentFrameworkCommandError = async (out
|
|
|
2232
2232
|
$fault: "client",
|
|
2233
2233
|
$metadata: deserializeMetadata(output),
|
|
2234
2234
|
});
|
|
2235
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2235
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2236
2236
|
}
|
|
2237
2237
|
};
|
|
2238
2238
|
const deserializeAws_restJson1CreateAssessmentReportCommand = async (output, context) => {
|
|
@@ -2243,7 +2243,7 @@ const deserializeAws_restJson1CreateAssessmentReportCommand = async (output, con
|
|
|
2243
2243
|
$metadata: deserializeMetadata(output),
|
|
2244
2244
|
assessmentReport: undefined,
|
|
2245
2245
|
};
|
|
2246
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2246
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2247
2247
|
if (data.assessmentReport !== undefined && data.assessmentReport !== null) {
|
|
2248
2248
|
contents.assessmentReport = deserializeAws_restJson1AssessmentReport(data.assessmentReport, context);
|
|
2249
2249
|
}
|
|
@@ -2278,7 +2278,7 @@ const deserializeAws_restJson1CreateAssessmentReportCommandError = async (output
|
|
|
2278
2278
|
$fault: "client",
|
|
2279
2279
|
$metadata: deserializeMetadata(output),
|
|
2280
2280
|
});
|
|
2281
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2281
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2282
2282
|
}
|
|
2283
2283
|
};
|
|
2284
2284
|
const deserializeAws_restJson1CreateControlCommand = async (output, context) => {
|
|
@@ -2289,7 +2289,7 @@ const deserializeAws_restJson1CreateControlCommand = async (output, context) =>
|
|
|
2289
2289
|
$metadata: deserializeMetadata(output),
|
|
2290
2290
|
control: undefined,
|
|
2291
2291
|
};
|
|
2292
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2292
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2293
2293
|
if (data.control !== undefined && data.control !== null) {
|
|
2294
2294
|
contents.control = deserializeAws_restJson1Control(data.control, context);
|
|
2295
2295
|
}
|
|
@@ -2324,7 +2324,7 @@ const deserializeAws_restJson1CreateControlCommandError = async (output, context
|
|
|
2324
2324
|
$fault: "client",
|
|
2325
2325
|
$metadata: deserializeMetadata(output),
|
|
2326
2326
|
});
|
|
2327
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2327
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2328
2328
|
}
|
|
2329
2329
|
};
|
|
2330
2330
|
const deserializeAws_restJson1DeleteAssessmentCommand = async (output, context) => {
|
|
@@ -2366,7 +2366,7 @@ const deserializeAws_restJson1DeleteAssessmentCommandError = async (output, cont
|
|
|
2366
2366
|
$fault: "client",
|
|
2367
2367
|
$metadata: deserializeMetadata(output),
|
|
2368
2368
|
});
|
|
2369
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2369
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2370
2370
|
}
|
|
2371
2371
|
};
|
|
2372
2372
|
const deserializeAws_restJson1DeleteAssessmentFrameworkCommand = async (output, context) => {
|
|
@@ -2408,7 +2408,7 @@ const deserializeAws_restJson1DeleteAssessmentFrameworkCommandError = async (out
|
|
|
2408
2408
|
$fault: "client",
|
|
2409
2409
|
$metadata: deserializeMetadata(output),
|
|
2410
2410
|
});
|
|
2411
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2411
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2412
2412
|
}
|
|
2413
2413
|
};
|
|
2414
2414
|
const deserializeAws_restJson1DeleteAssessmentFrameworkShareCommand = async (output, context) => {
|
|
@@ -2450,7 +2450,7 @@ const deserializeAws_restJson1DeleteAssessmentFrameworkShareCommandError = async
|
|
|
2450
2450
|
$fault: "client",
|
|
2451
2451
|
$metadata: deserializeMetadata(output),
|
|
2452
2452
|
});
|
|
2453
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2453
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2454
2454
|
}
|
|
2455
2455
|
};
|
|
2456
2456
|
const deserializeAws_restJson1DeleteAssessmentReportCommand = async (output, context) => {
|
|
@@ -2492,7 +2492,7 @@ const deserializeAws_restJson1DeleteAssessmentReportCommandError = async (output
|
|
|
2492
2492
|
$fault: "client",
|
|
2493
2493
|
$metadata: deserializeMetadata(output),
|
|
2494
2494
|
});
|
|
2495
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2495
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2496
2496
|
}
|
|
2497
2497
|
};
|
|
2498
2498
|
const deserializeAws_restJson1DeleteControlCommand = async (output, context) => {
|
|
@@ -2534,7 +2534,7 @@ const deserializeAws_restJson1DeleteControlCommandError = async (output, context
|
|
|
2534
2534
|
$fault: "client",
|
|
2535
2535
|
$metadata: deserializeMetadata(output),
|
|
2536
2536
|
});
|
|
2537
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2537
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2538
2538
|
}
|
|
2539
2539
|
};
|
|
2540
2540
|
const deserializeAws_restJson1DeregisterAccountCommand = async (output, context) => {
|
|
@@ -2545,9 +2545,9 @@ const deserializeAws_restJson1DeregisterAccountCommand = async (output, context)
|
|
|
2545
2545
|
$metadata: deserializeMetadata(output),
|
|
2546
2546
|
status: undefined,
|
|
2547
2547
|
};
|
|
2548
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2548
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2549
2549
|
if (data.status !== undefined && data.status !== null) {
|
|
2550
|
-
contents.status = smithy_client_1.expectString(data.status);
|
|
2550
|
+
contents.status = (0, smithy_client_1.expectString)(data.status);
|
|
2551
2551
|
}
|
|
2552
2552
|
return Promise.resolve(contents);
|
|
2553
2553
|
};
|
|
@@ -2580,7 +2580,7 @@ const deserializeAws_restJson1DeregisterAccountCommandError = async (output, con
|
|
|
2580
2580
|
$fault: "client",
|
|
2581
2581
|
$metadata: deserializeMetadata(output),
|
|
2582
2582
|
});
|
|
2583
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2583
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2584
2584
|
}
|
|
2585
2585
|
};
|
|
2586
2586
|
const deserializeAws_restJson1DeregisterOrganizationAdminAccountCommand = async (output, context) => {
|
|
@@ -2622,7 +2622,7 @@ const deserializeAws_restJson1DeregisterOrganizationAdminAccountCommandError = a
|
|
|
2622
2622
|
$fault: "client",
|
|
2623
2623
|
$metadata: deserializeMetadata(output),
|
|
2624
2624
|
});
|
|
2625
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2625
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2626
2626
|
}
|
|
2627
2627
|
};
|
|
2628
2628
|
const deserializeAws_restJson1DisassociateAssessmentReportEvidenceFolderCommand = async (output, context) => {
|
|
@@ -2664,7 +2664,7 @@ const deserializeAws_restJson1DisassociateAssessmentReportEvidenceFolderCommandE
|
|
|
2664
2664
|
$fault: "client",
|
|
2665
2665
|
$metadata: deserializeMetadata(output),
|
|
2666
2666
|
});
|
|
2667
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2667
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2668
2668
|
}
|
|
2669
2669
|
};
|
|
2670
2670
|
const deserializeAws_restJson1GetAccountStatusCommand = async (output, context) => {
|
|
@@ -2675,9 +2675,9 @@ const deserializeAws_restJson1GetAccountStatusCommand = async (output, context)
|
|
|
2675
2675
|
$metadata: deserializeMetadata(output),
|
|
2676
2676
|
status: undefined,
|
|
2677
2677
|
};
|
|
2678
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2678
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2679
2679
|
if (data.status !== undefined && data.status !== null) {
|
|
2680
|
-
contents.status = smithy_client_1.expectString(data.status);
|
|
2680
|
+
contents.status = (0, smithy_client_1.expectString)(data.status);
|
|
2681
2681
|
}
|
|
2682
2682
|
return Promise.resolve(contents);
|
|
2683
2683
|
};
|
|
@@ -2701,7 +2701,7 @@ const deserializeAws_restJson1GetAccountStatusCommandError = async (output, cont
|
|
|
2701
2701
|
$fault: "client",
|
|
2702
2702
|
$metadata: deserializeMetadata(output),
|
|
2703
2703
|
});
|
|
2704
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2704
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2705
2705
|
}
|
|
2706
2706
|
};
|
|
2707
2707
|
const deserializeAws_restJson1GetAssessmentCommand = async (output, context) => {
|
|
@@ -2713,7 +2713,7 @@ const deserializeAws_restJson1GetAssessmentCommand = async (output, context) =>
|
|
|
2713
2713
|
assessment: undefined,
|
|
2714
2714
|
userRole: undefined,
|
|
2715
2715
|
};
|
|
2716
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2716
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2717
2717
|
if (data.assessment !== undefined && data.assessment !== null) {
|
|
2718
2718
|
contents.assessment = deserializeAws_restJson1Assessment(data.assessment, context);
|
|
2719
2719
|
}
|
|
@@ -2751,7 +2751,7 @@ const deserializeAws_restJson1GetAssessmentCommandError = async (output, context
|
|
|
2751
2751
|
$fault: "client",
|
|
2752
2752
|
$metadata: deserializeMetadata(output),
|
|
2753
2753
|
});
|
|
2754
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2754
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2755
2755
|
}
|
|
2756
2756
|
};
|
|
2757
2757
|
const deserializeAws_restJson1GetAssessmentFrameworkCommand = async (output, context) => {
|
|
@@ -2762,7 +2762,7 @@ const deserializeAws_restJson1GetAssessmentFrameworkCommand = async (output, con
|
|
|
2762
2762
|
$metadata: deserializeMetadata(output),
|
|
2763
2763
|
framework: undefined,
|
|
2764
2764
|
};
|
|
2765
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2765
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2766
2766
|
if (data.framework !== undefined && data.framework !== null) {
|
|
2767
2767
|
contents.framework = deserializeAws_restJson1Framework(data.framework, context);
|
|
2768
2768
|
}
|
|
@@ -2797,7 +2797,7 @@ const deserializeAws_restJson1GetAssessmentFrameworkCommandError = async (output
|
|
|
2797
2797
|
$fault: "client",
|
|
2798
2798
|
$metadata: deserializeMetadata(output),
|
|
2799
2799
|
});
|
|
2800
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2800
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2801
2801
|
}
|
|
2802
2802
|
};
|
|
2803
2803
|
const deserializeAws_restJson1GetAssessmentReportUrlCommand = async (output, context) => {
|
|
@@ -2808,7 +2808,7 @@ const deserializeAws_restJson1GetAssessmentReportUrlCommand = async (output, con
|
|
|
2808
2808
|
$metadata: deserializeMetadata(output),
|
|
2809
2809
|
preSignedUrl: undefined,
|
|
2810
2810
|
};
|
|
2811
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2811
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2812
2812
|
if (data.preSignedUrl !== undefined && data.preSignedUrl !== null) {
|
|
2813
2813
|
contents.preSignedUrl = deserializeAws_restJson1URL(data.preSignedUrl, context);
|
|
2814
2814
|
}
|
|
@@ -2843,7 +2843,7 @@ const deserializeAws_restJson1GetAssessmentReportUrlCommandError = async (output
|
|
|
2843
2843
|
$fault: "client",
|
|
2844
2844
|
$metadata: deserializeMetadata(output),
|
|
2845
2845
|
});
|
|
2846
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2846
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2847
2847
|
}
|
|
2848
2848
|
};
|
|
2849
2849
|
const deserializeAws_restJson1GetChangeLogsCommand = async (output, context) => {
|
|
@@ -2855,12 +2855,12 @@ const deserializeAws_restJson1GetChangeLogsCommand = async (output, context) =>
|
|
|
2855
2855
|
changeLogs: undefined,
|
|
2856
2856
|
nextToken: undefined,
|
|
2857
2857
|
};
|
|
2858
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2858
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2859
2859
|
if (data.changeLogs !== undefined && data.changeLogs !== null) {
|
|
2860
2860
|
contents.changeLogs = deserializeAws_restJson1ChangeLogs(data.changeLogs, context);
|
|
2861
2861
|
}
|
|
2862
2862
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
2863
|
-
contents.nextToken = smithy_client_1.expectString(data.nextToken);
|
|
2863
|
+
contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
2864
2864
|
}
|
|
2865
2865
|
return Promise.resolve(contents);
|
|
2866
2866
|
};
|
|
@@ -2893,7 +2893,7 @@ const deserializeAws_restJson1GetChangeLogsCommandError = async (output, context
|
|
|
2893
2893
|
$fault: "client",
|
|
2894
2894
|
$metadata: deserializeMetadata(output),
|
|
2895
2895
|
});
|
|
2896
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2896
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2897
2897
|
}
|
|
2898
2898
|
};
|
|
2899
2899
|
const deserializeAws_restJson1GetControlCommand = async (output, context) => {
|
|
@@ -2904,7 +2904,7 @@ const deserializeAws_restJson1GetControlCommand = async (output, context) => {
|
|
|
2904
2904
|
$metadata: deserializeMetadata(output),
|
|
2905
2905
|
control: undefined,
|
|
2906
2906
|
};
|
|
2907
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2907
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2908
2908
|
if (data.control !== undefined && data.control !== null) {
|
|
2909
2909
|
contents.control = deserializeAws_restJson1Control(data.control, context);
|
|
2910
2910
|
}
|
|
@@ -2939,7 +2939,7 @@ const deserializeAws_restJson1GetControlCommandError = async (output, context) =
|
|
|
2939
2939
|
$fault: "client",
|
|
2940
2940
|
$metadata: deserializeMetadata(output),
|
|
2941
2941
|
});
|
|
2942
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2942
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2943
2943
|
}
|
|
2944
2944
|
};
|
|
2945
2945
|
const deserializeAws_restJson1GetDelegationsCommand = async (output, context) => {
|
|
@@ -2951,12 +2951,12 @@ const deserializeAws_restJson1GetDelegationsCommand = async (output, context) =>
|
|
|
2951
2951
|
delegations: undefined,
|
|
2952
2952
|
nextToken: undefined,
|
|
2953
2953
|
};
|
|
2954
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
2954
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
2955
2955
|
if (data.delegations !== undefined && data.delegations !== null) {
|
|
2956
2956
|
contents.delegations = deserializeAws_restJson1DelegationMetadataList(data.delegations, context);
|
|
2957
2957
|
}
|
|
2958
2958
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
2959
|
-
contents.nextToken = smithy_client_1.expectString(data.nextToken);
|
|
2959
|
+
contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
2960
2960
|
}
|
|
2961
2961
|
return Promise.resolve(contents);
|
|
2962
2962
|
};
|
|
@@ -2986,7 +2986,7 @@ const deserializeAws_restJson1GetDelegationsCommandError = async (output, contex
|
|
|
2986
2986
|
$fault: "client",
|
|
2987
2987
|
$metadata: deserializeMetadata(output),
|
|
2988
2988
|
});
|
|
2989
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
2989
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
2990
2990
|
}
|
|
2991
2991
|
};
|
|
2992
2992
|
const deserializeAws_restJson1GetEvidenceCommand = async (output, context) => {
|
|
@@ -2997,7 +2997,7 @@ const deserializeAws_restJson1GetEvidenceCommand = async (output, context) => {
|
|
|
2997
2997
|
$metadata: deserializeMetadata(output),
|
|
2998
2998
|
evidence: undefined,
|
|
2999
2999
|
};
|
|
3000
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3000
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3001
3001
|
if (data.evidence !== undefined && data.evidence !== null) {
|
|
3002
3002
|
contents.evidence = deserializeAws_restJson1Evidence(data.evidence, context);
|
|
3003
3003
|
}
|
|
@@ -3032,7 +3032,7 @@ const deserializeAws_restJson1GetEvidenceCommandError = async (output, context)
|
|
|
3032
3032
|
$fault: "client",
|
|
3033
3033
|
$metadata: deserializeMetadata(output),
|
|
3034
3034
|
});
|
|
3035
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3035
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3036
3036
|
}
|
|
3037
3037
|
};
|
|
3038
3038
|
const deserializeAws_restJson1GetEvidenceByEvidenceFolderCommand = async (output, context) => {
|
|
@@ -3044,12 +3044,12 @@ const deserializeAws_restJson1GetEvidenceByEvidenceFolderCommand = async (output
|
|
|
3044
3044
|
evidence: undefined,
|
|
3045
3045
|
nextToken: undefined,
|
|
3046
3046
|
};
|
|
3047
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3047
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3048
3048
|
if (data.evidence !== undefined && data.evidence !== null) {
|
|
3049
3049
|
contents.evidence = deserializeAws_restJson1EvidenceList(data.evidence, context);
|
|
3050
3050
|
}
|
|
3051
3051
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
3052
|
-
contents.nextToken = smithy_client_1.expectString(data.nextToken);
|
|
3052
|
+
contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
3053
3053
|
}
|
|
3054
3054
|
return Promise.resolve(contents);
|
|
3055
3055
|
};
|
|
@@ -3082,7 +3082,7 @@ const deserializeAws_restJson1GetEvidenceByEvidenceFolderCommandError = async (o
|
|
|
3082
3082
|
$fault: "client",
|
|
3083
3083
|
$metadata: deserializeMetadata(output),
|
|
3084
3084
|
});
|
|
3085
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3085
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3086
3086
|
}
|
|
3087
3087
|
};
|
|
3088
3088
|
const deserializeAws_restJson1GetEvidenceFolderCommand = async (output, context) => {
|
|
@@ -3093,7 +3093,7 @@ const deserializeAws_restJson1GetEvidenceFolderCommand = async (output, context)
|
|
|
3093
3093
|
$metadata: deserializeMetadata(output),
|
|
3094
3094
|
evidenceFolder: undefined,
|
|
3095
3095
|
};
|
|
3096
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3096
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3097
3097
|
if (data.evidenceFolder !== undefined && data.evidenceFolder !== null) {
|
|
3098
3098
|
contents.evidenceFolder = deserializeAws_restJson1AssessmentEvidenceFolder(data.evidenceFolder, context);
|
|
3099
3099
|
}
|
|
@@ -3128,7 +3128,7 @@ const deserializeAws_restJson1GetEvidenceFolderCommandError = async (output, con
|
|
|
3128
3128
|
$fault: "client",
|
|
3129
3129
|
$metadata: deserializeMetadata(output),
|
|
3130
3130
|
});
|
|
3131
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3131
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3132
3132
|
}
|
|
3133
3133
|
};
|
|
3134
3134
|
const deserializeAws_restJson1GetEvidenceFoldersByAssessmentCommand = async (output, context) => {
|
|
@@ -3140,12 +3140,12 @@ const deserializeAws_restJson1GetEvidenceFoldersByAssessmentCommand = async (out
|
|
|
3140
3140
|
evidenceFolders: undefined,
|
|
3141
3141
|
nextToken: undefined,
|
|
3142
3142
|
};
|
|
3143
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3143
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3144
3144
|
if (data.evidenceFolders !== undefined && data.evidenceFolders !== null) {
|
|
3145
3145
|
contents.evidenceFolders = deserializeAws_restJson1AssessmentEvidenceFolders(data.evidenceFolders, context);
|
|
3146
3146
|
}
|
|
3147
3147
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
3148
|
-
contents.nextToken = smithy_client_1.expectString(data.nextToken);
|
|
3148
|
+
contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
3149
3149
|
}
|
|
3150
3150
|
return Promise.resolve(contents);
|
|
3151
3151
|
};
|
|
@@ -3178,7 +3178,7 @@ const deserializeAws_restJson1GetEvidenceFoldersByAssessmentCommandError = async
|
|
|
3178
3178
|
$fault: "client",
|
|
3179
3179
|
$metadata: deserializeMetadata(output),
|
|
3180
3180
|
});
|
|
3181
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3181
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3182
3182
|
}
|
|
3183
3183
|
};
|
|
3184
3184
|
const deserializeAws_restJson1GetEvidenceFoldersByAssessmentControlCommand = async (output, context) => {
|
|
@@ -3190,12 +3190,12 @@ const deserializeAws_restJson1GetEvidenceFoldersByAssessmentControlCommand = asy
|
|
|
3190
3190
|
evidenceFolders: undefined,
|
|
3191
3191
|
nextToken: undefined,
|
|
3192
3192
|
};
|
|
3193
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3193
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3194
3194
|
if (data.evidenceFolders !== undefined && data.evidenceFolders !== null) {
|
|
3195
3195
|
contents.evidenceFolders = deserializeAws_restJson1AssessmentEvidenceFolders(data.evidenceFolders, context);
|
|
3196
3196
|
}
|
|
3197
3197
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
3198
|
-
contents.nextToken = smithy_client_1.expectString(data.nextToken);
|
|
3198
|
+
contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
3199
3199
|
}
|
|
3200
3200
|
return Promise.resolve(contents);
|
|
3201
3201
|
};
|
|
@@ -3228,7 +3228,7 @@ const deserializeAws_restJson1GetEvidenceFoldersByAssessmentControlCommandError
|
|
|
3228
3228
|
$fault: "client",
|
|
3229
3229
|
$metadata: deserializeMetadata(output),
|
|
3230
3230
|
});
|
|
3231
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3231
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3232
3232
|
}
|
|
3233
3233
|
};
|
|
3234
3234
|
const deserializeAws_restJson1GetInsightsCommand = async (output, context) => {
|
|
@@ -3239,7 +3239,7 @@ const deserializeAws_restJson1GetInsightsCommand = async (output, context) => {
|
|
|
3239
3239
|
$metadata: deserializeMetadata(output),
|
|
3240
3240
|
insights: undefined,
|
|
3241
3241
|
};
|
|
3242
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3242
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3243
3243
|
if (data.insights !== undefined && data.insights !== null) {
|
|
3244
3244
|
contents.insights = deserializeAws_restJson1Insights(data.insights, context);
|
|
3245
3245
|
}
|
|
@@ -3268,7 +3268,7 @@ const deserializeAws_restJson1GetInsightsCommandError = async (output, context)
|
|
|
3268
3268
|
$fault: "client",
|
|
3269
3269
|
$metadata: deserializeMetadata(output),
|
|
3270
3270
|
});
|
|
3271
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3271
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3272
3272
|
}
|
|
3273
3273
|
};
|
|
3274
3274
|
const deserializeAws_restJson1GetInsightsByAssessmentCommand = async (output, context) => {
|
|
@@ -3279,7 +3279,7 @@ const deserializeAws_restJson1GetInsightsByAssessmentCommand = async (output, co
|
|
|
3279
3279
|
$metadata: deserializeMetadata(output),
|
|
3280
3280
|
insights: undefined,
|
|
3281
3281
|
};
|
|
3282
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3282
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3283
3283
|
if (data.insights !== undefined && data.insights !== null) {
|
|
3284
3284
|
contents.insights = deserializeAws_restJson1InsightsByAssessment(data.insights, context);
|
|
3285
3285
|
}
|
|
@@ -3314,7 +3314,7 @@ const deserializeAws_restJson1GetInsightsByAssessmentCommandError = async (outpu
|
|
|
3314
3314
|
$fault: "client",
|
|
3315
3315
|
$metadata: deserializeMetadata(output),
|
|
3316
3316
|
});
|
|
3317
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3317
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3318
3318
|
}
|
|
3319
3319
|
};
|
|
3320
3320
|
const deserializeAws_restJson1GetOrganizationAdminAccountCommand = async (output, context) => {
|
|
@@ -3326,12 +3326,12 @@ const deserializeAws_restJson1GetOrganizationAdminAccountCommand = async (output
|
|
|
3326
3326
|
adminAccountId: undefined,
|
|
3327
3327
|
organizationId: undefined,
|
|
3328
3328
|
};
|
|
3329
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3329
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3330
3330
|
if (data.adminAccountId !== undefined && data.adminAccountId !== null) {
|
|
3331
|
-
contents.adminAccountId = smithy_client_1.expectString(data.adminAccountId);
|
|
3331
|
+
contents.adminAccountId = (0, smithy_client_1.expectString)(data.adminAccountId);
|
|
3332
3332
|
}
|
|
3333
3333
|
if (data.organizationId !== undefined && data.organizationId !== null) {
|
|
3334
|
-
contents.organizationId = smithy_client_1.expectString(data.organizationId);
|
|
3334
|
+
contents.organizationId = (0, smithy_client_1.expectString)(data.organizationId);
|
|
3335
3335
|
}
|
|
3336
3336
|
return Promise.resolve(contents);
|
|
3337
3337
|
};
|
|
@@ -3364,7 +3364,7 @@ const deserializeAws_restJson1GetOrganizationAdminAccountCommandError = async (o
|
|
|
3364
3364
|
$fault: "client",
|
|
3365
3365
|
$metadata: deserializeMetadata(output),
|
|
3366
3366
|
});
|
|
3367
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3367
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3368
3368
|
}
|
|
3369
3369
|
};
|
|
3370
3370
|
const deserializeAws_restJson1GetServicesInScopeCommand = async (output, context) => {
|
|
@@ -3375,7 +3375,7 @@ const deserializeAws_restJson1GetServicesInScopeCommand = async (output, context
|
|
|
3375
3375
|
$metadata: deserializeMetadata(output),
|
|
3376
3376
|
serviceMetadata: undefined,
|
|
3377
3377
|
};
|
|
3378
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3378
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3379
3379
|
if (data.serviceMetadata !== undefined && data.serviceMetadata !== null) {
|
|
3380
3380
|
contents.serviceMetadata = deserializeAws_restJson1ServiceMetadataList(data.serviceMetadata, context);
|
|
3381
3381
|
}
|
|
@@ -3407,7 +3407,7 @@ const deserializeAws_restJson1GetServicesInScopeCommandError = async (output, co
|
|
|
3407
3407
|
$fault: "client",
|
|
3408
3408
|
$metadata: deserializeMetadata(output),
|
|
3409
3409
|
});
|
|
3410
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3410
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3411
3411
|
}
|
|
3412
3412
|
};
|
|
3413
3413
|
const deserializeAws_restJson1GetSettingsCommand = async (output, context) => {
|
|
@@ -3418,7 +3418,7 @@ const deserializeAws_restJson1GetSettingsCommand = async (output, context) => {
|
|
|
3418
3418
|
$metadata: deserializeMetadata(output),
|
|
3419
3419
|
settings: undefined,
|
|
3420
3420
|
};
|
|
3421
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3421
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3422
3422
|
if (data.settings !== undefined && data.settings !== null) {
|
|
3423
3423
|
contents.settings = deserializeAws_restJson1Settings(data.settings, context);
|
|
3424
3424
|
}
|
|
@@ -3447,7 +3447,7 @@ const deserializeAws_restJson1GetSettingsCommandError = async (output, context)
|
|
|
3447
3447
|
$fault: "client",
|
|
3448
3448
|
$metadata: deserializeMetadata(output),
|
|
3449
3449
|
});
|
|
3450
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3450
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3451
3451
|
}
|
|
3452
3452
|
};
|
|
3453
3453
|
const deserializeAws_restJson1ListAssessmentControlInsightsByControlDomainCommand = async (output, context) => {
|
|
@@ -3459,12 +3459,12 @@ const deserializeAws_restJson1ListAssessmentControlInsightsByControlDomainComman
|
|
|
3459
3459
|
controlInsightsByAssessment: undefined,
|
|
3460
3460
|
nextToken: undefined,
|
|
3461
3461
|
};
|
|
3462
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3462
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3463
3463
|
if (data.controlInsightsByAssessment !== undefined && data.controlInsightsByAssessment !== null) {
|
|
3464
3464
|
contents.controlInsightsByAssessment = deserializeAws_restJson1ControlInsightsMetadataByAssessment(data.controlInsightsByAssessment, context);
|
|
3465
3465
|
}
|
|
3466
3466
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
3467
|
-
contents.nextToken = smithy_client_1.expectString(data.nextToken);
|
|
3467
|
+
contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
3468
3468
|
}
|
|
3469
3469
|
return Promise.resolve(contents);
|
|
3470
3470
|
};
|
|
@@ -3497,7 +3497,7 @@ const deserializeAws_restJson1ListAssessmentControlInsightsByControlDomainComman
|
|
|
3497
3497
|
$fault: "client",
|
|
3498
3498
|
$metadata: deserializeMetadata(output),
|
|
3499
3499
|
});
|
|
3500
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3500
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3501
3501
|
}
|
|
3502
3502
|
};
|
|
3503
3503
|
const deserializeAws_restJson1ListAssessmentFrameworksCommand = async (output, context) => {
|
|
@@ -3509,12 +3509,12 @@ const deserializeAws_restJson1ListAssessmentFrameworksCommand = async (output, c
|
|
|
3509
3509
|
frameworkMetadataList: undefined,
|
|
3510
3510
|
nextToken: undefined,
|
|
3511
3511
|
};
|
|
3512
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3512
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3513
3513
|
if (data.frameworkMetadataList !== undefined && data.frameworkMetadataList !== null) {
|
|
3514
3514
|
contents.frameworkMetadataList = deserializeAws_restJson1FrameworkMetadataList(data.frameworkMetadataList, context);
|
|
3515
3515
|
}
|
|
3516
3516
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
3517
|
-
contents.nextToken = smithy_client_1.expectString(data.nextToken);
|
|
3517
|
+
contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
3518
3518
|
}
|
|
3519
3519
|
return Promise.resolve(contents);
|
|
3520
3520
|
};
|
|
@@ -3544,7 +3544,7 @@ const deserializeAws_restJson1ListAssessmentFrameworksCommandError = async (outp
|
|
|
3544
3544
|
$fault: "client",
|
|
3545
3545
|
$metadata: deserializeMetadata(output),
|
|
3546
3546
|
});
|
|
3547
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3547
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3548
3548
|
}
|
|
3549
3549
|
};
|
|
3550
3550
|
const deserializeAws_restJson1ListAssessmentFrameworkShareRequestsCommand = async (output, context) => {
|
|
@@ -3556,12 +3556,12 @@ const deserializeAws_restJson1ListAssessmentFrameworkShareRequestsCommand = asyn
|
|
|
3556
3556
|
assessmentFrameworkShareRequests: undefined,
|
|
3557
3557
|
nextToken: undefined,
|
|
3558
3558
|
};
|
|
3559
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3559
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3560
3560
|
if (data.assessmentFrameworkShareRequests !== undefined && data.assessmentFrameworkShareRequests !== null) {
|
|
3561
3561
|
contents.assessmentFrameworkShareRequests = deserializeAws_restJson1AssessmentFrameworkShareRequestList(data.assessmentFrameworkShareRequests, context);
|
|
3562
3562
|
}
|
|
3563
3563
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
3564
|
-
contents.nextToken = smithy_client_1.expectString(data.nextToken);
|
|
3564
|
+
contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
3565
3565
|
}
|
|
3566
3566
|
return Promise.resolve(contents);
|
|
3567
3567
|
};
|
|
@@ -3591,7 +3591,7 @@ const deserializeAws_restJson1ListAssessmentFrameworkShareRequestsCommandError =
|
|
|
3591
3591
|
$fault: "client",
|
|
3592
3592
|
$metadata: deserializeMetadata(output),
|
|
3593
3593
|
});
|
|
3594
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3594
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3595
3595
|
}
|
|
3596
3596
|
};
|
|
3597
3597
|
const deserializeAws_restJson1ListAssessmentReportsCommand = async (output, context) => {
|
|
@@ -3603,12 +3603,12 @@ const deserializeAws_restJson1ListAssessmentReportsCommand = async (output, cont
|
|
|
3603
3603
|
assessmentReports: undefined,
|
|
3604
3604
|
nextToken: undefined,
|
|
3605
3605
|
};
|
|
3606
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3606
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3607
3607
|
if (data.assessmentReports !== undefined && data.assessmentReports !== null) {
|
|
3608
3608
|
contents.assessmentReports = deserializeAws_restJson1AssessmentReportsMetadata(data.assessmentReports, context);
|
|
3609
3609
|
}
|
|
3610
3610
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
3611
|
-
contents.nextToken = smithy_client_1.expectString(data.nextToken);
|
|
3611
|
+
contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
3612
3612
|
}
|
|
3613
3613
|
return Promise.resolve(contents);
|
|
3614
3614
|
};
|
|
@@ -3638,7 +3638,7 @@ const deserializeAws_restJson1ListAssessmentReportsCommandError = async (output,
|
|
|
3638
3638
|
$fault: "client",
|
|
3639
3639
|
$metadata: deserializeMetadata(output),
|
|
3640
3640
|
});
|
|
3641
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3641
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3642
3642
|
}
|
|
3643
3643
|
};
|
|
3644
3644
|
const deserializeAws_restJson1ListAssessmentsCommand = async (output, context) => {
|
|
@@ -3650,12 +3650,12 @@ const deserializeAws_restJson1ListAssessmentsCommand = async (output, context) =
|
|
|
3650
3650
|
assessmentMetadata: undefined,
|
|
3651
3651
|
nextToken: undefined,
|
|
3652
3652
|
};
|
|
3653
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3653
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3654
3654
|
if (data.assessmentMetadata !== undefined && data.assessmentMetadata !== null) {
|
|
3655
3655
|
contents.assessmentMetadata = deserializeAws_restJson1ListAssessmentMetadata(data.assessmentMetadata, context);
|
|
3656
3656
|
}
|
|
3657
3657
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
3658
|
-
contents.nextToken = smithy_client_1.expectString(data.nextToken);
|
|
3658
|
+
contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
3659
3659
|
}
|
|
3660
3660
|
return Promise.resolve(contents);
|
|
3661
3661
|
};
|
|
@@ -3685,7 +3685,7 @@ const deserializeAws_restJson1ListAssessmentsCommandError = async (output, conte
|
|
|
3685
3685
|
$fault: "client",
|
|
3686
3686
|
$metadata: deserializeMetadata(output),
|
|
3687
3687
|
});
|
|
3688
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3688
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3689
3689
|
}
|
|
3690
3690
|
};
|
|
3691
3691
|
const deserializeAws_restJson1ListControlDomainInsightsCommand = async (output, context) => {
|
|
@@ -3697,12 +3697,12 @@ const deserializeAws_restJson1ListControlDomainInsightsCommand = async (output,
|
|
|
3697
3697
|
controlDomainInsights: undefined,
|
|
3698
3698
|
nextToken: undefined,
|
|
3699
3699
|
};
|
|
3700
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3700
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3701
3701
|
if (data.controlDomainInsights !== undefined && data.controlDomainInsights !== null) {
|
|
3702
3702
|
contents.controlDomainInsights = deserializeAws_restJson1ControlDomainInsightsList(data.controlDomainInsights, context);
|
|
3703
3703
|
}
|
|
3704
3704
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
3705
|
-
contents.nextToken = smithy_client_1.expectString(data.nextToken);
|
|
3705
|
+
contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
3706
3706
|
}
|
|
3707
3707
|
return Promise.resolve(contents);
|
|
3708
3708
|
};
|
|
@@ -3735,7 +3735,7 @@ const deserializeAws_restJson1ListControlDomainInsightsCommandError = async (out
|
|
|
3735
3735
|
$fault: "client",
|
|
3736
3736
|
$metadata: deserializeMetadata(output),
|
|
3737
3737
|
});
|
|
3738
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3738
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3739
3739
|
}
|
|
3740
3740
|
};
|
|
3741
3741
|
const deserializeAws_restJson1ListControlDomainInsightsByAssessmentCommand = async (output, context) => {
|
|
@@ -3747,12 +3747,12 @@ const deserializeAws_restJson1ListControlDomainInsightsByAssessmentCommand = asy
|
|
|
3747
3747
|
controlDomainInsights: undefined,
|
|
3748
3748
|
nextToken: undefined,
|
|
3749
3749
|
};
|
|
3750
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3750
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3751
3751
|
if (data.controlDomainInsights !== undefined && data.controlDomainInsights !== null) {
|
|
3752
3752
|
contents.controlDomainInsights = deserializeAws_restJson1ControlDomainInsightsList(data.controlDomainInsights, context);
|
|
3753
3753
|
}
|
|
3754
3754
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
3755
|
-
contents.nextToken = smithy_client_1.expectString(data.nextToken);
|
|
3755
|
+
contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
3756
3756
|
}
|
|
3757
3757
|
return Promise.resolve(contents);
|
|
3758
3758
|
};
|
|
@@ -3785,7 +3785,7 @@ const deserializeAws_restJson1ListControlDomainInsightsByAssessmentCommandError
|
|
|
3785
3785
|
$fault: "client",
|
|
3786
3786
|
$metadata: deserializeMetadata(output),
|
|
3787
3787
|
});
|
|
3788
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3788
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3789
3789
|
}
|
|
3790
3790
|
};
|
|
3791
3791
|
const deserializeAws_restJson1ListControlInsightsByControlDomainCommand = async (output, context) => {
|
|
@@ -3797,12 +3797,12 @@ const deserializeAws_restJson1ListControlInsightsByControlDomainCommand = async
|
|
|
3797
3797
|
controlInsightsMetadata: undefined,
|
|
3798
3798
|
nextToken: undefined,
|
|
3799
3799
|
};
|
|
3800
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3800
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3801
3801
|
if (data.controlInsightsMetadata !== undefined && data.controlInsightsMetadata !== null) {
|
|
3802
3802
|
contents.controlInsightsMetadata = deserializeAws_restJson1ControlInsightsMetadata(data.controlInsightsMetadata, context);
|
|
3803
3803
|
}
|
|
3804
3804
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
3805
|
-
contents.nextToken = smithy_client_1.expectString(data.nextToken);
|
|
3805
|
+
contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
3806
3806
|
}
|
|
3807
3807
|
return Promise.resolve(contents);
|
|
3808
3808
|
};
|
|
@@ -3835,7 +3835,7 @@ const deserializeAws_restJson1ListControlInsightsByControlDomainCommandError = a
|
|
|
3835
3835
|
$fault: "client",
|
|
3836
3836
|
$metadata: deserializeMetadata(output),
|
|
3837
3837
|
});
|
|
3838
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3838
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3839
3839
|
}
|
|
3840
3840
|
};
|
|
3841
3841
|
const deserializeAws_restJson1ListControlsCommand = async (output, context) => {
|
|
@@ -3847,12 +3847,12 @@ const deserializeAws_restJson1ListControlsCommand = async (output, context) => {
|
|
|
3847
3847
|
controlMetadataList: undefined,
|
|
3848
3848
|
nextToken: undefined,
|
|
3849
3849
|
};
|
|
3850
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3850
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3851
3851
|
if (data.controlMetadataList !== undefined && data.controlMetadataList !== null) {
|
|
3852
3852
|
contents.controlMetadataList = deserializeAws_restJson1ControlMetadataList(data.controlMetadataList, context);
|
|
3853
3853
|
}
|
|
3854
3854
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
3855
|
-
contents.nextToken = smithy_client_1.expectString(data.nextToken);
|
|
3855
|
+
contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
3856
3856
|
}
|
|
3857
3857
|
return Promise.resolve(contents);
|
|
3858
3858
|
};
|
|
@@ -3882,7 +3882,7 @@ const deserializeAws_restJson1ListControlsCommandError = async (output, context)
|
|
|
3882
3882
|
$fault: "client",
|
|
3883
3883
|
$metadata: deserializeMetadata(output),
|
|
3884
3884
|
});
|
|
3885
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3885
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3886
3886
|
}
|
|
3887
3887
|
};
|
|
3888
3888
|
const deserializeAws_restJson1ListKeywordsForDataSourceCommand = async (output, context) => {
|
|
@@ -3894,12 +3894,12 @@ const deserializeAws_restJson1ListKeywordsForDataSourceCommand = async (output,
|
|
|
3894
3894
|
keywords: undefined,
|
|
3895
3895
|
nextToken: undefined,
|
|
3896
3896
|
};
|
|
3897
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3897
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3898
3898
|
if (data.keywords !== undefined && data.keywords !== null) {
|
|
3899
3899
|
contents.keywords = deserializeAws_restJson1Keywords(data.keywords, context);
|
|
3900
3900
|
}
|
|
3901
3901
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
3902
|
-
contents.nextToken = smithy_client_1.expectString(data.nextToken);
|
|
3902
|
+
contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
3903
3903
|
}
|
|
3904
3904
|
return Promise.resolve(contents);
|
|
3905
3905
|
};
|
|
@@ -3929,7 +3929,7 @@ const deserializeAws_restJson1ListKeywordsForDataSourceCommandError = async (out
|
|
|
3929
3929
|
$fault: "client",
|
|
3930
3930
|
$metadata: deserializeMetadata(output),
|
|
3931
3931
|
});
|
|
3932
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3932
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3933
3933
|
}
|
|
3934
3934
|
};
|
|
3935
3935
|
const deserializeAws_restJson1ListNotificationsCommand = async (output, context) => {
|
|
@@ -3941,9 +3941,9 @@ const deserializeAws_restJson1ListNotificationsCommand = async (output, context)
|
|
|
3941
3941
|
nextToken: undefined,
|
|
3942
3942
|
notifications: undefined,
|
|
3943
3943
|
};
|
|
3944
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3944
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3945
3945
|
if (data.nextToken !== undefined && data.nextToken !== null) {
|
|
3946
|
-
contents.nextToken = smithy_client_1.expectString(data.nextToken);
|
|
3946
|
+
contents.nextToken = (0, smithy_client_1.expectString)(data.nextToken);
|
|
3947
3947
|
}
|
|
3948
3948
|
if (data.notifications !== undefined && data.notifications !== null) {
|
|
3949
3949
|
contents.notifications = deserializeAws_restJson1Notifications(data.notifications, context);
|
|
@@ -3976,7 +3976,7 @@ const deserializeAws_restJson1ListNotificationsCommandError = async (output, con
|
|
|
3976
3976
|
$fault: "client",
|
|
3977
3977
|
$metadata: deserializeMetadata(output),
|
|
3978
3978
|
});
|
|
3979
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
3979
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
3980
3980
|
}
|
|
3981
3981
|
};
|
|
3982
3982
|
const deserializeAws_restJson1ListTagsForResourceCommand = async (output, context) => {
|
|
@@ -3987,7 +3987,7 @@ const deserializeAws_restJson1ListTagsForResourceCommand = async (output, contex
|
|
|
3987
3987
|
$metadata: deserializeMetadata(output),
|
|
3988
3988
|
tags: undefined,
|
|
3989
3989
|
};
|
|
3990
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
3990
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
3991
3991
|
if (data.tags !== undefined && data.tags !== null) {
|
|
3992
3992
|
contents.tags = deserializeAws_restJson1TagMap(data.tags, context);
|
|
3993
3993
|
}
|
|
@@ -4019,7 +4019,7 @@ const deserializeAws_restJson1ListTagsForResourceCommandError = async (output, c
|
|
|
4019
4019
|
$fault: "client",
|
|
4020
4020
|
$metadata: deserializeMetadata(output),
|
|
4021
4021
|
});
|
|
4022
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4022
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4023
4023
|
}
|
|
4024
4024
|
};
|
|
4025
4025
|
const deserializeAws_restJson1RegisterAccountCommand = async (output, context) => {
|
|
@@ -4030,9 +4030,9 @@ const deserializeAws_restJson1RegisterAccountCommand = async (output, context) =
|
|
|
4030
4030
|
$metadata: deserializeMetadata(output),
|
|
4031
4031
|
status: undefined,
|
|
4032
4032
|
};
|
|
4033
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4033
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
4034
4034
|
if (data.status !== undefined && data.status !== null) {
|
|
4035
|
-
contents.status = smithy_client_1.expectString(data.status);
|
|
4035
|
+
contents.status = (0, smithy_client_1.expectString)(data.status);
|
|
4036
4036
|
}
|
|
4037
4037
|
return Promise.resolve(contents);
|
|
4038
4038
|
};
|
|
@@ -4065,7 +4065,7 @@ const deserializeAws_restJson1RegisterAccountCommandError = async (output, conte
|
|
|
4065
4065
|
$fault: "client",
|
|
4066
4066
|
$metadata: deserializeMetadata(output),
|
|
4067
4067
|
});
|
|
4068
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4068
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4069
4069
|
}
|
|
4070
4070
|
};
|
|
4071
4071
|
const deserializeAws_restJson1RegisterOrganizationAdminAccountCommand = async (output, context) => {
|
|
@@ -4077,12 +4077,12 @@ const deserializeAws_restJson1RegisterOrganizationAdminAccountCommand = async (o
|
|
|
4077
4077
|
adminAccountId: undefined,
|
|
4078
4078
|
organizationId: undefined,
|
|
4079
4079
|
};
|
|
4080
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4080
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
4081
4081
|
if (data.adminAccountId !== undefined && data.adminAccountId !== null) {
|
|
4082
|
-
contents.adminAccountId = smithy_client_1.expectString(data.adminAccountId);
|
|
4082
|
+
contents.adminAccountId = (0, smithy_client_1.expectString)(data.adminAccountId);
|
|
4083
4083
|
}
|
|
4084
4084
|
if (data.organizationId !== undefined && data.organizationId !== null) {
|
|
4085
|
-
contents.organizationId = smithy_client_1.expectString(data.organizationId);
|
|
4085
|
+
contents.organizationId = (0, smithy_client_1.expectString)(data.organizationId);
|
|
4086
4086
|
}
|
|
4087
4087
|
return Promise.resolve(contents);
|
|
4088
4088
|
};
|
|
@@ -4115,7 +4115,7 @@ const deserializeAws_restJson1RegisterOrganizationAdminAccountCommandError = asy
|
|
|
4115
4115
|
$fault: "client",
|
|
4116
4116
|
$metadata: deserializeMetadata(output),
|
|
4117
4117
|
});
|
|
4118
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4118
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4119
4119
|
}
|
|
4120
4120
|
};
|
|
4121
4121
|
const deserializeAws_restJson1StartAssessmentFrameworkShareCommand = async (output, context) => {
|
|
@@ -4126,7 +4126,7 @@ const deserializeAws_restJson1StartAssessmentFrameworkShareCommand = async (outp
|
|
|
4126
4126
|
$metadata: deserializeMetadata(output),
|
|
4127
4127
|
assessmentFrameworkShareRequest: undefined,
|
|
4128
4128
|
};
|
|
4129
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4129
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
4130
4130
|
if (data.assessmentFrameworkShareRequest !== undefined && data.assessmentFrameworkShareRequest !== null) {
|
|
4131
4131
|
contents.assessmentFrameworkShareRequest = deserializeAws_restJson1AssessmentFrameworkShareRequest(data.assessmentFrameworkShareRequest, context);
|
|
4132
4132
|
}
|
|
@@ -4161,7 +4161,7 @@ const deserializeAws_restJson1StartAssessmentFrameworkShareCommandError = async
|
|
|
4161
4161
|
$fault: "client",
|
|
4162
4162
|
$metadata: deserializeMetadata(output),
|
|
4163
4163
|
});
|
|
4164
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4164
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4165
4165
|
}
|
|
4166
4166
|
};
|
|
4167
4167
|
const deserializeAws_restJson1TagResourceCommand = async (output, context) => {
|
|
@@ -4200,7 +4200,7 @@ const deserializeAws_restJson1TagResourceCommandError = async (output, context)
|
|
|
4200
4200
|
$fault: "client",
|
|
4201
4201
|
$metadata: deserializeMetadata(output),
|
|
4202
4202
|
});
|
|
4203
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4203
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4204
4204
|
}
|
|
4205
4205
|
};
|
|
4206
4206
|
const deserializeAws_restJson1UntagResourceCommand = async (output, context) => {
|
|
@@ -4239,7 +4239,7 @@ const deserializeAws_restJson1UntagResourceCommandError = async (output, context
|
|
|
4239
4239
|
$fault: "client",
|
|
4240
4240
|
$metadata: deserializeMetadata(output),
|
|
4241
4241
|
});
|
|
4242
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4242
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4243
4243
|
}
|
|
4244
4244
|
};
|
|
4245
4245
|
const deserializeAws_restJson1UpdateAssessmentCommand = async (output, context) => {
|
|
@@ -4250,7 +4250,7 @@ const deserializeAws_restJson1UpdateAssessmentCommand = async (output, context)
|
|
|
4250
4250
|
$metadata: deserializeMetadata(output),
|
|
4251
4251
|
assessment: undefined,
|
|
4252
4252
|
};
|
|
4253
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4253
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
4254
4254
|
if (data.assessment !== undefined && data.assessment !== null) {
|
|
4255
4255
|
contents.assessment = deserializeAws_restJson1Assessment(data.assessment, context);
|
|
4256
4256
|
}
|
|
@@ -4285,7 +4285,7 @@ const deserializeAws_restJson1UpdateAssessmentCommandError = async (output, cont
|
|
|
4285
4285
|
$fault: "client",
|
|
4286
4286
|
$metadata: deserializeMetadata(output),
|
|
4287
4287
|
});
|
|
4288
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4288
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4289
4289
|
}
|
|
4290
4290
|
};
|
|
4291
4291
|
const deserializeAws_restJson1UpdateAssessmentControlCommand = async (output, context) => {
|
|
@@ -4296,7 +4296,7 @@ const deserializeAws_restJson1UpdateAssessmentControlCommand = async (output, co
|
|
|
4296
4296
|
$metadata: deserializeMetadata(output),
|
|
4297
4297
|
control: undefined,
|
|
4298
4298
|
};
|
|
4299
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4299
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
4300
4300
|
if (data.control !== undefined && data.control !== null) {
|
|
4301
4301
|
contents.control = deserializeAws_restJson1AssessmentControl(data.control, context);
|
|
4302
4302
|
}
|
|
@@ -4331,7 +4331,7 @@ const deserializeAws_restJson1UpdateAssessmentControlCommandError = async (outpu
|
|
|
4331
4331
|
$fault: "client",
|
|
4332
4332
|
$metadata: deserializeMetadata(output),
|
|
4333
4333
|
});
|
|
4334
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4334
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4335
4335
|
}
|
|
4336
4336
|
};
|
|
4337
4337
|
const deserializeAws_restJson1UpdateAssessmentControlSetStatusCommand = async (output, context) => {
|
|
@@ -4342,7 +4342,7 @@ const deserializeAws_restJson1UpdateAssessmentControlSetStatusCommand = async (o
|
|
|
4342
4342
|
$metadata: deserializeMetadata(output),
|
|
4343
4343
|
controlSet: undefined,
|
|
4344
4344
|
};
|
|
4345
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4345
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
4346
4346
|
if (data.controlSet !== undefined && data.controlSet !== null) {
|
|
4347
4347
|
contents.controlSet = deserializeAws_restJson1AssessmentControlSet(data.controlSet, context);
|
|
4348
4348
|
}
|
|
@@ -4377,7 +4377,7 @@ const deserializeAws_restJson1UpdateAssessmentControlSetStatusCommandError = asy
|
|
|
4377
4377
|
$fault: "client",
|
|
4378
4378
|
$metadata: deserializeMetadata(output),
|
|
4379
4379
|
});
|
|
4380
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4380
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4381
4381
|
}
|
|
4382
4382
|
};
|
|
4383
4383
|
const deserializeAws_restJson1UpdateAssessmentFrameworkCommand = async (output, context) => {
|
|
@@ -4388,7 +4388,7 @@ const deserializeAws_restJson1UpdateAssessmentFrameworkCommand = async (output,
|
|
|
4388
4388
|
$metadata: deserializeMetadata(output),
|
|
4389
4389
|
framework: undefined,
|
|
4390
4390
|
};
|
|
4391
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4391
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
4392
4392
|
if (data.framework !== undefined && data.framework !== null) {
|
|
4393
4393
|
contents.framework = deserializeAws_restJson1Framework(data.framework, context);
|
|
4394
4394
|
}
|
|
@@ -4423,7 +4423,7 @@ const deserializeAws_restJson1UpdateAssessmentFrameworkCommandError = async (out
|
|
|
4423
4423
|
$fault: "client",
|
|
4424
4424
|
$metadata: deserializeMetadata(output),
|
|
4425
4425
|
});
|
|
4426
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4426
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4427
4427
|
}
|
|
4428
4428
|
};
|
|
4429
4429
|
const deserializeAws_restJson1UpdateAssessmentFrameworkShareCommand = async (output, context) => {
|
|
@@ -4434,7 +4434,7 @@ const deserializeAws_restJson1UpdateAssessmentFrameworkShareCommand = async (out
|
|
|
4434
4434
|
$metadata: deserializeMetadata(output),
|
|
4435
4435
|
assessmentFrameworkShareRequest: undefined,
|
|
4436
4436
|
};
|
|
4437
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4437
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
4438
4438
|
if (data.assessmentFrameworkShareRequest !== undefined && data.assessmentFrameworkShareRequest !== null) {
|
|
4439
4439
|
contents.assessmentFrameworkShareRequest = deserializeAws_restJson1AssessmentFrameworkShareRequest(data.assessmentFrameworkShareRequest, context);
|
|
4440
4440
|
}
|
|
@@ -4469,7 +4469,7 @@ const deserializeAws_restJson1UpdateAssessmentFrameworkShareCommandError = async
|
|
|
4469
4469
|
$fault: "client",
|
|
4470
4470
|
$metadata: deserializeMetadata(output),
|
|
4471
4471
|
});
|
|
4472
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4472
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4473
4473
|
}
|
|
4474
4474
|
};
|
|
4475
4475
|
const deserializeAws_restJson1UpdateAssessmentStatusCommand = async (output, context) => {
|
|
@@ -4480,7 +4480,7 @@ const deserializeAws_restJson1UpdateAssessmentStatusCommand = async (output, con
|
|
|
4480
4480
|
$metadata: deserializeMetadata(output),
|
|
4481
4481
|
assessment: undefined,
|
|
4482
4482
|
};
|
|
4483
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4483
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
4484
4484
|
if (data.assessment !== undefined && data.assessment !== null) {
|
|
4485
4485
|
contents.assessment = deserializeAws_restJson1Assessment(data.assessment, context);
|
|
4486
4486
|
}
|
|
@@ -4515,7 +4515,7 @@ const deserializeAws_restJson1UpdateAssessmentStatusCommandError = async (output
|
|
|
4515
4515
|
$fault: "client",
|
|
4516
4516
|
$metadata: deserializeMetadata(output),
|
|
4517
4517
|
});
|
|
4518
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4518
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4519
4519
|
}
|
|
4520
4520
|
};
|
|
4521
4521
|
const deserializeAws_restJson1UpdateControlCommand = async (output, context) => {
|
|
@@ -4526,7 +4526,7 @@ const deserializeAws_restJson1UpdateControlCommand = async (output, context) =>
|
|
|
4526
4526
|
$metadata: deserializeMetadata(output),
|
|
4527
4527
|
control: undefined,
|
|
4528
4528
|
};
|
|
4529
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4529
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
4530
4530
|
if (data.control !== undefined && data.control !== null) {
|
|
4531
4531
|
contents.control = deserializeAws_restJson1Control(data.control, context);
|
|
4532
4532
|
}
|
|
@@ -4561,7 +4561,7 @@ const deserializeAws_restJson1UpdateControlCommandError = async (output, context
|
|
|
4561
4561
|
$fault: "client",
|
|
4562
4562
|
$metadata: deserializeMetadata(output),
|
|
4563
4563
|
});
|
|
4564
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4564
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4565
4565
|
}
|
|
4566
4566
|
};
|
|
4567
4567
|
const deserializeAws_restJson1UpdateSettingsCommand = async (output, context) => {
|
|
@@ -4572,7 +4572,7 @@ const deserializeAws_restJson1UpdateSettingsCommand = async (output, context) =>
|
|
|
4572
4572
|
$metadata: deserializeMetadata(output),
|
|
4573
4573
|
settings: undefined,
|
|
4574
4574
|
};
|
|
4575
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4575
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
4576
4576
|
if (data.settings !== undefined && data.settings !== null) {
|
|
4577
4577
|
contents.settings = deserializeAws_restJson1Settings(data.settings, context);
|
|
4578
4578
|
}
|
|
@@ -4604,7 +4604,7 @@ const deserializeAws_restJson1UpdateSettingsCommandError = async (output, contex
|
|
|
4604
4604
|
$fault: "client",
|
|
4605
4605
|
$metadata: deserializeMetadata(output),
|
|
4606
4606
|
});
|
|
4607
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4607
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4608
4608
|
}
|
|
4609
4609
|
};
|
|
4610
4610
|
const deserializeAws_restJson1ValidateAssessmentReportIntegrityCommand = async (output, context) => {
|
|
@@ -4619,18 +4619,18 @@ const deserializeAws_restJson1ValidateAssessmentReportIntegrityCommand = async (
|
|
|
4619
4619
|
signatureValid: undefined,
|
|
4620
4620
|
validationErrors: undefined,
|
|
4621
4621
|
};
|
|
4622
|
-
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
4622
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
4623
4623
|
if (data.signatureAlgorithm !== undefined && data.signatureAlgorithm !== null) {
|
|
4624
|
-
contents.signatureAlgorithm = smithy_client_1.expectString(data.signatureAlgorithm);
|
|
4624
|
+
contents.signatureAlgorithm = (0, smithy_client_1.expectString)(data.signatureAlgorithm);
|
|
4625
4625
|
}
|
|
4626
4626
|
if (data.signatureDateTime !== undefined && data.signatureDateTime !== null) {
|
|
4627
|
-
contents.signatureDateTime = smithy_client_1.expectString(data.signatureDateTime);
|
|
4627
|
+
contents.signatureDateTime = (0, smithy_client_1.expectString)(data.signatureDateTime);
|
|
4628
4628
|
}
|
|
4629
4629
|
if (data.signatureKeyId !== undefined && data.signatureKeyId !== null) {
|
|
4630
|
-
contents.signatureKeyId = smithy_client_1.expectString(data.signatureKeyId);
|
|
4630
|
+
contents.signatureKeyId = (0, smithy_client_1.expectString)(data.signatureKeyId);
|
|
4631
4631
|
}
|
|
4632
4632
|
if (data.signatureValid !== undefined && data.signatureValid !== null) {
|
|
4633
|
-
contents.signatureValid = smithy_client_1.expectBoolean(data.signatureValid);
|
|
4633
|
+
contents.signatureValid = (0, smithy_client_1.expectBoolean)(data.signatureValid);
|
|
4634
4634
|
}
|
|
4635
4635
|
if (data.validationErrors !== undefined && data.validationErrors !== null) {
|
|
4636
4636
|
contents.validationErrors = deserializeAws_restJson1ValidationErrors(data.validationErrors, context);
|
|
@@ -4666,50 +4666,50 @@ const deserializeAws_restJson1ValidateAssessmentReportIntegrityCommandError = as
|
|
|
4666
4666
|
$fault: "client",
|
|
4667
4667
|
$metadata: deserializeMetadata(output),
|
|
4668
4668
|
});
|
|
4669
|
-
throw smithy_client_1.decorateServiceException(response, parsedBody);
|
|
4669
|
+
throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
|
|
4670
4670
|
}
|
|
4671
4671
|
};
|
|
4672
4672
|
const deserializeAws_restJson1AccessDeniedExceptionResponse = async (parsedOutput, context) => {
|
|
4673
4673
|
const contents = {};
|
|
4674
4674
|
const data = parsedOutput.body;
|
|
4675
4675
|
if (data.message !== undefined && data.message !== null) {
|
|
4676
|
-
contents.message = smithy_client_1.expectString(data.message);
|
|
4676
|
+
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
4677
4677
|
}
|
|
4678
4678
|
const exception = new models_0_1.AccessDeniedException({
|
|
4679
4679
|
$metadata: deserializeMetadata(parsedOutput),
|
|
4680
4680
|
...contents,
|
|
4681
4681
|
});
|
|
4682
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
4682
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
4683
4683
|
};
|
|
4684
4684
|
const deserializeAws_restJson1InternalServerExceptionResponse = async (parsedOutput, context) => {
|
|
4685
4685
|
const contents = {};
|
|
4686
4686
|
const data = parsedOutput.body;
|
|
4687
4687
|
if (data.message !== undefined && data.message !== null) {
|
|
4688
|
-
contents.message = smithy_client_1.expectString(data.message);
|
|
4688
|
+
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
4689
4689
|
}
|
|
4690
4690
|
const exception = new models_0_1.InternalServerException({
|
|
4691
4691
|
$metadata: deserializeMetadata(parsedOutput),
|
|
4692
4692
|
...contents,
|
|
4693
4693
|
});
|
|
4694
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
4694
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
4695
4695
|
};
|
|
4696
4696
|
const deserializeAws_restJson1ResourceNotFoundExceptionResponse = async (parsedOutput, context) => {
|
|
4697
4697
|
const contents = {};
|
|
4698
4698
|
const data = parsedOutput.body;
|
|
4699
4699
|
if (data.message !== undefined && data.message !== null) {
|
|
4700
|
-
contents.message = smithy_client_1.expectString(data.message);
|
|
4700
|
+
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
4701
4701
|
}
|
|
4702
4702
|
if (data.resourceId !== undefined && data.resourceId !== null) {
|
|
4703
|
-
contents.resourceId = smithy_client_1.expectString(data.resourceId);
|
|
4703
|
+
contents.resourceId = (0, smithy_client_1.expectString)(data.resourceId);
|
|
4704
4704
|
}
|
|
4705
4705
|
if (data.resourceType !== undefined && data.resourceType !== null) {
|
|
4706
|
-
contents.resourceType = smithy_client_1.expectString(data.resourceType);
|
|
4706
|
+
contents.resourceType = (0, smithy_client_1.expectString)(data.resourceType);
|
|
4707
4707
|
}
|
|
4708
4708
|
const exception = new models_0_1.ResourceNotFoundException({
|
|
4709
4709
|
$metadata: deserializeMetadata(parsedOutput),
|
|
4710
4710
|
...contents,
|
|
4711
4711
|
});
|
|
4712
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
4712
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
4713
4713
|
};
|
|
4714
4714
|
const deserializeAws_restJson1ValidationExceptionResponse = async (parsedOutput, context) => {
|
|
4715
4715
|
const contents = {};
|
|
@@ -4718,16 +4718,16 @@ const deserializeAws_restJson1ValidationExceptionResponse = async (parsedOutput,
|
|
|
4718
4718
|
contents.fields = deserializeAws_restJson1ValidationExceptionFieldList(data.fields, context);
|
|
4719
4719
|
}
|
|
4720
4720
|
if (data.message !== undefined && data.message !== null) {
|
|
4721
|
-
contents.message = smithy_client_1.expectString(data.message);
|
|
4721
|
+
contents.message = (0, smithy_client_1.expectString)(data.message);
|
|
4722
4722
|
}
|
|
4723
4723
|
if (data.reason !== undefined && data.reason !== null) {
|
|
4724
|
-
contents.reason = smithy_client_1.expectString(data.reason);
|
|
4724
|
+
contents.reason = (0, smithy_client_1.expectString)(data.reason);
|
|
4725
4725
|
}
|
|
4726
4726
|
const exception = new models_0_1.ValidationException({
|
|
4727
4727
|
$metadata: deserializeMetadata(parsedOutput),
|
|
4728
4728
|
...contents,
|
|
4729
4729
|
});
|
|
4730
|
-
return smithy_client_1.decorateServiceException(exception, parsedOutput.body);
|
|
4730
|
+
return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body);
|
|
4731
4731
|
};
|
|
4732
4732
|
const serializeAws_restJson1AssessmentReportsDestination = (input, context) => {
|
|
4733
4733
|
return {
|
|
@@ -4977,7 +4977,7 @@ const serializeAws_restJson1UpdateAssessmentFrameworkControlSets = (input, conte
|
|
|
4977
4977
|
};
|
|
4978
4978
|
const deserializeAws_restJson1Assessment = (output, context) => {
|
|
4979
4979
|
return {
|
|
4980
|
-
arn: smithy_client_1.expectString(output.arn),
|
|
4980
|
+
arn: (0, smithy_client_1.expectString)(output.arn),
|
|
4981
4981
|
awsAccount: output.awsAccount !== undefined && output.awsAccount !== null
|
|
4982
4982
|
? deserializeAws_restJson1AWSAccount(output.awsAccount, context)
|
|
4983
4983
|
: undefined,
|
|
@@ -4994,19 +4994,19 @@ const deserializeAws_restJson1Assessment = (output, context) => {
|
|
|
4994
4994
|
};
|
|
4995
4995
|
const deserializeAws_restJson1AssessmentControl = (output, context) => {
|
|
4996
4996
|
return {
|
|
4997
|
-
assessmentReportEvidenceCount: smithy_client_1.expectInt32(output.assessmentReportEvidenceCount),
|
|
4997
|
+
assessmentReportEvidenceCount: (0, smithy_client_1.expectInt32)(output.assessmentReportEvidenceCount),
|
|
4998
4998
|
comments: output.comments !== undefined && output.comments !== null
|
|
4999
4999
|
? deserializeAws_restJson1ControlComments(output.comments, context)
|
|
5000
5000
|
: undefined,
|
|
5001
|
-
description: smithy_client_1.expectString(output.description),
|
|
5002
|
-
evidenceCount: smithy_client_1.expectInt32(output.evidenceCount),
|
|
5001
|
+
description: (0, smithy_client_1.expectString)(output.description),
|
|
5002
|
+
evidenceCount: (0, smithy_client_1.expectInt32)(output.evidenceCount),
|
|
5003
5003
|
evidenceSources: output.evidenceSources !== undefined && output.evidenceSources !== null
|
|
5004
5004
|
? deserializeAws_restJson1EvidenceSources(output.evidenceSources, context)
|
|
5005
5005
|
: undefined,
|
|
5006
|
-
id: smithy_client_1.expectString(output.id),
|
|
5007
|
-
name: smithy_client_1.expectString(output.name),
|
|
5008
|
-
response: smithy_client_1.expectString(output.response),
|
|
5009
|
-
status: smithy_client_1.expectString(output.status),
|
|
5006
|
+
id: (0, smithy_client_1.expectString)(output.id),
|
|
5007
|
+
name: (0, smithy_client_1.expectString)(output.name),
|
|
5008
|
+
response: (0, smithy_client_1.expectString)(output.response),
|
|
5009
|
+
status: (0, smithy_client_1.expectString)(output.status),
|
|
5010
5010
|
};
|
|
5011
5011
|
};
|
|
5012
5012
|
const deserializeAws_restJson1AssessmentControls = (output, context) => {
|
|
@@ -5028,14 +5028,14 @@ const deserializeAws_restJson1AssessmentControlSet = (output, context) => {
|
|
|
5028
5028
|
delegations: output.delegations !== undefined && output.delegations !== null
|
|
5029
5029
|
? deserializeAws_restJson1Delegations(output.delegations, context)
|
|
5030
5030
|
: undefined,
|
|
5031
|
-
description: smithy_client_1.expectString(output.description),
|
|
5032
|
-
id: smithy_client_1.expectString(output.id),
|
|
5033
|
-
manualEvidenceCount: smithy_client_1.expectInt32(output.manualEvidenceCount),
|
|
5031
|
+
description: (0, smithy_client_1.expectString)(output.description),
|
|
5032
|
+
id: (0, smithy_client_1.expectString)(output.id),
|
|
5033
|
+
manualEvidenceCount: (0, smithy_client_1.expectInt32)(output.manualEvidenceCount),
|
|
5034
5034
|
roles: output.roles !== undefined && output.roles !== null
|
|
5035
5035
|
? deserializeAws_restJson1Roles(output.roles, context)
|
|
5036
5036
|
: undefined,
|
|
5037
|
-
status: smithy_client_1.expectString(output.status),
|
|
5038
|
-
systemEvidenceCount: smithy_client_1.expectInt32(output.systemEvidenceCount),
|
|
5037
|
+
status: (0, smithy_client_1.expectString)(output.status),
|
|
5038
|
+
systemEvidenceCount: (0, smithy_client_1.expectInt32)(output.systemEvidenceCount),
|
|
5039
5039
|
};
|
|
5040
5040
|
};
|
|
5041
5041
|
const deserializeAws_restJson1AssessmentControlSets = (output, context) => {
|
|
@@ -5051,26 +5051,26 @@ const deserializeAws_restJson1AssessmentControlSets = (output, context) => {
|
|
|
5051
5051
|
};
|
|
5052
5052
|
const deserializeAws_restJson1AssessmentEvidenceFolder = (output, context) => {
|
|
5053
5053
|
return {
|
|
5054
|
-
assessmentId: smithy_client_1.expectString(output.assessmentId),
|
|
5055
|
-
assessmentReportSelectionCount: smithy_client_1.expectInt32(output.assessmentReportSelectionCount),
|
|
5056
|
-
author: smithy_client_1.expectString(output.author),
|
|
5057
|
-
controlId: smithy_client_1.expectString(output.controlId),
|
|
5058
|
-
controlName: smithy_client_1.expectString(output.controlName),
|
|
5059
|
-
controlSetId: smithy_client_1.expectString(output.controlSetId),
|
|
5060
|
-
dataSource: smithy_client_1.expectString(output.dataSource),
|
|
5054
|
+
assessmentId: (0, smithy_client_1.expectString)(output.assessmentId),
|
|
5055
|
+
assessmentReportSelectionCount: (0, smithy_client_1.expectInt32)(output.assessmentReportSelectionCount),
|
|
5056
|
+
author: (0, smithy_client_1.expectString)(output.author),
|
|
5057
|
+
controlId: (0, smithy_client_1.expectString)(output.controlId),
|
|
5058
|
+
controlName: (0, smithy_client_1.expectString)(output.controlName),
|
|
5059
|
+
controlSetId: (0, smithy_client_1.expectString)(output.controlSetId),
|
|
5060
|
+
dataSource: (0, smithy_client_1.expectString)(output.dataSource),
|
|
5061
5061
|
date: output.date !== undefined && output.date !== null
|
|
5062
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.date)))
|
|
5062
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.date)))
|
|
5063
5063
|
: undefined,
|
|
5064
|
-
evidenceAwsServiceSourceCount: smithy_client_1.expectInt32(output.evidenceAwsServiceSourceCount),
|
|
5065
|
-
evidenceByTypeComplianceCheckCount: smithy_client_1.expectInt32(output.evidenceByTypeComplianceCheckCount),
|
|
5066
|
-
evidenceByTypeComplianceCheckIssuesCount: smithy_client_1.expectInt32(output.evidenceByTypeComplianceCheckIssuesCount),
|
|
5067
|
-
evidenceByTypeConfigurationDataCount: smithy_client_1.expectInt32(output.evidenceByTypeConfigurationDataCount),
|
|
5068
|
-
evidenceByTypeManualCount: smithy_client_1.expectInt32(output.evidenceByTypeManualCount),
|
|
5069
|
-
evidenceByTypeUserActivityCount: smithy_client_1.expectInt32(output.evidenceByTypeUserActivityCount),
|
|
5070
|
-
evidenceResourcesIncludedCount: smithy_client_1.expectInt32(output.evidenceResourcesIncludedCount),
|
|
5071
|
-
id: smithy_client_1.expectString(output.id),
|
|
5072
|
-
name: smithy_client_1.expectString(output.name),
|
|
5073
|
-
totalEvidence: smithy_client_1.expectInt32(output.totalEvidence),
|
|
5064
|
+
evidenceAwsServiceSourceCount: (0, smithy_client_1.expectInt32)(output.evidenceAwsServiceSourceCount),
|
|
5065
|
+
evidenceByTypeComplianceCheckCount: (0, smithy_client_1.expectInt32)(output.evidenceByTypeComplianceCheckCount),
|
|
5066
|
+
evidenceByTypeComplianceCheckIssuesCount: (0, smithy_client_1.expectInt32)(output.evidenceByTypeComplianceCheckIssuesCount),
|
|
5067
|
+
evidenceByTypeConfigurationDataCount: (0, smithy_client_1.expectInt32)(output.evidenceByTypeConfigurationDataCount),
|
|
5068
|
+
evidenceByTypeManualCount: (0, smithy_client_1.expectInt32)(output.evidenceByTypeManualCount),
|
|
5069
|
+
evidenceByTypeUserActivityCount: (0, smithy_client_1.expectInt32)(output.evidenceByTypeUserActivityCount),
|
|
5070
|
+
evidenceResourcesIncludedCount: (0, smithy_client_1.expectInt32)(output.evidenceResourcesIncludedCount),
|
|
5071
|
+
id: (0, smithy_client_1.expectString)(output.id),
|
|
5072
|
+
name: (0, smithy_client_1.expectString)(output.name),
|
|
5073
|
+
totalEvidence: (0, smithy_client_1.expectInt32)(output.totalEvidence),
|
|
5074
5074
|
};
|
|
5075
5075
|
};
|
|
5076
5076
|
const deserializeAws_restJson1AssessmentEvidenceFolders = (output, context) => {
|
|
@@ -5086,11 +5086,11 @@ const deserializeAws_restJson1AssessmentEvidenceFolders = (output, context) => {
|
|
|
5086
5086
|
};
|
|
5087
5087
|
const deserializeAws_restJson1AssessmentFramework = (output, context) => {
|
|
5088
5088
|
return {
|
|
5089
|
-
arn: smithy_client_1.expectString(output.arn),
|
|
5089
|
+
arn: (0, smithy_client_1.expectString)(output.arn),
|
|
5090
5090
|
controlSets: output.controlSets !== undefined && output.controlSets !== null
|
|
5091
5091
|
? deserializeAws_restJson1AssessmentControlSets(output.controlSets, context)
|
|
5092
5092
|
: undefined,
|
|
5093
|
-
id: smithy_client_1.expectString(output.id),
|
|
5093
|
+
id: (0, smithy_client_1.expectString)(output.id),
|
|
5094
5094
|
metadata: output.metadata !== undefined && output.metadata !== null
|
|
5095
5095
|
? deserializeAws_restJson1FrameworkMetadata(output.metadata, context)
|
|
5096
5096
|
: undefined,
|
|
@@ -5098,46 +5098,46 @@ const deserializeAws_restJson1AssessmentFramework = (output, context) => {
|
|
|
5098
5098
|
};
|
|
5099
5099
|
const deserializeAws_restJson1AssessmentFrameworkMetadata = (output, context) => {
|
|
5100
5100
|
return {
|
|
5101
|
-
arn: smithy_client_1.expectString(output.arn),
|
|
5102
|
-
complianceType: smithy_client_1.expectString(output.complianceType),
|
|
5103
|
-
controlSetsCount: smithy_client_1.expectInt32(output.controlSetsCount),
|
|
5104
|
-
controlsCount: smithy_client_1.expectInt32(output.controlsCount),
|
|
5101
|
+
arn: (0, smithy_client_1.expectString)(output.arn),
|
|
5102
|
+
complianceType: (0, smithy_client_1.expectString)(output.complianceType),
|
|
5103
|
+
controlSetsCount: (0, smithy_client_1.expectInt32)(output.controlSetsCount),
|
|
5104
|
+
controlsCount: (0, smithy_client_1.expectInt32)(output.controlsCount),
|
|
5105
5105
|
createdAt: output.createdAt !== undefined && output.createdAt !== null
|
|
5106
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.createdAt)))
|
|
5106
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt)))
|
|
5107
5107
|
: undefined,
|
|
5108
|
-
description: smithy_client_1.expectString(output.description),
|
|
5109
|
-
id: smithy_client_1.expectString(output.id),
|
|
5108
|
+
description: (0, smithy_client_1.expectString)(output.description),
|
|
5109
|
+
id: (0, smithy_client_1.expectString)(output.id),
|
|
5110
5110
|
lastUpdatedAt: output.lastUpdatedAt !== undefined && output.lastUpdatedAt !== null
|
|
5111
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastUpdatedAt)))
|
|
5111
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastUpdatedAt)))
|
|
5112
5112
|
: undefined,
|
|
5113
|
-
logo: smithy_client_1.expectString(output.logo),
|
|
5114
|
-
name: smithy_client_1.expectString(output.name),
|
|
5115
|
-
type: smithy_client_1.expectString(output.type),
|
|
5113
|
+
logo: (0, smithy_client_1.expectString)(output.logo),
|
|
5114
|
+
name: (0, smithy_client_1.expectString)(output.name),
|
|
5115
|
+
type: (0, smithy_client_1.expectString)(output.type),
|
|
5116
5116
|
};
|
|
5117
5117
|
};
|
|
5118
5118
|
const deserializeAws_restJson1AssessmentFrameworkShareRequest = (output, context) => {
|
|
5119
5119
|
return {
|
|
5120
|
-
comment: smithy_client_1.expectString(output.comment),
|
|
5121
|
-
complianceType: smithy_client_1.expectString(output.complianceType),
|
|
5120
|
+
comment: (0, smithy_client_1.expectString)(output.comment),
|
|
5121
|
+
complianceType: (0, smithy_client_1.expectString)(output.complianceType),
|
|
5122
5122
|
creationTime: output.creationTime !== undefined && output.creationTime !== null
|
|
5123
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.creationTime)))
|
|
5123
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.creationTime)))
|
|
5124
5124
|
: undefined,
|
|
5125
|
-
customControlsCount: smithy_client_1.expectInt32(output.customControlsCount),
|
|
5126
|
-
destinationAccount: smithy_client_1.expectString(output.destinationAccount),
|
|
5127
|
-
destinationRegion: smithy_client_1.expectString(output.destinationRegion),
|
|
5125
|
+
customControlsCount: (0, smithy_client_1.expectInt32)(output.customControlsCount),
|
|
5126
|
+
destinationAccount: (0, smithy_client_1.expectString)(output.destinationAccount),
|
|
5127
|
+
destinationRegion: (0, smithy_client_1.expectString)(output.destinationRegion),
|
|
5128
5128
|
expirationTime: output.expirationTime !== undefined && output.expirationTime !== null
|
|
5129
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.expirationTime)))
|
|
5129
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.expirationTime)))
|
|
5130
5130
|
: undefined,
|
|
5131
|
-
frameworkDescription: smithy_client_1.expectString(output.frameworkDescription),
|
|
5132
|
-
frameworkId: smithy_client_1.expectString(output.frameworkId),
|
|
5133
|
-
frameworkName: smithy_client_1.expectString(output.frameworkName),
|
|
5134
|
-
id: smithy_client_1.expectString(output.id),
|
|
5131
|
+
frameworkDescription: (0, smithy_client_1.expectString)(output.frameworkDescription),
|
|
5132
|
+
frameworkId: (0, smithy_client_1.expectString)(output.frameworkId),
|
|
5133
|
+
frameworkName: (0, smithy_client_1.expectString)(output.frameworkName),
|
|
5134
|
+
id: (0, smithy_client_1.expectString)(output.id),
|
|
5135
5135
|
lastUpdated: output.lastUpdated !== undefined && output.lastUpdated !== null
|
|
5136
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastUpdated)))
|
|
5136
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastUpdated)))
|
|
5137
5137
|
: undefined,
|
|
5138
|
-
sourceAccount: smithy_client_1.expectString(output.sourceAccount),
|
|
5139
|
-
standardControlsCount: smithy_client_1.expectInt32(output.standardControlsCount),
|
|
5140
|
-
status: smithy_client_1.expectString(output.status),
|
|
5138
|
+
sourceAccount: (0, smithy_client_1.expectString)(output.sourceAccount),
|
|
5139
|
+
standardControlsCount: (0, smithy_client_1.expectInt32)(output.standardControlsCount),
|
|
5140
|
+
status: (0, smithy_client_1.expectString)(output.status),
|
|
5141
5141
|
};
|
|
5142
5142
|
};
|
|
5143
5143
|
const deserializeAws_restJson1AssessmentFrameworkShareRequestList = (output, context) => {
|
|
@@ -5156,68 +5156,68 @@ const deserializeAws_restJson1AssessmentMetadata = (output, context) => {
|
|
|
5156
5156
|
assessmentReportsDestination: output.assessmentReportsDestination !== undefined && output.assessmentReportsDestination !== null
|
|
5157
5157
|
? deserializeAws_restJson1AssessmentReportsDestination(output.assessmentReportsDestination, context)
|
|
5158
5158
|
: undefined,
|
|
5159
|
-
complianceType: smithy_client_1.expectString(output.complianceType),
|
|
5159
|
+
complianceType: (0, smithy_client_1.expectString)(output.complianceType),
|
|
5160
5160
|
creationTime: output.creationTime !== undefined && output.creationTime !== null
|
|
5161
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.creationTime)))
|
|
5161
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.creationTime)))
|
|
5162
5162
|
: undefined,
|
|
5163
5163
|
delegations: output.delegations !== undefined && output.delegations !== null
|
|
5164
5164
|
? deserializeAws_restJson1Delegations(output.delegations, context)
|
|
5165
5165
|
: undefined,
|
|
5166
|
-
description: smithy_client_1.expectString(output.description),
|
|
5167
|
-
id: smithy_client_1.expectString(output.id),
|
|
5166
|
+
description: (0, smithy_client_1.expectString)(output.description),
|
|
5167
|
+
id: (0, smithy_client_1.expectString)(output.id),
|
|
5168
5168
|
lastUpdated: output.lastUpdated !== undefined && output.lastUpdated !== null
|
|
5169
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastUpdated)))
|
|
5169
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastUpdated)))
|
|
5170
5170
|
: undefined,
|
|
5171
|
-
name: smithy_client_1.expectString(output.name),
|
|
5171
|
+
name: (0, smithy_client_1.expectString)(output.name),
|
|
5172
5172
|
roles: output.roles !== undefined && output.roles !== null
|
|
5173
5173
|
? deserializeAws_restJson1Roles(output.roles, context)
|
|
5174
5174
|
: undefined,
|
|
5175
5175
|
scope: output.scope !== undefined && output.scope !== null
|
|
5176
5176
|
? deserializeAws_restJson1Scope(output.scope, context)
|
|
5177
5177
|
: undefined,
|
|
5178
|
-
status: smithy_client_1.expectString(output.status),
|
|
5178
|
+
status: (0, smithy_client_1.expectString)(output.status),
|
|
5179
5179
|
};
|
|
5180
5180
|
};
|
|
5181
5181
|
const deserializeAws_restJson1AssessmentMetadataItem = (output, context) => {
|
|
5182
5182
|
return {
|
|
5183
|
-
complianceType: smithy_client_1.expectString(output.complianceType),
|
|
5183
|
+
complianceType: (0, smithy_client_1.expectString)(output.complianceType),
|
|
5184
5184
|
creationTime: output.creationTime !== undefined && output.creationTime !== null
|
|
5185
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.creationTime)))
|
|
5185
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.creationTime)))
|
|
5186
5186
|
: undefined,
|
|
5187
5187
|
delegations: output.delegations !== undefined && output.delegations !== null
|
|
5188
5188
|
? deserializeAws_restJson1Delegations(output.delegations, context)
|
|
5189
5189
|
: undefined,
|
|
5190
|
-
id: smithy_client_1.expectString(output.id),
|
|
5190
|
+
id: (0, smithy_client_1.expectString)(output.id),
|
|
5191
5191
|
lastUpdated: output.lastUpdated !== undefined && output.lastUpdated !== null
|
|
5192
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastUpdated)))
|
|
5192
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastUpdated)))
|
|
5193
5193
|
: undefined,
|
|
5194
|
-
name: smithy_client_1.expectString(output.name),
|
|
5194
|
+
name: (0, smithy_client_1.expectString)(output.name),
|
|
5195
5195
|
roles: output.roles !== undefined && output.roles !== null
|
|
5196
5196
|
? deserializeAws_restJson1Roles(output.roles, context)
|
|
5197
5197
|
: undefined,
|
|
5198
|
-
status: smithy_client_1.expectString(output.status),
|
|
5198
|
+
status: (0, smithy_client_1.expectString)(output.status),
|
|
5199
5199
|
};
|
|
5200
5200
|
};
|
|
5201
5201
|
const deserializeAws_restJson1AssessmentReport = (output, context) => {
|
|
5202
5202
|
return {
|
|
5203
|
-
assessmentId: smithy_client_1.expectString(output.assessmentId),
|
|
5204
|
-
assessmentName: smithy_client_1.expectString(output.assessmentName),
|
|
5205
|
-
author: smithy_client_1.expectString(output.author),
|
|
5206
|
-
awsAccountId: smithy_client_1.expectString(output.awsAccountId),
|
|
5203
|
+
assessmentId: (0, smithy_client_1.expectString)(output.assessmentId),
|
|
5204
|
+
assessmentName: (0, smithy_client_1.expectString)(output.assessmentName),
|
|
5205
|
+
author: (0, smithy_client_1.expectString)(output.author),
|
|
5206
|
+
awsAccountId: (0, smithy_client_1.expectString)(output.awsAccountId),
|
|
5207
5207
|
creationTime: output.creationTime !== undefined && output.creationTime !== null
|
|
5208
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.creationTime)))
|
|
5208
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.creationTime)))
|
|
5209
5209
|
: undefined,
|
|
5210
|
-
description: smithy_client_1.expectString(output.description),
|
|
5211
|
-
id: smithy_client_1.expectString(output.id),
|
|
5212
|
-
name: smithy_client_1.expectString(output.name),
|
|
5213
|
-
status: smithy_client_1.expectString(output.status),
|
|
5210
|
+
description: (0, smithy_client_1.expectString)(output.description),
|
|
5211
|
+
id: (0, smithy_client_1.expectString)(output.id),
|
|
5212
|
+
name: (0, smithy_client_1.expectString)(output.name),
|
|
5213
|
+
status: (0, smithy_client_1.expectString)(output.status),
|
|
5214
5214
|
};
|
|
5215
5215
|
};
|
|
5216
5216
|
const deserializeAws_restJson1AssessmentReportEvidenceError = (output, context) => {
|
|
5217
5217
|
return {
|
|
5218
|
-
errorCode: smithy_client_1.expectString(output.errorCode),
|
|
5219
|
-
errorMessage: smithy_client_1.expectString(output.errorMessage),
|
|
5220
|
-
evidenceId: smithy_client_1.expectString(output.evidenceId),
|
|
5218
|
+
errorCode: (0, smithy_client_1.expectString)(output.errorCode),
|
|
5219
|
+
errorMessage: (0, smithy_client_1.expectString)(output.errorMessage),
|
|
5220
|
+
evidenceId: (0, smithy_client_1.expectString)(output.evidenceId),
|
|
5221
5221
|
};
|
|
5222
5222
|
};
|
|
5223
5223
|
const deserializeAws_restJson1AssessmentReportEvidenceErrors = (output, context) => {
|
|
@@ -5233,22 +5233,22 @@ const deserializeAws_restJson1AssessmentReportEvidenceErrors = (output, context)
|
|
|
5233
5233
|
};
|
|
5234
5234
|
const deserializeAws_restJson1AssessmentReportMetadata = (output, context) => {
|
|
5235
5235
|
return {
|
|
5236
|
-
assessmentId: smithy_client_1.expectString(output.assessmentId),
|
|
5237
|
-
assessmentName: smithy_client_1.expectString(output.assessmentName),
|
|
5238
|
-
author: smithy_client_1.expectString(output.author),
|
|
5236
|
+
assessmentId: (0, smithy_client_1.expectString)(output.assessmentId),
|
|
5237
|
+
assessmentName: (0, smithy_client_1.expectString)(output.assessmentName),
|
|
5238
|
+
author: (0, smithy_client_1.expectString)(output.author),
|
|
5239
5239
|
creationTime: output.creationTime !== undefined && output.creationTime !== null
|
|
5240
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.creationTime)))
|
|
5240
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.creationTime)))
|
|
5241
5241
|
: undefined,
|
|
5242
|
-
description: smithy_client_1.expectString(output.description),
|
|
5243
|
-
id: smithy_client_1.expectString(output.id),
|
|
5244
|
-
name: smithy_client_1.expectString(output.name),
|
|
5245
|
-
status: smithy_client_1.expectString(output.status),
|
|
5242
|
+
description: (0, smithy_client_1.expectString)(output.description),
|
|
5243
|
+
id: (0, smithy_client_1.expectString)(output.id),
|
|
5244
|
+
name: (0, smithy_client_1.expectString)(output.name),
|
|
5245
|
+
status: (0, smithy_client_1.expectString)(output.status),
|
|
5246
5246
|
};
|
|
5247
5247
|
};
|
|
5248
5248
|
const deserializeAws_restJson1AssessmentReportsDestination = (output, context) => {
|
|
5249
5249
|
return {
|
|
5250
|
-
destination: smithy_client_1.expectString(output.destination),
|
|
5251
|
-
destinationType: smithy_client_1.expectString(output.destinationType),
|
|
5250
|
+
destination: (0, smithy_client_1.expectString)(output.destination),
|
|
5251
|
+
destinationType: (0, smithy_client_1.expectString)(output.destinationType),
|
|
5252
5252
|
};
|
|
5253
5253
|
};
|
|
5254
5254
|
const deserializeAws_restJson1AssessmentReportsMetadata = (output, context) => {
|
|
@@ -5264,9 +5264,9 @@ const deserializeAws_restJson1AssessmentReportsMetadata = (output, context) => {
|
|
|
5264
5264
|
};
|
|
5265
5265
|
const deserializeAws_restJson1AWSAccount = (output, context) => {
|
|
5266
5266
|
return {
|
|
5267
|
-
emailAddress: smithy_client_1.expectString(output.emailAddress),
|
|
5268
|
-
id: smithy_client_1.expectString(output.id),
|
|
5269
|
-
name: smithy_client_1.expectString(output.name),
|
|
5267
|
+
emailAddress: (0, smithy_client_1.expectString)(output.emailAddress),
|
|
5268
|
+
id: (0, smithy_client_1.expectString)(output.id),
|
|
5269
|
+
name: (0, smithy_client_1.expectString)(output.name),
|
|
5270
5270
|
};
|
|
5271
5271
|
};
|
|
5272
5272
|
const deserializeAws_restJson1AWSAccounts = (output, context) => {
|
|
@@ -5282,7 +5282,7 @@ const deserializeAws_restJson1AWSAccounts = (output, context) => {
|
|
|
5282
5282
|
};
|
|
5283
5283
|
const deserializeAws_restJson1AWSService = (output, context) => {
|
|
5284
5284
|
return {
|
|
5285
|
-
serviceName: smithy_client_1.expectString(output.serviceName),
|
|
5285
|
+
serviceName: (0, smithy_client_1.expectString)(output.serviceName),
|
|
5286
5286
|
};
|
|
5287
5287
|
};
|
|
5288
5288
|
const deserializeAws_restJson1AWSServices = (output, context) => {
|
|
@@ -5301,8 +5301,8 @@ const deserializeAws_restJson1BatchCreateDelegationByAssessmentError = (output,
|
|
|
5301
5301
|
createDelegationRequest: output.createDelegationRequest !== undefined && output.createDelegationRequest !== null
|
|
5302
5302
|
? deserializeAws_restJson1CreateDelegationRequest(output.createDelegationRequest, context)
|
|
5303
5303
|
: undefined,
|
|
5304
|
-
errorCode: smithy_client_1.expectString(output.errorCode),
|
|
5305
|
-
errorMessage: smithy_client_1.expectString(output.errorMessage),
|
|
5304
|
+
errorCode: (0, smithy_client_1.expectString)(output.errorCode),
|
|
5305
|
+
errorMessage: (0, smithy_client_1.expectString)(output.errorMessage),
|
|
5306
5306
|
};
|
|
5307
5307
|
};
|
|
5308
5308
|
const deserializeAws_restJson1BatchCreateDelegationByAssessmentErrors = (output, context) => {
|
|
@@ -5318,9 +5318,9 @@ const deserializeAws_restJson1BatchCreateDelegationByAssessmentErrors = (output,
|
|
|
5318
5318
|
};
|
|
5319
5319
|
const deserializeAws_restJson1BatchDeleteDelegationByAssessmentError = (output, context) => {
|
|
5320
5320
|
return {
|
|
5321
|
-
delegationId: smithy_client_1.expectString(output.delegationId),
|
|
5322
|
-
errorCode: smithy_client_1.expectString(output.errorCode),
|
|
5323
|
-
errorMessage: smithy_client_1.expectString(output.errorMessage),
|
|
5321
|
+
delegationId: (0, smithy_client_1.expectString)(output.delegationId),
|
|
5322
|
+
errorCode: (0, smithy_client_1.expectString)(output.errorCode),
|
|
5323
|
+
errorMessage: (0, smithy_client_1.expectString)(output.errorMessage),
|
|
5324
5324
|
};
|
|
5325
5325
|
};
|
|
5326
5326
|
const deserializeAws_restJson1BatchDeleteDelegationByAssessmentErrors = (output, context) => {
|
|
@@ -5336,8 +5336,8 @@ const deserializeAws_restJson1BatchDeleteDelegationByAssessmentErrors = (output,
|
|
|
5336
5336
|
};
|
|
5337
5337
|
const deserializeAws_restJson1BatchImportEvidenceToAssessmentControlError = (output, context) => {
|
|
5338
5338
|
return {
|
|
5339
|
-
errorCode: smithy_client_1.expectString(output.errorCode),
|
|
5340
|
-
errorMessage: smithy_client_1.expectString(output.errorMessage),
|
|
5339
|
+
errorCode: (0, smithy_client_1.expectString)(output.errorCode),
|
|
5340
|
+
errorMessage: (0, smithy_client_1.expectString)(output.errorMessage),
|
|
5341
5341
|
manualEvidence: output.manualEvidence !== undefined && output.manualEvidence !== null
|
|
5342
5342
|
? deserializeAws_restJson1ManualEvidence(output.manualEvidence, context)
|
|
5343
5343
|
: undefined,
|
|
@@ -5356,13 +5356,13 @@ const deserializeAws_restJson1BatchImportEvidenceToAssessmentControlErrors = (ou
|
|
|
5356
5356
|
};
|
|
5357
5357
|
const deserializeAws_restJson1ChangeLog = (output, context) => {
|
|
5358
5358
|
return {
|
|
5359
|
-
action: smithy_client_1.expectString(output.action),
|
|
5359
|
+
action: (0, smithy_client_1.expectString)(output.action),
|
|
5360
5360
|
createdAt: output.createdAt !== undefined && output.createdAt !== null
|
|
5361
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.createdAt)))
|
|
5361
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt)))
|
|
5362
5362
|
: undefined,
|
|
5363
|
-
createdBy: smithy_client_1.expectString(output.createdBy),
|
|
5364
|
-
objectName: smithy_client_1.expectString(output.objectName),
|
|
5365
|
-
objectType: smithy_client_1.expectString(output.objectType),
|
|
5363
|
+
createdBy: (0, smithy_client_1.expectString)(output.createdBy),
|
|
5364
|
+
objectName: (0, smithy_client_1.expectString)(output.objectName),
|
|
5365
|
+
objectType: (0, smithy_client_1.expectString)(output.objectType),
|
|
5366
5366
|
};
|
|
5367
5367
|
};
|
|
5368
5368
|
const deserializeAws_restJson1ChangeLogs = (output, context) => {
|
|
@@ -5378,37 +5378,37 @@ const deserializeAws_restJson1ChangeLogs = (output, context) => {
|
|
|
5378
5378
|
};
|
|
5379
5379
|
const deserializeAws_restJson1Control = (output, context) => {
|
|
5380
5380
|
return {
|
|
5381
|
-
actionPlanInstructions: smithy_client_1.expectString(output.actionPlanInstructions),
|
|
5382
|
-
actionPlanTitle: smithy_client_1.expectString(output.actionPlanTitle),
|
|
5383
|
-
arn: smithy_client_1.expectString(output.arn),
|
|
5381
|
+
actionPlanInstructions: (0, smithy_client_1.expectString)(output.actionPlanInstructions),
|
|
5382
|
+
actionPlanTitle: (0, smithy_client_1.expectString)(output.actionPlanTitle),
|
|
5383
|
+
arn: (0, smithy_client_1.expectString)(output.arn),
|
|
5384
5384
|
controlMappingSources: output.controlMappingSources !== undefined && output.controlMappingSources !== null
|
|
5385
5385
|
? deserializeAws_restJson1ControlMappingSources(output.controlMappingSources, context)
|
|
5386
5386
|
: undefined,
|
|
5387
|
-
controlSources: smithy_client_1.expectString(output.controlSources),
|
|
5387
|
+
controlSources: (0, smithy_client_1.expectString)(output.controlSources),
|
|
5388
5388
|
createdAt: output.createdAt !== undefined && output.createdAt !== null
|
|
5389
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.createdAt)))
|
|
5389
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt)))
|
|
5390
5390
|
: undefined,
|
|
5391
|
-
createdBy: smithy_client_1.expectString(output.createdBy),
|
|
5392
|
-
description: smithy_client_1.expectString(output.description),
|
|
5393
|
-
id: smithy_client_1.expectString(output.id),
|
|
5391
|
+
createdBy: (0, smithy_client_1.expectString)(output.createdBy),
|
|
5392
|
+
description: (0, smithy_client_1.expectString)(output.description),
|
|
5393
|
+
id: (0, smithy_client_1.expectString)(output.id),
|
|
5394
5394
|
lastUpdatedAt: output.lastUpdatedAt !== undefined && output.lastUpdatedAt !== null
|
|
5395
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastUpdatedAt)))
|
|
5395
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastUpdatedAt)))
|
|
5396
5396
|
: undefined,
|
|
5397
|
-
lastUpdatedBy: smithy_client_1.expectString(output.lastUpdatedBy),
|
|
5398
|
-
name: smithy_client_1.expectString(output.name),
|
|
5397
|
+
lastUpdatedBy: (0, smithy_client_1.expectString)(output.lastUpdatedBy),
|
|
5398
|
+
name: (0, smithy_client_1.expectString)(output.name),
|
|
5399
5399
|
tags: output.tags !== undefined && output.tags !== null
|
|
5400
5400
|
? deserializeAws_restJson1TagMap(output.tags, context)
|
|
5401
5401
|
: undefined,
|
|
5402
|
-
testingInformation: smithy_client_1.expectString(output.testingInformation),
|
|
5403
|
-
type: smithy_client_1.expectString(output.type),
|
|
5402
|
+
testingInformation: (0, smithy_client_1.expectString)(output.testingInformation),
|
|
5403
|
+
type: (0, smithy_client_1.expectString)(output.type),
|
|
5404
5404
|
};
|
|
5405
5405
|
};
|
|
5406
5406
|
const deserializeAws_restJson1ControlComment = (output, context) => {
|
|
5407
5407
|
return {
|
|
5408
|
-
authorName: smithy_client_1.expectString(output.authorName),
|
|
5409
|
-
commentBody: smithy_client_1.expectString(output.commentBody),
|
|
5408
|
+
authorName: (0, smithy_client_1.expectString)(output.authorName),
|
|
5409
|
+
commentBody: (0, smithy_client_1.expectString)(output.commentBody),
|
|
5410
5410
|
postedDate: output.postedDate !== undefined && output.postedDate !== null
|
|
5411
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.postedDate)))
|
|
5411
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.postedDate)))
|
|
5412
5412
|
: undefined,
|
|
5413
5413
|
};
|
|
5414
5414
|
};
|
|
@@ -5425,16 +5425,16 @@ const deserializeAws_restJson1ControlComments = (output, context) => {
|
|
|
5425
5425
|
};
|
|
5426
5426
|
const deserializeAws_restJson1ControlDomainInsights = (output, context) => {
|
|
5427
5427
|
return {
|
|
5428
|
-
controlsCountByNoncompliantEvidence: smithy_client_1.expectInt32(output.controlsCountByNoncompliantEvidence),
|
|
5428
|
+
controlsCountByNoncompliantEvidence: (0, smithy_client_1.expectInt32)(output.controlsCountByNoncompliantEvidence),
|
|
5429
5429
|
evidenceInsights: output.evidenceInsights !== undefined && output.evidenceInsights !== null
|
|
5430
5430
|
? deserializeAws_restJson1EvidenceInsights(output.evidenceInsights, context)
|
|
5431
5431
|
: undefined,
|
|
5432
|
-
id: smithy_client_1.expectString(output.id),
|
|
5432
|
+
id: (0, smithy_client_1.expectString)(output.id),
|
|
5433
5433
|
lastUpdated: output.lastUpdated !== undefined && output.lastUpdated !== null
|
|
5434
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastUpdated)))
|
|
5434
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastUpdated)))
|
|
5435
5435
|
: undefined,
|
|
5436
|
-
name: smithy_client_1.expectString(output.name),
|
|
5437
|
-
totalControlsCount: smithy_client_1.expectInt32(output.totalControlsCount),
|
|
5436
|
+
name: (0, smithy_client_1.expectString)(output.name),
|
|
5437
|
+
totalControlsCount: (0, smithy_client_1.expectInt32)(output.totalControlsCount),
|
|
5438
5438
|
};
|
|
5439
5439
|
};
|
|
5440
5440
|
const deserializeAws_restJson1ControlDomainInsightsList = (output, context) => {
|
|
@@ -5472,15 +5472,15 @@ const deserializeAws_restJson1ControlInsightsMetadataByAssessment = (output, con
|
|
|
5472
5472
|
};
|
|
5473
5473
|
const deserializeAws_restJson1ControlInsightsMetadataByAssessmentItem = (output, context) => {
|
|
5474
5474
|
return {
|
|
5475
|
-
controlSetName: smithy_client_1.expectString(output.controlSetName),
|
|
5475
|
+
controlSetName: (0, smithy_client_1.expectString)(output.controlSetName),
|
|
5476
5476
|
evidenceInsights: output.evidenceInsights !== undefined && output.evidenceInsights !== null
|
|
5477
5477
|
? deserializeAws_restJson1EvidenceInsights(output.evidenceInsights, context)
|
|
5478
5478
|
: undefined,
|
|
5479
|
-
id: smithy_client_1.expectString(output.id),
|
|
5479
|
+
id: (0, smithy_client_1.expectString)(output.id),
|
|
5480
5480
|
lastUpdated: output.lastUpdated !== undefined && output.lastUpdated !== null
|
|
5481
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastUpdated)))
|
|
5481
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastUpdated)))
|
|
5482
5482
|
: undefined,
|
|
5483
|
-
name: smithy_client_1.expectString(output.name),
|
|
5483
|
+
name: (0, smithy_client_1.expectString)(output.name),
|
|
5484
5484
|
};
|
|
5485
5485
|
};
|
|
5486
5486
|
const deserializeAws_restJson1ControlInsightsMetadataItem = (output, context) => {
|
|
@@ -5488,25 +5488,25 @@ const deserializeAws_restJson1ControlInsightsMetadataItem = (output, context) =>
|
|
|
5488
5488
|
evidenceInsights: output.evidenceInsights !== undefined && output.evidenceInsights !== null
|
|
5489
5489
|
? deserializeAws_restJson1EvidenceInsights(output.evidenceInsights, context)
|
|
5490
5490
|
: undefined,
|
|
5491
|
-
id: smithy_client_1.expectString(output.id),
|
|
5491
|
+
id: (0, smithy_client_1.expectString)(output.id),
|
|
5492
5492
|
lastUpdated: output.lastUpdated !== undefined && output.lastUpdated !== null
|
|
5493
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastUpdated)))
|
|
5493
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastUpdated)))
|
|
5494
5494
|
: undefined,
|
|
5495
|
-
name: smithy_client_1.expectString(output.name),
|
|
5495
|
+
name: (0, smithy_client_1.expectString)(output.name),
|
|
5496
5496
|
};
|
|
5497
5497
|
};
|
|
5498
5498
|
const deserializeAws_restJson1ControlMappingSource = (output, context) => {
|
|
5499
5499
|
return {
|
|
5500
|
-
sourceDescription: smithy_client_1.expectString(output.sourceDescription),
|
|
5501
|
-
sourceFrequency: smithy_client_1.expectString(output.sourceFrequency),
|
|
5502
|
-
sourceId: smithy_client_1.expectString(output.sourceId),
|
|
5500
|
+
sourceDescription: (0, smithy_client_1.expectString)(output.sourceDescription),
|
|
5501
|
+
sourceFrequency: (0, smithy_client_1.expectString)(output.sourceFrequency),
|
|
5502
|
+
sourceId: (0, smithy_client_1.expectString)(output.sourceId),
|
|
5503
5503
|
sourceKeyword: output.sourceKeyword !== undefined && output.sourceKeyword !== null
|
|
5504
5504
|
? deserializeAws_restJson1SourceKeyword(output.sourceKeyword, context)
|
|
5505
5505
|
: undefined,
|
|
5506
|
-
sourceName: smithy_client_1.expectString(output.sourceName),
|
|
5507
|
-
sourceSetUpOption: smithy_client_1.expectString(output.sourceSetUpOption),
|
|
5508
|
-
sourceType: smithy_client_1.expectString(output.sourceType),
|
|
5509
|
-
troubleshootingText: smithy_client_1.expectString(output.troubleshootingText),
|
|
5506
|
+
sourceName: (0, smithy_client_1.expectString)(output.sourceName),
|
|
5507
|
+
sourceSetUpOption: (0, smithy_client_1.expectString)(output.sourceSetUpOption),
|
|
5508
|
+
sourceType: (0, smithy_client_1.expectString)(output.sourceType),
|
|
5509
|
+
troubleshootingText: (0, smithy_client_1.expectString)(output.troubleshootingText),
|
|
5510
5510
|
};
|
|
5511
5511
|
};
|
|
5512
5512
|
const deserializeAws_restJson1ControlMappingSources = (output, context) => {
|
|
@@ -5522,16 +5522,16 @@ const deserializeAws_restJson1ControlMappingSources = (output, context) => {
|
|
|
5522
5522
|
};
|
|
5523
5523
|
const deserializeAws_restJson1ControlMetadata = (output, context) => {
|
|
5524
5524
|
return {
|
|
5525
|
-
arn: smithy_client_1.expectString(output.arn),
|
|
5526
|
-
controlSources: smithy_client_1.expectString(output.controlSources),
|
|
5525
|
+
arn: (0, smithy_client_1.expectString)(output.arn),
|
|
5526
|
+
controlSources: (0, smithy_client_1.expectString)(output.controlSources),
|
|
5527
5527
|
createdAt: output.createdAt !== undefined && output.createdAt !== null
|
|
5528
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.createdAt)))
|
|
5528
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt)))
|
|
5529
5529
|
: undefined,
|
|
5530
|
-
id: smithy_client_1.expectString(output.id),
|
|
5530
|
+
id: (0, smithy_client_1.expectString)(output.id),
|
|
5531
5531
|
lastUpdatedAt: output.lastUpdatedAt !== undefined && output.lastUpdatedAt !== null
|
|
5532
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastUpdatedAt)))
|
|
5532
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastUpdatedAt)))
|
|
5533
5533
|
: undefined,
|
|
5534
|
-
name: smithy_client_1.expectString(output.name),
|
|
5534
|
+
name: (0, smithy_client_1.expectString)(output.name),
|
|
5535
5535
|
};
|
|
5536
5536
|
};
|
|
5537
5537
|
const deserializeAws_restJson1ControlMetadataList = (output, context) => {
|
|
@@ -5561,8 +5561,8 @@ const deserializeAws_restJson1ControlSet = (output, context) => {
|
|
|
5561
5561
|
controls: output.controls !== undefined && output.controls !== null
|
|
5562
5562
|
? deserializeAws_restJson1Controls(output.controls, context)
|
|
5563
5563
|
: undefined,
|
|
5564
|
-
id: smithy_client_1.expectString(output.id),
|
|
5565
|
-
name: smithy_client_1.expectString(output.name),
|
|
5564
|
+
id: (0, smithy_client_1.expectString)(output.id),
|
|
5565
|
+
name: (0, smithy_client_1.expectString)(output.name),
|
|
5566
5566
|
};
|
|
5567
5567
|
};
|
|
5568
5568
|
const deserializeAws_restJson1ControlSets = (output, context) => {
|
|
@@ -5578,42 +5578,42 @@ const deserializeAws_restJson1ControlSets = (output, context) => {
|
|
|
5578
5578
|
};
|
|
5579
5579
|
const deserializeAws_restJson1CreateDelegationRequest = (output, context) => {
|
|
5580
5580
|
return {
|
|
5581
|
-
comment: smithy_client_1.expectString(output.comment),
|
|
5582
|
-
controlSetId: smithy_client_1.expectString(output.controlSetId),
|
|
5583
|
-
roleArn: smithy_client_1.expectString(output.roleArn),
|
|
5584
|
-
roleType: smithy_client_1.expectString(output.roleType),
|
|
5581
|
+
comment: (0, smithy_client_1.expectString)(output.comment),
|
|
5582
|
+
controlSetId: (0, smithy_client_1.expectString)(output.controlSetId),
|
|
5583
|
+
roleArn: (0, smithy_client_1.expectString)(output.roleArn),
|
|
5584
|
+
roleType: (0, smithy_client_1.expectString)(output.roleType),
|
|
5585
5585
|
};
|
|
5586
5586
|
};
|
|
5587
5587
|
const deserializeAws_restJson1Delegation = (output, context) => {
|
|
5588
5588
|
return {
|
|
5589
|
-
assessmentId: smithy_client_1.expectString(output.assessmentId),
|
|
5590
|
-
assessmentName: smithy_client_1.expectString(output.assessmentName),
|
|
5591
|
-
comment: smithy_client_1.expectString(output.comment),
|
|
5592
|
-
controlSetId: smithy_client_1.expectString(output.controlSetId),
|
|
5593
|
-
createdBy: smithy_client_1.expectString(output.createdBy),
|
|
5589
|
+
assessmentId: (0, smithy_client_1.expectString)(output.assessmentId),
|
|
5590
|
+
assessmentName: (0, smithy_client_1.expectString)(output.assessmentName),
|
|
5591
|
+
comment: (0, smithy_client_1.expectString)(output.comment),
|
|
5592
|
+
controlSetId: (0, smithy_client_1.expectString)(output.controlSetId),
|
|
5593
|
+
createdBy: (0, smithy_client_1.expectString)(output.createdBy),
|
|
5594
5594
|
creationTime: output.creationTime !== undefined && output.creationTime !== null
|
|
5595
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.creationTime)))
|
|
5595
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.creationTime)))
|
|
5596
5596
|
: undefined,
|
|
5597
|
-
id: smithy_client_1.expectString(output.id),
|
|
5597
|
+
id: (0, smithy_client_1.expectString)(output.id),
|
|
5598
5598
|
lastUpdated: output.lastUpdated !== undefined && output.lastUpdated !== null
|
|
5599
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastUpdated)))
|
|
5599
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastUpdated)))
|
|
5600
5600
|
: undefined,
|
|
5601
|
-
roleArn: smithy_client_1.expectString(output.roleArn),
|
|
5602
|
-
roleType: smithy_client_1.expectString(output.roleType),
|
|
5603
|
-
status: smithy_client_1.expectString(output.status),
|
|
5601
|
+
roleArn: (0, smithy_client_1.expectString)(output.roleArn),
|
|
5602
|
+
roleType: (0, smithy_client_1.expectString)(output.roleType),
|
|
5603
|
+
status: (0, smithy_client_1.expectString)(output.status),
|
|
5604
5604
|
};
|
|
5605
5605
|
};
|
|
5606
5606
|
const deserializeAws_restJson1DelegationMetadata = (output, context) => {
|
|
5607
5607
|
return {
|
|
5608
|
-
assessmentId: smithy_client_1.expectString(output.assessmentId),
|
|
5609
|
-
assessmentName: smithy_client_1.expectString(output.assessmentName),
|
|
5610
|
-
controlSetName: smithy_client_1.expectString(output.controlSetName),
|
|
5608
|
+
assessmentId: (0, smithy_client_1.expectString)(output.assessmentId),
|
|
5609
|
+
assessmentName: (0, smithy_client_1.expectString)(output.assessmentName),
|
|
5610
|
+
controlSetName: (0, smithy_client_1.expectString)(output.controlSetName),
|
|
5611
5611
|
creationTime: output.creationTime !== undefined && output.creationTime !== null
|
|
5612
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.creationTime)))
|
|
5612
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.creationTime)))
|
|
5613
5613
|
: undefined,
|
|
5614
|
-
id: smithy_client_1.expectString(output.id),
|
|
5615
|
-
roleArn: smithy_client_1.expectString(output.roleArn),
|
|
5616
|
-
status: smithy_client_1.expectString(output.status),
|
|
5614
|
+
id: (0, smithy_client_1.expectString)(output.id),
|
|
5615
|
+
roleArn: (0, smithy_client_1.expectString)(output.roleArn),
|
|
5616
|
+
status: (0, smithy_client_1.expectString)(output.status),
|
|
5617
5617
|
};
|
|
5618
5618
|
};
|
|
5619
5619
|
const deserializeAws_restJson1DelegationMetadataList = (output, context) => {
|
|
@@ -5640,26 +5640,26 @@ const deserializeAws_restJson1Delegations = (output, context) => {
|
|
|
5640
5640
|
};
|
|
5641
5641
|
const deserializeAws_restJson1Evidence = (output, context) => {
|
|
5642
5642
|
return {
|
|
5643
|
-
assessmentReportSelection: smithy_client_1.expectString(output.assessmentReportSelection),
|
|
5643
|
+
assessmentReportSelection: (0, smithy_client_1.expectString)(output.assessmentReportSelection),
|
|
5644
5644
|
attributes: output.attributes !== undefined && output.attributes !== null
|
|
5645
5645
|
? deserializeAws_restJson1EvidenceAttributes(output.attributes, context)
|
|
5646
5646
|
: undefined,
|
|
5647
|
-
awsAccountId: smithy_client_1.expectString(output.awsAccountId),
|
|
5648
|
-
awsOrganization: smithy_client_1.expectString(output.awsOrganization),
|
|
5649
|
-
complianceCheck: smithy_client_1.expectString(output.complianceCheck),
|
|
5650
|
-
dataSource: smithy_client_1.expectString(output.dataSource),
|
|
5651
|
-
eventName: smithy_client_1.expectString(output.eventName),
|
|
5652
|
-
eventSource: smithy_client_1.expectString(output.eventSource),
|
|
5653
|
-
evidenceAwsAccountId: smithy_client_1.expectString(output.evidenceAwsAccountId),
|
|
5654
|
-
evidenceByType: smithy_client_1.expectString(output.evidenceByType),
|
|
5655
|
-
evidenceFolderId: smithy_client_1.expectString(output.evidenceFolderId),
|
|
5656
|
-
iamId: smithy_client_1.expectString(output.iamId),
|
|
5657
|
-
id: smithy_client_1.expectString(output.id),
|
|
5647
|
+
awsAccountId: (0, smithy_client_1.expectString)(output.awsAccountId),
|
|
5648
|
+
awsOrganization: (0, smithy_client_1.expectString)(output.awsOrganization),
|
|
5649
|
+
complianceCheck: (0, smithy_client_1.expectString)(output.complianceCheck),
|
|
5650
|
+
dataSource: (0, smithy_client_1.expectString)(output.dataSource),
|
|
5651
|
+
eventName: (0, smithy_client_1.expectString)(output.eventName),
|
|
5652
|
+
eventSource: (0, smithy_client_1.expectString)(output.eventSource),
|
|
5653
|
+
evidenceAwsAccountId: (0, smithy_client_1.expectString)(output.evidenceAwsAccountId),
|
|
5654
|
+
evidenceByType: (0, smithy_client_1.expectString)(output.evidenceByType),
|
|
5655
|
+
evidenceFolderId: (0, smithy_client_1.expectString)(output.evidenceFolderId),
|
|
5656
|
+
iamId: (0, smithy_client_1.expectString)(output.iamId),
|
|
5657
|
+
id: (0, smithy_client_1.expectString)(output.id),
|
|
5658
5658
|
resourcesIncluded: output.resourcesIncluded !== undefined && output.resourcesIncluded !== null
|
|
5659
5659
|
? deserializeAws_restJson1Resources(output.resourcesIncluded, context)
|
|
5660
5660
|
: undefined,
|
|
5661
5661
|
time: output.time !== undefined && output.time !== null
|
|
5662
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.time)))
|
|
5662
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.time)))
|
|
5663
5663
|
: undefined,
|
|
5664
5664
|
};
|
|
5665
5665
|
};
|
|
@@ -5670,7 +5670,7 @@ const deserializeAws_restJson1EvidenceAttributes = (output, context) => {
|
|
|
5670
5670
|
}
|
|
5671
5671
|
return {
|
|
5672
5672
|
...acc,
|
|
5673
|
-
[key]: smithy_client_1.expectString(value),
|
|
5673
|
+
[key]: (0, smithy_client_1.expectString)(value),
|
|
5674
5674
|
};
|
|
5675
5675
|
}, {});
|
|
5676
5676
|
};
|
|
@@ -5681,15 +5681,15 @@ const deserializeAws_restJson1EvidenceIds = (output, context) => {
|
|
|
5681
5681
|
if (entry === null) {
|
|
5682
5682
|
return null;
|
|
5683
5683
|
}
|
|
5684
|
-
return smithy_client_1.expectString(entry);
|
|
5684
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
5685
5685
|
});
|
|
5686
5686
|
return retVal;
|
|
5687
5687
|
};
|
|
5688
5688
|
const deserializeAws_restJson1EvidenceInsights = (output, context) => {
|
|
5689
5689
|
return {
|
|
5690
|
-
compliantEvidenceCount: smithy_client_1.expectInt32(output.compliantEvidenceCount),
|
|
5691
|
-
inconclusiveEvidenceCount: smithy_client_1.expectInt32(output.inconclusiveEvidenceCount),
|
|
5692
|
-
noncompliantEvidenceCount: smithy_client_1.expectInt32(output.noncompliantEvidenceCount),
|
|
5690
|
+
compliantEvidenceCount: (0, smithy_client_1.expectInt32)(output.compliantEvidenceCount),
|
|
5691
|
+
inconclusiveEvidenceCount: (0, smithy_client_1.expectInt32)(output.inconclusiveEvidenceCount),
|
|
5692
|
+
noncompliantEvidenceCount: (0, smithy_client_1.expectInt32)(output.noncompliantEvidenceCount),
|
|
5693
5693
|
};
|
|
5694
5694
|
};
|
|
5695
5695
|
const deserializeAws_restJson1EvidenceList = (output, context) => {
|
|
@@ -5710,42 +5710,42 @@ const deserializeAws_restJson1EvidenceSources = (output, context) => {
|
|
|
5710
5710
|
if (entry === null) {
|
|
5711
5711
|
return null;
|
|
5712
5712
|
}
|
|
5713
|
-
return smithy_client_1.expectString(entry);
|
|
5713
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
5714
5714
|
});
|
|
5715
5715
|
return retVal;
|
|
5716
5716
|
};
|
|
5717
5717
|
const deserializeAws_restJson1Framework = (output, context) => {
|
|
5718
5718
|
return {
|
|
5719
|
-
arn: smithy_client_1.expectString(output.arn),
|
|
5720
|
-
complianceType: smithy_client_1.expectString(output.complianceType),
|
|
5719
|
+
arn: (0, smithy_client_1.expectString)(output.arn),
|
|
5720
|
+
complianceType: (0, smithy_client_1.expectString)(output.complianceType),
|
|
5721
5721
|
controlSets: output.controlSets !== undefined && output.controlSets !== null
|
|
5722
5722
|
? deserializeAws_restJson1ControlSets(output.controlSets, context)
|
|
5723
5723
|
: undefined,
|
|
5724
|
-
controlSources: smithy_client_1.expectString(output.controlSources),
|
|
5724
|
+
controlSources: (0, smithy_client_1.expectString)(output.controlSources),
|
|
5725
5725
|
createdAt: output.createdAt !== undefined && output.createdAt !== null
|
|
5726
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.createdAt)))
|
|
5726
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.createdAt)))
|
|
5727
5727
|
: undefined,
|
|
5728
|
-
createdBy: smithy_client_1.expectString(output.createdBy),
|
|
5729
|
-
description: smithy_client_1.expectString(output.description),
|
|
5730
|
-
id: smithy_client_1.expectString(output.id),
|
|
5728
|
+
createdBy: (0, smithy_client_1.expectString)(output.createdBy),
|
|
5729
|
+
description: (0, smithy_client_1.expectString)(output.description),
|
|
5730
|
+
id: (0, smithy_client_1.expectString)(output.id),
|
|
5731
5731
|
lastUpdatedAt: output.lastUpdatedAt !== undefined && output.lastUpdatedAt !== null
|
|
5732
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastUpdatedAt)))
|
|
5732
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastUpdatedAt)))
|
|
5733
5733
|
: undefined,
|
|
5734
|
-
lastUpdatedBy: smithy_client_1.expectString(output.lastUpdatedBy),
|
|
5735
|
-
logo: smithy_client_1.expectString(output.logo),
|
|
5736
|
-
name: smithy_client_1.expectString(output.name),
|
|
5734
|
+
lastUpdatedBy: (0, smithy_client_1.expectString)(output.lastUpdatedBy),
|
|
5735
|
+
logo: (0, smithy_client_1.expectString)(output.logo),
|
|
5736
|
+
name: (0, smithy_client_1.expectString)(output.name),
|
|
5737
5737
|
tags: output.tags !== undefined && output.tags !== null
|
|
5738
5738
|
? deserializeAws_restJson1TagMap(output.tags, context)
|
|
5739
5739
|
: undefined,
|
|
5740
|
-
type: smithy_client_1.expectString(output.type),
|
|
5740
|
+
type: (0, smithy_client_1.expectString)(output.type),
|
|
5741
5741
|
};
|
|
5742
5742
|
};
|
|
5743
5743
|
const deserializeAws_restJson1FrameworkMetadata = (output, context) => {
|
|
5744
5744
|
return {
|
|
5745
|
-
complianceType: smithy_client_1.expectString(output.complianceType),
|
|
5746
|
-
description: smithy_client_1.expectString(output.description),
|
|
5747
|
-
logo: smithy_client_1.expectString(output.logo),
|
|
5748
|
-
name: smithy_client_1.expectString(output.name),
|
|
5745
|
+
complianceType: (0, smithy_client_1.expectString)(output.complianceType),
|
|
5746
|
+
description: (0, smithy_client_1.expectString)(output.description),
|
|
5747
|
+
logo: (0, smithy_client_1.expectString)(output.logo),
|
|
5748
|
+
name: (0, smithy_client_1.expectString)(output.name),
|
|
5749
5749
|
};
|
|
5750
5750
|
};
|
|
5751
5751
|
const deserializeAws_restJson1FrameworkMetadataList = (output, context) => {
|
|
@@ -5761,27 +5761,27 @@ const deserializeAws_restJson1FrameworkMetadataList = (output, context) => {
|
|
|
5761
5761
|
};
|
|
5762
5762
|
const deserializeAws_restJson1Insights = (output, context) => {
|
|
5763
5763
|
return {
|
|
5764
|
-
activeAssessmentsCount: smithy_client_1.expectInt32(output.activeAssessmentsCount),
|
|
5765
|
-
assessmentControlsCountByNoncompliantEvidence: smithy_client_1.expectInt32(output.assessmentControlsCountByNoncompliantEvidence),
|
|
5766
|
-
compliantEvidenceCount: smithy_client_1.expectInt32(output.compliantEvidenceCount),
|
|
5767
|
-
inconclusiveEvidenceCount: smithy_client_1.expectInt32(output.inconclusiveEvidenceCount),
|
|
5764
|
+
activeAssessmentsCount: (0, smithy_client_1.expectInt32)(output.activeAssessmentsCount),
|
|
5765
|
+
assessmentControlsCountByNoncompliantEvidence: (0, smithy_client_1.expectInt32)(output.assessmentControlsCountByNoncompliantEvidence),
|
|
5766
|
+
compliantEvidenceCount: (0, smithy_client_1.expectInt32)(output.compliantEvidenceCount),
|
|
5767
|
+
inconclusiveEvidenceCount: (0, smithy_client_1.expectInt32)(output.inconclusiveEvidenceCount),
|
|
5768
5768
|
lastUpdated: output.lastUpdated !== undefined && output.lastUpdated !== null
|
|
5769
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastUpdated)))
|
|
5769
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastUpdated)))
|
|
5770
5770
|
: undefined,
|
|
5771
|
-
noncompliantEvidenceCount: smithy_client_1.expectInt32(output.noncompliantEvidenceCount),
|
|
5772
|
-
totalAssessmentControlsCount: smithy_client_1.expectInt32(output.totalAssessmentControlsCount),
|
|
5771
|
+
noncompliantEvidenceCount: (0, smithy_client_1.expectInt32)(output.noncompliantEvidenceCount),
|
|
5772
|
+
totalAssessmentControlsCount: (0, smithy_client_1.expectInt32)(output.totalAssessmentControlsCount),
|
|
5773
5773
|
};
|
|
5774
5774
|
};
|
|
5775
5775
|
const deserializeAws_restJson1InsightsByAssessment = (output, context) => {
|
|
5776
5776
|
return {
|
|
5777
|
-
assessmentControlsCountByNoncompliantEvidence: smithy_client_1.expectInt32(output.assessmentControlsCountByNoncompliantEvidence),
|
|
5778
|
-
compliantEvidenceCount: smithy_client_1.expectInt32(output.compliantEvidenceCount),
|
|
5779
|
-
inconclusiveEvidenceCount: smithy_client_1.expectInt32(output.inconclusiveEvidenceCount),
|
|
5777
|
+
assessmentControlsCountByNoncompliantEvidence: (0, smithy_client_1.expectInt32)(output.assessmentControlsCountByNoncompliantEvidence),
|
|
5778
|
+
compliantEvidenceCount: (0, smithy_client_1.expectInt32)(output.compliantEvidenceCount),
|
|
5779
|
+
inconclusiveEvidenceCount: (0, smithy_client_1.expectInt32)(output.inconclusiveEvidenceCount),
|
|
5780
5780
|
lastUpdated: output.lastUpdated !== undefined && output.lastUpdated !== null
|
|
5781
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastUpdated)))
|
|
5781
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.lastUpdated)))
|
|
5782
5782
|
: undefined,
|
|
5783
|
-
noncompliantEvidenceCount: smithy_client_1.expectInt32(output.noncompliantEvidenceCount),
|
|
5784
|
-
totalAssessmentControlsCount: smithy_client_1.expectInt32(output.totalAssessmentControlsCount),
|
|
5783
|
+
noncompliantEvidenceCount: (0, smithy_client_1.expectInt32)(output.noncompliantEvidenceCount),
|
|
5784
|
+
totalAssessmentControlsCount: (0, smithy_client_1.expectInt32)(output.totalAssessmentControlsCount),
|
|
5785
5785
|
};
|
|
5786
5786
|
};
|
|
5787
5787
|
const deserializeAws_restJson1Keywords = (output, context) => {
|
|
@@ -5791,7 +5791,7 @@ const deserializeAws_restJson1Keywords = (output, context) => {
|
|
|
5791
5791
|
if (entry === null) {
|
|
5792
5792
|
return null;
|
|
5793
5793
|
}
|
|
5794
|
-
return smithy_client_1.expectString(entry);
|
|
5794
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
5795
5795
|
});
|
|
5796
5796
|
return retVal;
|
|
5797
5797
|
};
|
|
@@ -5808,21 +5808,21 @@ const deserializeAws_restJson1ListAssessmentMetadata = (output, context) => {
|
|
|
5808
5808
|
};
|
|
5809
5809
|
const deserializeAws_restJson1ManualEvidence = (output, context) => {
|
|
5810
5810
|
return {
|
|
5811
|
-
s3ResourcePath: smithy_client_1.expectString(output.s3ResourcePath),
|
|
5811
|
+
s3ResourcePath: (0, smithy_client_1.expectString)(output.s3ResourcePath),
|
|
5812
5812
|
};
|
|
5813
5813
|
};
|
|
5814
5814
|
const deserializeAws_restJson1Notification = (output, context) => {
|
|
5815
5815
|
return {
|
|
5816
|
-
assessmentId: smithy_client_1.expectString(output.assessmentId),
|
|
5817
|
-
assessmentName: smithy_client_1.expectString(output.assessmentName),
|
|
5818
|
-
controlSetId: smithy_client_1.expectString(output.controlSetId),
|
|
5819
|
-
controlSetName: smithy_client_1.expectString(output.controlSetName),
|
|
5820
|
-
description: smithy_client_1.expectString(output.description),
|
|
5816
|
+
assessmentId: (0, smithy_client_1.expectString)(output.assessmentId),
|
|
5817
|
+
assessmentName: (0, smithy_client_1.expectString)(output.assessmentName),
|
|
5818
|
+
controlSetId: (0, smithy_client_1.expectString)(output.controlSetId),
|
|
5819
|
+
controlSetName: (0, smithy_client_1.expectString)(output.controlSetName),
|
|
5820
|
+
description: (0, smithy_client_1.expectString)(output.description),
|
|
5821
5821
|
eventTime: output.eventTime !== undefined && output.eventTime !== null
|
|
5822
|
-
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.eventTime)))
|
|
5822
|
+
? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.eventTime)))
|
|
5823
5823
|
: undefined,
|
|
5824
|
-
id: smithy_client_1.expectString(output.id),
|
|
5825
|
-
source: smithy_client_1.expectString(output.source),
|
|
5824
|
+
id: (0, smithy_client_1.expectString)(output.id),
|
|
5825
|
+
source: (0, smithy_client_1.expectString)(output.source),
|
|
5826
5826
|
};
|
|
5827
5827
|
};
|
|
5828
5828
|
const deserializeAws_restJson1Notifications = (output, context) => {
|
|
@@ -5838,8 +5838,8 @@ const deserializeAws_restJson1Notifications = (output, context) => {
|
|
|
5838
5838
|
};
|
|
5839
5839
|
const deserializeAws_restJson1Resource = (output, context) => {
|
|
5840
5840
|
return {
|
|
5841
|
-
arn: smithy_client_1.expectString(output.arn),
|
|
5842
|
-
value: smithy_client_1.expectString(output.value),
|
|
5841
|
+
arn: (0, smithy_client_1.expectString)(output.arn),
|
|
5842
|
+
value: (0, smithy_client_1.expectString)(output.value),
|
|
5843
5843
|
};
|
|
5844
5844
|
};
|
|
5845
5845
|
const deserializeAws_restJson1Resources = (output, context) => {
|
|
@@ -5855,8 +5855,8 @@ const deserializeAws_restJson1Resources = (output, context) => {
|
|
|
5855
5855
|
};
|
|
5856
5856
|
const deserializeAws_restJson1Role = (output, context) => {
|
|
5857
5857
|
return {
|
|
5858
|
-
roleArn: smithy_client_1.expectString(output.roleArn),
|
|
5859
|
-
roleType: smithy_client_1.expectString(output.roleType),
|
|
5858
|
+
roleArn: (0, smithy_client_1.expectString)(output.roleArn),
|
|
5859
|
+
roleType: (0, smithy_client_1.expectString)(output.roleType),
|
|
5860
5860
|
};
|
|
5861
5861
|
};
|
|
5862
5862
|
const deserializeAws_restJson1Roles = (output, context) => {
|
|
@@ -5882,10 +5882,10 @@ const deserializeAws_restJson1Scope = (output, context) => {
|
|
|
5882
5882
|
};
|
|
5883
5883
|
const deserializeAws_restJson1ServiceMetadata = (output, context) => {
|
|
5884
5884
|
return {
|
|
5885
|
-
category: smithy_client_1.expectString(output.category),
|
|
5886
|
-
description: smithy_client_1.expectString(output.description),
|
|
5887
|
-
displayName: smithy_client_1.expectString(output.displayName),
|
|
5888
|
-
name: smithy_client_1.expectString(output.name),
|
|
5885
|
+
category: (0, smithy_client_1.expectString)(output.category),
|
|
5886
|
+
description: (0, smithy_client_1.expectString)(output.description),
|
|
5887
|
+
displayName: (0, smithy_client_1.expectString)(output.displayName),
|
|
5888
|
+
name: (0, smithy_client_1.expectString)(output.name),
|
|
5889
5889
|
};
|
|
5890
5890
|
};
|
|
5891
5891
|
const deserializeAws_restJson1ServiceMetadataList = (output, context) => {
|
|
@@ -5907,15 +5907,15 @@ const deserializeAws_restJson1Settings = (output, context) => {
|
|
|
5907
5907
|
defaultProcessOwners: output.defaultProcessOwners !== undefined && output.defaultProcessOwners !== null
|
|
5908
5908
|
? deserializeAws_restJson1Roles(output.defaultProcessOwners, context)
|
|
5909
5909
|
: undefined,
|
|
5910
|
-
isAwsOrgEnabled: smithy_client_1.expectBoolean(output.isAwsOrgEnabled),
|
|
5911
|
-
kmsKey: smithy_client_1.expectString(output.kmsKey),
|
|
5912
|
-
snsTopic: smithy_client_1.expectString(output.snsTopic),
|
|
5910
|
+
isAwsOrgEnabled: (0, smithy_client_1.expectBoolean)(output.isAwsOrgEnabled),
|
|
5911
|
+
kmsKey: (0, smithy_client_1.expectString)(output.kmsKey),
|
|
5912
|
+
snsTopic: (0, smithy_client_1.expectString)(output.snsTopic),
|
|
5913
5913
|
};
|
|
5914
5914
|
};
|
|
5915
5915
|
const deserializeAws_restJson1SourceKeyword = (output, context) => {
|
|
5916
5916
|
return {
|
|
5917
|
-
keywordInputType: smithy_client_1.expectString(output.keywordInputType),
|
|
5918
|
-
keywordValue: smithy_client_1.expectString(output.keywordValue),
|
|
5917
|
+
keywordInputType: (0, smithy_client_1.expectString)(output.keywordInputType),
|
|
5918
|
+
keywordValue: (0, smithy_client_1.expectString)(output.keywordValue),
|
|
5919
5919
|
};
|
|
5920
5920
|
};
|
|
5921
5921
|
const deserializeAws_restJson1TagMap = (output, context) => {
|
|
@@ -5925,14 +5925,14 @@ const deserializeAws_restJson1TagMap = (output, context) => {
|
|
|
5925
5925
|
}
|
|
5926
5926
|
return {
|
|
5927
5927
|
...acc,
|
|
5928
|
-
[key]: smithy_client_1.expectString(value),
|
|
5928
|
+
[key]: (0, smithy_client_1.expectString)(value),
|
|
5929
5929
|
};
|
|
5930
5930
|
}, {});
|
|
5931
5931
|
};
|
|
5932
5932
|
const deserializeAws_restJson1URL = (output, context) => {
|
|
5933
5933
|
return {
|
|
5934
|
-
hyperlinkName: smithy_client_1.expectString(output.hyperlinkName),
|
|
5935
|
-
link: smithy_client_1.expectString(output.link),
|
|
5934
|
+
hyperlinkName: (0, smithy_client_1.expectString)(output.hyperlinkName),
|
|
5935
|
+
link: (0, smithy_client_1.expectString)(output.link),
|
|
5936
5936
|
};
|
|
5937
5937
|
};
|
|
5938
5938
|
const deserializeAws_restJson1ValidationErrors = (output, context) => {
|
|
@@ -5942,14 +5942,14 @@ const deserializeAws_restJson1ValidationErrors = (output, context) => {
|
|
|
5942
5942
|
if (entry === null) {
|
|
5943
5943
|
return null;
|
|
5944
5944
|
}
|
|
5945
|
-
return smithy_client_1.expectString(entry);
|
|
5945
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
5946
5946
|
});
|
|
5947
5947
|
return retVal;
|
|
5948
5948
|
};
|
|
5949
5949
|
const deserializeAws_restJson1ValidationExceptionField = (output, context) => {
|
|
5950
5950
|
return {
|
|
5951
|
-
message: smithy_client_1.expectString(output.message),
|
|
5952
|
-
name: smithy_client_1.expectString(output.name),
|
|
5951
|
+
message: (0, smithy_client_1.expectString)(output.message),
|
|
5952
|
+
name: (0, smithy_client_1.expectString)(output.name),
|
|
5953
5953
|
};
|
|
5954
5954
|
};
|
|
5955
5955
|
const deserializeAws_restJson1ValidationExceptionFieldList = (output, context) => {
|