@aws-sdk/client-auditmanager 3.54.0 → 3.56.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 +24 -0
- package/dist-cjs/AuditManagerClient.js +13 -13
- package/dist-cjs/commands/AssociateAssessmentReportEvidenceFolderCommand.js +3 -3
- package/dist-cjs/commands/BatchAssociateAssessmentReportEvidenceCommand.js +3 -3
- package/dist-cjs/commands/BatchCreateDelegationByAssessmentCommand.js +3 -3
- package/dist-cjs/commands/BatchDeleteDelegationByAssessmentCommand.js +3 -3
- package/dist-cjs/commands/BatchDisassociateAssessmentReportEvidenceCommand.js +3 -3
- package/dist-cjs/commands/BatchImportEvidenceToAssessmentControlCommand.js +3 -3
- package/dist-cjs/commands/CreateAssessmentCommand.js +3 -3
- package/dist-cjs/commands/CreateAssessmentFrameworkCommand.js +3 -3
- package/dist-cjs/commands/CreateAssessmentReportCommand.js +3 -3
- package/dist-cjs/commands/CreateControlCommand.js +3 -3
- package/dist-cjs/commands/DeleteAssessmentCommand.js +3 -3
- package/dist-cjs/commands/DeleteAssessmentFrameworkCommand.js +3 -3
- package/dist-cjs/commands/DeleteAssessmentFrameworkShareCommand.js +3 -3
- package/dist-cjs/commands/DeleteAssessmentReportCommand.js +3 -3
- package/dist-cjs/commands/DeleteControlCommand.js +3 -3
- package/dist-cjs/commands/DeregisterAccountCommand.js +3 -3
- package/dist-cjs/commands/DeregisterOrganizationAdminAccountCommand.js +3 -3
- package/dist-cjs/commands/DisassociateAssessmentReportEvidenceFolderCommand.js +3 -3
- package/dist-cjs/commands/GetAccountStatusCommand.js +3 -3
- package/dist-cjs/commands/GetAssessmentCommand.js +3 -3
- package/dist-cjs/commands/GetAssessmentFrameworkCommand.js +3 -3
- package/dist-cjs/commands/GetAssessmentReportUrlCommand.js +3 -3
- package/dist-cjs/commands/GetChangeLogsCommand.js +3 -3
- package/dist-cjs/commands/GetControlCommand.js +3 -3
- package/dist-cjs/commands/GetDelegationsCommand.js +3 -3
- package/dist-cjs/commands/GetEvidenceByEvidenceFolderCommand.js +3 -3
- package/dist-cjs/commands/GetEvidenceCommand.js +3 -3
- package/dist-cjs/commands/GetEvidenceFolderCommand.js +3 -3
- package/dist-cjs/commands/GetEvidenceFoldersByAssessmentCommand.js +3 -3
- package/dist-cjs/commands/GetEvidenceFoldersByAssessmentControlCommand.js +3 -3
- package/dist-cjs/commands/GetInsightsByAssessmentCommand.js +3 -3
- package/dist-cjs/commands/GetInsightsCommand.js +3 -3
- package/dist-cjs/commands/GetOrganizationAdminAccountCommand.js +3 -3
- package/dist-cjs/commands/GetServicesInScopeCommand.js +3 -3
- package/dist-cjs/commands/GetSettingsCommand.js +3 -3
- package/dist-cjs/commands/ListAssessmentControlInsightsByControlDomainCommand.js +3 -3
- package/dist-cjs/commands/ListAssessmentFrameworkShareRequestsCommand.js +3 -3
- package/dist-cjs/commands/ListAssessmentFrameworksCommand.js +3 -3
- package/dist-cjs/commands/ListAssessmentReportsCommand.js +3 -3
- package/dist-cjs/commands/ListAssessmentsCommand.js +3 -3
- package/dist-cjs/commands/ListControlDomainInsightsByAssessmentCommand.js +3 -3
- package/dist-cjs/commands/ListControlDomainInsightsCommand.js +3 -3
- package/dist-cjs/commands/ListControlInsightsByControlDomainCommand.js +3 -3
- package/dist-cjs/commands/ListControlsCommand.js +3 -3
- package/dist-cjs/commands/ListKeywordsForDataSourceCommand.js +3 -3
- package/dist-cjs/commands/ListNotificationsCommand.js +3 -3
- package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-cjs/commands/RegisterAccountCommand.js +3 -3
- package/dist-cjs/commands/RegisterOrganizationAdminAccountCommand.js +3 -3
- package/dist-cjs/commands/StartAssessmentFrameworkShareCommand.js +3 -3
- package/dist-cjs/commands/TagResourceCommand.js +3 -3
- package/dist-cjs/commands/UntagResourceCommand.js +3 -3
- package/dist-cjs/commands/UpdateAssessmentCommand.js +3 -3
- package/dist-cjs/commands/UpdateAssessmentControlCommand.js +3 -3
- package/dist-cjs/commands/UpdateAssessmentControlSetStatusCommand.js +3 -3
- package/dist-cjs/commands/UpdateAssessmentFrameworkCommand.js +3 -3
- package/dist-cjs/commands/UpdateAssessmentFrameworkShareCommand.js +3 -3
- package/dist-cjs/commands/UpdateAssessmentStatusCommand.js +3 -3
- package/dist-cjs/commands/UpdateControlCommand.js +3 -3
- package/dist-cjs/commands/UpdateSettingsCommand.js +3 -3
- package/dist-cjs/commands/ValidateAssessmentReportIntegrityCommand.js +3 -3
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/protocols/Aws_restJson1.js +454 -454
- package/dist-cjs/runtimeConfig.browser.js +4 -4
- package/dist-cjs/runtimeConfig.js +9 -9
- package/dist-cjs/runtimeConfig.native.js +1 -1
- package/dist-es/AuditManager.js +61 -61
- package/dist-es/pagination/GetChangeLogsPaginator.js +4 -4
- package/dist-es/pagination/GetDelegationsPaginator.js +4 -4
- package/dist-es/pagination/GetEvidenceByEvidenceFolderPaginator.js +4 -4
- package/dist-es/pagination/GetEvidenceFoldersByAssessmentControlPaginator.js +4 -4
- package/dist-es/pagination/GetEvidenceFoldersByAssessmentPaginator.js +4 -4
- package/dist-es/pagination/ListAssessmentControlInsightsByControlDomainPaginator.js +4 -4
- package/dist-es/pagination/ListAssessmentFrameworkShareRequestsPaginator.js +4 -4
- package/dist-es/pagination/ListAssessmentFrameworksPaginator.js +4 -4
- package/dist-es/pagination/ListAssessmentReportsPaginator.js +4 -4
- package/dist-es/pagination/ListAssessmentsPaginator.js +4 -4
- package/dist-es/pagination/ListControlDomainInsightsByAssessmentPaginator.js +4 -4
- package/dist-es/pagination/ListControlDomainInsightsPaginator.js +4 -4
- package/dist-es/pagination/ListControlInsightsByControlDomainPaginator.js +4 -4
- package/dist-es/pagination/ListControlsPaginator.js +4 -4
- package/dist-es/pagination/ListKeywordsForDataSourcePaginator.js +4 -4
- package/dist-es/pagination/ListNotificationsPaginator.js +4 -4
- package/dist-es/protocols/Aws_restJson1.js +61 -61
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
- package/package.json +34 -34
|
@@ -13,7 +13,7 @@ export var serializeAws_restJson1AssociateAssessmentReportEvidenceFolderCommand
|
|
|
13
13
|
headers = {
|
|
14
14
|
"content-type": "application/json",
|
|
15
15
|
};
|
|
16
|
-
resolvedPath = ""
|
|
16
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
17
17
|
"/assessments/{assessmentId}/associateToAssessmentReport";
|
|
18
18
|
if (input.assessmentId !== undefined) {
|
|
19
19
|
labelValue = input.assessmentId;
|
|
@@ -49,7 +49,7 @@ export var serializeAws_restJson1BatchAssociateAssessmentReportEvidenceCommand =
|
|
|
49
49
|
headers = {
|
|
50
50
|
"content-type": "application/json",
|
|
51
51
|
};
|
|
52
|
-
resolvedPath = ""
|
|
52
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
53
53
|
"/assessments/{assessmentId}/batchAssociateToAssessmentReport";
|
|
54
54
|
if (input.assessmentId !== undefined) {
|
|
55
55
|
labelValue = input.assessmentId;
|
|
@@ -86,7 +86,7 @@ export var serializeAws_restJson1BatchCreateDelegationByAssessmentCommand = func
|
|
|
86
86
|
headers = {
|
|
87
87
|
"content-type": "application/json",
|
|
88
88
|
};
|
|
89
|
-
resolvedPath = ""
|
|
89
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/assessments/{assessmentId}/delegations";
|
|
90
90
|
if (input.assessmentId !== undefined) {
|
|
91
91
|
labelValue = input.assessmentId;
|
|
92
92
|
if (labelValue.length <= 0) {
|
|
@@ -123,7 +123,7 @@ export var serializeAws_restJson1BatchDeleteDelegationByAssessmentCommand = func
|
|
|
123
123
|
headers = {
|
|
124
124
|
"content-type": "application/json",
|
|
125
125
|
};
|
|
126
|
-
resolvedPath = ""
|
|
126
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/assessments/{assessmentId}/delegations";
|
|
127
127
|
if (input.assessmentId !== undefined) {
|
|
128
128
|
labelValue = input.assessmentId;
|
|
129
129
|
if (labelValue.length <= 0) {
|
|
@@ -160,7 +160,7 @@ export var serializeAws_restJson1BatchDisassociateAssessmentReportEvidenceComman
|
|
|
160
160
|
headers = {
|
|
161
161
|
"content-type": "application/json",
|
|
162
162
|
};
|
|
163
|
-
resolvedPath = ""
|
|
163
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
164
164
|
"/assessments/{assessmentId}/batchDisassociateFromAssessmentReport";
|
|
165
165
|
if (input.assessmentId !== undefined) {
|
|
166
166
|
labelValue = input.assessmentId;
|
|
@@ -197,7 +197,7 @@ export var serializeAws_restJson1BatchImportEvidenceToAssessmentControlCommand =
|
|
|
197
197
|
headers = {
|
|
198
198
|
"content-type": "application/json",
|
|
199
199
|
};
|
|
200
|
-
resolvedPath = ""
|
|
200
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
201
201
|
"/assessments/{assessmentId}/controlSets/{controlSetId}/controls/{controlId}/evidence";
|
|
202
202
|
if (input.assessmentId !== undefined) {
|
|
203
203
|
labelValue = input.assessmentId;
|
|
@@ -255,7 +255,7 @@ export var serializeAws_restJson1CreateAssessmentCommand = function (input, cont
|
|
|
255
255
|
headers = {
|
|
256
256
|
"content-type": "application/json",
|
|
257
257
|
};
|
|
258
|
-
resolvedPath = ""
|
|
258
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/assessments";
|
|
259
259
|
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.assessmentReportsDestination !== undefined &&
|
|
260
260
|
input.assessmentReportsDestination !== null && {
|
|
261
261
|
assessmentReportsDestination: serializeAws_restJson1AssessmentReportsDestination(input.assessmentReportsDestination, context),
|
|
@@ -284,7 +284,7 @@ export var serializeAws_restJson1CreateAssessmentFrameworkCommand = function (in
|
|
|
284
284
|
headers = {
|
|
285
285
|
"content-type": "application/json",
|
|
286
286
|
};
|
|
287
|
-
resolvedPath = ""
|
|
287
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/assessmentFrameworks";
|
|
288
288
|
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign({}, (input.complianceType !== undefined &&
|
|
289
289
|
input.complianceType !== null && { complianceType: input.complianceType })), (input.controlSets !== undefined &&
|
|
290
290
|
input.controlSets !== null && {
|
|
@@ -312,7 +312,7 @@ export var serializeAws_restJson1CreateAssessmentReportCommand = function (input
|
|
|
312
312
|
headers = {
|
|
313
313
|
"content-type": "application/json",
|
|
314
314
|
};
|
|
315
|
-
resolvedPath = ""
|
|
315
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/assessments/{assessmentId}/reports";
|
|
316
316
|
if (input.assessmentId !== undefined) {
|
|
317
317
|
labelValue = input.assessmentId;
|
|
318
318
|
if (labelValue.length <= 0) {
|
|
@@ -346,7 +346,7 @@ export var serializeAws_restJson1CreateControlCommand = function (input, context
|
|
|
346
346
|
headers = {
|
|
347
347
|
"content-type": "application/json",
|
|
348
348
|
};
|
|
349
|
-
resolvedPath = ""
|
|
349
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/controls";
|
|
350
350
|
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.actionPlanInstructions !== undefined &&
|
|
351
351
|
input.actionPlanInstructions !== null && { actionPlanInstructions: input.actionPlanInstructions })), (input.actionPlanTitle !== undefined &&
|
|
352
352
|
input.actionPlanTitle !== null && { actionPlanTitle: input.actionPlanTitle })), (input.controlMappingSources !== undefined &&
|
|
@@ -374,7 +374,7 @@ export var serializeAws_restJson1DeleteAssessmentCommand = function (input, cont
|
|
|
374
374
|
case 1:
|
|
375
375
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
376
376
|
headers = {};
|
|
377
|
-
resolvedPath = ""
|
|
377
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/assessments/{assessmentId}";
|
|
378
378
|
if (input.assessmentId !== undefined) {
|
|
379
379
|
labelValue = input.assessmentId;
|
|
380
380
|
if (labelValue.length <= 0) {
|
|
@@ -405,7 +405,7 @@ export var serializeAws_restJson1DeleteAssessmentFrameworkCommand = function (in
|
|
|
405
405
|
case 1:
|
|
406
406
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
407
407
|
headers = {};
|
|
408
|
-
resolvedPath = ""
|
|
408
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/assessmentFrameworks/{frameworkId}";
|
|
409
409
|
if (input.frameworkId !== undefined) {
|
|
410
410
|
labelValue = input.frameworkId;
|
|
411
411
|
if (labelValue.length <= 0) {
|
|
@@ -436,7 +436,7 @@ export var serializeAws_restJson1DeleteAssessmentFrameworkShareCommand = functio
|
|
|
436
436
|
case 1:
|
|
437
437
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
438
438
|
headers = {};
|
|
439
|
-
resolvedPath = ""
|
|
439
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
440
440
|
"/assessmentFrameworkShareRequests/{requestId}";
|
|
441
441
|
if (input.requestId !== undefined) {
|
|
442
442
|
labelValue = input.requestId;
|
|
@@ -470,7 +470,7 @@ export var serializeAws_restJson1DeleteAssessmentReportCommand = function (input
|
|
|
470
470
|
case 1:
|
|
471
471
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
472
472
|
headers = {};
|
|
473
|
-
resolvedPath = ""
|
|
473
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
474
474
|
"/assessments/{assessmentId}/reports/{assessmentReportId}";
|
|
475
475
|
if (input.assessmentId !== undefined) {
|
|
476
476
|
labelValue = input.assessmentId;
|
|
@@ -512,7 +512,7 @@ export var serializeAws_restJson1DeleteControlCommand = function (input, context
|
|
|
512
512
|
case 1:
|
|
513
513
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
514
514
|
headers = {};
|
|
515
|
-
resolvedPath = ""
|
|
515
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/controls/{controlId}";
|
|
516
516
|
if (input.controlId !== undefined) {
|
|
517
517
|
labelValue = input.controlId;
|
|
518
518
|
if (labelValue.length <= 0) {
|
|
@@ -545,7 +545,7 @@ export var serializeAws_restJson1DeregisterAccountCommand = function (input, con
|
|
|
545
545
|
headers = {
|
|
546
546
|
"content-type": "application/json",
|
|
547
547
|
};
|
|
548
|
-
resolvedPath = ""
|
|
548
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/account/deregisterAccount";
|
|
549
549
|
body = "";
|
|
550
550
|
return [2, new __HttpRequest({
|
|
551
551
|
protocol: protocol,
|
|
@@ -569,7 +569,7 @@ export var serializeAws_restJson1DeregisterOrganizationAdminAccountCommand = fun
|
|
|
569
569
|
headers = {
|
|
570
570
|
"content-type": "application/json",
|
|
571
571
|
};
|
|
572
|
-
resolvedPath = ""
|
|
572
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
573
573
|
"/account/deregisterOrganizationAdminAccount";
|
|
574
574
|
body = JSON.stringify(__assign({}, (input.adminAccountId !== undefined &&
|
|
575
575
|
input.adminAccountId !== null && { adminAccountId: input.adminAccountId })));
|
|
@@ -595,7 +595,7 @@ export var serializeAws_restJson1DisassociateAssessmentReportEvidenceFolderComma
|
|
|
595
595
|
headers = {
|
|
596
596
|
"content-type": "application/json",
|
|
597
597
|
};
|
|
598
|
-
resolvedPath = ""
|
|
598
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
599
599
|
"/assessments/{assessmentId}/disassociateFromAssessmentReport";
|
|
600
600
|
if (input.assessmentId !== undefined) {
|
|
601
601
|
labelValue = input.assessmentId;
|
|
@@ -631,7 +631,7 @@ export var serializeAws_restJson1GetAccountStatusCommand = function (input, cont
|
|
|
631
631
|
headers = {
|
|
632
632
|
"content-type": "application/json",
|
|
633
633
|
};
|
|
634
|
-
resolvedPath = ""
|
|
634
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/account/status";
|
|
635
635
|
body = "";
|
|
636
636
|
return [2, new __HttpRequest({
|
|
637
637
|
protocol: protocol,
|
|
@@ -653,7 +653,7 @@ export var serializeAws_restJson1GetAssessmentCommand = function (input, context
|
|
|
653
653
|
case 1:
|
|
654
654
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
655
655
|
headers = {};
|
|
656
|
-
resolvedPath = ""
|
|
656
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/assessments/{assessmentId}";
|
|
657
657
|
if (input.assessmentId !== undefined) {
|
|
658
658
|
labelValue = input.assessmentId;
|
|
659
659
|
if (labelValue.length <= 0) {
|
|
@@ -684,7 +684,7 @@ export var serializeAws_restJson1GetAssessmentFrameworkCommand = function (input
|
|
|
684
684
|
case 1:
|
|
685
685
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
686
686
|
headers = {};
|
|
687
|
-
resolvedPath = ""
|
|
687
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/assessmentFrameworks/{frameworkId}";
|
|
688
688
|
if (input.frameworkId !== undefined) {
|
|
689
689
|
labelValue = input.frameworkId;
|
|
690
690
|
if (labelValue.length <= 0) {
|
|
@@ -715,7 +715,7 @@ export var serializeAws_restJson1GetAssessmentReportUrlCommand = function (input
|
|
|
715
715
|
case 1:
|
|
716
716
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
717
717
|
headers = {};
|
|
718
|
-
resolvedPath = ""
|
|
718
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
719
719
|
"/assessments/{assessmentId}/reports/{assessmentReportId}/url";
|
|
720
720
|
if (input.assessmentReportId !== undefined) {
|
|
721
721
|
labelValue = input.assessmentReportId;
|
|
@@ -757,7 +757,7 @@ export var serializeAws_restJson1GetChangeLogsCommand = function (input, context
|
|
|
757
757
|
case 1:
|
|
758
758
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
759
759
|
headers = {};
|
|
760
|
-
resolvedPath = ""
|
|
760
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/assessments/{assessmentId}/changelogs";
|
|
761
761
|
if (input.assessmentId !== undefined) {
|
|
762
762
|
labelValue = input.assessmentId;
|
|
763
763
|
if (labelValue.length <= 0) {
|
|
@@ -790,7 +790,7 @@ export var serializeAws_restJson1GetControlCommand = function (input, context) {
|
|
|
790
790
|
case 1:
|
|
791
791
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
792
792
|
headers = {};
|
|
793
|
-
resolvedPath = ""
|
|
793
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/controls/{controlId}";
|
|
794
794
|
if (input.controlId !== undefined) {
|
|
795
795
|
labelValue = input.controlId;
|
|
796
796
|
if (labelValue.length <= 0) {
|
|
@@ -821,7 +821,7 @@ export var serializeAws_restJson1GetDelegationsCommand = function (input, contex
|
|
|
821
821
|
case 1:
|
|
822
822
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
823
823
|
headers = {};
|
|
824
|
-
resolvedPath = ""
|
|
824
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/delegations";
|
|
825
825
|
query = __assign(__assign({}, (input.nextToken !== undefined && { nextToken: input.nextToken })), (input.maxResults !== undefined && { maxResults: input.maxResults.toString() }));
|
|
826
826
|
return [2, new __HttpRequest({
|
|
827
827
|
protocol: protocol,
|
|
@@ -844,7 +844,7 @@ export var serializeAws_restJson1GetEvidenceCommand = function (input, context)
|
|
|
844
844
|
case 1:
|
|
845
845
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
846
846
|
headers = {};
|
|
847
|
-
resolvedPath = ""
|
|
847
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
848
848
|
"/assessments/{assessmentId}/controlSets/{controlSetId}/evidenceFolders/{evidenceFolderId}/evidence/{evidenceId}";
|
|
849
849
|
if (input.assessmentId !== undefined) {
|
|
850
850
|
labelValue = input.assessmentId;
|
|
@@ -906,7 +906,7 @@ export var serializeAws_restJson1GetEvidenceByEvidenceFolderCommand = function (
|
|
|
906
906
|
case 1:
|
|
907
907
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
908
908
|
headers = {};
|
|
909
|
-
resolvedPath = ""
|
|
909
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
910
910
|
"/assessments/{assessmentId}/controlSets/{controlSetId}/evidenceFolders/{evidenceFolderId}/evidence";
|
|
911
911
|
if (input.assessmentId !== undefined) {
|
|
912
912
|
labelValue = input.assessmentId;
|
|
@@ -960,7 +960,7 @@ export var serializeAws_restJson1GetEvidenceFolderCommand = function (input, con
|
|
|
960
960
|
case 1:
|
|
961
961
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
962
962
|
headers = {};
|
|
963
|
-
resolvedPath = ""
|
|
963
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
964
964
|
"/assessments/{assessmentId}/controlSets/{controlSetId}/evidenceFolders/{evidenceFolderId}";
|
|
965
965
|
if (input.assessmentId !== undefined) {
|
|
966
966
|
labelValue = input.assessmentId;
|
|
@@ -1012,7 +1012,7 @@ export var serializeAws_restJson1GetEvidenceFoldersByAssessmentCommand = functio
|
|
|
1012
1012
|
case 1:
|
|
1013
1013
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1014
1014
|
headers = {};
|
|
1015
|
-
resolvedPath = ""
|
|
1015
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
1016
1016
|
"/assessments/{assessmentId}/evidenceFolders";
|
|
1017
1017
|
if (input.assessmentId !== undefined) {
|
|
1018
1018
|
labelValue = input.assessmentId;
|
|
@@ -1046,7 +1046,7 @@ export var serializeAws_restJson1GetEvidenceFoldersByAssessmentControlCommand =
|
|
|
1046
1046
|
case 1:
|
|
1047
1047
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1048
1048
|
headers = {};
|
|
1049
|
-
resolvedPath = ""
|
|
1049
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
1050
1050
|
"/assessments/{assessmentId}/evidenceFolders-by-assessment-control/{controlSetId}/{controlId}";
|
|
1051
1051
|
if (input.assessmentId !== undefined) {
|
|
1052
1052
|
labelValue = input.assessmentId;
|
|
@@ -1102,7 +1102,7 @@ export var serializeAws_restJson1GetInsightsCommand = function (input, context)
|
|
|
1102
1102
|
headers = {
|
|
1103
1103
|
"content-type": "application/json",
|
|
1104
1104
|
};
|
|
1105
|
-
resolvedPath = ""
|
|
1105
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/insights";
|
|
1106
1106
|
body = "";
|
|
1107
1107
|
return [2, new __HttpRequest({
|
|
1108
1108
|
protocol: protocol,
|
|
@@ -1124,7 +1124,7 @@ export var serializeAws_restJson1GetInsightsByAssessmentCommand = function (inpu
|
|
|
1124
1124
|
case 1:
|
|
1125
1125
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1126
1126
|
headers = {};
|
|
1127
|
-
resolvedPath = ""
|
|
1127
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/insights/assessments/{assessmentId}";
|
|
1128
1128
|
if (input.assessmentId !== undefined) {
|
|
1129
1129
|
labelValue = input.assessmentId;
|
|
1130
1130
|
if (labelValue.length <= 0) {
|
|
@@ -1157,7 +1157,7 @@ export var serializeAws_restJson1GetOrganizationAdminAccountCommand = function (
|
|
|
1157
1157
|
headers = {
|
|
1158
1158
|
"content-type": "application/json",
|
|
1159
1159
|
};
|
|
1160
|
-
resolvedPath = ""
|
|
1160
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/account/organizationAdminAccount";
|
|
1161
1161
|
body = "";
|
|
1162
1162
|
return [2, new __HttpRequest({
|
|
1163
1163
|
protocol: protocol,
|
|
@@ -1181,7 +1181,7 @@ export var serializeAws_restJson1GetServicesInScopeCommand = function (input, co
|
|
|
1181
1181
|
headers = {
|
|
1182
1182
|
"content-type": "application/json",
|
|
1183
1183
|
};
|
|
1184
|
-
resolvedPath = ""
|
|
1184
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/services";
|
|
1185
1185
|
body = "";
|
|
1186
1186
|
return [2, new __HttpRequest({
|
|
1187
1187
|
protocol: protocol,
|
|
@@ -1203,7 +1203,7 @@ export var serializeAws_restJson1GetSettingsCommand = function (input, context)
|
|
|
1203
1203
|
case 1:
|
|
1204
1204
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1205
1205
|
headers = {};
|
|
1206
|
-
resolvedPath = ""
|
|
1206
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/settings/{attribute}";
|
|
1207
1207
|
if (input.attribute !== undefined) {
|
|
1208
1208
|
labelValue = input.attribute;
|
|
1209
1209
|
if (labelValue.length <= 0) {
|
|
@@ -1234,7 +1234,7 @@ export var serializeAws_restJson1ListAssessmentControlInsightsByControlDomainCom
|
|
|
1234
1234
|
case 1:
|
|
1235
1235
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1236
1236
|
headers = {};
|
|
1237
|
-
resolvedPath = ""
|
|
1237
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/insights/controls-by-assessment";
|
|
1238
1238
|
query = __assign(__assign(__assign(__assign({}, (input.controlDomainId !== undefined && { controlDomainId: input.controlDomainId })), (input.assessmentId !== undefined && { assessmentId: input.assessmentId })), (input.nextToken !== undefined && { nextToken: input.nextToken })), (input.maxResults !== undefined && { maxResults: input.maxResults.toString() }));
|
|
1239
1239
|
return [2, new __HttpRequest({
|
|
1240
1240
|
protocol: protocol,
|
|
@@ -1257,7 +1257,7 @@ export var serializeAws_restJson1ListAssessmentFrameworksCommand = function (inp
|
|
|
1257
1257
|
case 1:
|
|
1258
1258
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1259
1259
|
headers = {};
|
|
1260
|
-
resolvedPath = ""
|
|
1260
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/assessmentFrameworks";
|
|
1261
1261
|
query = __assign(__assign(__assign({}, (input.frameworkType !== undefined && { frameworkType: input.frameworkType })), (input.nextToken !== undefined && { nextToken: input.nextToken })), (input.maxResults !== undefined && { maxResults: input.maxResults.toString() }));
|
|
1262
1262
|
return [2, new __HttpRequest({
|
|
1263
1263
|
protocol: protocol,
|
|
@@ -1280,7 +1280,7 @@ export var serializeAws_restJson1ListAssessmentFrameworkShareRequestsCommand = f
|
|
|
1280
1280
|
case 1:
|
|
1281
1281
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1282
1282
|
headers = {};
|
|
1283
|
-
resolvedPath = ""
|
|
1283
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/assessmentFrameworkShareRequests";
|
|
1284
1284
|
query = __assign(__assign(__assign({}, (input.requestType !== undefined && { requestType: input.requestType })), (input.nextToken !== undefined && { nextToken: input.nextToken })), (input.maxResults !== undefined && { maxResults: input.maxResults.toString() }));
|
|
1285
1285
|
return [2, new __HttpRequest({
|
|
1286
1286
|
protocol: protocol,
|
|
@@ -1303,7 +1303,7 @@ export var serializeAws_restJson1ListAssessmentReportsCommand = function (input,
|
|
|
1303
1303
|
case 1:
|
|
1304
1304
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1305
1305
|
headers = {};
|
|
1306
|
-
resolvedPath = ""
|
|
1306
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/assessmentReports";
|
|
1307
1307
|
query = __assign(__assign({}, (input.nextToken !== undefined && { nextToken: input.nextToken })), (input.maxResults !== undefined && { maxResults: input.maxResults.toString() }));
|
|
1308
1308
|
return [2, new __HttpRequest({
|
|
1309
1309
|
protocol: protocol,
|
|
@@ -1326,7 +1326,7 @@ export var serializeAws_restJson1ListAssessmentsCommand = function (input, conte
|
|
|
1326
1326
|
case 1:
|
|
1327
1327
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1328
1328
|
headers = {};
|
|
1329
|
-
resolvedPath = ""
|
|
1329
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/assessments";
|
|
1330
1330
|
query = __assign(__assign(__assign({}, (input.status !== undefined && { status: input.status })), (input.nextToken !== undefined && { nextToken: input.nextToken })), (input.maxResults !== undefined && { maxResults: input.maxResults.toString() }));
|
|
1331
1331
|
return [2, new __HttpRequest({
|
|
1332
1332
|
protocol: protocol,
|
|
@@ -1349,7 +1349,7 @@ export var serializeAws_restJson1ListControlDomainInsightsCommand = function (in
|
|
|
1349
1349
|
case 1:
|
|
1350
1350
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1351
1351
|
headers = {};
|
|
1352
|
-
resolvedPath = ""
|
|
1352
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/insights/control-domains";
|
|
1353
1353
|
query = __assign(__assign({}, (input.nextToken !== undefined && { nextToken: input.nextToken })), (input.maxResults !== undefined && { maxResults: input.maxResults.toString() }));
|
|
1354
1354
|
return [2, new __HttpRequest({
|
|
1355
1355
|
protocol: protocol,
|
|
@@ -1372,7 +1372,7 @@ export var serializeAws_restJson1ListControlDomainInsightsByAssessmentCommand =
|
|
|
1372
1372
|
case 1:
|
|
1373
1373
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1374
1374
|
headers = {};
|
|
1375
|
-
resolvedPath = ""
|
|
1375
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/insights/control-domains-by-assessment";
|
|
1376
1376
|
query = __assign(__assign(__assign({}, (input.assessmentId !== undefined && { assessmentId: input.assessmentId })), (input.nextToken !== undefined && { nextToken: input.nextToken })), (input.maxResults !== undefined && { maxResults: input.maxResults.toString() }));
|
|
1377
1377
|
return [2, new __HttpRequest({
|
|
1378
1378
|
protocol: protocol,
|
|
@@ -1395,7 +1395,7 @@ export var serializeAws_restJson1ListControlInsightsByControlDomainCommand = fun
|
|
|
1395
1395
|
case 1:
|
|
1396
1396
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1397
1397
|
headers = {};
|
|
1398
|
-
resolvedPath = ""
|
|
1398
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/insights/controls";
|
|
1399
1399
|
query = __assign(__assign(__assign({}, (input.controlDomainId !== undefined && { controlDomainId: input.controlDomainId })), (input.nextToken !== undefined && { nextToken: input.nextToken })), (input.maxResults !== undefined && { maxResults: input.maxResults.toString() }));
|
|
1400
1400
|
return [2, new __HttpRequest({
|
|
1401
1401
|
protocol: protocol,
|
|
@@ -1418,7 +1418,7 @@ export var serializeAws_restJson1ListControlsCommand = function (input, context)
|
|
|
1418
1418
|
case 1:
|
|
1419
1419
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1420
1420
|
headers = {};
|
|
1421
|
-
resolvedPath = ""
|
|
1421
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/controls";
|
|
1422
1422
|
query = __assign(__assign(__assign({}, (input.controlType !== undefined && { controlType: input.controlType })), (input.nextToken !== undefined && { nextToken: input.nextToken })), (input.maxResults !== undefined && { maxResults: input.maxResults.toString() }));
|
|
1423
1423
|
return [2, new __HttpRequest({
|
|
1424
1424
|
protocol: protocol,
|
|
@@ -1441,7 +1441,7 @@ export var serializeAws_restJson1ListKeywordsForDataSourceCommand = function (in
|
|
|
1441
1441
|
case 1:
|
|
1442
1442
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1443
1443
|
headers = {};
|
|
1444
|
-
resolvedPath = ""
|
|
1444
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/dataSourceKeywords";
|
|
1445
1445
|
query = __assign(__assign(__assign({}, (input.source !== undefined && { source: input.source })), (input.nextToken !== undefined && { nextToken: input.nextToken })), (input.maxResults !== undefined && { maxResults: input.maxResults.toString() }));
|
|
1446
1446
|
return [2, new __HttpRequest({
|
|
1447
1447
|
protocol: protocol,
|
|
@@ -1464,7 +1464,7 @@ export var serializeAws_restJson1ListNotificationsCommand = function (input, con
|
|
|
1464
1464
|
case 1:
|
|
1465
1465
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1466
1466
|
headers = {};
|
|
1467
|
-
resolvedPath = ""
|
|
1467
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/notifications";
|
|
1468
1468
|
query = __assign(__assign({}, (input.nextToken !== undefined && { nextToken: input.nextToken })), (input.maxResults !== undefined && { maxResults: input.maxResults.toString() }));
|
|
1469
1469
|
return [2, new __HttpRequest({
|
|
1470
1470
|
protocol: protocol,
|
|
@@ -1487,7 +1487,7 @@ export var serializeAws_restJson1ListTagsForResourceCommand = function (input, c
|
|
|
1487
1487
|
case 1:
|
|
1488
1488
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1489
1489
|
headers = {};
|
|
1490
|
-
resolvedPath = ""
|
|
1490
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tags/{resourceArn}";
|
|
1491
1491
|
if (input.resourceArn !== undefined) {
|
|
1492
1492
|
labelValue = input.resourceArn;
|
|
1493
1493
|
if (labelValue.length <= 0) {
|
|
@@ -1520,7 +1520,7 @@ export var serializeAws_restJson1RegisterAccountCommand = function (input, conte
|
|
|
1520
1520
|
headers = {
|
|
1521
1521
|
"content-type": "application/json",
|
|
1522
1522
|
};
|
|
1523
|
-
resolvedPath = ""
|
|
1523
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/account/registerAccount";
|
|
1524
1524
|
body = JSON.stringify(__assign(__assign({}, (input.delegatedAdminAccount !== undefined &&
|
|
1525
1525
|
input.delegatedAdminAccount !== null && { delegatedAdminAccount: input.delegatedAdminAccount })), (input.kmsKey !== undefined && input.kmsKey !== null && { kmsKey: input.kmsKey })));
|
|
1526
1526
|
return [2, new __HttpRequest({
|
|
@@ -1545,7 +1545,7 @@ export var serializeAws_restJson1RegisterOrganizationAdminAccountCommand = funct
|
|
|
1545
1545
|
headers = {
|
|
1546
1546
|
"content-type": "application/json",
|
|
1547
1547
|
};
|
|
1548
|
-
resolvedPath = ""
|
|
1548
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/account/registerOrganizationAdminAccount";
|
|
1549
1549
|
body = JSON.stringify(__assign({}, (input.adminAccountId !== undefined &&
|
|
1550
1550
|
input.adminAccountId !== null && { adminAccountId: input.adminAccountId })));
|
|
1551
1551
|
return [2, new __HttpRequest({
|
|
@@ -1570,7 +1570,7 @@ export var serializeAws_restJson1StartAssessmentFrameworkShareCommand = function
|
|
|
1570
1570
|
headers = {
|
|
1571
1571
|
"content-type": "application/json",
|
|
1572
1572
|
};
|
|
1573
|
-
resolvedPath = ""
|
|
1573
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
1574
1574
|
"/assessmentFrameworks/{frameworkId}/shareRequests";
|
|
1575
1575
|
if (input.frameworkId !== undefined) {
|
|
1576
1576
|
labelValue = input.frameworkId;
|
|
@@ -1607,7 +1607,7 @@ export var serializeAws_restJson1TagResourceCommand = function (input, context)
|
|
|
1607
1607
|
headers = {
|
|
1608
1608
|
"content-type": "application/json",
|
|
1609
1609
|
};
|
|
1610
|
-
resolvedPath = ""
|
|
1610
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tags/{resourceArn}";
|
|
1611
1611
|
if (input.resourceArn !== undefined) {
|
|
1612
1612
|
labelValue = input.resourceArn;
|
|
1613
1613
|
if (labelValue.length <= 0) {
|
|
@@ -1639,7 +1639,7 @@ export var serializeAws_restJson1UntagResourceCommand = function (input, context
|
|
|
1639
1639
|
case 1:
|
|
1640
1640
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1641
1641
|
headers = {};
|
|
1642
|
-
resolvedPath = ""
|
|
1642
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tags/{resourceArn}";
|
|
1643
1643
|
if (input.resourceArn !== undefined) {
|
|
1644
1644
|
labelValue = input.resourceArn;
|
|
1645
1645
|
if (labelValue.length <= 0) {
|
|
@@ -1674,7 +1674,7 @@ export var serializeAws_restJson1UpdateAssessmentCommand = function (input, cont
|
|
|
1674
1674
|
headers = {
|
|
1675
1675
|
"content-type": "application/json",
|
|
1676
1676
|
};
|
|
1677
|
-
resolvedPath = ""
|
|
1677
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/assessments/{assessmentId}";
|
|
1678
1678
|
if (input.assessmentId !== undefined) {
|
|
1679
1679
|
labelValue = input.assessmentId;
|
|
1680
1680
|
if (labelValue.length <= 0) {
|
|
@@ -1715,7 +1715,7 @@ export var serializeAws_restJson1UpdateAssessmentControlCommand = function (inpu
|
|
|
1715
1715
|
headers = {
|
|
1716
1716
|
"content-type": "application/json",
|
|
1717
1717
|
};
|
|
1718
|
-
resolvedPath = ""
|
|
1718
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
1719
1719
|
"/assessments/{assessmentId}/controlSets/{controlSetId}/controls/{controlId}";
|
|
1720
1720
|
if (input.assessmentId !== undefined) {
|
|
1721
1721
|
labelValue = input.assessmentId;
|
|
@@ -1770,7 +1770,7 @@ export var serializeAws_restJson1UpdateAssessmentControlSetStatusCommand = funct
|
|
|
1770
1770
|
headers = {
|
|
1771
1771
|
"content-type": "application/json",
|
|
1772
1772
|
};
|
|
1773
|
-
resolvedPath = ""
|
|
1773
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
1774
1774
|
"/assessments/{assessmentId}/controlSets/{controlSetId}/status";
|
|
1775
1775
|
if (input.assessmentId !== undefined) {
|
|
1776
1776
|
labelValue = input.assessmentId;
|
|
@@ -1815,7 +1815,7 @@ export var serializeAws_restJson1UpdateAssessmentFrameworkCommand = function (in
|
|
|
1815
1815
|
headers = {
|
|
1816
1816
|
"content-type": "application/json",
|
|
1817
1817
|
};
|
|
1818
|
-
resolvedPath = ""
|
|
1818
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/assessmentFrameworks/{frameworkId}";
|
|
1819
1819
|
if (input.frameworkId !== undefined) {
|
|
1820
1820
|
labelValue = input.frameworkId;
|
|
1821
1821
|
if (labelValue.length <= 0) {
|
|
@@ -1853,7 +1853,7 @@ export var serializeAws_restJson1UpdateAssessmentFrameworkShareCommand = functio
|
|
|
1853
1853
|
headers = {
|
|
1854
1854
|
"content-type": "application/json",
|
|
1855
1855
|
};
|
|
1856
|
-
resolvedPath = ""
|
|
1856
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
1857
1857
|
"/assessmentFrameworkShareRequests/{requestId}";
|
|
1858
1858
|
if (input.requestId !== undefined) {
|
|
1859
1859
|
labelValue = input.requestId;
|
|
@@ -1888,7 +1888,7 @@ export var serializeAws_restJson1UpdateAssessmentStatusCommand = function (input
|
|
|
1888
1888
|
headers = {
|
|
1889
1889
|
"content-type": "application/json",
|
|
1890
1890
|
};
|
|
1891
|
-
resolvedPath = ""
|
|
1891
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/assessments/{assessmentId}/status";
|
|
1892
1892
|
if (input.assessmentId !== undefined) {
|
|
1893
1893
|
labelValue = input.assessmentId;
|
|
1894
1894
|
if (labelValue.length <= 0) {
|
|
@@ -1922,7 +1922,7 @@ export var serializeAws_restJson1UpdateControlCommand = function (input, context
|
|
|
1922
1922
|
headers = {
|
|
1923
1923
|
"content-type": "application/json",
|
|
1924
1924
|
};
|
|
1925
|
-
resolvedPath = ""
|
|
1925
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/controls/{controlId}";
|
|
1926
1926
|
if (input.controlId !== undefined) {
|
|
1927
1927
|
labelValue = input.controlId;
|
|
1928
1928
|
if (labelValue.length <= 0) {
|
|
@@ -1962,7 +1962,7 @@ export var serializeAws_restJson1UpdateSettingsCommand = function (input, contex
|
|
|
1962
1962
|
headers = {
|
|
1963
1963
|
"content-type": "application/json",
|
|
1964
1964
|
};
|
|
1965
|
-
resolvedPath = ""
|
|
1965
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/settings";
|
|
1966
1966
|
body = JSON.stringify(__assign(__assign(__assign(__assign({}, (input.defaultAssessmentReportsDestination !== undefined &&
|
|
1967
1967
|
input.defaultAssessmentReportsDestination !== null && {
|
|
1968
1968
|
defaultAssessmentReportsDestination: serializeAws_restJson1AssessmentReportsDestination(input.defaultAssessmentReportsDestination, context),
|
|
@@ -1992,7 +1992,7 @@ export var serializeAws_restJson1ValidateAssessmentReportIntegrityCommand = func
|
|
|
1992
1992
|
headers = {
|
|
1993
1993
|
"content-type": "application/json",
|
|
1994
1994
|
};
|
|
1995
|
-
resolvedPath = ""
|
|
1995
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/assessmentReports/integrity";
|
|
1996
1996
|
body = JSON.stringify(__assign({}, (input.s3RelativePath !== undefined &&
|
|
1997
1997
|
input.s3RelativePath !== null && { s3RelativePath: input.s3RelativePath })));
|
|
1998
1998
|
return [2, new __HttpRequest({
|
|
@@ -21,11 +21,11 @@ export declare const getRuntimeConfig: (config: AuditManagerClientConfig) => {
|
|
|
21
21
|
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
22
22
|
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
23
23
|
serviceId: string;
|
|
24
|
-
region: string | import("@aws-sdk/types").Provider<
|
|
24
|
+
region: string | import("@aws-sdk/types").Provider<any>;
|
|
25
25
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
26
26
|
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
27
27
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
28
|
-
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode
|
|
28
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode>;
|
|
29
29
|
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
30
30
|
tls?: boolean | undefined;
|
|
31
31
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
@@ -19,11 +19,11 @@ export declare const getRuntimeConfig: (config: AuditManagerClientConfig) => {
|
|
|
19
19
|
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
20
20
|
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
21
21
|
serviceId: string;
|
|
22
|
-
region: string | import("@aws-sdk/types").Provider<
|
|
22
|
+
region: string | import("@aws-sdk/types").Provider<any>;
|
|
23
23
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
24
24
|
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
25
25
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
26
|
-
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode
|
|
26
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode>;
|
|
27
27
|
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
28
28
|
tls?: boolean | undefined;
|
|
29
29
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|