@aws-sdk/client-securityhub 3.458.0 → 3.459.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/README.md +80 -0
- package/dist-cjs/SecurityHub.js +20 -0
- package/dist-cjs/commands/BatchGetConfigurationPolicyAssociationsCommand.js +51 -0
- package/dist-cjs/commands/CreateConfigurationPolicyCommand.js +51 -0
- package/dist-cjs/commands/DeleteConfigurationPolicyCommand.js +51 -0
- package/dist-cjs/commands/GetConfigurationPolicyAssociationCommand.js +51 -0
- package/dist-cjs/commands/GetConfigurationPolicyCommand.js +51 -0
- package/dist-cjs/commands/ListConfigurationPoliciesCommand.js +51 -0
- package/dist-cjs/commands/ListConfigurationPolicyAssociationsCommand.js +51 -0
- package/dist-cjs/commands/StartConfigurationPolicyAssociationCommand.js +51 -0
- package/dist-cjs/commands/StartConfigurationPolicyDisassociationCommand.js +51 -0
- package/dist-cjs/commands/UpdateConfigurationPolicyCommand.js +51 -0
- package/dist-cjs/commands/index.js +10 -0
- package/dist-cjs/models/models_0.js +10 -1
- package/dist-cjs/models/models_2.js +34 -1
- package/dist-cjs/pagination/ListConfigurationPoliciesPaginator.js +29 -0
- package/dist-cjs/pagination/ListConfigurationPolicyAssociationsPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +2 -0
- package/dist-cjs/protocols/Aws_restJson1.js +943 -35
- package/dist-es/SecurityHub.js +20 -0
- package/dist-es/commands/BatchGetConfigurationPolicyAssociationsCommand.js +47 -0
- package/dist-es/commands/CreateConfigurationPolicyCommand.js +47 -0
- package/dist-es/commands/DeleteConfigurationPolicyCommand.js +47 -0
- package/dist-es/commands/GetConfigurationPolicyAssociationCommand.js +47 -0
- package/dist-es/commands/GetConfigurationPolicyCommand.js +47 -0
- package/dist-es/commands/ListConfigurationPoliciesCommand.js +47 -0
- package/dist-es/commands/ListConfigurationPolicyAssociationsCommand.js +47 -0
- package/dist-es/commands/StartConfigurationPolicyAssociationCommand.js +47 -0
- package/dist-es/commands/StartConfigurationPolicyDisassociationCommand.js +47 -0
- package/dist-es/commands/UpdateConfigurationPolicyCommand.js +47 -0
- package/dist-es/commands/index.js +10 -0
- package/dist-es/models/models_0.js +9 -0
- package/dist-es/models/models_2.js +33 -0
- package/dist-es/pagination/ListConfigurationPoliciesPaginator.js +25 -0
- package/dist-es/pagination/ListConfigurationPolicyAssociationsPaginator.js +25 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +920 -33
- package/dist-types/SecurityHub.d.ts +70 -0
- package/dist-types/SecurityHubClient.d.ts +12 -2
- package/dist-types/commands/BatchDisableStandardsCommand.d.ts +3 -0
- package/dist-types/commands/BatchEnableStandardsCommand.d.ts +3 -0
- package/dist-types/commands/BatchGetAutomationRulesCommand.d.ts +3 -0
- package/dist-types/commands/BatchGetConfigurationPolicyAssociationsCommand.d.ts +128 -0
- package/dist-types/commands/BatchGetSecurityControlsCommand.d.ts +22 -2
- package/dist-types/commands/BatchImportFindingsCommand.d.ts +4 -0
- package/dist-types/commands/BatchUpdateAutomationRulesCommand.d.ts +3 -0
- package/dist-types/commands/BatchUpdateStandardsControlAssociationsCommand.d.ts +3 -0
- package/dist-types/commands/CreateAutomationRuleCommand.d.ts +3 -0
- package/dist-types/commands/CreateConfigurationPolicyCommand.d.ts +189 -0
- package/dist-types/commands/CreateInsightCommand.d.ts +3 -0
- package/dist-types/commands/CreateMembersCommand.d.ts +3 -0
- package/dist-types/commands/DeleteConfigurationPolicyCommand.d.ts +98 -0
- package/dist-types/commands/DescribeOrganizationConfigurationCommand.d.ts +7 -2
- package/dist-types/commands/DisableOrganizationAdminAccountCommand.d.ts +3 -0
- package/dist-types/commands/DisableSecurityHubCommand.d.ts +3 -0
- package/dist-types/commands/DisassociateMembersCommand.d.ts +3 -0
- package/dist-types/commands/EnableOrganizationAdminAccountCommand.d.ts +3 -0
- package/dist-types/commands/GetConfigurationPolicyAssociationCommand.d.ts +107 -0
- package/dist-types/commands/GetConfigurationPolicyCommand.d.ts +143 -0
- package/dist-types/commands/GetFindingsCommand.d.ts +7 -0
- package/dist-types/commands/GetInsightsCommand.d.ts +3 -0
- package/dist-types/commands/GetSecurityControlDefinitionCommand.d.ts +35 -0
- package/dist-types/commands/ListConfigurationPoliciesCommand.d.ts +104 -0
- package/dist-types/commands/ListConfigurationPolicyAssociationsCommand.d.ts +110 -0
- package/dist-types/commands/ListSecurityControlDefinitionsCommand.d.ts +6 -0
- package/dist-types/commands/StartConfigurationPolicyAssociationCommand.d.ts +108 -0
- package/dist-types/commands/StartConfigurationPolicyDisassociationCommand.d.ts +102 -0
- package/dist-types/commands/UpdateConfigurationPolicyCommand.d.ts +191 -0
- package/dist-types/commands/UpdateFindingsCommand.d.ts +3 -0
- package/dist-types/commands/UpdateInsightCommand.d.ts +3 -0
- package/dist-types/commands/UpdateOrganizationConfigurationCommand.d.ts +16 -2
- package/dist-types/commands/UpdateSecurityControlCommand.d.ts +23 -0
- package/dist-types/commands/UpdateSecurityHubConfigurationCommand.d.ts +3 -0
- package/dist-types/commands/UpdateStandardsControlCommand.d.ts +3 -0
- package/dist-types/commands/index.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +86 -192
- package/dist-types/models/models_1.d.ts +192 -49
- package/dist-types/models/models_2.d.ts +1180 -37
- package/dist-types/pagination/ListConfigurationPoliciesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListConfigurationPolicyAssociationsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +90 -0
- package/dist-types/ts3.4/SecurityHub.d.ts +200 -0
- package/dist-types/ts3.4/SecurityHubClient.d.ts +60 -0
- package/dist-types/ts3.4/commands/BatchGetConfigurationPolicyAssociationsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/CreateConfigurationPolicyCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DeleteConfigurationPolicyCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetConfigurationPolicyAssociationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetConfigurationPolicyCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListConfigurationPoliciesCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListConfigurationPolicyAssociationsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/StartConfigurationPolicyAssociationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/StartConfigurationPolicyDisassociationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/UpdateConfigurationPolicyCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +10 -0
- package/dist-types/ts3.4/models/models_0.d.ts +21 -26
- package/dist-types/ts3.4/models/models_1.d.ts +32 -9
- package/dist-types/ts3.4/models/models_2.d.ts +243 -4
- package/dist-types/ts3.4/pagination/ListConfigurationPoliciesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListConfigurationPolicyAssociationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +120 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -297,6 +297,14 @@ BatchGetAutomationRules
|
|
|
297
297
|
|
|
298
298
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/securityhub/command/BatchGetAutomationRulesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-securityhub/Interface/BatchGetAutomationRulesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-securityhub/Interface/BatchGetAutomationRulesCommandOutput/)
|
|
299
299
|
|
|
300
|
+
</details>
|
|
301
|
+
<details>
|
|
302
|
+
<summary>
|
|
303
|
+
BatchGetConfigurationPolicyAssociations
|
|
304
|
+
</summary>
|
|
305
|
+
|
|
306
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/securityhub/command/BatchGetConfigurationPolicyAssociationsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-securityhub/Interface/BatchGetConfigurationPolicyAssociationsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-securityhub/Interface/BatchGetConfigurationPolicyAssociationsCommandOutput/)
|
|
307
|
+
|
|
300
308
|
</details>
|
|
301
309
|
<details>
|
|
302
310
|
<summary>
|
|
@@ -361,6 +369,14 @@ CreateAutomationRule
|
|
|
361
369
|
|
|
362
370
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/securityhub/command/CreateAutomationRuleCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-securityhub/Interface/CreateAutomationRuleCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-securityhub/Interface/CreateAutomationRuleCommandOutput/)
|
|
363
371
|
|
|
372
|
+
</details>
|
|
373
|
+
<details>
|
|
374
|
+
<summary>
|
|
375
|
+
CreateConfigurationPolicy
|
|
376
|
+
</summary>
|
|
377
|
+
|
|
378
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/securityhub/command/CreateConfigurationPolicyCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-securityhub/Interface/CreateConfigurationPolicyCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-securityhub/Interface/CreateConfigurationPolicyCommandOutput/)
|
|
379
|
+
|
|
364
380
|
</details>
|
|
365
381
|
<details>
|
|
366
382
|
<summary>
|
|
@@ -401,6 +417,14 @@ DeleteActionTarget
|
|
|
401
417
|
|
|
402
418
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/securityhub/command/DeleteActionTargetCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-securityhub/Interface/DeleteActionTargetCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-securityhub/Interface/DeleteActionTargetCommandOutput/)
|
|
403
419
|
|
|
420
|
+
</details>
|
|
421
|
+
<details>
|
|
422
|
+
<summary>
|
|
423
|
+
DeleteConfigurationPolicy
|
|
424
|
+
</summary>
|
|
425
|
+
|
|
426
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/securityhub/command/DeleteConfigurationPolicyCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-securityhub/Interface/DeleteConfigurationPolicyCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-securityhub/Interface/DeleteConfigurationPolicyCommandOutput/)
|
|
427
|
+
|
|
404
428
|
</details>
|
|
405
429
|
<details>
|
|
406
430
|
<summary>
|
|
@@ -561,6 +585,22 @@ GetAdministratorAccount
|
|
|
561
585
|
|
|
562
586
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/securityhub/command/GetAdministratorAccountCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-securityhub/Interface/GetAdministratorAccountCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-securityhub/Interface/GetAdministratorAccountCommandOutput/)
|
|
563
587
|
|
|
588
|
+
</details>
|
|
589
|
+
<details>
|
|
590
|
+
<summary>
|
|
591
|
+
GetConfigurationPolicy
|
|
592
|
+
</summary>
|
|
593
|
+
|
|
594
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/securityhub/command/GetConfigurationPolicyCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-securityhub/Interface/GetConfigurationPolicyCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-securityhub/Interface/GetConfigurationPolicyCommandOutput/)
|
|
595
|
+
|
|
596
|
+
</details>
|
|
597
|
+
<details>
|
|
598
|
+
<summary>
|
|
599
|
+
GetConfigurationPolicyAssociation
|
|
600
|
+
</summary>
|
|
601
|
+
|
|
602
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/securityhub/command/GetConfigurationPolicyAssociationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-securityhub/Interface/GetConfigurationPolicyAssociationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-securityhub/Interface/GetConfigurationPolicyAssociationCommandOutput/)
|
|
603
|
+
|
|
564
604
|
</details>
|
|
565
605
|
<details>
|
|
566
606
|
<summary>
|
|
@@ -657,6 +697,22 @@ ListAutomationRules
|
|
|
657
697
|
|
|
658
698
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/securityhub/command/ListAutomationRulesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-securityhub/Interface/ListAutomationRulesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-securityhub/Interface/ListAutomationRulesCommandOutput/)
|
|
659
699
|
|
|
700
|
+
</details>
|
|
701
|
+
<details>
|
|
702
|
+
<summary>
|
|
703
|
+
ListConfigurationPolicies
|
|
704
|
+
</summary>
|
|
705
|
+
|
|
706
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/securityhub/command/ListConfigurationPoliciesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-securityhub/Interface/ListConfigurationPoliciesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-securityhub/Interface/ListConfigurationPoliciesCommandOutput/)
|
|
707
|
+
|
|
708
|
+
</details>
|
|
709
|
+
<details>
|
|
710
|
+
<summary>
|
|
711
|
+
ListConfigurationPolicyAssociations
|
|
712
|
+
</summary>
|
|
713
|
+
|
|
714
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/securityhub/command/ListConfigurationPolicyAssociationsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-securityhub/Interface/ListConfigurationPolicyAssociationsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-securityhub/Interface/ListConfigurationPolicyAssociationsCommandOutput/)
|
|
715
|
+
|
|
660
716
|
</details>
|
|
661
717
|
<details>
|
|
662
718
|
<summary>
|
|
@@ -721,6 +777,22 @@ ListTagsForResource
|
|
|
721
777
|
|
|
722
778
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/securityhub/command/ListTagsForResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-securityhub/Interface/ListTagsForResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-securityhub/Interface/ListTagsForResourceCommandOutput/)
|
|
723
779
|
|
|
780
|
+
</details>
|
|
781
|
+
<details>
|
|
782
|
+
<summary>
|
|
783
|
+
StartConfigurationPolicyAssociation
|
|
784
|
+
</summary>
|
|
785
|
+
|
|
786
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/securityhub/command/StartConfigurationPolicyAssociationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-securityhub/Interface/StartConfigurationPolicyAssociationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-securityhub/Interface/StartConfigurationPolicyAssociationCommandOutput/)
|
|
787
|
+
|
|
788
|
+
</details>
|
|
789
|
+
<details>
|
|
790
|
+
<summary>
|
|
791
|
+
StartConfigurationPolicyDisassociation
|
|
792
|
+
</summary>
|
|
793
|
+
|
|
794
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/securityhub/command/StartConfigurationPolicyDisassociationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-securityhub/Interface/StartConfigurationPolicyDisassociationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-securityhub/Interface/StartConfigurationPolicyDisassociationCommandOutput/)
|
|
795
|
+
|
|
724
796
|
</details>
|
|
725
797
|
<details>
|
|
726
798
|
<summary>
|
|
@@ -745,6 +817,14 @@ UpdateActionTarget
|
|
|
745
817
|
|
|
746
818
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/securityhub/command/UpdateActionTargetCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-securityhub/Interface/UpdateActionTargetCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-securityhub/Interface/UpdateActionTargetCommandOutput/)
|
|
747
819
|
|
|
820
|
+
</details>
|
|
821
|
+
<details>
|
|
822
|
+
<summary>
|
|
823
|
+
UpdateConfigurationPolicy
|
|
824
|
+
</summary>
|
|
825
|
+
|
|
826
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/securityhub/command/UpdateConfigurationPolicyCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-securityhub/Interface/UpdateConfigurationPolicyCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-securityhub/Interface/UpdateConfigurationPolicyCommandOutput/)
|
|
827
|
+
|
|
748
828
|
</details>
|
|
749
829
|
<details>
|
|
750
830
|
<summary>
|
package/dist-cjs/SecurityHub.js
CHANGED
|
@@ -8,6 +8,7 @@ const BatchDeleteAutomationRulesCommand_1 = require("./commands/BatchDeleteAutom
|
|
|
8
8
|
const BatchDisableStandardsCommand_1 = require("./commands/BatchDisableStandardsCommand");
|
|
9
9
|
const BatchEnableStandardsCommand_1 = require("./commands/BatchEnableStandardsCommand");
|
|
10
10
|
const BatchGetAutomationRulesCommand_1 = require("./commands/BatchGetAutomationRulesCommand");
|
|
11
|
+
const BatchGetConfigurationPolicyAssociationsCommand_1 = require("./commands/BatchGetConfigurationPolicyAssociationsCommand");
|
|
11
12
|
const BatchGetSecurityControlsCommand_1 = require("./commands/BatchGetSecurityControlsCommand");
|
|
12
13
|
const BatchGetStandardsControlAssociationsCommand_1 = require("./commands/BatchGetStandardsControlAssociationsCommand");
|
|
13
14
|
const BatchImportFindingsCommand_1 = require("./commands/BatchImportFindingsCommand");
|
|
@@ -16,11 +17,13 @@ const BatchUpdateFindingsCommand_1 = require("./commands/BatchUpdateFindingsComm
|
|
|
16
17
|
const BatchUpdateStandardsControlAssociationsCommand_1 = require("./commands/BatchUpdateStandardsControlAssociationsCommand");
|
|
17
18
|
const CreateActionTargetCommand_1 = require("./commands/CreateActionTargetCommand");
|
|
18
19
|
const CreateAutomationRuleCommand_1 = require("./commands/CreateAutomationRuleCommand");
|
|
20
|
+
const CreateConfigurationPolicyCommand_1 = require("./commands/CreateConfigurationPolicyCommand");
|
|
19
21
|
const CreateFindingAggregatorCommand_1 = require("./commands/CreateFindingAggregatorCommand");
|
|
20
22
|
const CreateInsightCommand_1 = require("./commands/CreateInsightCommand");
|
|
21
23
|
const CreateMembersCommand_1 = require("./commands/CreateMembersCommand");
|
|
22
24
|
const DeclineInvitationsCommand_1 = require("./commands/DeclineInvitationsCommand");
|
|
23
25
|
const DeleteActionTargetCommand_1 = require("./commands/DeleteActionTargetCommand");
|
|
26
|
+
const DeleteConfigurationPolicyCommand_1 = require("./commands/DeleteConfigurationPolicyCommand");
|
|
24
27
|
const DeleteFindingAggregatorCommand_1 = require("./commands/DeleteFindingAggregatorCommand");
|
|
25
28
|
const DeleteInsightCommand_1 = require("./commands/DeleteInsightCommand");
|
|
26
29
|
const DeleteInvitationsCommand_1 = require("./commands/DeleteInvitationsCommand");
|
|
@@ -41,6 +44,8 @@ const EnableImportFindingsForProductCommand_1 = require("./commands/EnableImport
|
|
|
41
44
|
const EnableOrganizationAdminAccountCommand_1 = require("./commands/EnableOrganizationAdminAccountCommand");
|
|
42
45
|
const EnableSecurityHubCommand_1 = require("./commands/EnableSecurityHubCommand");
|
|
43
46
|
const GetAdministratorAccountCommand_1 = require("./commands/GetAdministratorAccountCommand");
|
|
47
|
+
const GetConfigurationPolicyAssociationCommand_1 = require("./commands/GetConfigurationPolicyAssociationCommand");
|
|
48
|
+
const GetConfigurationPolicyCommand_1 = require("./commands/GetConfigurationPolicyCommand");
|
|
44
49
|
const GetEnabledStandardsCommand_1 = require("./commands/GetEnabledStandardsCommand");
|
|
45
50
|
const GetFindingAggregatorCommand_1 = require("./commands/GetFindingAggregatorCommand");
|
|
46
51
|
const GetFindingHistoryCommand_1 = require("./commands/GetFindingHistoryCommand");
|
|
@@ -53,6 +58,8 @@ const GetMembersCommand_1 = require("./commands/GetMembersCommand");
|
|
|
53
58
|
const GetSecurityControlDefinitionCommand_1 = require("./commands/GetSecurityControlDefinitionCommand");
|
|
54
59
|
const InviteMembersCommand_1 = require("./commands/InviteMembersCommand");
|
|
55
60
|
const ListAutomationRulesCommand_1 = require("./commands/ListAutomationRulesCommand");
|
|
61
|
+
const ListConfigurationPoliciesCommand_1 = require("./commands/ListConfigurationPoliciesCommand");
|
|
62
|
+
const ListConfigurationPolicyAssociationsCommand_1 = require("./commands/ListConfigurationPolicyAssociationsCommand");
|
|
56
63
|
const ListEnabledProductsForImportCommand_1 = require("./commands/ListEnabledProductsForImportCommand");
|
|
57
64
|
const ListFindingAggregatorsCommand_1 = require("./commands/ListFindingAggregatorsCommand");
|
|
58
65
|
const ListInvitationsCommand_1 = require("./commands/ListInvitationsCommand");
|
|
@@ -61,9 +68,12 @@ const ListOrganizationAdminAccountsCommand_1 = require("./commands/ListOrganizat
|
|
|
61
68
|
const ListSecurityControlDefinitionsCommand_1 = require("./commands/ListSecurityControlDefinitionsCommand");
|
|
62
69
|
const ListStandardsControlAssociationsCommand_1 = require("./commands/ListStandardsControlAssociationsCommand");
|
|
63
70
|
const ListTagsForResourceCommand_1 = require("./commands/ListTagsForResourceCommand");
|
|
71
|
+
const StartConfigurationPolicyAssociationCommand_1 = require("./commands/StartConfigurationPolicyAssociationCommand");
|
|
72
|
+
const StartConfigurationPolicyDisassociationCommand_1 = require("./commands/StartConfigurationPolicyDisassociationCommand");
|
|
64
73
|
const TagResourceCommand_1 = require("./commands/TagResourceCommand");
|
|
65
74
|
const UntagResourceCommand_1 = require("./commands/UntagResourceCommand");
|
|
66
75
|
const UpdateActionTargetCommand_1 = require("./commands/UpdateActionTargetCommand");
|
|
76
|
+
const UpdateConfigurationPolicyCommand_1 = require("./commands/UpdateConfigurationPolicyCommand");
|
|
67
77
|
const UpdateFindingAggregatorCommand_1 = require("./commands/UpdateFindingAggregatorCommand");
|
|
68
78
|
const UpdateFindingsCommand_1 = require("./commands/UpdateFindingsCommand");
|
|
69
79
|
const UpdateInsightCommand_1 = require("./commands/UpdateInsightCommand");
|
|
@@ -79,6 +89,7 @@ const commands = {
|
|
|
79
89
|
BatchDisableStandardsCommand: BatchDisableStandardsCommand_1.BatchDisableStandardsCommand,
|
|
80
90
|
BatchEnableStandardsCommand: BatchEnableStandardsCommand_1.BatchEnableStandardsCommand,
|
|
81
91
|
BatchGetAutomationRulesCommand: BatchGetAutomationRulesCommand_1.BatchGetAutomationRulesCommand,
|
|
92
|
+
BatchGetConfigurationPolicyAssociationsCommand: BatchGetConfigurationPolicyAssociationsCommand_1.BatchGetConfigurationPolicyAssociationsCommand,
|
|
82
93
|
BatchGetSecurityControlsCommand: BatchGetSecurityControlsCommand_1.BatchGetSecurityControlsCommand,
|
|
83
94
|
BatchGetStandardsControlAssociationsCommand: BatchGetStandardsControlAssociationsCommand_1.BatchGetStandardsControlAssociationsCommand,
|
|
84
95
|
BatchImportFindingsCommand: BatchImportFindingsCommand_1.BatchImportFindingsCommand,
|
|
@@ -87,11 +98,13 @@ const commands = {
|
|
|
87
98
|
BatchUpdateStandardsControlAssociationsCommand: BatchUpdateStandardsControlAssociationsCommand_1.BatchUpdateStandardsControlAssociationsCommand,
|
|
88
99
|
CreateActionTargetCommand: CreateActionTargetCommand_1.CreateActionTargetCommand,
|
|
89
100
|
CreateAutomationRuleCommand: CreateAutomationRuleCommand_1.CreateAutomationRuleCommand,
|
|
101
|
+
CreateConfigurationPolicyCommand: CreateConfigurationPolicyCommand_1.CreateConfigurationPolicyCommand,
|
|
90
102
|
CreateFindingAggregatorCommand: CreateFindingAggregatorCommand_1.CreateFindingAggregatorCommand,
|
|
91
103
|
CreateInsightCommand: CreateInsightCommand_1.CreateInsightCommand,
|
|
92
104
|
CreateMembersCommand: CreateMembersCommand_1.CreateMembersCommand,
|
|
93
105
|
DeclineInvitationsCommand: DeclineInvitationsCommand_1.DeclineInvitationsCommand,
|
|
94
106
|
DeleteActionTargetCommand: DeleteActionTargetCommand_1.DeleteActionTargetCommand,
|
|
107
|
+
DeleteConfigurationPolicyCommand: DeleteConfigurationPolicyCommand_1.DeleteConfigurationPolicyCommand,
|
|
95
108
|
DeleteFindingAggregatorCommand: DeleteFindingAggregatorCommand_1.DeleteFindingAggregatorCommand,
|
|
96
109
|
DeleteInsightCommand: DeleteInsightCommand_1.DeleteInsightCommand,
|
|
97
110
|
DeleteInvitationsCommand: DeleteInvitationsCommand_1.DeleteInvitationsCommand,
|
|
@@ -112,6 +125,8 @@ const commands = {
|
|
|
112
125
|
EnableOrganizationAdminAccountCommand: EnableOrganizationAdminAccountCommand_1.EnableOrganizationAdminAccountCommand,
|
|
113
126
|
EnableSecurityHubCommand: EnableSecurityHubCommand_1.EnableSecurityHubCommand,
|
|
114
127
|
GetAdministratorAccountCommand: GetAdministratorAccountCommand_1.GetAdministratorAccountCommand,
|
|
128
|
+
GetConfigurationPolicyCommand: GetConfigurationPolicyCommand_1.GetConfigurationPolicyCommand,
|
|
129
|
+
GetConfigurationPolicyAssociationCommand: GetConfigurationPolicyAssociationCommand_1.GetConfigurationPolicyAssociationCommand,
|
|
115
130
|
GetEnabledStandardsCommand: GetEnabledStandardsCommand_1.GetEnabledStandardsCommand,
|
|
116
131
|
GetFindingAggregatorCommand: GetFindingAggregatorCommand_1.GetFindingAggregatorCommand,
|
|
117
132
|
GetFindingHistoryCommand: GetFindingHistoryCommand_1.GetFindingHistoryCommand,
|
|
@@ -124,6 +139,8 @@ const commands = {
|
|
|
124
139
|
GetSecurityControlDefinitionCommand: GetSecurityControlDefinitionCommand_1.GetSecurityControlDefinitionCommand,
|
|
125
140
|
InviteMembersCommand: InviteMembersCommand_1.InviteMembersCommand,
|
|
126
141
|
ListAutomationRulesCommand: ListAutomationRulesCommand_1.ListAutomationRulesCommand,
|
|
142
|
+
ListConfigurationPoliciesCommand: ListConfigurationPoliciesCommand_1.ListConfigurationPoliciesCommand,
|
|
143
|
+
ListConfigurationPolicyAssociationsCommand: ListConfigurationPolicyAssociationsCommand_1.ListConfigurationPolicyAssociationsCommand,
|
|
127
144
|
ListEnabledProductsForImportCommand: ListEnabledProductsForImportCommand_1.ListEnabledProductsForImportCommand,
|
|
128
145
|
ListFindingAggregatorsCommand: ListFindingAggregatorsCommand_1.ListFindingAggregatorsCommand,
|
|
129
146
|
ListInvitationsCommand: ListInvitationsCommand_1.ListInvitationsCommand,
|
|
@@ -132,9 +149,12 @@ const commands = {
|
|
|
132
149
|
ListSecurityControlDefinitionsCommand: ListSecurityControlDefinitionsCommand_1.ListSecurityControlDefinitionsCommand,
|
|
133
150
|
ListStandardsControlAssociationsCommand: ListStandardsControlAssociationsCommand_1.ListStandardsControlAssociationsCommand,
|
|
134
151
|
ListTagsForResourceCommand: ListTagsForResourceCommand_1.ListTagsForResourceCommand,
|
|
152
|
+
StartConfigurationPolicyAssociationCommand: StartConfigurationPolicyAssociationCommand_1.StartConfigurationPolicyAssociationCommand,
|
|
153
|
+
StartConfigurationPolicyDisassociationCommand: StartConfigurationPolicyDisassociationCommand_1.StartConfigurationPolicyDisassociationCommand,
|
|
135
154
|
TagResourceCommand: TagResourceCommand_1.TagResourceCommand,
|
|
136
155
|
UntagResourceCommand: UntagResourceCommand_1.UntagResourceCommand,
|
|
137
156
|
UpdateActionTargetCommand: UpdateActionTargetCommand_1.UpdateActionTargetCommand,
|
|
157
|
+
UpdateConfigurationPolicyCommand: UpdateConfigurationPolicyCommand_1.UpdateConfigurationPolicyCommand,
|
|
138
158
|
UpdateFindingAggregatorCommand: UpdateFindingAggregatorCommand_1.UpdateFindingAggregatorCommand,
|
|
139
159
|
UpdateFindingsCommand: UpdateFindingsCommand_1.UpdateFindingsCommand,
|
|
140
160
|
UpdateInsightCommand: UpdateInsightCommand_1.UpdateInsightCommand,
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BatchGetConfigurationPolicyAssociationsCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
9
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
+
class BatchGetConfigurationPolicyAssociationsCommand extends smithy_client_1.Command {
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
constructor(input) {
|
|
20
|
+
super();
|
|
21
|
+
this.input = input;
|
|
22
|
+
}
|
|
23
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
24
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
25
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, BatchGetConfigurationPolicyAssociationsCommand.getEndpointParameterInstructions()));
|
|
26
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
27
|
+
const { logger } = configuration;
|
|
28
|
+
const clientName = "SecurityHubClient";
|
|
29
|
+
const commandName = "BatchGetConfigurationPolicyAssociationsCommand";
|
|
30
|
+
const handlerExecutionContext = {
|
|
31
|
+
logger,
|
|
32
|
+
clientName,
|
|
33
|
+
commandName,
|
|
34
|
+
inputFilterSensitiveLog: (_) => _,
|
|
35
|
+
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "SecurityHubAPIService",
|
|
38
|
+
operation: "BatchGetConfigurationPolicyAssociations",
|
|
39
|
+
},
|
|
40
|
+
};
|
|
41
|
+
const { requestHandler } = configuration;
|
|
42
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
+
}
|
|
44
|
+
serialize(input, context) {
|
|
45
|
+
return (0, Aws_restJson1_1.se_BatchGetConfigurationPolicyAssociationsCommand)(input, context);
|
|
46
|
+
}
|
|
47
|
+
deserialize(output, context) {
|
|
48
|
+
return (0, Aws_restJson1_1.de_BatchGetConfigurationPolicyAssociationsCommand)(output, context);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
exports.BatchGetConfigurationPolicyAssociationsCommand = BatchGetConfigurationPolicyAssociationsCommand;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CreateConfigurationPolicyCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
9
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
+
class CreateConfigurationPolicyCommand extends smithy_client_1.Command {
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
constructor(input) {
|
|
20
|
+
super();
|
|
21
|
+
this.input = input;
|
|
22
|
+
}
|
|
23
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
24
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
25
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CreateConfigurationPolicyCommand.getEndpointParameterInstructions()));
|
|
26
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
27
|
+
const { logger } = configuration;
|
|
28
|
+
const clientName = "SecurityHubClient";
|
|
29
|
+
const commandName = "CreateConfigurationPolicyCommand";
|
|
30
|
+
const handlerExecutionContext = {
|
|
31
|
+
logger,
|
|
32
|
+
clientName,
|
|
33
|
+
commandName,
|
|
34
|
+
inputFilterSensitiveLog: (_) => _,
|
|
35
|
+
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "SecurityHubAPIService",
|
|
38
|
+
operation: "CreateConfigurationPolicy",
|
|
39
|
+
},
|
|
40
|
+
};
|
|
41
|
+
const { requestHandler } = configuration;
|
|
42
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
+
}
|
|
44
|
+
serialize(input, context) {
|
|
45
|
+
return (0, Aws_restJson1_1.se_CreateConfigurationPolicyCommand)(input, context);
|
|
46
|
+
}
|
|
47
|
+
deserialize(output, context) {
|
|
48
|
+
return (0, Aws_restJson1_1.de_CreateConfigurationPolicyCommand)(output, context);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
exports.CreateConfigurationPolicyCommand = CreateConfigurationPolicyCommand;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DeleteConfigurationPolicyCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
9
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
+
class DeleteConfigurationPolicyCommand extends smithy_client_1.Command {
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
constructor(input) {
|
|
20
|
+
super();
|
|
21
|
+
this.input = input;
|
|
22
|
+
}
|
|
23
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
24
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
25
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteConfigurationPolicyCommand.getEndpointParameterInstructions()));
|
|
26
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
27
|
+
const { logger } = configuration;
|
|
28
|
+
const clientName = "SecurityHubClient";
|
|
29
|
+
const commandName = "DeleteConfigurationPolicyCommand";
|
|
30
|
+
const handlerExecutionContext = {
|
|
31
|
+
logger,
|
|
32
|
+
clientName,
|
|
33
|
+
commandName,
|
|
34
|
+
inputFilterSensitiveLog: (_) => _,
|
|
35
|
+
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "SecurityHubAPIService",
|
|
38
|
+
operation: "DeleteConfigurationPolicy",
|
|
39
|
+
},
|
|
40
|
+
};
|
|
41
|
+
const { requestHandler } = configuration;
|
|
42
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
+
}
|
|
44
|
+
serialize(input, context) {
|
|
45
|
+
return (0, Aws_restJson1_1.se_DeleteConfigurationPolicyCommand)(input, context);
|
|
46
|
+
}
|
|
47
|
+
deserialize(output, context) {
|
|
48
|
+
return (0, Aws_restJson1_1.de_DeleteConfigurationPolicyCommand)(output, context);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
exports.DeleteConfigurationPolicyCommand = DeleteConfigurationPolicyCommand;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetConfigurationPolicyAssociationCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
9
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
+
class GetConfigurationPolicyAssociationCommand extends smithy_client_1.Command {
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
constructor(input) {
|
|
20
|
+
super();
|
|
21
|
+
this.input = input;
|
|
22
|
+
}
|
|
23
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
24
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
25
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetConfigurationPolicyAssociationCommand.getEndpointParameterInstructions()));
|
|
26
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
27
|
+
const { logger } = configuration;
|
|
28
|
+
const clientName = "SecurityHubClient";
|
|
29
|
+
const commandName = "GetConfigurationPolicyAssociationCommand";
|
|
30
|
+
const handlerExecutionContext = {
|
|
31
|
+
logger,
|
|
32
|
+
clientName,
|
|
33
|
+
commandName,
|
|
34
|
+
inputFilterSensitiveLog: (_) => _,
|
|
35
|
+
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "SecurityHubAPIService",
|
|
38
|
+
operation: "GetConfigurationPolicyAssociation",
|
|
39
|
+
},
|
|
40
|
+
};
|
|
41
|
+
const { requestHandler } = configuration;
|
|
42
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
+
}
|
|
44
|
+
serialize(input, context) {
|
|
45
|
+
return (0, Aws_restJson1_1.se_GetConfigurationPolicyAssociationCommand)(input, context);
|
|
46
|
+
}
|
|
47
|
+
deserialize(output, context) {
|
|
48
|
+
return (0, Aws_restJson1_1.de_GetConfigurationPolicyAssociationCommand)(output, context);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
exports.GetConfigurationPolicyAssociationCommand = GetConfigurationPolicyAssociationCommand;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetConfigurationPolicyCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
9
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
+
class GetConfigurationPolicyCommand extends smithy_client_1.Command {
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
constructor(input) {
|
|
20
|
+
super();
|
|
21
|
+
this.input = input;
|
|
22
|
+
}
|
|
23
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
24
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
25
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetConfigurationPolicyCommand.getEndpointParameterInstructions()));
|
|
26
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
27
|
+
const { logger } = configuration;
|
|
28
|
+
const clientName = "SecurityHubClient";
|
|
29
|
+
const commandName = "GetConfigurationPolicyCommand";
|
|
30
|
+
const handlerExecutionContext = {
|
|
31
|
+
logger,
|
|
32
|
+
clientName,
|
|
33
|
+
commandName,
|
|
34
|
+
inputFilterSensitiveLog: (_) => _,
|
|
35
|
+
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "SecurityHubAPIService",
|
|
38
|
+
operation: "GetConfigurationPolicy",
|
|
39
|
+
},
|
|
40
|
+
};
|
|
41
|
+
const { requestHandler } = configuration;
|
|
42
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
+
}
|
|
44
|
+
serialize(input, context) {
|
|
45
|
+
return (0, Aws_restJson1_1.se_GetConfigurationPolicyCommand)(input, context);
|
|
46
|
+
}
|
|
47
|
+
deserialize(output, context) {
|
|
48
|
+
return (0, Aws_restJson1_1.de_GetConfigurationPolicyCommand)(output, context);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
exports.GetConfigurationPolicyCommand = GetConfigurationPolicyCommand;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListConfigurationPoliciesCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
9
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
+
class ListConfigurationPoliciesCommand extends smithy_client_1.Command {
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
constructor(input) {
|
|
20
|
+
super();
|
|
21
|
+
this.input = input;
|
|
22
|
+
}
|
|
23
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
24
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
25
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListConfigurationPoliciesCommand.getEndpointParameterInstructions()));
|
|
26
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
27
|
+
const { logger } = configuration;
|
|
28
|
+
const clientName = "SecurityHubClient";
|
|
29
|
+
const commandName = "ListConfigurationPoliciesCommand";
|
|
30
|
+
const handlerExecutionContext = {
|
|
31
|
+
logger,
|
|
32
|
+
clientName,
|
|
33
|
+
commandName,
|
|
34
|
+
inputFilterSensitiveLog: (_) => _,
|
|
35
|
+
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "SecurityHubAPIService",
|
|
38
|
+
operation: "ListConfigurationPolicies",
|
|
39
|
+
},
|
|
40
|
+
};
|
|
41
|
+
const { requestHandler } = configuration;
|
|
42
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
+
}
|
|
44
|
+
serialize(input, context) {
|
|
45
|
+
return (0, Aws_restJson1_1.se_ListConfigurationPoliciesCommand)(input, context);
|
|
46
|
+
}
|
|
47
|
+
deserialize(output, context) {
|
|
48
|
+
return (0, Aws_restJson1_1.de_ListConfigurationPoliciesCommand)(output, context);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
exports.ListConfigurationPoliciesCommand = ListConfigurationPoliciesCommand;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListConfigurationPolicyAssociationsCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
9
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
+
class ListConfigurationPolicyAssociationsCommand extends smithy_client_1.Command {
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
constructor(input) {
|
|
20
|
+
super();
|
|
21
|
+
this.input = input;
|
|
22
|
+
}
|
|
23
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
24
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
25
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListConfigurationPolicyAssociationsCommand.getEndpointParameterInstructions()));
|
|
26
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
27
|
+
const { logger } = configuration;
|
|
28
|
+
const clientName = "SecurityHubClient";
|
|
29
|
+
const commandName = "ListConfigurationPolicyAssociationsCommand";
|
|
30
|
+
const handlerExecutionContext = {
|
|
31
|
+
logger,
|
|
32
|
+
clientName,
|
|
33
|
+
commandName,
|
|
34
|
+
inputFilterSensitiveLog: (_) => _,
|
|
35
|
+
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "SecurityHubAPIService",
|
|
38
|
+
operation: "ListConfigurationPolicyAssociations",
|
|
39
|
+
},
|
|
40
|
+
};
|
|
41
|
+
const { requestHandler } = configuration;
|
|
42
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
+
}
|
|
44
|
+
serialize(input, context) {
|
|
45
|
+
return (0, Aws_restJson1_1.se_ListConfigurationPolicyAssociationsCommand)(input, context);
|
|
46
|
+
}
|
|
47
|
+
deserialize(output, context) {
|
|
48
|
+
return (0, Aws_restJson1_1.de_ListConfigurationPolicyAssociationsCommand)(output, context);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
exports.ListConfigurationPolicyAssociationsCommand = ListConfigurationPolicyAssociationsCommand;
|