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