@aws-sdk/client-securityhub 3.454.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 +163 -67
- package/dist-cjs/SecurityHub.js +24 -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/GetSecurityControlDefinitionCommand.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/UpdateSecurityControlCommand.js +51 -0
- package/dist-cjs/commands/index.js +12 -0
- package/dist-cjs/models/models_0.js +10 -1
- package/dist-cjs/models/models_2.js +104 -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 +1283 -31
- package/dist-es/SecurityHub.js +24 -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/GetSecurityControlDefinitionCommand.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/UpdateSecurityControlCommand.js +47 -0
- package/dist-es/commands/index.js +12 -0
- package/dist-es/models/models_0.js +9 -0
- package/dist-es/models/models_2.js +102 -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 +1258 -31
- package/dist-types/SecurityHub.d.ts +84 -0
- package/dist-types/SecurityHubClient.d.ts +14 -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 +7 -0
- package/dist-types/commands/BatchGetConfigurationPolicyAssociationsCommand.d.ts +128 -0
- package/dist-types/commands/BatchGetSecurityControlsCommand.d.ts +45 -2
- package/dist-types/commands/BatchImportFindingsCommand.d.ts +13 -3
- package/dist-types/commands/BatchUpdateAutomationRulesCommand.d.ts +7 -0
- package/dist-types/commands/BatchUpdateStandardsControlAssociationsCommand.d.ts +3 -0
- package/dist-types/commands/CreateAutomationRuleCommand.d.ts +7 -0
- package/dist-types/commands/CreateConfigurationPolicyCommand.d.ts +189 -0
- package/dist-types/commands/CreateInsightCommand.d.ts +17 -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 +30 -3
- package/dist-types/commands/GetInsightsCommand.d.ts +17 -0
- package/dist-types/commands/GetSecurityControlDefinitionCommand.d.ts +193 -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 +65 -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 +17 -0
- package/dist-types/commands/UpdateInsightCommand.d.ts +17 -0
- package/dist-types/commands/UpdateOrganizationConfigurationCommand.d.ts +16 -2
- package/dist-types/commands/UpdateSecurityControlCommand.d.ts +141 -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 +12 -0
- package/dist-types/models/models_0.d.ts +101 -193
- package/dist-types/models/models_1.d.ts +221 -86
- package/dist-types/models/models_2.d.ts +2377 -394
- 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 +108 -0
- package/dist-types/ts3.4/SecurityHub.d.ts +234 -0
- package/dist-types/ts3.4/SecurityHubClient.d.ts +72 -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/GetSecurityControlDefinitionCommand.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/UpdateSecurityControlCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +12 -0
- package/dist-types/ts3.4/models/models_0.d.ts +23 -26
- package/dist-types/ts3.4/models/models_1.d.ts +37 -15
- package/dist-types/ts3.4/models/models_2.d.ts +602 -17
- 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 +144 -0
- package/package.json +3 -3
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");
|
|
@@ -50,8 +55,11 @@ const GetInsightsCommand_1 = require("./commands/GetInsightsCommand");
|
|
|
50
55
|
const GetInvitationsCountCommand_1 = require("./commands/GetInvitationsCountCommand");
|
|
51
56
|
const GetMasterAccountCommand_1 = require("./commands/GetMasterAccountCommand");
|
|
52
57
|
const GetMembersCommand_1 = require("./commands/GetMembersCommand");
|
|
58
|
+
const GetSecurityControlDefinitionCommand_1 = require("./commands/GetSecurityControlDefinitionCommand");
|
|
53
59
|
const InviteMembersCommand_1 = require("./commands/InviteMembersCommand");
|
|
54
60
|
const ListAutomationRulesCommand_1 = require("./commands/ListAutomationRulesCommand");
|
|
61
|
+
const ListConfigurationPoliciesCommand_1 = require("./commands/ListConfigurationPoliciesCommand");
|
|
62
|
+
const ListConfigurationPolicyAssociationsCommand_1 = require("./commands/ListConfigurationPolicyAssociationsCommand");
|
|
55
63
|
const ListEnabledProductsForImportCommand_1 = require("./commands/ListEnabledProductsForImportCommand");
|
|
56
64
|
const ListFindingAggregatorsCommand_1 = require("./commands/ListFindingAggregatorsCommand");
|
|
57
65
|
const ListInvitationsCommand_1 = require("./commands/ListInvitationsCommand");
|
|
@@ -60,13 +68,17 @@ const ListOrganizationAdminAccountsCommand_1 = require("./commands/ListOrganizat
|
|
|
60
68
|
const ListSecurityControlDefinitionsCommand_1 = require("./commands/ListSecurityControlDefinitionsCommand");
|
|
61
69
|
const ListStandardsControlAssociationsCommand_1 = require("./commands/ListStandardsControlAssociationsCommand");
|
|
62
70
|
const ListTagsForResourceCommand_1 = require("./commands/ListTagsForResourceCommand");
|
|
71
|
+
const StartConfigurationPolicyAssociationCommand_1 = require("./commands/StartConfigurationPolicyAssociationCommand");
|
|
72
|
+
const StartConfigurationPolicyDisassociationCommand_1 = require("./commands/StartConfigurationPolicyDisassociationCommand");
|
|
63
73
|
const TagResourceCommand_1 = require("./commands/TagResourceCommand");
|
|
64
74
|
const UntagResourceCommand_1 = require("./commands/UntagResourceCommand");
|
|
65
75
|
const UpdateActionTargetCommand_1 = require("./commands/UpdateActionTargetCommand");
|
|
76
|
+
const UpdateConfigurationPolicyCommand_1 = require("./commands/UpdateConfigurationPolicyCommand");
|
|
66
77
|
const UpdateFindingAggregatorCommand_1 = require("./commands/UpdateFindingAggregatorCommand");
|
|
67
78
|
const UpdateFindingsCommand_1 = require("./commands/UpdateFindingsCommand");
|
|
68
79
|
const UpdateInsightCommand_1 = require("./commands/UpdateInsightCommand");
|
|
69
80
|
const UpdateOrganizationConfigurationCommand_1 = require("./commands/UpdateOrganizationConfigurationCommand");
|
|
81
|
+
const UpdateSecurityControlCommand_1 = require("./commands/UpdateSecurityControlCommand");
|
|
70
82
|
const UpdateSecurityHubConfigurationCommand_1 = require("./commands/UpdateSecurityHubConfigurationCommand");
|
|
71
83
|
const UpdateStandardsControlCommand_1 = require("./commands/UpdateStandardsControlCommand");
|
|
72
84
|
const SecurityHubClient_1 = require("./SecurityHubClient");
|
|
@@ -77,6 +89,7 @@ const commands = {
|
|
|
77
89
|
BatchDisableStandardsCommand: BatchDisableStandardsCommand_1.BatchDisableStandardsCommand,
|
|
78
90
|
BatchEnableStandardsCommand: BatchEnableStandardsCommand_1.BatchEnableStandardsCommand,
|
|
79
91
|
BatchGetAutomationRulesCommand: BatchGetAutomationRulesCommand_1.BatchGetAutomationRulesCommand,
|
|
92
|
+
BatchGetConfigurationPolicyAssociationsCommand: BatchGetConfigurationPolicyAssociationsCommand_1.BatchGetConfigurationPolicyAssociationsCommand,
|
|
80
93
|
BatchGetSecurityControlsCommand: BatchGetSecurityControlsCommand_1.BatchGetSecurityControlsCommand,
|
|
81
94
|
BatchGetStandardsControlAssociationsCommand: BatchGetStandardsControlAssociationsCommand_1.BatchGetStandardsControlAssociationsCommand,
|
|
82
95
|
BatchImportFindingsCommand: BatchImportFindingsCommand_1.BatchImportFindingsCommand,
|
|
@@ -85,11 +98,13 @@ const commands = {
|
|
|
85
98
|
BatchUpdateStandardsControlAssociationsCommand: BatchUpdateStandardsControlAssociationsCommand_1.BatchUpdateStandardsControlAssociationsCommand,
|
|
86
99
|
CreateActionTargetCommand: CreateActionTargetCommand_1.CreateActionTargetCommand,
|
|
87
100
|
CreateAutomationRuleCommand: CreateAutomationRuleCommand_1.CreateAutomationRuleCommand,
|
|
101
|
+
CreateConfigurationPolicyCommand: CreateConfigurationPolicyCommand_1.CreateConfigurationPolicyCommand,
|
|
88
102
|
CreateFindingAggregatorCommand: CreateFindingAggregatorCommand_1.CreateFindingAggregatorCommand,
|
|
89
103
|
CreateInsightCommand: CreateInsightCommand_1.CreateInsightCommand,
|
|
90
104
|
CreateMembersCommand: CreateMembersCommand_1.CreateMembersCommand,
|
|
91
105
|
DeclineInvitationsCommand: DeclineInvitationsCommand_1.DeclineInvitationsCommand,
|
|
92
106
|
DeleteActionTargetCommand: DeleteActionTargetCommand_1.DeleteActionTargetCommand,
|
|
107
|
+
DeleteConfigurationPolicyCommand: DeleteConfigurationPolicyCommand_1.DeleteConfigurationPolicyCommand,
|
|
93
108
|
DeleteFindingAggregatorCommand: DeleteFindingAggregatorCommand_1.DeleteFindingAggregatorCommand,
|
|
94
109
|
DeleteInsightCommand: DeleteInsightCommand_1.DeleteInsightCommand,
|
|
95
110
|
DeleteInvitationsCommand: DeleteInvitationsCommand_1.DeleteInvitationsCommand,
|
|
@@ -110,6 +125,8 @@ const commands = {
|
|
|
110
125
|
EnableOrganizationAdminAccountCommand: EnableOrganizationAdminAccountCommand_1.EnableOrganizationAdminAccountCommand,
|
|
111
126
|
EnableSecurityHubCommand: EnableSecurityHubCommand_1.EnableSecurityHubCommand,
|
|
112
127
|
GetAdministratorAccountCommand: GetAdministratorAccountCommand_1.GetAdministratorAccountCommand,
|
|
128
|
+
GetConfigurationPolicyCommand: GetConfigurationPolicyCommand_1.GetConfigurationPolicyCommand,
|
|
129
|
+
GetConfigurationPolicyAssociationCommand: GetConfigurationPolicyAssociationCommand_1.GetConfigurationPolicyAssociationCommand,
|
|
113
130
|
GetEnabledStandardsCommand: GetEnabledStandardsCommand_1.GetEnabledStandardsCommand,
|
|
114
131
|
GetFindingAggregatorCommand: GetFindingAggregatorCommand_1.GetFindingAggregatorCommand,
|
|
115
132
|
GetFindingHistoryCommand: GetFindingHistoryCommand_1.GetFindingHistoryCommand,
|
|
@@ -119,8 +136,11 @@ const commands = {
|
|
|
119
136
|
GetInvitationsCountCommand: GetInvitationsCountCommand_1.GetInvitationsCountCommand,
|
|
120
137
|
GetMasterAccountCommand: GetMasterAccountCommand_1.GetMasterAccountCommand,
|
|
121
138
|
GetMembersCommand: GetMembersCommand_1.GetMembersCommand,
|
|
139
|
+
GetSecurityControlDefinitionCommand: GetSecurityControlDefinitionCommand_1.GetSecurityControlDefinitionCommand,
|
|
122
140
|
InviteMembersCommand: InviteMembersCommand_1.InviteMembersCommand,
|
|
123
141
|
ListAutomationRulesCommand: ListAutomationRulesCommand_1.ListAutomationRulesCommand,
|
|
142
|
+
ListConfigurationPoliciesCommand: ListConfigurationPoliciesCommand_1.ListConfigurationPoliciesCommand,
|
|
143
|
+
ListConfigurationPolicyAssociationsCommand: ListConfigurationPolicyAssociationsCommand_1.ListConfigurationPolicyAssociationsCommand,
|
|
124
144
|
ListEnabledProductsForImportCommand: ListEnabledProductsForImportCommand_1.ListEnabledProductsForImportCommand,
|
|
125
145
|
ListFindingAggregatorsCommand: ListFindingAggregatorsCommand_1.ListFindingAggregatorsCommand,
|
|
126
146
|
ListInvitationsCommand: ListInvitationsCommand_1.ListInvitationsCommand,
|
|
@@ -129,13 +149,17 @@ const commands = {
|
|
|
129
149
|
ListSecurityControlDefinitionsCommand: ListSecurityControlDefinitionsCommand_1.ListSecurityControlDefinitionsCommand,
|
|
130
150
|
ListStandardsControlAssociationsCommand: ListStandardsControlAssociationsCommand_1.ListStandardsControlAssociationsCommand,
|
|
131
151
|
ListTagsForResourceCommand: ListTagsForResourceCommand_1.ListTagsForResourceCommand,
|
|
152
|
+
StartConfigurationPolicyAssociationCommand: StartConfigurationPolicyAssociationCommand_1.StartConfigurationPolicyAssociationCommand,
|
|
153
|
+
StartConfigurationPolicyDisassociationCommand: StartConfigurationPolicyDisassociationCommand_1.StartConfigurationPolicyDisassociationCommand,
|
|
132
154
|
TagResourceCommand: TagResourceCommand_1.TagResourceCommand,
|
|
133
155
|
UntagResourceCommand: UntagResourceCommand_1.UntagResourceCommand,
|
|
134
156
|
UpdateActionTargetCommand: UpdateActionTargetCommand_1.UpdateActionTargetCommand,
|
|
157
|
+
UpdateConfigurationPolicyCommand: UpdateConfigurationPolicyCommand_1.UpdateConfigurationPolicyCommand,
|
|
135
158
|
UpdateFindingAggregatorCommand: UpdateFindingAggregatorCommand_1.UpdateFindingAggregatorCommand,
|
|
136
159
|
UpdateFindingsCommand: UpdateFindingsCommand_1.UpdateFindingsCommand,
|
|
137
160
|
UpdateInsightCommand: UpdateInsightCommand_1.UpdateInsightCommand,
|
|
138
161
|
UpdateOrganizationConfigurationCommand: UpdateOrganizationConfigurationCommand_1.UpdateOrganizationConfigurationCommand,
|
|
162
|
+
UpdateSecurityControlCommand: UpdateSecurityControlCommand_1.UpdateSecurityControlCommand,
|
|
139
163
|
UpdateSecurityHubConfigurationCommand: UpdateSecurityHubConfigurationCommand_1.UpdateSecurityHubConfigurationCommand,
|
|
140
164
|
UpdateStandardsControlCommand: UpdateStandardsControlCommand_1.UpdateStandardsControlCommand,
|
|
141
165
|
};
|
|
@@ -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.GetSecurityControlDefinitionCommand = 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 GetSecurityControlDefinitionCommand 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, GetSecurityControlDefinitionCommand.getEndpointParameterInstructions()));
|
|
26
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
27
|
+
const { logger } = configuration;
|
|
28
|
+
const clientName = "SecurityHubClient";
|
|
29
|
+
const commandName = "GetSecurityControlDefinitionCommand";
|
|
30
|
+
const handlerExecutionContext = {
|
|
31
|
+
logger,
|
|
32
|
+
clientName,
|
|
33
|
+
commandName,
|
|
34
|
+
inputFilterSensitiveLog: (_) => _,
|
|
35
|
+
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "SecurityHubAPIService",
|
|
38
|
+
operation: "GetSecurityControlDefinition",
|
|
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_GetSecurityControlDefinitionCommand)(input, context);
|
|
46
|
+
}
|
|
47
|
+
deserialize(output, context) {
|
|
48
|
+
return (0, Aws_restJson1_1.de_GetSecurityControlDefinitionCommand)(output, context);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
exports.GetSecurityControlDefinitionCommand = GetSecurityControlDefinitionCommand;
|
|
@@ -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;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.StartConfigurationPolicyAssociationCommand = 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 StartConfigurationPolicyAssociationCommand 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, StartConfigurationPolicyAssociationCommand.getEndpointParameterInstructions()));
|
|
26
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
27
|
+
const { logger } = configuration;
|
|
28
|
+
const clientName = "SecurityHubClient";
|
|
29
|
+
const commandName = "StartConfigurationPolicyAssociationCommand";
|
|
30
|
+
const handlerExecutionContext = {
|
|
31
|
+
logger,
|
|
32
|
+
clientName,
|
|
33
|
+
commandName,
|
|
34
|
+
inputFilterSensitiveLog: (_) => _,
|
|
35
|
+
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "SecurityHubAPIService",
|
|
38
|
+
operation: "StartConfigurationPolicyAssociation",
|
|
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_StartConfigurationPolicyAssociationCommand)(input, context);
|
|
46
|
+
}
|
|
47
|
+
deserialize(output, context) {
|
|
48
|
+
return (0, Aws_restJson1_1.de_StartConfigurationPolicyAssociationCommand)(output, context);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
exports.StartConfigurationPolicyAssociationCommand = StartConfigurationPolicyAssociationCommand;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.StartConfigurationPolicyDisassociationCommand = 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 StartConfigurationPolicyDisassociationCommand 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, StartConfigurationPolicyDisassociationCommand.getEndpointParameterInstructions()));
|
|
26
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
27
|
+
const { logger } = configuration;
|
|
28
|
+
const clientName = "SecurityHubClient";
|
|
29
|
+
const commandName = "StartConfigurationPolicyDisassociationCommand";
|
|
30
|
+
const handlerExecutionContext = {
|
|
31
|
+
logger,
|
|
32
|
+
clientName,
|
|
33
|
+
commandName,
|
|
34
|
+
inputFilterSensitiveLog: (_) => _,
|
|
35
|
+
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "SecurityHubAPIService",
|
|
38
|
+
operation: "StartConfigurationPolicyDisassociation",
|
|
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_StartConfigurationPolicyDisassociationCommand)(input, context);
|
|
46
|
+
}
|
|
47
|
+
deserialize(output, context) {
|
|
48
|
+
return (0, Aws_restJson1_1.de_StartConfigurationPolicyDisassociationCommand)(output, context);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
exports.StartConfigurationPolicyDisassociationCommand = StartConfigurationPolicyDisassociationCommand;
|