@aws-sdk/client-securityhub 3.194.0 → 3.197.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +22 -0
- package/dist-cjs/SecurityHubClient.js +11 -8
- package/dist-cjs/commands/AcceptAdministratorInvitationCommand.js +10 -0
- package/dist-cjs/commands/AcceptInvitationCommand.js +10 -0
- package/dist-cjs/commands/BatchDisableStandardsCommand.js +10 -0
- package/dist-cjs/commands/BatchEnableStandardsCommand.js +10 -0
- package/dist-cjs/commands/BatchImportFindingsCommand.js +10 -0
- package/dist-cjs/commands/BatchUpdateFindingsCommand.js +10 -0
- package/dist-cjs/commands/CreateActionTargetCommand.js +10 -0
- package/dist-cjs/commands/CreateFindingAggregatorCommand.js +10 -0
- package/dist-cjs/commands/CreateInsightCommand.js +10 -0
- package/dist-cjs/commands/CreateMembersCommand.js +10 -0
- package/dist-cjs/commands/DeclineInvitationsCommand.js +10 -0
- package/dist-cjs/commands/DeleteActionTargetCommand.js +10 -0
- package/dist-cjs/commands/DeleteFindingAggregatorCommand.js +10 -0
- package/dist-cjs/commands/DeleteInsightCommand.js +10 -0
- package/dist-cjs/commands/DeleteInvitationsCommand.js +10 -0
- package/dist-cjs/commands/DeleteMembersCommand.js +10 -0
- package/dist-cjs/commands/DescribeActionTargetsCommand.js +10 -0
- package/dist-cjs/commands/DescribeHubCommand.js +10 -0
- package/dist-cjs/commands/DescribeOrganizationConfigurationCommand.js +10 -0
- package/dist-cjs/commands/DescribeProductsCommand.js +10 -0
- package/dist-cjs/commands/DescribeStandardsCommand.js +10 -0
- package/dist-cjs/commands/DescribeStandardsControlsCommand.js +10 -0
- package/dist-cjs/commands/DisableImportFindingsForProductCommand.js +10 -0
- package/dist-cjs/commands/DisableOrganizationAdminAccountCommand.js +10 -0
- package/dist-cjs/commands/DisableSecurityHubCommand.js +10 -0
- package/dist-cjs/commands/DisassociateFromAdministratorAccountCommand.js +10 -0
- package/dist-cjs/commands/DisassociateFromMasterAccountCommand.js +10 -0
- package/dist-cjs/commands/DisassociateMembersCommand.js +10 -0
- package/dist-cjs/commands/EnableImportFindingsForProductCommand.js +10 -0
- package/dist-cjs/commands/EnableOrganizationAdminAccountCommand.js +10 -0
- package/dist-cjs/commands/EnableSecurityHubCommand.js +10 -0
- package/dist-cjs/commands/GetAdministratorAccountCommand.js +10 -0
- package/dist-cjs/commands/GetEnabledStandardsCommand.js +10 -0
- package/dist-cjs/commands/GetFindingAggregatorCommand.js +10 -0
- package/dist-cjs/commands/GetFindingsCommand.js +10 -0
- package/dist-cjs/commands/GetInsightResultsCommand.js +10 -0
- package/dist-cjs/commands/GetInsightsCommand.js +10 -0
- package/dist-cjs/commands/GetInvitationsCountCommand.js +10 -0
- package/dist-cjs/commands/GetMasterAccountCommand.js +10 -0
- package/dist-cjs/commands/GetMembersCommand.js +10 -0
- package/dist-cjs/commands/InviteMembersCommand.js +10 -0
- package/dist-cjs/commands/ListEnabledProductsForImportCommand.js +10 -0
- package/dist-cjs/commands/ListFindingAggregatorsCommand.js +10 -0
- package/dist-cjs/commands/ListInvitationsCommand.js +10 -0
- package/dist-cjs/commands/ListMembersCommand.js +10 -0
- package/dist-cjs/commands/ListOrganizationAdminAccountsCommand.js +10 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +10 -0
- package/dist-cjs/commands/TagResourceCommand.js +10 -0
- package/dist-cjs/commands/UntagResourceCommand.js +10 -0
- package/dist-cjs/commands/UpdateActionTargetCommand.js +10 -0
- package/dist-cjs/commands/UpdateFindingAggregatorCommand.js +10 -0
- package/dist-cjs/commands/UpdateFindingsCommand.js +10 -0
- package/dist-cjs/commands/UpdateInsightCommand.js +10 -0
- package/dist-cjs/commands/UpdateOrganizationConfigurationCommand.js +10 -0
- package/dist-cjs/commands/UpdateSecurityHubConfigurationCommand.js +10 -0
- package/dist-cjs/commands/UpdateStandardsControlCommand.js +10 -0
- package/dist-cjs/endpoint/EndpointParameters.js +13 -0
- package/dist-cjs/endpoint/endpointResolver.js +12 -0
- package/dist-cjs/endpoint/ruleset.js +318 -0
- package/dist-cjs/runtimeConfig.shared.js +3 -3
- package/dist-es/SecurityHubClient.js +12 -9
- package/dist-es/commands/AcceptAdministratorInvitationCommand.js +10 -0
- package/dist-es/commands/AcceptInvitationCommand.js +10 -0
- package/dist-es/commands/BatchDisableStandardsCommand.js +10 -0
- package/dist-es/commands/BatchEnableStandardsCommand.js +10 -0
- package/dist-es/commands/BatchImportFindingsCommand.js +10 -0
- package/dist-es/commands/BatchUpdateFindingsCommand.js +10 -0
- package/dist-es/commands/CreateActionTargetCommand.js +10 -0
- package/dist-es/commands/CreateFindingAggregatorCommand.js +10 -0
- package/dist-es/commands/CreateInsightCommand.js +10 -0
- package/dist-es/commands/CreateMembersCommand.js +10 -0
- package/dist-es/commands/DeclineInvitationsCommand.js +10 -0
- package/dist-es/commands/DeleteActionTargetCommand.js +10 -0
- package/dist-es/commands/DeleteFindingAggregatorCommand.js +10 -0
- package/dist-es/commands/DeleteInsightCommand.js +10 -0
- package/dist-es/commands/DeleteInvitationsCommand.js +10 -0
- package/dist-es/commands/DeleteMembersCommand.js +10 -0
- package/dist-es/commands/DescribeActionTargetsCommand.js +10 -0
- package/dist-es/commands/DescribeHubCommand.js +10 -0
- package/dist-es/commands/DescribeOrganizationConfigurationCommand.js +10 -0
- package/dist-es/commands/DescribeProductsCommand.js +10 -0
- package/dist-es/commands/DescribeStandardsCommand.js +10 -0
- package/dist-es/commands/DescribeStandardsControlsCommand.js +10 -0
- package/dist-es/commands/DisableImportFindingsForProductCommand.js +10 -0
- package/dist-es/commands/DisableOrganizationAdminAccountCommand.js +10 -0
- package/dist-es/commands/DisableSecurityHubCommand.js +10 -0
- package/dist-es/commands/DisassociateFromAdministratorAccountCommand.js +10 -0
- package/dist-es/commands/DisassociateFromMasterAccountCommand.js +10 -0
- package/dist-es/commands/DisassociateMembersCommand.js +10 -0
- package/dist-es/commands/EnableImportFindingsForProductCommand.js +10 -0
- package/dist-es/commands/EnableOrganizationAdminAccountCommand.js +10 -0
- package/dist-es/commands/EnableSecurityHubCommand.js +10 -0
- package/dist-es/commands/GetAdministratorAccountCommand.js +10 -0
- package/dist-es/commands/GetEnabledStandardsCommand.js +10 -0
- package/dist-es/commands/GetFindingAggregatorCommand.js +10 -0
- package/dist-es/commands/GetFindingsCommand.js +10 -0
- package/dist-es/commands/GetInsightResultsCommand.js +10 -0
- package/dist-es/commands/GetInsightsCommand.js +10 -0
- package/dist-es/commands/GetInvitationsCountCommand.js +10 -0
- package/dist-es/commands/GetMasterAccountCommand.js +10 -0
- package/dist-es/commands/GetMembersCommand.js +10 -0
- package/dist-es/commands/InviteMembersCommand.js +10 -0
- package/dist-es/commands/ListEnabledProductsForImportCommand.js +10 -0
- package/dist-es/commands/ListFindingAggregatorsCommand.js +10 -0
- package/dist-es/commands/ListInvitationsCommand.js +10 -0
- package/dist-es/commands/ListMembersCommand.js +10 -0
- package/dist-es/commands/ListOrganizationAdminAccountsCommand.js +10 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +10 -0
- package/dist-es/commands/TagResourceCommand.js +10 -0
- package/dist-es/commands/UntagResourceCommand.js +10 -0
- package/dist-es/commands/UpdateActionTargetCommand.js +10 -0
- package/dist-es/commands/UpdateFindingAggregatorCommand.js +10 -0
- package/dist-es/commands/UpdateFindingsCommand.js +10 -0
- package/dist-es/commands/UpdateInsightCommand.js +10 -0
- package/dist-es/commands/UpdateOrganizationConfigurationCommand.js +10 -0
- package/dist-es/commands/UpdateSecurityHubConfigurationCommand.js +10 -0
- package/dist-es/commands/UpdateStandardsControlCommand.js +10 -0
- package/dist-es/endpoint/EndpointParameters.js +8 -0
- package/dist-es/endpoint/endpointResolver.js +8 -0
- package/dist-es/endpoint/ruleset.js +315 -0
- package/dist-es/runtimeConfig.shared.js +2 -2
- package/dist-types/SecurityHubClient.d.ts +6 -9
- package/dist-types/commands/AcceptAdministratorInvitationCommand.d.ts +2 -0
- package/dist-types/commands/AcceptInvitationCommand.d.ts +2 -0
- package/dist-types/commands/BatchDisableStandardsCommand.d.ts +2 -0
- package/dist-types/commands/BatchEnableStandardsCommand.d.ts +2 -0
- package/dist-types/commands/BatchImportFindingsCommand.d.ts +2 -0
- package/dist-types/commands/BatchUpdateFindingsCommand.d.ts +2 -0
- package/dist-types/commands/CreateActionTargetCommand.d.ts +2 -0
- package/dist-types/commands/CreateFindingAggregatorCommand.d.ts +2 -0
- package/dist-types/commands/CreateInsightCommand.d.ts +2 -0
- package/dist-types/commands/CreateMembersCommand.d.ts +2 -0
- package/dist-types/commands/DeclineInvitationsCommand.d.ts +2 -0
- package/dist-types/commands/DeleteActionTargetCommand.d.ts +2 -0
- package/dist-types/commands/DeleteFindingAggregatorCommand.d.ts +2 -0
- package/dist-types/commands/DeleteInsightCommand.d.ts +2 -0
- package/dist-types/commands/DeleteInvitationsCommand.d.ts +2 -0
- package/dist-types/commands/DeleteMembersCommand.d.ts +2 -0
- package/dist-types/commands/DescribeActionTargetsCommand.d.ts +2 -0
- package/dist-types/commands/DescribeHubCommand.d.ts +2 -0
- package/dist-types/commands/DescribeOrganizationConfigurationCommand.d.ts +2 -0
- package/dist-types/commands/DescribeProductsCommand.d.ts +2 -0
- package/dist-types/commands/DescribeStandardsCommand.d.ts +2 -0
- package/dist-types/commands/DescribeStandardsControlsCommand.d.ts +2 -0
- package/dist-types/commands/DisableImportFindingsForProductCommand.d.ts +2 -0
- package/dist-types/commands/DisableOrganizationAdminAccountCommand.d.ts +2 -0
- package/dist-types/commands/DisableSecurityHubCommand.d.ts +2 -0
- package/dist-types/commands/DisassociateFromAdministratorAccountCommand.d.ts +2 -0
- package/dist-types/commands/DisassociateFromMasterAccountCommand.d.ts +2 -0
- package/dist-types/commands/DisassociateMembersCommand.d.ts +2 -0
- package/dist-types/commands/EnableImportFindingsForProductCommand.d.ts +2 -0
- package/dist-types/commands/EnableOrganizationAdminAccountCommand.d.ts +2 -0
- package/dist-types/commands/EnableSecurityHubCommand.d.ts +2 -0
- package/dist-types/commands/GetAdministratorAccountCommand.d.ts +2 -0
- package/dist-types/commands/GetEnabledStandardsCommand.d.ts +2 -0
- package/dist-types/commands/GetFindingAggregatorCommand.d.ts +2 -0
- package/dist-types/commands/GetFindingsCommand.d.ts +2 -0
- package/dist-types/commands/GetInsightResultsCommand.d.ts +2 -0
- package/dist-types/commands/GetInsightsCommand.d.ts +2 -0
- package/dist-types/commands/GetInvitationsCountCommand.d.ts +2 -0
- package/dist-types/commands/GetMasterAccountCommand.d.ts +2 -0
- package/dist-types/commands/GetMembersCommand.d.ts +2 -0
- package/dist-types/commands/InviteMembersCommand.d.ts +2 -0
- package/dist-types/commands/ListEnabledProductsForImportCommand.d.ts +2 -0
- package/dist-types/commands/ListFindingAggregatorsCommand.d.ts +2 -0
- package/dist-types/commands/ListInvitationsCommand.d.ts +2 -0
- package/dist-types/commands/ListMembersCommand.d.ts +2 -0
- package/dist-types/commands/ListOrganizationAdminAccountsCommand.d.ts +2 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -0
- package/dist-types/commands/TagResourceCommand.d.ts +2 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -0
- package/dist-types/commands/UpdateActionTargetCommand.d.ts +2 -0
- package/dist-types/commands/UpdateFindingAggregatorCommand.d.ts +2 -0
- package/dist-types/commands/UpdateFindingsCommand.d.ts +2 -0
- package/dist-types/commands/UpdateInsightCommand.d.ts +2 -0
- package/dist-types/commands/UpdateOrganizationConfigurationCommand.d.ts +2 -0
- package/dist-types/commands/UpdateSecurityHubConfigurationCommand.d.ts +2 -0
- package/dist-types/commands/UpdateStandardsControlCommand.d.ts +2 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +19 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/runtimeConfig.browser.d.ts +4 -2
- package/dist-types/runtimeConfig.d.ts +4 -2
- package/dist-types/runtimeConfig.native.d.ts +4 -2
- package/dist-types/runtimeConfig.shared.d.ts +3 -1
- package/dist-types/ts3.4/SecurityHubClient.d.ts +15 -8
- package/dist-types/ts3.4/commands/AcceptAdministratorInvitationCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/AcceptInvitationCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/BatchDisableStandardsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/BatchEnableStandardsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/BatchImportFindingsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/BatchUpdateFindingsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateActionTargetCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateFindingAggregatorCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateInsightCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateMembersCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeclineInvitationsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteActionTargetCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteFindingAggregatorCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteInsightCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteInvitationsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteMembersCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeActionTargetsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeHubCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeOrganizationConfigurationCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeProductsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeStandardsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeStandardsControlsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DisableImportFindingsForProductCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DisableOrganizationAdminAccountCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DisableSecurityHubCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DisassociateFromAdministratorAccountCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DisassociateFromMasterAccountCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DisassociateMembersCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/EnableImportFindingsForProductCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/EnableOrganizationAdminAccountCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/EnableSecurityHubCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetAdministratorAccountCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetEnabledStandardsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetFindingAggregatorCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetFindingsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetInsightResultsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetInsightsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetInvitationsCountCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetMasterAccountCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetMembersCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/InviteMembersCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListEnabledProductsForImportCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListFindingAggregatorsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListInvitationsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListMembersCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListOrganizationAdminAccountsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateActionTargetCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateFindingAggregatorCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateFindingsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateInsightCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateOrganizationConfigurationCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateSecurityHubConfigurationCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateStandardsControlCommand.d.ts +2 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +34 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +23 -4
- package/dist-types/ts3.4/runtimeConfig.d.ts +23 -4
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +8 -1
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +6 -1
- package/package.json +28 -26
- package/dist-cjs/endpoints.js +0 -185
- package/dist-es/endpoints.js +0 -181
- package/dist-types/endpoints.d.ts +0 -2
- package/dist-types/ts3.4/endpoints.d.ts +0 -2
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { DisassociateFromAdministratorAccountRequestFilterSensitiveLog, DisassociateFromAdministratorAccountResponseFilterSensitiveLog, } from "../models/models_1";
|
|
@@ -7,8 +8,17 @@ export class DisassociateFromAdministratorAccountCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
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
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, DisassociateFromAdministratorAccountCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "SecurityHubClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { DisassociateFromMasterAccountRequestFilterSensitiveLog, DisassociateFromMasterAccountResponseFilterSensitiveLog, } from "../models/models_1";
|
|
@@ -7,8 +8,17 @@ export class DisassociateFromMasterAccountCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
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
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, DisassociateFromMasterAccountCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "SecurityHubClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { DisassociateMembersRequestFilterSensitiveLog, DisassociateMembersResponseFilterSensitiveLog, } from "../models/models_1";
|
|
@@ -7,8 +8,17 @@ export class DisassociateMembersCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
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
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, DisassociateMembersCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "SecurityHubClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { EnableImportFindingsForProductRequestFilterSensitiveLog, EnableImportFindingsForProductResponseFilterSensitiveLog, } from "../models/models_1";
|
|
@@ -7,8 +8,17 @@ export class EnableImportFindingsForProductCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
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
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, EnableImportFindingsForProductCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "SecurityHubClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { EnableOrganizationAdminAccountRequestFilterSensitiveLog, EnableOrganizationAdminAccountResponseFilterSensitiveLog, } from "../models/models_1";
|
|
@@ -7,8 +8,17 @@ export class EnableOrganizationAdminAccountCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
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
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, EnableOrganizationAdminAccountCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "SecurityHubClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { EnableSecurityHubRequestFilterSensitiveLog, EnableSecurityHubResponseFilterSensitiveLog, } from "../models/models_1";
|
|
@@ -7,8 +8,17 @@ export class EnableSecurityHubCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
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
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, EnableSecurityHubCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "SecurityHubClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { GetAdministratorAccountRequestFilterSensitiveLog, GetAdministratorAccountResponseFilterSensitiveLog, } from "../models/models_1";
|
|
@@ -7,8 +8,17 @@ export class GetAdministratorAccountCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
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
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, GetAdministratorAccountCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "SecurityHubClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { GetEnabledStandardsRequestFilterSensitiveLog, GetEnabledStandardsResponseFilterSensitiveLog, } from "../models/models_1";
|
|
@@ -7,8 +8,17 @@ export class GetEnabledStandardsCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
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
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, GetEnabledStandardsCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "SecurityHubClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { GetFindingAggregatorRequestFilterSensitiveLog, GetFindingAggregatorResponseFilterSensitiveLog, } from "../models/models_1";
|
|
@@ -7,8 +8,17 @@ export class GetFindingAggregatorCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
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
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, GetFindingAggregatorCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "SecurityHubClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { GetFindingsRequestFilterSensitiveLog, GetFindingsResponseFilterSensitiveLog, } from "../models/models_1";
|
|
@@ -7,8 +8,17 @@ export class GetFindingsCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
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
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, GetFindingsCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "SecurityHubClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { GetInsightResultsRequestFilterSensitiveLog, GetInsightResultsResponseFilterSensitiveLog, } from "../models/models_1";
|
|
@@ -7,8 +8,17 @@ export class GetInsightResultsCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
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
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, GetInsightResultsCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "SecurityHubClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { GetInsightsRequestFilterSensitiveLog, GetInsightsResponseFilterSensitiveLog, } from "../models/models_1";
|
|
@@ -7,8 +8,17 @@ export class GetInsightsCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
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
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, GetInsightsCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "SecurityHubClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { GetInvitationsCountRequestFilterSensitiveLog, GetInvitationsCountResponseFilterSensitiveLog, } from "../models/models_1";
|
|
@@ -7,8 +8,17 @@ export class GetInvitationsCountCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
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
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, GetInvitationsCountCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "SecurityHubClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { GetMasterAccountRequestFilterSensitiveLog, GetMasterAccountResponseFilterSensitiveLog, } from "../models/models_1";
|
|
@@ -7,8 +8,17 @@ export class GetMasterAccountCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
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
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, GetMasterAccountCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "SecurityHubClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { GetMembersRequestFilterSensitiveLog, GetMembersResponseFilterSensitiveLog, } from "../models/models_1";
|
|
@@ -7,8 +8,17 @@ export class GetMembersCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
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
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, GetMembersCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "SecurityHubClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { InviteMembersRequestFilterSensitiveLog } from "../models/models_1";
|
|
@@ -8,8 +9,17 @@ export class InviteMembersCommand extends $Command {
|
|
|
8
9
|
super();
|
|
9
10
|
this.input = input;
|
|
10
11
|
}
|
|
12
|
+
static getEndpointParameterInstructions() {
|
|
13
|
+
return {
|
|
14
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
15
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
16
|
+
Region: { type: "builtInParams", name: "region" },
|
|
17
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
18
|
+
};
|
|
19
|
+
}
|
|
11
20
|
resolveMiddleware(clientStack, configuration, options) {
|
|
12
21
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
22
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, InviteMembersCommand.getEndpointParameterInstructions()));
|
|
13
23
|
const stack = clientStack.concat(this.middlewareStack);
|
|
14
24
|
const { logger } = configuration;
|
|
15
25
|
const clientName = "SecurityHubClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { ListEnabledProductsForImportRequestFilterSensitiveLog, ListEnabledProductsForImportResponseFilterSensitiveLog, } from "../models/models_2";
|
|
@@ -7,8 +8,17 @@ export class ListEnabledProductsForImportCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
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
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, ListEnabledProductsForImportCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "SecurityHubClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { ListFindingAggregatorsRequestFilterSensitiveLog, ListFindingAggregatorsResponseFilterSensitiveLog, } from "../models/models_2";
|
|
@@ -7,8 +8,17 @@ export class ListFindingAggregatorsCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
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
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, ListFindingAggregatorsCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "SecurityHubClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { ListInvitationsRequestFilterSensitiveLog, ListInvitationsResponseFilterSensitiveLog, } from "../models/models_2";
|
|
@@ -7,8 +8,17 @@ export class ListInvitationsCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
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
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, ListInvitationsCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "SecurityHubClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { ListMembersRequestFilterSensitiveLog, ListMembersResponseFilterSensitiveLog, } from "../models/models_2";
|
|
@@ -7,8 +8,17 @@ export class ListMembersCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
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
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, ListMembersCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "SecurityHubClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { ListOrganizationAdminAccountsRequestFilterSensitiveLog, ListOrganizationAdminAccountsResponseFilterSensitiveLog, } from "../models/models_2";
|
|
@@ -7,8 +8,17 @@ export class ListOrganizationAdminAccountsCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
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
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, ListOrganizationAdminAccountsCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "SecurityHubClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { ListTagsForResourceRequestFilterSensitiveLog, ListTagsForResourceResponseFilterSensitiveLog, } from "../models/models_2";
|
|
@@ -7,8 +8,17 @@ export class ListTagsForResourceCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
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
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, ListTagsForResourceCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "SecurityHubClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { TagResourceRequestFilterSensitiveLog, TagResourceResponseFilterSensitiveLog, } from "../models/models_2";
|
|
@@ -7,8 +8,17 @@ export class TagResourceCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
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
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, TagResourceCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "SecurityHubClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { UntagResourceRequestFilterSensitiveLog, UntagResourceResponseFilterSensitiveLog, } from "../models/models_2";
|
|
@@ -7,8 +8,17 @@ export class UntagResourceCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
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
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, UntagResourceCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "SecurityHubClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { UpdateActionTargetRequestFilterSensitiveLog, UpdateActionTargetResponseFilterSensitiveLog, } from "../models/models_2";
|
|
@@ -7,8 +8,17 @@ export class UpdateActionTargetCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
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
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, UpdateActionTargetCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "SecurityHubClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { UpdateFindingAggregatorRequestFilterSensitiveLog, UpdateFindingAggregatorResponseFilterSensitiveLog, } from "../models/models_2";
|
|
@@ -7,8 +8,17 @@ export class UpdateFindingAggregatorCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
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
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, UpdateFindingAggregatorCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "SecurityHubClient";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { UpdateFindingsRequestFilterSensitiveLog, UpdateFindingsResponseFilterSensitiveLog, } from "../models/models_2";
|
|
@@ -7,8 +8,17 @@ export class UpdateFindingsCommand extends $Command {
|
|
|
7
8
|
super();
|
|
8
9
|
this.input = input;
|
|
9
10
|
}
|
|
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
|
+
}
|
|
10
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
11
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, UpdateFindingsCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "SecurityHubClient";
|