@aws-sdk/client-securityhub 3.194.0 → 3.196.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 +11 -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 +26 -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 +14 -4
- package/dist-types/ts3.4/runtimeConfig.d.ts +14 -4
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +14 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +6 -1
- package/package.json +5 -3
- 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,5 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { resolveRegionConfig } from "@aws-sdk/config-resolver";
|
|
2
2
|
import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
|
|
3
|
+
import { resolveEndpointConfig } from "@aws-sdk/middleware-endpoint";
|
|
3
4
|
import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
|
|
4
5
|
import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
|
|
5
6
|
import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detection";
|
|
@@ -7,18 +8,20 @@ import { getRetryPlugin, resolveRetryConfig } from "@aws-sdk/middleware-retry";
|
|
|
7
8
|
import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-signing";
|
|
8
9
|
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
9
10
|
import { Client as __Client, } from "@aws-sdk/smithy-client";
|
|
11
|
+
import { resolveClientEndpointParameters, } from "./endpoint/EndpointParameters";
|
|
10
12
|
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
11
13
|
export class SecurityHubClient extends __Client {
|
|
12
14
|
constructor(configuration) {
|
|
13
15
|
const _config_0 = __getRuntimeConfig(configuration);
|
|
14
|
-
const _config_1 =
|
|
15
|
-
const _config_2 =
|
|
16
|
-
const _config_3 =
|
|
17
|
-
const _config_4 =
|
|
18
|
-
const _config_5 =
|
|
19
|
-
const _config_6 =
|
|
20
|
-
|
|
21
|
-
|
|
16
|
+
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
17
|
+
const _config_2 = resolveRegionConfig(_config_1);
|
|
18
|
+
const _config_3 = resolveEndpointConfig(_config_2);
|
|
19
|
+
const _config_4 = resolveRetryConfig(_config_3);
|
|
20
|
+
const _config_5 = resolveHostHeaderConfig(_config_4);
|
|
21
|
+
const _config_6 = resolveAwsAuthConfig(_config_5);
|
|
22
|
+
const _config_7 = resolveUserAgentConfig(_config_6);
|
|
23
|
+
super(_config_7);
|
|
24
|
+
this.config = _config_7;
|
|
22
25
|
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
23
26
|
this.middlewareStack.use(getContentLengthPlugin(this.config));
|
|
24
27
|
this.middlewareStack.use(getHostHeaderPlugin(this.config));
|
|
@@ -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 { AcceptAdministratorInvitationRequestFilterSensitiveLog, AcceptAdministratorInvitationResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class AcceptAdministratorInvitationCommand 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, AcceptAdministratorInvitationCommand.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 { AcceptInvitationRequestFilterSensitiveLog, AcceptInvitationResponseFilterSensitiveLog, } from "../models/models_0";
|
|
@@ -7,8 +8,17 @@ export class AcceptInvitationCommand 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, AcceptInvitationCommand.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 { BatchDisableStandardsRequestFilterSensitiveLog, BatchDisableStandardsResponseFilterSensitiveLog, } from "../models/models_1";
|
|
@@ -7,8 +8,17 @@ export class BatchDisableStandardsCommand 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, BatchDisableStandardsCommand.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 { BatchEnableStandardsRequestFilterSensitiveLog, BatchEnableStandardsResponseFilterSensitiveLog, } from "../models/models_1";
|
|
@@ -7,8 +8,17 @@ export class BatchEnableStandardsCommand 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, BatchEnableStandardsCommand.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 { BatchImportFindingsRequestFilterSensitiveLog, BatchImportFindingsResponseFilterSensitiveLog, } from "../models/models_1";
|
|
@@ -7,8 +8,17 @@ export class BatchImportFindingsCommand 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, BatchImportFindingsCommand.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 { BatchUpdateFindingsRequestFilterSensitiveLog, BatchUpdateFindingsResponseFilterSensitiveLog, } from "../models/models_1";
|
|
@@ -7,8 +8,17 @@ export class BatchUpdateFindingsCommand 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, BatchUpdateFindingsCommand.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 { CreateActionTargetRequestFilterSensitiveLog, CreateActionTargetResponseFilterSensitiveLog, } from "../models/models_1";
|
|
@@ -7,8 +8,17 @@ export class CreateActionTargetCommand 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, CreateActionTargetCommand.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 { CreateFindingAggregatorRequestFilterSensitiveLog, CreateFindingAggregatorResponseFilterSensitiveLog, } from "../models/models_1";
|
|
@@ -7,8 +8,17 @@ export class CreateFindingAggregatorCommand 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, CreateFindingAggregatorCommand.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 { CreateInsightRequestFilterSensitiveLog, CreateInsightResponseFilterSensitiveLog, } from "../models/models_1";
|
|
@@ -7,8 +8,17 @@ export class CreateInsightCommand 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, CreateInsightCommand.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 { CreateMembersRequestFilterSensitiveLog, CreateMembersResponseFilterSensitiveLog, } from "../models/models_1";
|
|
@@ -7,8 +8,17 @@ export class CreateMembersCommand 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, CreateMembersCommand.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 { DeclineInvitationsRequestFilterSensitiveLog, DeclineInvitationsResponseFilterSensitiveLog, } from "../models/models_1";
|
|
@@ -7,8 +8,17 @@ export class DeclineInvitationsCommand 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, DeclineInvitationsCommand.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 { DeleteActionTargetRequestFilterSensitiveLog, DeleteActionTargetResponseFilterSensitiveLog, } from "../models/models_1";
|
|
@@ -7,8 +8,17 @@ export class DeleteActionTargetCommand 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, DeleteActionTargetCommand.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 { DeleteFindingAggregatorRequestFilterSensitiveLog, DeleteFindingAggregatorResponseFilterSensitiveLog, } from "../models/models_1";
|
|
@@ -7,8 +8,17 @@ export class DeleteFindingAggregatorCommand 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, DeleteFindingAggregatorCommand.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 { DeleteInsightRequestFilterSensitiveLog, DeleteInsightResponseFilterSensitiveLog, } from "../models/models_1";
|
|
@@ -7,8 +8,17 @@ export class DeleteInsightCommand 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, DeleteInsightCommand.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 { DeleteInvitationsRequestFilterSensitiveLog, DeleteInvitationsResponseFilterSensitiveLog, } from "../models/models_1";
|
|
@@ -7,8 +8,17 @@ export class DeleteInvitationsCommand 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, DeleteInvitationsCommand.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 { DeleteMembersRequestFilterSensitiveLog, DeleteMembersResponseFilterSensitiveLog, } from "../models/models_1";
|
|
@@ -7,8 +8,17 @@ export class DeleteMembersCommand 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, DeleteMembersCommand.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 { DescribeActionTargetsRequestFilterSensitiveLog, DescribeActionTargetsResponseFilterSensitiveLog, } from "../models/models_1";
|
|
@@ -7,8 +8,17 @@ export class DescribeActionTargetsCommand 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, DescribeActionTargetsCommand.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 { DescribeHubRequestFilterSensitiveLog, DescribeHubResponseFilterSensitiveLog, } from "../models/models_1";
|
|
@@ -7,8 +8,17 @@ export class DescribeHubCommand 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, DescribeHubCommand.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 { DescribeOrganizationConfigurationRequestFilterSensitiveLog, DescribeOrganizationConfigurationResponseFilterSensitiveLog, } from "../models/models_1";
|
|
@@ -7,8 +8,17 @@ export class DescribeOrganizationConfigurationCommand 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, DescribeOrganizationConfigurationCommand.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 { DescribeProductsRequestFilterSensitiveLog, DescribeProductsResponseFilterSensitiveLog, } from "../models/models_1";
|
|
@@ -7,8 +8,17 @@ export class DescribeProductsCommand 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, DescribeProductsCommand.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 { DescribeStandardsRequestFilterSensitiveLog, DescribeStandardsResponseFilterSensitiveLog, } from "../models/models_1";
|
|
@@ -7,8 +8,17 @@ export class DescribeStandardsCommand 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, DescribeStandardsCommand.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 { DescribeStandardsControlsRequestFilterSensitiveLog, DescribeStandardsControlsResponseFilterSensitiveLog, } from "../models/models_1";
|
|
@@ -7,8 +8,17 @@ export class DescribeStandardsControlsCommand 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, DescribeStandardsControlsCommand.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 { DisableImportFindingsForProductRequestFilterSensitiveLog, DisableImportFindingsForProductResponseFilterSensitiveLog, } from "../models/models_1";
|
|
@@ -7,8 +8,17 @@ export class DisableImportFindingsForProductCommand 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, DisableImportFindingsForProductCommand.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 { DisableOrganizationAdminAccountRequestFilterSensitiveLog, DisableOrganizationAdminAccountResponseFilterSensitiveLog, } from "../models/models_1";
|
|
@@ -7,8 +8,17 @@ export class DisableOrganizationAdminAccountCommand 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, DisableOrganizationAdminAccountCommand.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 { DisableSecurityHubRequestFilterSensitiveLog, DisableSecurityHubResponseFilterSensitiveLog, } from "../models/models_1";
|
|
@@ -7,8 +8,17 @@ export class DisableSecurityHubCommand 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, DisableSecurityHubCommand.getEndpointParameterInstructions()));
|
|
12
22
|
const stack = clientStack.concat(this.middlewareStack);
|
|
13
23
|
const { logger } = configuration;
|
|
14
24
|
const clientName = "SecurityHubClient";
|