@aws-sdk/client-auditmanager 3.39.0 → 3.43.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 +41 -0
- package/dist-cjs/AuditManager.js +90 -0
- package/dist-cjs/commands/GetInsightsByAssessmentCommand.js +36 -0
- package/dist-cjs/commands/GetInsightsCommand.js +36 -0
- package/dist-cjs/commands/ListAssessmentControlInsightsByControlDomainCommand.js +36 -0
- package/dist-cjs/commands/ListControlDomainInsightsByAssessmentCommand.js +36 -0
- package/dist-cjs/commands/ListControlDomainInsightsCommand.js +36 -0
- package/dist-cjs/commands/ListControlInsightsByControlDomainCommand.js +36 -0
- package/dist-cjs/commands/index.js +6 -0
- package/dist-cjs/endpoints.js +74 -5
- package/dist-cjs/models/models_0.js +110 -2
- package/dist-cjs/pagination/ListAssessmentControlInsightsByControlDomainPaginator.js +35 -0
- package/dist-cjs/pagination/ListControlDomainInsightsByAssessmentPaginator.js +35 -0
- package/dist-cjs/pagination/ListControlDomainInsightsPaginator.js +35 -0
- package/dist-cjs/pagination/ListControlInsightsByControlDomainPaginator.js +35 -0
- package/dist-cjs/pagination/index.js +4 -0
- package/dist-cjs/protocols/Aws_restJson1.js +753 -86
- package/dist-cjs/runtimeConfig.browser.js +6 -3
- package/dist-cjs/runtimeConfig.js +5 -3
- package/dist-es/AuditManager.js +90 -0
- package/dist-es/commands/GetInsightsByAssessmentCommand.js +39 -0
- package/dist-es/commands/GetInsightsCommand.js +39 -0
- package/dist-es/commands/ListAssessmentControlInsightsByControlDomainCommand.js +39 -0
- package/dist-es/commands/ListControlDomainInsightsByAssessmentCommand.js +39 -0
- package/dist-es/commands/ListControlDomainInsightsCommand.js +39 -0
- package/dist-es/commands/ListControlInsightsByControlDomainCommand.js +39 -0
- package/dist-es/commands/index.js +6 -0
- package/dist-es/endpoints.js +74 -5
- package/dist-es/models/models_0.js +72 -0
- package/dist-es/pagination/ListAssessmentControlInsightsByControlDomainPaginator.js +74 -0
- package/dist-es/pagination/ListControlDomainInsightsByAssessmentPaginator.js +74 -0
- package/dist-es/pagination/ListControlDomainInsightsPaginator.js +74 -0
- package/dist-es/pagination/ListControlInsightsByControlDomainPaginator.js +74 -0
- package/dist-es/pagination/index.js +4 -0
- package/dist-es/protocols/Aws_restJson1.js +798 -34
- package/dist-es/runtimeConfig.browser.js +3 -2
- package/dist-es/runtimeConfig.js +3 -3
- package/dist-types/AuditManager.d.ts +69 -2
- package/dist-types/AuditManagerClient.d.ts +16 -2
- package/dist-types/commands/AssociateAssessmentReportEvidenceFolderCommand.d.ts +1 -1
- package/dist-types/commands/BatchAssociateAssessmentReportEvidenceCommand.d.ts +1 -1
- package/dist-types/commands/BatchCreateDelegationByAssessmentCommand.d.ts +1 -1
- package/dist-types/commands/BatchDeleteDelegationByAssessmentCommand.d.ts +1 -1
- package/dist-types/commands/BatchDisassociateAssessmentReportEvidenceCommand.d.ts +1 -1
- package/dist-types/commands/BatchImportEvidenceToAssessmentControlCommand.d.ts +1 -1
- package/dist-types/commands/CreateAssessmentCommand.d.ts +1 -1
- package/dist-types/commands/CreateAssessmentFrameworkCommand.d.ts +1 -1
- package/dist-types/commands/CreateAssessmentReportCommand.d.ts +1 -1
- package/dist-types/commands/CreateControlCommand.d.ts +1 -1
- package/dist-types/commands/DeleteAssessmentCommand.d.ts +1 -1
- package/dist-types/commands/DeleteAssessmentFrameworkCommand.d.ts +1 -1
- package/dist-types/commands/DeleteAssessmentFrameworkShareCommand.d.ts +1 -1
- package/dist-types/commands/DeleteAssessmentReportCommand.d.ts +1 -1
- package/dist-types/commands/DeleteControlCommand.d.ts +1 -1
- package/dist-types/commands/DeregisterAccountCommand.d.ts +1 -1
- package/dist-types/commands/DeregisterOrganizationAdminAccountCommand.d.ts +1 -1
- package/dist-types/commands/DisassociateAssessmentReportEvidenceFolderCommand.d.ts +1 -1
- package/dist-types/commands/GetAccountStatusCommand.d.ts +1 -1
- package/dist-types/commands/GetAssessmentCommand.d.ts +2 -2
- package/dist-types/commands/GetAssessmentFrameworkCommand.d.ts +2 -2
- package/dist-types/commands/GetAssessmentReportUrlCommand.d.ts +1 -1
- package/dist-types/commands/GetChangeLogsCommand.d.ts +1 -1
- package/dist-types/commands/GetControlCommand.d.ts +1 -1
- package/dist-types/commands/GetDelegationsCommand.d.ts +1 -1
- package/dist-types/commands/GetEvidenceByEvidenceFolderCommand.d.ts +1 -1
- package/dist-types/commands/GetEvidenceCommand.d.ts +1 -1
- package/dist-types/commands/GetEvidenceFolderCommand.d.ts +1 -1
- package/dist-types/commands/GetEvidenceFoldersByAssessmentCommand.d.ts +1 -1
- package/dist-types/commands/GetEvidenceFoldersByAssessmentControlCommand.d.ts +1 -1
- package/dist-types/commands/GetInsightsByAssessmentCommand.d.ts +35 -0
- package/dist-types/commands/GetInsightsCommand.d.ts +35 -0
- package/dist-types/commands/GetOrganizationAdminAccountCommand.d.ts +1 -1
- package/dist-types/commands/GetServicesInScopeCommand.d.ts +1 -1
- package/dist-types/commands/GetSettingsCommand.d.ts +1 -1
- package/dist-types/commands/ListAssessmentControlInsightsByControlDomainCommand.d.ts +42 -0
- package/dist-types/commands/ListAssessmentFrameworkShareRequestsCommand.d.ts +1 -1
- package/dist-types/commands/ListAssessmentFrameworksCommand.d.ts +1 -1
- package/dist-types/commands/ListAssessmentReportsCommand.d.ts +1 -1
- package/dist-types/commands/ListAssessmentsCommand.d.ts +1 -1
- package/dist-types/commands/ListControlDomainInsightsByAssessmentCommand.d.ts +40 -0
- package/dist-types/commands/ListControlDomainInsightsCommand.d.ts +41 -0
- package/dist-types/commands/ListControlInsightsByControlDomainCommand.d.ts +42 -0
- package/dist-types/commands/ListControlsCommand.d.ts +1 -1
- package/dist-types/commands/ListKeywordsForDataSourceCommand.d.ts +1 -1
- package/dist-types/commands/ListNotificationsCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/RegisterAccountCommand.d.ts +1 -1
- package/dist-types/commands/RegisterOrganizationAdminAccountCommand.d.ts +1 -1
- package/dist-types/commands/StartAssessmentFrameworkShareCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateAssessmentCommand.d.ts +1 -1
- package/dist-types/commands/UpdateAssessmentControlCommand.d.ts +1 -1
- package/dist-types/commands/UpdateAssessmentControlSetStatusCommand.d.ts +1 -1
- package/dist-types/commands/UpdateAssessmentFrameworkCommand.d.ts +1 -1
- package/dist-types/commands/UpdateAssessmentFrameworkShareCommand.d.ts +1 -1
- package/dist-types/commands/UpdateAssessmentStatusCommand.d.ts +1 -1
- package/dist-types/commands/UpdateControlCommand.d.ts +1 -1
- package/dist-types/commands/UpdateSettingsCommand.d.ts +1 -1
- package/dist-types/commands/ValidateAssessmentReportIntegrityCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +6 -0
- package/dist-types/models/models_0.d.ts +521 -30
- package/dist-types/pagination/ListAssessmentControlInsightsByControlDomainPaginator.d.ts +4 -0
- package/dist-types/pagination/ListControlDomainInsightsByAssessmentPaginator.d.ts +4 -0
- package/dist-types/pagination/ListControlDomainInsightsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListControlInsightsByControlDomainPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +4 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +18 -0
- package/dist-types/runtimeConfig.browser.d.ts +2 -0
- package/dist-types/runtimeConfig.d.ts +2 -0
- package/dist-types/runtimeConfig.native.d.ts +2 -0
- package/dist-types/ts3.4/AuditManager.d.ts +30 -0
- package/dist-types/ts3.4/AuditManagerClient.d.ts +12 -2
- package/dist-types/ts3.4/commands/GetInsightsByAssessmentCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetInsightsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListAssessmentControlInsightsByControlDomainCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListControlDomainInsightsByAssessmentCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListControlDomainInsightsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListControlInsightsByControlDomainCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +224 -0
- package/dist-types/ts3.4/pagination/ListAssessmentControlInsightsByControlDomainPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListControlDomainInsightsByAssessmentPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListControlDomainInsightsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListControlInsightsByControlDomainPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +4 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +18 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
- package/package.json +23 -23
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,47 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.43.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.42.0...v3.43.0) (2021-11-29)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **clients:** update clients as of 11/28/2021 ([#3072](https://github.com/aws/aws-sdk-js-v3/issues/3072)) ([2ad1622](https://github.com/aws/aws-sdk-js-v3/commit/2ad1622ba8586b926fe508055211803bb29e3976))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# [3.42.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.41.0...v3.42.0) (2021-11-19)
|
|
18
|
+
|
|
19
|
+
**Note:** Version bump only for package @aws-sdk/client-auditmanager
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
# [3.41.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.40.1...v3.41.0) (2021-11-11)
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
### Features
|
|
29
|
+
|
|
30
|
+
* **clients:** update clients as of 2021/11/11 ([#3015](https://github.com/aws/aws-sdk-js-v3/issues/3015)) ([3d82c4e](https://github.com/aws/aws-sdk-js-v3/commit/3d82c4e3c4d174533f46ce35495cf5cffabdb35a))
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
# [3.40.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.39.0...v3.40.0) (2021-11-05)
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
### Features
|
|
40
|
+
|
|
41
|
+
* **clients:** populate variants in endpoints hashes ([#2974](https://github.com/aws/aws-sdk-js-v3/issues/2974)) ([0dd68ef](https://github.com/aws/aws-sdk-js-v3/commit/0dd68ef8b04ea0e96e43b05a9a10221e433fdf86))
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
|
|
6
47
|
# [3.39.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.38.0...v3.39.0) (2021-10-29)
|
|
7
48
|
|
|
8
49
|
|
package/dist-cjs/AuditManager.js
CHANGED
|
@@ -32,13 +32,19 @@ const GetEvidenceCommand_1 = require("./commands/GetEvidenceCommand");
|
|
|
32
32
|
const GetEvidenceFolderCommand_1 = require("./commands/GetEvidenceFolderCommand");
|
|
33
33
|
const GetEvidenceFoldersByAssessmentCommand_1 = require("./commands/GetEvidenceFoldersByAssessmentCommand");
|
|
34
34
|
const GetEvidenceFoldersByAssessmentControlCommand_1 = require("./commands/GetEvidenceFoldersByAssessmentControlCommand");
|
|
35
|
+
const GetInsightsByAssessmentCommand_1 = require("./commands/GetInsightsByAssessmentCommand");
|
|
36
|
+
const GetInsightsCommand_1 = require("./commands/GetInsightsCommand");
|
|
35
37
|
const GetOrganizationAdminAccountCommand_1 = require("./commands/GetOrganizationAdminAccountCommand");
|
|
36
38
|
const GetServicesInScopeCommand_1 = require("./commands/GetServicesInScopeCommand");
|
|
37
39
|
const GetSettingsCommand_1 = require("./commands/GetSettingsCommand");
|
|
40
|
+
const ListAssessmentControlInsightsByControlDomainCommand_1 = require("./commands/ListAssessmentControlInsightsByControlDomainCommand");
|
|
38
41
|
const ListAssessmentFrameworksCommand_1 = require("./commands/ListAssessmentFrameworksCommand");
|
|
39
42
|
const ListAssessmentFrameworkShareRequestsCommand_1 = require("./commands/ListAssessmentFrameworkShareRequestsCommand");
|
|
40
43
|
const ListAssessmentReportsCommand_1 = require("./commands/ListAssessmentReportsCommand");
|
|
41
44
|
const ListAssessmentsCommand_1 = require("./commands/ListAssessmentsCommand");
|
|
45
|
+
const ListControlDomainInsightsByAssessmentCommand_1 = require("./commands/ListControlDomainInsightsByAssessmentCommand");
|
|
46
|
+
const ListControlDomainInsightsCommand_1 = require("./commands/ListControlDomainInsightsCommand");
|
|
47
|
+
const ListControlInsightsByControlDomainCommand_1 = require("./commands/ListControlInsightsByControlDomainCommand");
|
|
42
48
|
const ListControlsCommand_1 = require("./commands/ListControlsCommand");
|
|
43
49
|
const ListKeywordsForDataSourceCommand_1 = require("./commands/ListKeywordsForDataSourceCommand");
|
|
44
50
|
const ListNotificationsCommand_1 = require("./commands/ListNotificationsCommand");
|
|
@@ -478,6 +484,34 @@ class AuditManager extends AuditManagerClient_1.AuditManagerClient {
|
|
|
478
484
|
return this.send(command, optionsOrCb);
|
|
479
485
|
}
|
|
480
486
|
}
|
|
487
|
+
getInsights(args, optionsOrCb, cb) {
|
|
488
|
+
const command = new GetInsightsCommand_1.GetInsightsCommand(args);
|
|
489
|
+
if (typeof optionsOrCb === "function") {
|
|
490
|
+
this.send(command, optionsOrCb);
|
|
491
|
+
}
|
|
492
|
+
else if (typeof cb === "function") {
|
|
493
|
+
if (typeof optionsOrCb !== "object")
|
|
494
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
495
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
496
|
+
}
|
|
497
|
+
else {
|
|
498
|
+
return this.send(command, optionsOrCb);
|
|
499
|
+
}
|
|
500
|
+
}
|
|
501
|
+
getInsightsByAssessment(args, optionsOrCb, cb) {
|
|
502
|
+
const command = new GetInsightsByAssessmentCommand_1.GetInsightsByAssessmentCommand(args);
|
|
503
|
+
if (typeof optionsOrCb === "function") {
|
|
504
|
+
this.send(command, optionsOrCb);
|
|
505
|
+
}
|
|
506
|
+
else if (typeof cb === "function") {
|
|
507
|
+
if (typeof optionsOrCb !== "object")
|
|
508
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
509
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
510
|
+
}
|
|
511
|
+
else {
|
|
512
|
+
return this.send(command, optionsOrCb);
|
|
513
|
+
}
|
|
514
|
+
}
|
|
481
515
|
getOrganizationAdminAccount(args, optionsOrCb, cb) {
|
|
482
516
|
const command = new GetOrganizationAdminAccountCommand_1.GetOrganizationAdminAccountCommand(args);
|
|
483
517
|
if (typeof optionsOrCb === "function") {
|
|
@@ -520,6 +554,20 @@ class AuditManager extends AuditManagerClient_1.AuditManagerClient {
|
|
|
520
554
|
return this.send(command, optionsOrCb);
|
|
521
555
|
}
|
|
522
556
|
}
|
|
557
|
+
listAssessmentControlInsightsByControlDomain(args, optionsOrCb, cb) {
|
|
558
|
+
const command = new ListAssessmentControlInsightsByControlDomainCommand_1.ListAssessmentControlInsightsByControlDomainCommand(args);
|
|
559
|
+
if (typeof optionsOrCb === "function") {
|
|
560
|
+
this.send(command, optionsOrCb);
|
|
561
|
+
}
|
|
562
|
+
else if (typeof cb === "function") {
|
|
563
|
+
if (typeof optionsOrCb !== "object")
|
|
564
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
565
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
566
|
+
}
|
|
567
|
+
else {
|
|
568
|
+
return this.send(command, optionsOrCb);
|
|
569
|
+
}
|
|
570
|
+
}
|
|
523
571
|
listAssessmentFrameworks(args, optionsOrCb, cb) {
|
|
524
572
|
const command = new ListAssessmentFrameworksCommand_1.ListAssessmentFrameworksCommand(args);
|
|
525
573
|
if (typeof optionsOrCb === "function") {
|
|
@@ -576,6 +624,48 @@ class AuditManager extends AuditManagerClient_1.AuditManagerClient {
|
|
|
576
624
|
return this.send(command, optionsOrCb);
|
|
577
625
|
}
|
|
578
626
|
}
|
|
627
|
+
listControlDomainInsights(args, optionsOrCb, cb) {
|
|
628
|
+
const command = new ListControlDomainInsightsCommand_1.ListControlDomainInsightsCommand(args);
|
|
629
|
+
if (typeof optionsOrCb === "function") {
|
|
630
|
+
this.send(command, optionsOrCb);
|
|
631
|
+
}
|
|
632
|
+
else if (typeof cb === "function") {
|
|
633
|
+
if (typeof optionsOrCb !== "object")
|
|
634
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
635
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
636
|
+
}
|
|
637
|
+
else {
|
|
638
|
+
return this.send(command, optionsOrCb);
|
|
639
|
+
}
|
|
640
|
+
}
|
|
641
|
+
listControlDomainInsightsByAssessment(args, optionsOrCb, cb) {
|
|
642
|
+
const command = new ListControlDomainInsightsByAssessmentCommand_1.ListControlDomainInsightsByAssessmentCommand(args);
|
|
643
|
+
if (typeof optionsOrCb === "function") {
|
|
644
|
+
this.send(command, optionsOrCb);
|
|
645
|
+
}
|
|
646
|
+
else if (typeof cb === "function") {
|
|
647
|
+
if (typeof optionsOrCb !== "object")
|
|
648
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
649
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
650
|
+
}
|
|
651
|
+
else {
|
|
652
|
+
return this.send(command, optionsOrCb);
|
|
653
|
+
}
|
|
654
|
+
}
|
|
655
|
+
listControlInsightsByControlDomain(args, optionsOrCb, cb) {
|
|
656
|
+
const command = new ListControlInsightsByControlDomainCommand_1.ListControlInsightsByControlDomainCommand(args);
|
|
657
|
+
if (typeof optionsOrCb === "function") {
|
|
658
|
+
this.send(command, optionsOrCb);
|
|
659
|
+
}
|
|
660
|
+
else if (typeof cb === "function") {
|
|
661
|
+
if (typeof optionsOrCb !== "object")
|
|
662
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
663
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
664
|
+
}
|
|
665
|
+
else {
|
|
666
|
+
return this.send(command, optionsOrCb);
|
|
667
|
+
}
|
|
668
|
+
}
|
|
579
669
|
listControls(args, optionsOrCb, cb) {
|
|
580
670
|
const command = new ListControlsCommand_1.ListControlsCommand(args);
|
|
581
671
|
if (typeof optionsOrCb === "function") {
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetInsightsByAssessmentCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class GetInsightsByAssessmentCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "AuditManagerClient";
|
|
18
|
+
const commandName = "GetInsightsByAssessmentCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.GetInsightsByAssessmentRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.GetInsightsByAssessmentResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return Aws_restJson1_1.serializeAws_restJson1GetInsightsByAssessmentCommand(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return Aws_restJson1_1.deserializeAws_restJson1GetInsightsByAssessmentCommand(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.GetInsightsByAssessmentCommand = GetInsightsByAssessmentCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetInsightsCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class GetInsightsCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "AuditManagerClient";
|
|
18
|
+
const commandName = "GetInsightsCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.GetInsightsRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.GetInsightsResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return Aws_restJson1_1.serializeAws_restJson1GetInsightsCommand(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return Aws_restJson1_1.deserializeAws_restJson1GetInsightsCommand(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.GetInsightsCommand = GetInsightsCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListAssessmentControlInsightsByControlDomainCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class ListAssessmentControlInsightsByControlDomainCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "AuditManagerClient";
|
|
18
|
+
const commandName = "ListAssessmentControlInsightsByControlDomainCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.ListAssessmentControlInsightsByControlDomainRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.ListAssessmentControlInsightsByControlDomainResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return Aws_restJson1_1.serializeAws_restJson1ListAssessmentControlInsightsByControlDomainCommand(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return Aws_restJson1_1.deserializeAws_restJson1ListAssessmentControlInsightsByControlDomainCommand(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.ListAssessmentControlInsightsByControlDomainCommand = ListAssessmentControlInsightsByControlDomainCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListControlDomainInsightsByAssessmentCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class ListControlDomainInsightsByAssessmentCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "AuditManagerClient";
|
|
18
|
+
const commandName = "ListControlDomainInsightsByAssessmentCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.ListControlDomainInsightsByAssessmentRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.ListControlDomainInsightsByAssessmentResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return Aws_restJson1_1.serializeAws_restJson1ListControlDomainInsightsByAssessmentCommand(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return Aws_restJson1_1.deserializeAws_restJson1ListControlDomainInsightsByAssessmentCommand(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.ListControlDomainInsightsByAssessmentCommand = ListControlDomainInsightsByAssessmentCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListControlDomainInsightsCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class ListControlDomainInsightsCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "AuditManagerClient";
|
|
18
|
+
const commandName = "ListControlDomainInsightsCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.ListControlDomainInsightsRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.ListControlDomainInsightsResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return Aws_restJson1_1.serializeAws_restJson1ListControlDomainInsightsCommand(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return Aws_restJson1_1.deserializeAws_restJson1ListControlDomainInsightsCommand(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.ListControlDomainInsightsCommand = ListControlDomainInsightsCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListControlInsightsByControlDomainCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class ListControlInsightsByControlDomainCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "AuditManagerClient";
|
|
18
|
+
const commandName = "ListControlInsightsByControlDomainCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.ListControlInsightsByControlDomainRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.ListControlInsightsByControlDomainResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return Aws_restJson1_1.serializeAws_restJson1ListControlInsightsByControlDomainCommand(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return Aws_restJson1_1.deserializeAws_restJson1ListControlInsightsByControlDomainCommand(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.ListControlInsightsByControlDomainCommand = ListControlInsightsByControlDomainCommand;
|
|
@@ -31,13 +31,19 @@ tslib_1.__exportStar(require("./GetEvidenceCommand"), exports);
|
|
|
31
31
|
tslib_1.__exportStar(require("./GetEvidenceFolderCommand"), exports);
|
|
32
32
|
tslib_1.__exportStar(require("./GetEvidenceFoldersByAssessmentCommand"), exports);
|
|
33
33
|
tslib_1.__exportStar(require("./GetEvidenceFoldersByAssessmentControlCommand"), exports);
|
|
34
|
+
tslib_1.__exportStar(require("./GetInsightsByAssessmentCommand"), exports);
|
|
35
|
+
tslib_1.__exportStar(require("./GetInsightsCommand"), exports);
|
|
34
36
|
tslib_1.__exportStar(require("./GetOrganizationAdminAccountCommand"), exports);
|
|
35
37
|
tslib_1.__exportStar(require("./GetServicesInScopeCommand"), exports);
|
|
36
38
|
tslib_1.__exportStar(require("./GetSettingsCommand"), exports);
|
|
39
|
+
tslib_1.__exportStar(require("./ListAssessmentControlInsightsByControlDomainCommand"), exports);
|
|
37
40
|
tslib_1.__exportStar(require("./ListAssessmentFrameworkShareRequestsCommand"), exports);
|
|
38
41
|
tslib_1.__exportStar(require("./ListAssessmentFrameworksCommand"), exports);
|
|
39
42
|
tslib_1.__exportStar(require("./ListAssessmentReportsCommand"), exports);
|
|
40
43
|
tslib_1.__exportStar(require("./ListAssessmentsCommand"), exports);
|
|
44
|
+
tslib_1.__exportStar(require("./ListControlDomainInsightsByAssessmentCommand"), exports);
|
|
45
|
+
tslib_1.__exportStar(require("./ListControlDomainInsightsCommand"), exports);
|
|
46
|
+
tslib_1.__exportStar(require("./ListControlInsightsByControlDomainCommand"), exports);
|
|
41
47
|
tslib_1.__exportStar(require("./ListControlsCommand"), exports);
|
|
42
48
|
tslib_1.__exportStar(require("./ListKeywordsForDataSourceCommand"), exports);
|
|
43
49
|
tslib_1.__exportStar(require("./ListNotificationsCommand"), exports);
|
package/dist-cjs/endpoints.js
CHANGED
|
@@ -29,27 +29,96 @@ const partitionHash = {
|
|
|
29
29
|
"us-west-2",
|
|
30
30
|
],
|
|
31
31
|
regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
|
|
32
|
-
|
|
32
|
+
variants: [
|
|
33
|
+
{
|
|
34
|
+
hostname: "auditmanager.{region}.amazonaws.com",
|
|
35
|
+
tags: [],
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
hostname: "auditmanager-fips.{region}.amazonaws.com",
|
|
39
|
+
tags: ["fips"],
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
hostname: "auditmanager-fips.{region}.api.aws",
|
|
43
|
+
tags: ["dualstack", "fips"],
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
hostname: "auditmanager.{region}.api.aws",
|
|
47
|
+
tags: ["dualstack"],
|
|
48
|
+
},
|
|
49
|
+
],
|
|
33
50
|
},
|
|
34
51
|
"aws-cn": {
|
|
35
52
|
regions: ["cn-north-1", "cn-northwest-1"],
|
|
36
53
|
regionRegex: "^cn\\-\\w+\\-\\d+$",
|
|
37
|
-
|
|
54
|
+
variants: [
|
|
55
|
+
{
|
|
56
|
+
hostname: "auditmanager.{region}.amazonaws.com.cn",
|
|
57
|
+
tags: [],
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
hostname: "auditmanager-fips.{region}.amazonaws.com.cn",
|
|
61
|
+
tags: ["fips"],
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
hostname: "auditmanager-fips.{region}.api.amazonwebservices.com.cn",
|
|
65
|
+
tags: ["dualstack", "fips"],
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
hostname: "auditmanager.{region}.api.amazonwebservices.com.cn",
|
|
69
|
+
tags: ["dualstack"],
|
|
70
|
+
},
|
|
71
|
+
],
|
|
38
72
|
},
|
|
39
73
|
"aws-iso": {
|
|
40
74
|
regions: ["us-iso-east-1", "us-iso-west-1"],
|
|
41
75
|
regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
|
|
42
|
-
|
|
76
|
+
variants: [
|
|
77
|
+
{
|
|
78
|
+
hostname: "auditmanager.{region}.c2s.ic.gov",
|
|
79
|
+
tags: [],
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
hostname: "auditmanager-fips.{region}.c2s.ic.gov",
|
|
83
|
+
tags: ["fips"],
|
|
84
|
+
},
|
|
85
|
+
],
|
|
43
86
|
},
|
|
44
87
|
"aws-iso-b": {
|
|
45
88
|
regions: ["us-isob-east-1"],
|
|
46
89
|
regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
|
|
47
|
-
|
|
90
|
+
variants: [
|
|
91
|
+
{
|
|
92
|
+
hostname: "auditmanager.{region}.sc2s.sgov.gov",
|
|
93
|
+
tags: [],
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
hostname: "auditmanager-fips.{region}.sc2s.sgov.gov",
|
|
97
|
+
tags: ["fips"],
|
|
98
|
+
},
|
|
99
|
+
],
|
|
48
100
|
},
|
|
49
101
|
"aws-us-gov": {
|
|
50
102
|
regions: ["us-gov-east-1", "us-gov-west-1"],
|
|
51
103
|
regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
|
|
52
|
-
|
|
104
|
+
variants: [
|
|
105
|
+
{
|
|
106
|
+
hostname: "auditmanager.{region}.amazonaws.com",
|
|
107
|
+
tags: [],
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
hostname: "auditmanager-fips.{region}.amazonaws.com",
|
|
111
|
+
tags: ["fips"],
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
hostname: "auditmanager-fips.{region}.api.aws",
|
|
115
|
+
tags: ["dualstack", "fips"],
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
hostname: "auditmanager.{region}.api.aws",
|
|
119
|
+
tags: ["dualstack"],
|
|
120
|
+
},
|
|
121
|
+
],
|
|
53
122
|
},
|
|
54
123
|
};
|
|
55
124
|
const defaultRegionInfoProvider = async (region, options) => config_resolver_1.getRegionInfo(region, {
|