@aws-sdk/client-securityhub 3.927.0 → 3.929.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/dist-cjs/index.js +13306 -6489
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-es/SecurityHubClient.js +2 -0
- package/dist-es/commands/AcceptAdministratorInvitationCommand.js +3 -9
- package/dist-es/commands/AcceptInvitationCommand.js +3 -9
- package/dist-es/commands/BatchDeleteAutomationRulesCommand.js +3 -9
- package/dist-es/commands/BatchDisableStandardsCommand.js +3 -9
- package/dist-es/commands/BatchEnableStandardsCommand.js +3 -9
- package/dist-es/commands/BatchGetAutomationRulesCommand.js +3 -9
- package/dist-es/commands/BatchGetConfigurationPolicyAssociationsCommand.js +3 -9
- package/dist-es/commands/BatchGetSecurityControlsCommand.js +3 -9
- package/dist-es/commands/BatchGetStandardsControlAssociationsCommand.js +3 -9
- package/dist-es/commands/BatchImportFindingsCommand.js +3 -9
- package/dist-es/commands/BatchUpdateAutomationRulesCommand.js +3 -9
- package/dist-es/commands/BatchUpdateFindingsCommand.js +3 -9
- package/dist-es/commands/BatchUpdateFindingsV2Command.js +3 -9
- package/dist-es/commands/BatchUpdateStandardsControlAssociationsCommand.js +3 -9
- package/dist-es/commands/ConnectorRegistrationsV2Command.js +3 -9
- package/dist-es/commands/CreateActionTargetCommand.js +3 -9
- package/dist-es/commands/CreateAggregatorV2Command.js +3 -9
- package/dist-es/commands/CreateAutomationRuleCommand.js +3 -9
- package/dist-es/commands/CreateAutomationRuleV2Command.js +3 -9
- package/dist-es/commands/CreateConfigurationPolicyCommand.js +3 -9
- package/dist-es/commands/CreateConnectorV2Command.js +3 -10
- package/dist-es/commands/CreateFindingAggregatorCommand.js +3 -9
- package/dist-es/commands/CreateInsightCommand.js +3 -9
- package/dist-es/commands/CreateMembersCommand.js +3 -9
- package/dist-es/commands/CreateTicketV2Command.js +3 -9
- package/dist-es/commands/DeclineInvitationsCommand.js +3 -9
- package/dist-es/commands/DeleteActionTargetCommand.js +3 -9
- package/dist-es/commands/DeleteAggregatorV2Command.js +3 -9
- package/dist-es/commands/DeleteAutomationRuleV2Command.js +3 -9
- package/dist-es/commands/DeleteConfigurationPolicyCommand.js +3 -9
- package/dist-es/commands/DeleteConnectorV2Command.js +3 -9
- package/dist-es/commands/DeleteFindingAggregatorCommand.js +3 -9
- package/dist-es/commands/DeleteInsightCommand.js +3 -9
- package/dist-es/commands/DeleteInvitationsCommand.js +3 -9
- package/dist-es/commands/DeleteMembersCommand.js +3 -9
- package/dist-es/commands/DescribeActionTargetsCommand.js +3 -9
- package/dist-es/commands/DescribeHubCommand.js +3 -9
- package/dist-es/commands/DescribeOrganizationConfigurationCommand.js +3 -9
- package/dist-es/commands/DescribeProductsCommand.js +3 -9
- package/dist-es/commands/DescribeProductsV2Command.js +3 -9
- package/dist-es/commands/DescribeSecurityHubV2Command.js +3 -9
- package/dist-es/commands/DescribeStandardsCommand.js +3 -9
- package/dist-es/commands/DescribeStandardsControlsCommand.js +3 -9
- package/dist-es/commands/DisableImportFindingsForProductCommand.js +3 -9
- package/dist-es/commands/DisableOrganizationAdminAccountCommand.js +3 -9
- package/dist-es/commands/DisableSecurityHubCommand.js +3 -9
- package/dist-es/commands/DisableSecurityHubV2Command.js +3 -9
- package/dist-es/commands/DisassociateFromAdministratorAccountCommand.js +3 -9
- package/dist-es/commands/DisassociateFromMasterAccountCommand.js +3 -9
- package/dist-es/commands/DisassociateMembersCommand.js +3 -9
- package/dist-es/commands/EnableImportFindingsForProductCommand.js +3 -9
- package/dist-es/commands/EnableOrganizationAdminAccountCommand.js +3 -9
- package/dist-es/commands/EnableSecurityHubCommand.js +3 -9
- package/dist-es/commands/EnableSecurityHubV2Command.js +3 -9
- package/dist-es/commands/GetAdministratorAccountCommand.js +3 -9
- package/dist-es/commands/GetAggregatorV2Command.js +3 -9
- package/dist-es/commands/GetAutomationRuleV2Command.js +3 -9
- package/dist-es/commands/GetConfigurationPolicyAssociationCommand.js +3 -9
- package/dist-es/commands/GetConfigurationPolicyCommand.js +3 -9
- package/dist-es/commands/GetConnectorV2Command.js +3 -9
- package/dist-es/commands/GetEnabledStandardsCommand.js +3 -9
- package/dist-es/commands/GetFindingAggregatorCommand.js +3 -9
- package/dist-es/commands/GetFindingHistoryCommand.js +3 -9
- package/dist-es/commands/GetFindingStatisticsV2Command.js +3 -9
- package/dist-es/commands/GetFindingsCommand.js +3 -9
- package/dist-es/commands/GetFindingsV2Command.js +3 -9
- package/dist-es/commands/GetInsightResultsCommand.js +3 -9
- package/dist-es/commands/GetInsightsCommand.js +3 -9
- package/dist-es/commands/GetInvitationsCountCommand.js +3 -9
- package/dist-es/commands/GetMasterAccountCommand.js +3 -9
- package/dist-es/commands/GetMembersCommand.js +3 -9
- package/dist-es/commands/GetResourcesStatisticsV2Command.js +3 -9
- package/dist-es/commands/GetResourcesV2Command.js +3 -9
- package/dist-es/commands/GetSecurityControlDefinitionCommand.js +3 -9
- package/dist-es/commands/InviteMembersCommand.js +3 -9
- package/dist-es/commands/ListAggregatorsV2Command.js +3 -9
- package/dist-es/commands/ListAutomationRulesCommand.js +3 -9
- package/dist-es/commands/ListAutomationRulesV2Command.js +3 -9
- package/dist-es/commands/ListConfigurationPoliciesCommand.js +3 -9
- package/dist-es/commands/ListConfigurationPolicyAssociationsCommand.js +3 -9
- package/dist-es/commands/ListConnectorsV2Command.js +3 -9
- package/dist-es/commands/ListEnabledProductsForImportCommand.js +3 -9
- package/dist-es/commands/ListFindingAggregatorsCommand.js +3 -9
- package/dist-es/commands/ListInvitationsCommand.js +3 -9
- package/dist-es/commands/ListMembersCommand.js +3 -9
- package/dist-es/commands/ListOrganizationAdminAccountsCommand.js +3 -9
- package/dist-es/commands/ListSecurityControlDefinitionsCommand.js +3 -9
- package/dist-es/commands/ListStandardsControlAssociationsCommand.js +3 -9
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
- package/dist-es/commands/StartConfigurationPolicyAssociationCommand.js +3 -9
- package/dist-es/commands/StartConfigurationPolicyDisassociationCommand.js +3 -9
- package/dist-es/commands/TagResourceCommand.js +3 -9
- package/dist-es/commands/UntagResourceCommand.js +3 -9
- package/dist-es/commands/UpdateActionTargetCommand.js +3 -9
- package/dist-es/commands/UpdateAggregatorV2Command.js +3 -9
- package/dist-es/commands/UpdateAutomationRuleV2Command.js +3 -9
- package/dist-es/commands/UpdateConfigurationPolicyCommand.js +3 -9
- package/dist-es/commands/UpdateConnectorV2Command.js +3 -10
- package/dist-es/commands/UpdateFindingAggregatorCommand.js +3 -9
- package/dist-es/commands/UpdateFindingsCommand.js +3 -9
- package/dist-es/commands/UpdateInsightCommand.js +3 -9
- package/dist-es/commands/UpdateOrganizationConfigurationCommand.js +3 -9
- package/dist-es/commands/UpdateSecurityControlCommand.js +3 -9
- package/dist-es/commands/UpdateSecurityHubConfigurationCommand.js +3 -9
- package/dist-es/commands/UpdateStandardsControlCommand.js +3 -9
- package/dist-es/models/models_2.js +0 -17
- package/dist-es/models/models_3.js +0 -6
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +12861 -0
- package/dist-types/SecurityHubClient.d.ts +10 -1
- package/dist-types/models/models_2.d.ts +0 -12
- package/dist-types/models/models_3.d.ts +0 -4
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +1364 -0
- package/dist-types/ts3.4/SecurityHubClient.d.ts +4 -0
- package/dist-types/ts3.4/models/models_2.d.ts +0 -9
- package/dist-types/ts3.4/models/models_3.d.ts +0 -3
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +1371 -0
- package/package.json +5 -6
- package/dist-es/protocols/Aws_restJson1.js +0 -5468
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -947
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -1265
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { TagResource } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class TagResourceCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("SecurityHubAPIService", "TagResource", {})
|
|
17
13
|
.n("SecurityHubClient", "TagResourceCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_TagResourceCommand)
|
|
20
|
-
.de(de_TagResourceCommand)
|
|
14
|
+
.sc(TagResource)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UntagResource } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UntagResourceCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("SecurityHubAPIService", "UntagResource", {})
|
|
17
13
|
.n("SecurityHubClient", "UntagResourceCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UntagResourceCommand)
|
|
20
|
-
.de(de_UntagResourceCommand)
|
|
14
|
+
.sc(UntagResource)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateActionTarget } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateActionTargetCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("SecurityHubAPIService", "UpdateActionTarget", {})
|
|
17
13
|
.n("SecurityHubClient", "UpdateActionTargetCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateActionTargetCommand)
|
|
20
|
-
.de(de_UpdateActionTargetCommand)
|
|
14
|
+
.sc(UpdateActionTarget)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateAggregatorV2 } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateAggregatorV2Command extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("SecurityHubAPIService", "UpdateAggregatorV2", {})
|
|
17
13
|
.n("SecurityHubClient", "UpdateAggregatorV2Command")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateAggregatorV2Command)
|
|
20
|
-
.de(de_UpdateAggregatorV2Command)
|
|
14
|
+
.sc(UpdateAggregatorV2)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateAutomationRuleV2 } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateAutomationRuleV2Command extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("SecurityHubAPIService", "UpdateAutomationRuleV2", {})
|
|
17
13
|
.n("SecurityHubClient", "UpdateAutomationRuleV2Command")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateAutomationRuleV2Command)
|
|
20
|
-
.de(de_UpdateAutomationRuleV2Command)
|
|
14
|
+
.sc(UpdateAutomationRuleV2)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateConfigurationPolicy } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateConfigurationPolicyCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("SecurityHubAPIService", "UpdateConfigurationPolicy", {})
|
|
17
13
|
.n("SecurityHubClient", "UpdateConfigurationPolicyCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateConfigurationPolicyCommand)
|
|
20
|
-
.de(de_UpdateConfigurationPolicyCommand)
|
|
14
|
+
.sc(UpdateConfigurationPolicy)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,23 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
6
|
-
import { de_UpdateConnectorV2Command, se_UpdateConnectorV2Command } from "../protocols/Aws_restJson1";
|
|
4
|
+
import { UpdateConnectorV2 } from "../schemas/schemas_0";
|
|
7
5
|
export { $Command };
|
|
8
6
|
export class UpdateConnectorV2Command extends $Command
|
|
9
7
|
.classBuilder()
|
|
10
8
|
.ep(commonParams)
|
|
11
9
|
.m(function (Command, cs, config, o) {
|
|
12
|
-
return [
|
|
13
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
16
11
|
})
|
|
17
12
|
.s("SecurityHubAPIService", "UpdateConnectorV2", {})
|
|
18
13
|
.n("SecurityHubClient", "UpdateConnectorV2Command")
|
|
19
|
-
.
|
|
20
|
-
.ser(se_UpdateConnectorV2Command)
|
|
21
|
-
.de(de_UpdateConnectorV2Command)
|
|
14
|
+
.sc(UpdateConnectorV2)
|
|
22
15
|
.build() {
|
|
23
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateFindingAggregator } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateFindingAggregatorCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("SecurityHubAPIService", "UpdateFindingAggregator", {})
|
|
17
13
|
.n("SecurityHubClient", "UpdateFindingAggregatorCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateFindingAggregatorCommand)
|
|
20
|
-
.de(de_UpdateFindingAggregatorCommand)
|
|
14
|
+
.sc(UpdateFindingAggregator)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateFindings } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateFindingsCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("SecurityHubAPIService", "UpdateFindings", {})
|
|
17
13
|
.n("SecurityHubClient", "UpdateFindingsCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateFindingsCommand)
|
|
20
|
-
.de(de_UpdateFindingsCommand)
|
|
14
|
+
.sc(UpdateFindings)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateInsight } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateInsightCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("SecurityHubAPIService", "UpdateInsight", {})
|
|
17
13
|
.n("SecurityHubClient", "UpdateInsightCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateInsightCommand)
|
|
20
|
-
.de(de_UpdateInsightCommand)
|
|
14
|
+
.sc(UpdateInsight)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateOrganizationConfiguration } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateOrganizationConfigurationCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("SecurityHubAPIService", "UpdateOrganizationConfiguration", {})
|
|
17
13
|
.n("SecurityHubClient", "UpdateOrganizationConfigurationCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateOrganizationConfigurationCommand)
|
|
20
|
-
.de(de_UpdateOrganizationConfigurationCommand)
|
|
14
|
+
.sc(UpdateOrganizationConfiguration)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateSecurityControl } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateSecurityControlCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("SecurityHubAPIService", "UpdateSecurityControl", {})
|
|
17
13
|
.n("SecurityHubClient", "UpdateSecurityControlCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateSecurityControlCommand)
|
|
20
|
-
.de(de_UpdateSecurityControlCommand)
|
|
14
|
+
.sc(UpdateSecurityControl)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateSecurityHubConfiguration } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateSecurityHubConfigurationCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("SecurityHubAPIService", "UpdateSecurityHubConfiguration", {})
|
|
17
13
|
.n("SecurityHubClient", "UpdateSecurityHubConfigurationCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateSecurityHubConfigurationCommand)
|
|
20
|
-
.de(de_UpdateSecurityHubConfigurationCommand)
|
|
14
|
+
.sc(UpdateSecurityHubConfiguration)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateStandardsControl } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateStandardsControlCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("SecurityHubAPIService", "UpdateStandardsControl", {})
|
|
17
13
|
.n("SecurityHubClient", "UpdateStandardsControlCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateStandardsControlCommand)
|
|
20
|
-
.de(de_UpdateStandardsControlCommand)
|
|
14
|
+
.sc(UpdateStandardsControl)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
1
|
import { SecurityHubServiceException as __BaseException } from "./SecurityHubServiceException";
|
|
3
2
|
export const Partition = {
|
|
4
3
|
AWS: "aws",
|
|
@@ -442,19 +441,3 @@ export const GroupByField = {
|
|
|
442
441
|
VULNERABILITIES_AFFECTED_PACKAGES_NAME: "vulnerabilities.affected_packages.name",
|
|
443
442
|
VULNERABILITIES_FIX_COVERAGE: "vulnerabilities.fix_coverage",
|
|
444
443
|
};
|
|
445
|
-
export const ServiceNowProviderConfigurationFilterSensitiveLog = (obj) => ({
|
|
446
|
-
...obj,
|
|
447
|
-
...(obj.ClientSecret && { ClientSecret: SENSITIVE_STRING }),
|
|
448
|
-
});
|
|
449
|
-
export const ProviderConfigurationFilterSensitiveLog = (obj) => {
|
|
450
|
-
if (obj.JiraCloud !== undefined)
|
|
451
|
-
return { JiraCloud: obj.JiraCloud };
|
|
452
|
-
if (obj.ServiceNow !== undefined)
|
|
453
|
-
return { ServiceNow: ServiceNowProviderConfigurationFilterSensitiveLog(obj.ServiceNow) };
|
|
454
|
-
if (obj.$unknown !== undefined)
|
|
455
|
-
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
456
|
-
};
|
|
457
|
-
export const CreateConnectorV2RequestFilterSensitiveLog = (obj) => ({
|
|
458
|
-
...obj,
|
|
459
|
-
...(obj.Provider && { Provider: ProviderConfigurationFilterSensitiveLog(obj.Provider) }),
|
|
460
|
-
});
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
1
|
import { SecurityHubServiceException as __BaseException } from "./SecurityHubServiceException";
|
|
3
2
|
export const ResourcesDateField = {
|
|
4
3
|
RESOURCE_CREATION_TIME_DT: "ResourceCreationTime",
|
|
@@ -83,8 +82,3 @@ export var Criteria;
|
|
|
83
82
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
84
83
|
};
|
|
85
84
|
})(Criteria || (Criteria = {}));
|
|
86
|
-
export const UpdateConnectorV2RequestFilterSensitiveLog = (obj) => ({
|
|
87
|
-
...obj,
|
|
88
|
-
...(obj.ClientSecret && { ClientSecret: SENSITIVE_STRING }),
|
|
89
|
-
...(obj.Provider && { Provider: obj.Provider }),
|
|
90
|
-
});
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AwsSdkSigV4Signer } from "@aws-sdk/core";
|
|
2
|
+
import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
|
|
2
3
|
import { NoOpLogger } from "@smithy/smithy-client";
|
|
3
4
|
import { parseUrl } from "@smithy/url-parser";
|
|
4
5
|
import { fromBase64, toBase64 } from "@smithy/util-base64";
|
|
@@ -22,6 +23,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
22
23
|
},
|
|
23
24
|
],
|
|
24
25
|
logger: config?.logger ?? new NoOpLogger(),
|
|
26
|
+
protocol: config?.protocol ?? new AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.securityhub" }),
|
|
25
27
|
serviceId: config?.serviceId ?? "SecurityHub",
|
|
26
28
|
urlParser: config?.urlParser ?? parseUrl,
|
|
27
29
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|