@aws-sdk/client-securityhub 3.458.0 → 3.460.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 +176 -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 +265 -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 +109 -0
- package/dist-types/commands/DescribeOrganizationConfigurationCommand.d.ts +27 -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 +131 -0
- package/dist-types/commands/GetConfigurationPolicyCommand.d.ts +191 -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 +131 -0
- package/dist-types/commands/ListConfigurationPolicyAssociationsCommand.d.ts +140 -0
- package/dist-types/commands/ListSecurityControlDefinitionsCommand.d.ts +6 -0
- package/dist-types/commands/StartConfigurationPolicyAssociationCommand.d.ts +133 -0
- package/dist-types/commands/StartConfigurationPolicyDisassociationCommand.d.ts +116 -0
- package/dist-types/commands/UpdateConfigurationPolicyCommand.d.ts +271 -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 +12 -12
package/dist-es/SecurityHub.js
CHANGED
|
@@ -5,6 +5,7 @@ import { BatchDeleteAutomationRulesCommand, } from "./commands/BatchDeleteAutoma
|
|
|
5
5
|
import { BatchDisableStandardsCommand, } from "./commands/BatchDisableStandardsCommand";
|
|
6
6
|
import { BatchEnableStandardsCommand, } from "./commands/BatchEnableStandardsCommand";
|
|
7
7
|
import { BatchGetAutomationRulesCommand, } from "./commands/BatchGetAutomationRulesCommand";
|
|
8
|
+
import { BatchGetConfigurationPolicyAssociationsCommand, } from "./commands/BatchGetConfigurationPolicyAssociationsCommand";
|
|
8
9
|
import { BatchGetSecurityControlsCommand, } from "./commands/BatchGetSecurityControlsCommand";
|
|
9
10
|
import { BatchGetStandardsControlAssociationsCommand, } from "./commands/BatchGetStandardsControlAssociationsCommand";
|
|
10
11
|
import { BatchImportFindingsCommand, } from "./commands/BatchImportFindingsCommand";
|
|
@@ -13,11 +14,13 @@ import { BatchUpdateFindingsCommand, } from "./commands/BatchUpdateFindingsComma
|
|
|
13
14
|
import { BatchUpdateStandardsControlAssociationsCommand, } from "./commands/BatchUpdateStandardsControlAssociationsCommand";
|
|
14
15
|
import { CreateActionTargetCommand, } from "./commands/CreateActionTargetCommand";
|
|
15
16
|
import { CreateAutomationRuleCommand, } from "./commands/CreateAutomationRuleCommand";
|
|
17
|
+
import { CreateConfigurationPolicyCommand, } from "./commands/CreateConfigurationPolicyCommand";
|
|
16
18
|
import { CreateFindingAggregatorCommand, } from "./commands/CreateFindingAggregatorCommand";
|
|
17
19
|
import { CreateInsightCommand, } from "./commands/CreateInsightCommand";
|
|
18
20
|
import { CreateMembersCommand, } from "./commands/CreateMembersCommand";
|
|
19
21
|
import { DeclineInvitationsCommand, } from "./commands/DeclineInvitationsCommand";
|
|
20
22
|
import { DeleteActionTargetCommand, } from "./commands/DeleteActionTargetCommand";
|
|
23
|
+
import { DeleteConfigurationPolicyCommand, } from "./commands/DeleteConfigurationPolicyCommand";
|
|
21
24
|
import { DeleteFindingAggregatorCommand, } from "./commands/DeleteFindingAggregatorCommand";
|
|
22
25
|
import { DeleteInsightCommand, } from "./commands/DeleteInsightCommand";
|
|
23
26
|
import { DeleteInvitationsCommand, } from "./commands/DeleteInvitationsCommand";
|
|
@@ -38,6 +41,8 @@ import { EnableImportFindingsForProductCommand, } from "./commands/EnableImportF
|
|
|
38
41
|
import { EnableOrganizationAdminAccountCommand, } from "./commands/EnableOrganizationAdminAccountCommand";
|
|
39
42
|
import { EnableSecurityHubCommand, } from "./commands/EnableSecurityHubCommand";
|
|
40
43
|
import { GetAdministratorAccountCommand, } from "./commands/GetAdministratorAccountCommand";
|
|
44
|
+
import { GetConfigurationPolicyAssociationCommand, } from "./commands/GetConfigurationPolicyAssociationCommand";
|
|
45
|
+
import { GetConfigurationPolicyCommand, } from "./commands/GetConfigurationPolicyCommand";
|
|
41
46
|
import { GetEnabledStandardsCommand, } from "./commands/GetEnabledStandardsCommand";
|
|
42
47
|
import { GetFindingAggregatorCommand, } from "./commands/GetFindingAggregatorCommand";
|
|
43
48
|
import { GetFindingHistoryCommand, } from "./commands/GetFindingHistoryCommand";
|
|
@@ -50,6 +55,8 @@ import { GetMembersCommand } from "./commands/GetMembersCommand";
|
|
|
50
55
|
import { GetSecurityControlDefinitionCommand, } from "./commands/GetSecurityControlDefinitionCommand";
|
|
51
56
|
import { InviteMembersCommand, } from "./commands/InviteMembersCommand";
|
|
52
57
|
import { ListAutomationRulesCommand, } from "./commands/ListAutomationRulesCommand";
|
|
58
|
+
import { ListConfigurationPoliciesCommand, } from "./commands/ListConfigurationPoliciesCommand";
|
|
59
|
+
import { ListConfigurationPolicyAssociationsCommand, } from "./commands/ListConfigurationPolicyAssociationsCommand";
|
|
53
60
|
import { ListEnabledProductsForImportCommand, } from "./commands/ListEnabledProductsForImportCommand";
|
|
54
61
|
import { ListFindingAggregatorsCommand, } from "./commands/ListFindingAggregatorsCommand";
|
|
55
62
|
import { ListInvitationsCommand, } from "./commands/ListInvitationsCommand";
|
|
@@ -58,9 +65,12 @@ import { ListOrganizationAdminAccountsCommand, } from "./commands/ListOrganizati
|
|
|
58
65
|
import { ListSecurityControlDefinitionsCommand, } from "./commands/ListSecurityControlDefinitionsCommand";
|
|
59
66
|
import { ListStandardsControlAssociationsCommand, } from "./commands/ListStandardsControlAssociationsCommand";
|
|
60
67
|
import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
|
|
68
|
+
import { StartConfigurationPolicyAssociationCommand, } from "./commands/StartConfigurationPolicyAssociationCommand";
|
|
69
|
+
import { StartConfigurationPolicyDisassociationCommand, } from "./commands/StartConfigurationPolicyDisassociationCommand";
|
|
61
70
|
import { TagResourceCommand } from "./commands/TagResourceCommand";
|
|
62
71
|
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
63
72
|
import { UpdateActionTargetCommand, } from "./commands/UpdateActionTargetCommand";
|
|
73
|
+
import { UpdateConfigurationPolicyCommand, } from "./commands/UpdateConfigurationPolicyCommand";
|
|
64
74
|
import { UpdateFindingAggregatorCommand, } from "./commands/UpdateFindingAggregatorCommand";
|
|
65
75
|
import { UpdateFindingsCommand, } from "./commands/UpdateFindingsCommand";
|
|
66
76
|
import { UpdateInsightCommand, } from "./commands/UpdateInsightCommand";
|
|
@@ -76,6 +86,7 @@ const commands = {
|
|
|
76
86
|
BatchDisableStandardsCommand,
|
|
77
87
|
BatchEnableStandardsCommand,
|
|
78
88
|
BatchGetAutomationRulesCommand,
|
|
89
|
+
BatchGetConfigurationPolicyAssociationsCommand,
|
|
79
90
|
BatchGetSecurityControlsCommand,
|
|
80
91
|
BatchGetStandardsControlAssociationsCommand,
|
|
81
92
|
BatchImportFindingsCommand,
|
|
@@ -84,11 +95,13 @@ const commands = {
|
|
|
84
95
|
BatchUpdateStandardsControlAssociationsCommand,
|
|
85
96
|
CreateActionTargetCommand,
|
|
86
97
|
CreateAutomationRuleCommand,
|
|
98
|
+
CreateConfigurationPolicyCommand,
|
|
87
99
|
CreateFindingAggregatorCommand,
|
|
88
100
|
CreateInsightCommand,
|
|
89
101
|
CreateMembersCommand,
|
|
90
102
|
DeclineInvitationsCommand,
|
|
91
103
|
DeleteActionTargetCommand,
|
|
104
|
+
DeleteConfigurationPolicyCommand,
|
|
92
105
|
DeleteFindingAggregatorCommand,
|
|
93
106
|
DeleteInsightCommand,
|
|
94
107
|
DeleteInvitationsCommand,
|
|
@@ -109,6 +122,8 @@ const commands = {
|
|
|
109
122
|
EnableOrganizationAdminAccountCommand,
|
|
110
123
|
EnableSecurityHubCommand,
|
|
111
124
|
GetAdministratorAccountCommand,
|
|
125
|
+
GetConfigurationPolicyCommand,
|
|
126
|
+
GetConfigurationPolicyAssociationCommand,
|
|
112
127
|
GetEnabledStandardsCommand,
|
|
113
128
|
GetFindingAggregatorCommand,
|
|
114
129
|
GetFindingHistoryCommand,
|
|
@@ -121,6 +136,8 @@ const commands = {
|
|
|
121
136
|
GetSecurityControlDefinitionCommand,
|
|
122
137
|
InviteMembersCommand,
|
|
123
138
|
ListAutomationRulesCommand,
|
|
139
|
+
ListConfigurationPoliciesCommand,
|
|
140
|
+
ListConfigurationPolicyAssociationsCommand,
|
|
124
141
|
ListEnabledProductsForImportCommand,
|
|
125
142
|
ListFindingAggregatorsCommand,
|
|
126
143
|
ListInvitationsCommand,
|
|
@@ -129,9 +146,12 @@ const commands = {
|
|
|
129
146
|
ListSecurityControlDefinitionsCommand,
|
|
130
147
|
ListStandardsControlAssociationsCommand,
|
|
131
148
|
ListTagsForResourceCommand,
|
|
149
|
+
StartConfigurationPolicyAssociationCommand,
|
|
150
|
+
StartConfigurationPolicyDisassociationCommand,
|
|
132
151
|
TagResourceCommand,
|
|
133
152
|
UntagResourceCommand,
|
|
134
153
|
UpdateActionTargetCommand,
|
|
154
|
+
UpdateConfigurationPolicyCommand,
|
|
135
155
|
UpdateFindingAggregatorCommand,
|
|
136
156
|
UpdateFindingsCommand,
|
|
137
157
|
UpdateInsightCommand,
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
5
|
+
import { de_BatchGetConfigurationPolicyAssociationsCommand, se_BatchGetConfigurationPolicyAssociationsCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class BatchGetConfigurationPolicyAssociationsCommand extends $Command {
|
|
8
|
+
static getEndpointParameterInstructions() {
|
|
9
|
+
return {
|
|
10
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
11
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
12
|
+
Region: { type: "builtInParams", name: "region" },
|
|
13
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
constructor(input) {
|
|
17
|
+
super();
|
|
18
|
+
this.input = input;
|
|
19
|
+
}
|
|
20
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
21
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
22
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, BatchGetConfigurationPolicyAssociationsCommand.getEndpointParameterInstructions()));
|
|
23
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
24
|
+
const { logger } = configuration;
|
|
25
|
+
const clientName = "SecurityHubClient";
|
|
26
|
+
const commandName = "BatchGetConfigurationPolicyAssociationsCommand";
|
|
27
|
+
const handlerExecutionContext = {
|
|
28
|
+
logger,
|
|
29
|
+
clientName,
|
|
30
|
+
commandName,
|
|
31
|
+
inputFilterSensitiveLog: (_) => _,
|
|
32
|
+
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "SecurityHubAPIService",
|
|
35
|
+
operation: "BatchGetConfigurationPolicyAssociations",
|
|
36
|
+
},
|
|
37
|
+
};
|
|
38
|
+
const { requestHandler } = configuration;
|
|
39
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
+
}
|
|
41
|
+
serialize(input, context) {
|
|
42
|
+
return se_BatchGetConfigurationPolicyAssociationsCommand(input, context);
|
|
43
|
+
}
|
|
44
|
+
deserialize(output, context) {
|
|
45
|
+
return de_BatchGetConfigurationPolicyAssociationsCommand(output, context);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
5
|
+
import { de_CreateConfigurationPolicyCommand, se_CreateConfigurationPolicyCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class CreateConfigurationPolicyCommand extends $Command {
|
|
8
|
+
static getEndpointParameterInstructions() {
|
|
9
|
+
return {
|
|
10
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
11
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
12
|
+
Region: { type: "builtInParams", name: "region" },
|
|
13
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
constructor(input) {
|
|
17
|
+
super();
|
|
18
|
+
this.input = input;
|
|
19
|
+
}
|
|
20
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
21
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
22
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, CreateConfigurationPolicyCommand.getEndpointParameterInstructions()));
|
|
23
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
24
|
+
const { logger } = configuration;
|
|
25
|
+
const clientName = "SecurityHubClient";
|
|
26
|
+
const commandName = "CreateConfigurationPolicyCommand";
|
|
27
|
+
const handlerExecutionContext = {
|
|
28
|
+
logger,
|
|
29
|
+
clientName,
|
|
30
|
+
commandName,
|
|
31
|
+
inputFilterSensitiveLog: (_) => _,
|
|
32
|
+
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "SecurityHubAPIService",
|
|
35
|
+
operation: "CreateConfigurationPolicy",
|
|
36
|
+
},
|
|
37
|
+
};
|
|
38
|
+
const { requestHandler } = configuration;
|
|
39
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
+
}
|
|
41
|
+
serialize(input, context) {
|
|
42
|
+
return se_CreateConfigurationPolicyCommand(input, context);
|
|
43
|
+
}
|
|
44
|
+
deserialize(output, context) {
|
|
45
|
+
return de_CreateConfigurationPolicyCommand(output, context);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
5
|
+
import { de_DeleteConfigurationPolicyCommand, se_DeleteConfigurationPolicyCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class DeleteConfigurationPolicyCommand extends $Command {
|
|
8
|
+
static getEndpointParameterInstructions() {
|
|
9
|
+
return {
|
|
10
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
11
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
12
|
+
Region: { type: "builtInParams", name: "region" },
|
|
13
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
constructor(input) {
|
|
17
|
+
super();
|
|
18
|
+
this.input = input;
|
|
19
|
+
}
|
|
20
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
21
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
22
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, DeleteConfigurationPolicyCommand.getEndpointParameterInstructions()));
|
|
23
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
24
|
+
const { logger } = configuration;
|
|
25
|
+
const clientName = "SecurityHubClient";
|
|
26
|
+
const commandName = "DeleteConfigurationPolicyCommand";
|
|
27
|
+
const handlerExecutionContext = {
|
|
28
|
+
logger,
|
|
29
|
+
clientName,
|
|
30
|
+
commandName,
|
|
31
|
+
inputFilterSensitiveLog: (_) => _,
|
|
32
|
+
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "SecurityHubAPIService",
|
|
35
|
+
operation: "DeleteConfigurationPolicy",
|
|
36
|
+
},
|
|
37
|
+
};
|
|
38
|
+
const { requestHandler } = configuration;
|
|
39
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
+
}
|
|
41
|
+
serialize(input, context) {
|
|
42
|
+
return se_DeleteConfigurationPolicyCommand(input, context);
|
|
43
|
+
}
|
|
44
|
+
deserialize(output, context) {
|
|
45
|
+
return de_DeleteConfigurationPolicyCommand(output, context);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
5
|
+
import { de_GetConfigurationPolicyAssociationCommand, se_GetConfigurationPolicyAssociationCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class GetConfigurationPolicyAssociationCommand extends $Command {
|
|
8
|
+
static getEndpointParameterInstructions() {
|
|
9
|
+
return {
|
|
10
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
11
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
12
|
+
Region: { type: "builtInParams", name: "region" },
|
|
13
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
constructor(input) {
|
|
17
|
+
super();
|
|
18
|
+
this.input = input;
|
|
19
|
+
}
|
|
20
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
21
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
22
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, GetConfigurationPolicyAssociationCommand.getEndpointParameterInstructions()));
|
|
23
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
24
|
+
const { logger } = configuration;
|
|
25
|
+
const clientName = "SecurityHubClient";
|
|
26
|
+
const commandName = "GetConfigurationPolicyAssociationCommand";
|
|
27
|
+
const handlerExecutionContext = {
|
|
28
|
+
logger,
|
|
29
|
+
clientName,
|
|
30
|
+
commandName,
|
|
31
|
+
inputFilterSensitiveLog: (_) => _,
|
|
32
|
+
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "SecurityHubAPIService",
|
|
35
|
+
operation: "GetConfigurationPolicyAssociation",
|
|
36
|
+
},
|
|
37
|
+
};
|
|
38
|
+
const { requestHandler } = configuration;
|
|
39
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
+
}
|
|
41
|
+
serialize(input, context) {
|
|
42
|
+
return se_GetConfigurationPolicyAssociationCommand(input, context);
|
|
43
|
+
}
|
|
44
|
+
deserialize(output, context) {
|
|
45
|
+
return de_GetConfigurationPolicyAssociationCommand(output, context);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
5
|
+
import { de_GetConfigurationPolicyCommand, se_GetConfigurationPolicyCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class GetConfigurationPolicyCommand extends $Command {
|
|
8
|
+
static getEndpointParameterInstructions() {
|
|
9
|
+
return {
|
|
10
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
11
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
12
|
+
Region: { type: "builtInParams", name: "region" },
|
|
13
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
constructor(input) {
|
|
17
|
+
super();
|
|
18
|
+
this.input = input;
|
|
19
|
+
}
|
|
20
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
21
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
22
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, GetConfigurationPolicyCommand.getEndpointParameterInstructions()));
|
|
23
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
24
|
+
const { logger } = configuration;
|
|
25
|
+
const clientName = "SecurityHubClient";
|
|
26
|
+
const commandName = "GetConfigurationPolicyCommand";
|
|
27
|
+
const handlerExecutionContext = {
|
|
28
|
+
logger,
|
|
29
|
+
clientName,
|
|
30
|
+
commandName,
|
|
31
|
+
inputFilterSensitiveLog: (_) => _,
|
|
32
|
+
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "SecurityHubAPIService",
|
|
35
|
+
operation: "GetConfigurationPolicy",
|
|
36
|
+
},
|
|
37
|
+
};
|
|
38
|
+
const { requestHandler } = configuration;
|
|
39
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
+
}
|
|
41
|
+
serialize(input, context) {
|
|
42
|
+
return se_GetConfigurationPolicyCommand(input, context);
|
|
43
|
+
}
|
|
44
|
+
deserialize(output, context) {
|
|
45
|
+
return de_GetConfigurationPolicyCommand(output, context);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
5
|
+
import { de_ListConfigurationPoliciesCommand, se_ListConfigurationPoliciesCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class ListConfigurationPoliciesCommand extends $Command {
|
|
8
|
+
static getEndpointParameterInstructions() {
|
|
9
|
+
return {
|
|
10
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
11
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
12
|
+
Region: { type: "builtInParams", name: "region" },
|
|
13
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
constructor(input) {
|
|
17
|
+
super();
|
|
18
|
+
this.input = input;
|
|
19
|
+
}
|
|
20
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
21
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
22
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, ListConfigurationPoliciesCommand.getEndpointParameterInstructions()));
|
|
23
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
24
|
+
const { logger } = configuration;
|
|
25
|
+
const clientName = "SecurityHubClient";
|
|
26
|
+
const commandName = "ListConfigurationPoliciesCommand";
|
|
27
|
+
const handlerExecutionContext = {
|
|
28
|
+
logger,
|
|
29
|
+
clientName,
|
|
30
|
+
commandName,
|
|
31
|
+
inputFilterSensitiveLog: (_) => _,
|
|
32
|
+
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "SecurityHubAPIService",
|
|
35
|
+
operation: "ListConfigurationPolicies",
|
|
36
|
+
},
|
|
37
|
+
};
|
|
38
|
+
const { requestHandler } = configuration;
|
|
39
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
+
}
|
|
41
|
+
serialize(input, context) {
|
|
42
|
+
return se_ListConfigurationPoliciesCommand(input, context);
|
|
43
|
+
}
|
|
44
|
+
deserialize(output, context) {
|
|
45
|
+
return de_ListConfigurationPoliciesCommand(output, context);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
5
|
+
import { de_ListConfigurationPolicyAssociationsCommand, se_ListConfigurationPolicyAssociationsCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class ListConfigurationPolicyAssociationsCommand extends $Command {
|
|
8
|
+
static getEndpointParameterInstructions() {
|
|
9
|
+
return {
|
|
10
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
11
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
12
|
+
Region: { type: "builtInParams", name: "region" },
|
|
13
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
constructor(input) {
|
|
17
|
+
super();
|
|
18
|
+
this.input = input;
|
|
19
|
+
}
|
|
20
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
21
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
22
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, ListConfigurationPolicyAssociationsCommand.getEndpointParameterInstructions()));
|
|
23
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
24
|
+
const { logger } = configuration;
|
|
25
|
+
const clientName = "SecurityHubClient";
|
|
26
|
+
const commandName = "ListConfigurationPolicyAssociationsCommand";
|
|
27
|
+
const handlerExecutionContext = {
|
|
28
|
+
logger,
|
|
29
|
+
clientName,
|
|
30
|
+
commandName,
|
|
31
|
+
inputFilterSensitiveLog: (_) => _,
|
|
32
|
+
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "SecurityHubAPIService",
|
|
35
|
+
operation: "ListConfigurationPolicyAssociations",
|
|
36
|
+
},
|
|
37
|
+
};
|
|
38
|
+
const { requestHandler } = configuration;
|
|
39
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
+
}
|
|
41
|
+
serialize(input, context) {
|
|
42
|
+
return se_ListConfigurationPolicyAssociationsCommand(input, context);
|
|
43
|
+
}
|
|
44
|
+
deserialize(output, context) {
|
|
45
|
+
return de_ListConfigurationPolicyAssociationsCommand(output, context);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
5
|
+
import { de_StartConfigurationPolicyAssociationCommand, se_StartConfigurationPolicyAssociationCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class StartConfigurationPolicyAssociationCommand extends $Command {
|
|
8
|
+
static getEndpointParameterInstructions() {
|
|
9
|
+
return {
|
|
10
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
11
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
12
|
+
Region: { type: "builtInParams", name: "region" },
|
|
13
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
constructor(input) {
|
|
17
|
+
super();
|
|
18
|
+
this.input = input;
|
|
19
|
+
}
|
|
20
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
21
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
22
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, StartConfigurationPolicyAssociationCommand.getEndpointParameterInstructions()));
|
|
23
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
24
|
+
const { logger } = configuration;
|
|
25
|
+
const clientName = "SecurityHubClient";
|
|
26
|
+
const commandName = "StartConfigurationPolicyAssociationCommand";
|
|
27
|
+
const handlerExecutionContext = {
|
|
28
|
+
logger,
|
|
29
|
+
clientName,
|
|
30
|
+
commandName,
|
|
31
|
+
inputFilterSensitiveLog: (_) => _,
|
|
32
|
+
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "SecurityHubAPIService",
|
|
35
|
+
operation: "StartConfigurationPolicyAssociation",
|
|
36
|
+
},
|
|
37
|
+
};
|
|
38
|
+
const { requestHandler } = configuration;
|
|
39
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
+
}
|
|
41
|
+
serialize(input, context) {
|
|
42
|
+
return se_StartConfigurationPolicyAssociationCommand(input, context);
|
|
43
|
+
}
|
|
44
|
+
deserialize(output, context) {
|
|
45
|
+
return de_StartConfigurationPolicyAssociationCommand(output, context);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
5
|
+
import { de_StartConfigurationPolicyDisassociationCommand, se_StartConfigurationPolicyDisassociationCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class StartConfigurationPolicyDisassociationCommand extends $Command {
|
|
8
|
+
static getEndpointParameterInstructions() {
|
|
9
|
+
return {
|
|
10
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
11
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
12
|
+
Region: { type: "builtInParams", name: "region" },
|
|
13
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
constructor(input) {
|
|
17
|
+
super();
|
|
18
|
+
this.input = input;
|
|
19
|
+
}
|
|
20
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
21
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
22
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, StartConfigurationPolicyDisassociationCommand.getEndpointParameterInstructions()));
|
|
23
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
24
|
+
const { logger } = configuration;
|
|
25
|
+
const clientName = "SecurityHubClient";
|
|
26
|
+
const commandName = "StartConfigurationPolicyDisassociationCommand";
|
|
27
|
+
const handlerExecutionContext = {
|
|
28
|
+
logger,
|
|
29
|
+
clientName,
|
|
30
|
+
commandName,
|
|
31
|
+
inputFilterSensitiveLog: (_) => _,
|
|
32
|
+
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "SecurityHubAPIService",
|
|
35
|
+
operation: "StartConfigurationPolicyDisassociation",
|
|
36
|
+
},
|
|
37
|
+
};
|
|
38
|
+
const { requestHandler } = configuration;
|
|
39
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
+
}
|
|
41
|
+
serialize(input, context) {
|
|
42
|
+
return se_StartConfigurationPolicyDisassociationCommand(input, context);
|
|
43
|
+
}
|
|
44
|
+
deserialize(output, context) {
|
|
45
|
+
return de_StartConfigurationPolicyDisassociationCommand(output, context);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
|
|
5
|
+
import { de_UpdateConfigurationPolicyCommand, se_UpdateConfigurationPolicyCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class UpdateConfigurationPolicyCommand extends $Command {
|
|
8
|
+
static getEndpointParameterInstructions() {
|
|
9
|
+
return {
|
|
10
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
11
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
12
|
+
Region: { type: "builtInParams", name: "region" },
|
|
13
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
constructor(input) {
|
|
17
|
+
super();
|
|
18
|
+
this.input = input;
|
|
19
|
+
}
|
|
20
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
21
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
22
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, UpdateConfigurationPolicyCommand.getEndpointParameterInstructions()));
|
|
23
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
24
|
+
const { logger } = configuration;
|
|
25
|
+
const clientName = "SecurityHubClient";
|
|
26
|
+
const commandName = "UpdateConfigurationPolicyCommand";
|
|
27
|
+
const handlerExecutionContext = {
|
|
28
|
+
logger,
|
|
29
|
+
clientName,
|
|
30
|
+
commandName,
|
|
31
|
+
inputFilterSensitiveLog: (_) => _,
|
|
32
|
+
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "SecurityHubAPIService",
|
|
35
|
+
operation: "UpdateConfigurationPolicy",
|
|
36
|
+
},
|
|
37
|
+
};
|
|
38
|
+
const { requestHandler } = configuration;
|
|
39
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
+
}
|
|
41
|
+
serialize(input, context) {
|
|
42
|
+
return se_UpdateConfigurationPolicyCommand(input, context);
|
|
43
|
+
}
|
|
44
|
+
deserialize(output, context) {
|
|
45
|
+
return de_UpdateConfigurationPolicyCommand(output, context);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
@@ -4,6 +4,7 @@ export * from "./BatchDeleteAutomationRulesCommand";
|
|
|
4
4
|
export * from "./BatchDisableStandardsCommand";
|
|
5
5
|
export * from "./BatchEnableStandardsCommand";
|
|
6
6
|
export * from "./BatchGetAutomationRulesCommand";
|
|
7
|
+
export * from "./BatchGetConfigurationPolicyAssociationsCommand";
|
|
7
8
|
export * from "./BatchGetSecurityControlsCommand";
|
|
8
9
|
export * from "./BatchGetStandardsControlAssociationsCommand";
|
|
9
10
|
export * from "./BatchImportFindingsCommand";
|
|
@@ -12,11 +13,13 @@ export * from "./BatchUpdateFindingsCommand";
|
|
|
12
13
|
export * from "./BatchUpdateStandardsControlAssociationsCommand";
|
|
13
14
|
export * from "./CreateActionTargetCommand";
|
|
14
15
|
export * from "./CreateAutomationRuleCommand";
|
|
16
|
+
export * from "./CreateConfigurationPolicyCommand";
|
|
15
17
|
export * from "./CreateFindingAggregatorCommand";
|
|
16
18
|
export * from "./CreateInsightCommand";
|
|
17
19
|
export * from "./CreateMembersCommand";
|
|
18
20
|
export * from "./DeclineInvitationsCommand";
|
|
19
21
|
export * from "./DeleteActionTargetCommand";
|
|
22
|
+
export * from "./DeleteConfigurationPolicyCommand";
|
|
20
23
|
export * from "./DeleteFindingAggregatorCommand";
|
|
21
24
|
export * from "./DeleteInsightCommand";
|
|
22
25
|
export * from "./DeleteInvitationsCommand";
|
|
@@ -37,6 +40,8 @@ export * from "./EnableImportFindingsForProductCommand";
|
|
|
37
40
|
export * from "./EnableOrganizationAdminAccountCommand";
|
|
38
41
|
export * from "./EnableSecurityHubCommand";
|
|
39
42
|
export * from "./GetAdministratorAccountCommand";
|
|
43
|
+
export * from "./GetConfigurationPolicyAssociationCommand";
|
|
44
|
+
export * from "./GetConfigurationPolicyCommand";
|
|
40
45
|
export * from "./GetEnabledStandardsCommand";
|
|
41
46
|
export * from "./GetFindingAggregatorCommand";
|
|
42
47
|
export * from "./GetFindingHistoryCommand";
|
|
@@ -49,6 +54,8 @@ export * from "./GetMembersCommand";
|
|
|
49
54
|
export * from "./GetSecurityControlDefinitionCommand";
|
|
50
55
|
export * from "./InviteMembersCommand";
|
|
51
56
|
export * from "./ListAutomationRulesCommand";
|
|
57
|
+
export * from "./ListConfigurationPoliciesCommand";
|
|
58
|
+
export * from "./ListConfigurationPolicyAssociationsCommand";
|
|
52
59
|
export * from "./ListEnabledProductsForImportCommand";
|
|
53
60
|
export * from "./ListFindingAggregatorsCommand";
|
|
54
61
|
export * from "./ListInvitationsCommand";
|
|
@@ -57,9 +64,12 @@ export * from "./ListOrganizationAdminAccountsCommand";
|
|
|
57
64
|
export * from "./ListSecurityControlDefinitionsCommand";
|
|
58
65
|
export * from "./ListStandardsControlAssociationsCommand";
|
|
59
66
|
export * from "./ListTagsForResourceCommand";
|
|
67
|
+
export * from "./StartConfigurationPolicyAssociationCommand";
|
|
68
|
+
export * from "./StartConfigurationPolicyDisassociationCommand";
|
|
60
69
|
export * from "./TagResourceCommand";
|
|
61
70
|
export * from "./UntagResourceCommand";
|
|
62
71
|
export * from "./UpdateActionTargetCommand";
|
|
72
|
+
export * from "./UpdateConfigurationPolicyCommand";
|
|
63
73
|
export * from "./UpdateFindingAggregatorCommand";
|
|
64
74
|
export * from "./UpdateFindingsCommand";
|
|
65
75
|
export * from "./UpdateInsightCommand";
|
|
@@ -109,6 +109,15 @@ export const AdminStatus = {
|
|
|
109
109
|
DISABLE_IN_PROGRESS: "DISABLE_IN_PROGRESS",
|
|
110
110
|
ENABLED: "ENABLED",
|
|
111
111
|
};
|
|
112
|
+
export const ConfigurationPolicyAssociationStatus = {
|
|
113
|
+
FAILED: "FAILED",
|
|
114
|
+
PENDING: "PENDING",
|
|
115
|
+
SUCCESS: "SUCCESS",
|
|
116
|
+
};
|
|
117
|
+
export const AssociationType = {
|
|
118
|
+
APPLIED: "APPLIED",
|
|
119
|
+
INHERITED: "INHERITED",
|
|
120
|
+
};
|
|
112
121
|
export const AssociationStatus = {
|
|
113
122
|
DISABLED: "DISABLED",
|
|
114
123
|
ENABLED: "ENABLED",
|