@aws-sdk/client-securityhub 3.294.0 → 3.296.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/commands/AcceptAdministratorInvitationCommand.js +4 -4
- package/dist-cjs/commands/AcceptInvitationCommand.js +4 -4
- package/dist-cjs/commands/BatchDisableStandardsCommand.js +4 -4
- package/dist-cjs/commands/BatchEnableStandardsCommand.js +4 -4
- package/dist-cjs/commands/BatchGetSecurityControlsCommand.js +4 -4
- package/dist-cjs/commands/BatchGetStandardsControlAssociationsCommand.js +4 -4
- package/dist-cjs/commands/BatchImportFindingsCommand.js +4 -4
- package/dist-cjs/commands/BatchUpdateFindingsCommand.js +4 -4
- package/dist-cjs/commands/BatchUpdateStandardsControlAssociationsCommand.js +4 -4
- package/dist-cjs/commands/CreateActionTargetCommand.js +4 -4
- package/dist-cjs/commands/CreateFindingAggregatorCommand.js +4 -4
- package/dist-cjs/commands/CreateInsightCommand.js +4 -4
- package/dist-cjs/commands/CreateMembersCommand.js +4 -4
- package/dist-cjs/commands/DeclineInvitationsCommand.js +4 -4
- package/dist-cjs/commands/DeleteActionTargetCommand.js +4 -4
- package/dist-cjs/commands/DeleteFindingAggregatorCommand.js +4 -4
- package/dist-cjs/commands/DeleteInsightCommand.js +4 -4
- package/dist-cjs/commands/DeleteInvitationsCommand.js +4 -4
- package/dist-cjs/commands/DeleteMembersCommand.js +4 -4
- package/dist-cjs/commands/DescribeActionTargetsCommand.js +4 -4
- package/dist-cjs/commands/DescribeHubCommand.js +4 -4
- package/dist-cjs/commands/DescribeOrganizationConfigurationCommand.js +4 -4
- package/dist-cjs/commands/DescribeProductsCommand.js +4 -4
- package/dist-cjs/commands/DescribeStandardsCommand.js +4 -4
- package/dist-cjs/commands/DescribeStandardsControlsCommand.js +4 -4
- package/dist-cjs/commands/DisableImportFindingsForProductCommand.js +4 -4
- package/dist-cjs/commands/DisableOrganizationAdminAccountCommand.js +4 -4
- package/dist-cjs/commands/DisableSecurityHubCommand.js +4 -4
- package/dist-cjs/commands/DisassociateFromAdministratorAccountCommand.js +4 -4
- package/dist-cjs/commands/DisassociateFromMasterAccountCommand.js +4 -4
- package/dist-cjs/commands/DisassociateMembersCommand.js +4 -4
- package/dist-cjs/commands/EnableImportFindingsForProductCommand.js +4 -4
- package/dist-cjs/commands/EnableOrganizationAdminAccountCommand.js +4 -4
- package/dist-cjs/commands/EnableSecurityHubCommand.js +4 -4
- package/dist-cjs/commands/GetAdministratorAccountCommand.js +4 -4
- package/dist-cjs/commands/GetEnabledStandardsCommand.js +4 -4
- package/dist-cjs/commands/GetFindingAggregatorCommand.js +4 -4
- package/dist-cjs/commands/GetFindingsCommand.js +4 -4
- package/dist-cjs/commands/GetInsightResultsCommand.js +4 -4
- package/dist-cjs/commands/GetInsightsCommand.js +4 -4
- package/dist-cjs/commands/GetInvitationsCountCommand.js +4 -4
- package/dist-cjs/commands/GetMasterAccountCommand.js +4 -4
- package/dist-cjs/commands/GetMembersCommand.js +4 -4
- package/dist-cjs/commands/InviteMembersCommand.js +4 -4
- package/dist-cjs/commands/ListEnabledProductsForImportCommand.js +4 -4
- package/dist-cjs/commands/ListFindingAggregatorsCommand.js +4 -4
- package/dist-cjs/commands/ListInvitationsCommand.js +4 -4
- package/dist-cjs/commands/ListMembersCommand.js +4 -4
- package/dist-cjs/commands/ListOrganizationAdminAccountsCommand.js +4 -4
- package/dist-cjs/commands/ListSecurityControlDefinitionsCommand.js +4 -4
- package/dist-cjs/commands/ListStandardsControlAssociationsCommand.js +4 -4
- package/dist-cjs/commands/ListTagsForResourceCommand.js +4 -4
- package/dist-cjs/commands/TagResourceCommand.js +4 -4
- package/dist-cjs/commands/UntagResourceCommand.js +4 -4
- package/dist-cjs/commands/UpdateActionTargetCommand.js +4 -4
- package/dist-cjs/commands/UpdateFindingAggregatorCommand.js +4 -4
- package/dist-cjs/commands/UpdateFindingsCommand.js +4 -4
- package/dist-cjs/commands/UpdateInsightCommand.js +4 -4
- package/dist-cjs/commands/UpdateOrganizationConfigurationCommand.js +4 -4
- package/dist-cjs/commands/UpdateSecurityHubConfigurationCommand.js +4 -4
- package/dist-cjs/commands/UpdateStandardsControlCommand.js +4 -4
- package/dist-es/commands/AcceptAdministratorInvitationCommand.js +4 -4
- package/dist-es/commands/AcceptInvitationCommand.js +4 -4
- package/dist-es/commands/BatchDisableStandardsCommand.js +4 -4
- package/dist-es/commands/BatchEnableStandardsCommand.js +4 -4
- package/dist-es/commands/BatchGetSecurityControlsCommand.js +4 -4
- package/dist-es/commands/BatchGetStandardsControlAssociationsCommand.js +4 -4
- package/dist-es/commands/BatchImportFindingsCommand.js +4 -4
- package/dist-es/commands/BatchUpdateFindingsCommand.js +4 -4
- package/dist-es/commands/BatchUpdateStandardsControlAssociationsCommand.js +4 -4
- package/dist-es/commands/CreateActionTargetCommand.js +4 -4
- package/dist-es/commands/CreateFindingAggregatorCommand.js +4 -4
- package/dist-es/commands/CreateInsightCommand.js +4 -4
- package/dist-es/commands/CreateMembersCommand.js +4 -4
- package/dist-es/commands/DeclineInvitationsCommand.js +4 -4
- package/dist-es/commands/DeleteActionTargetCommand.js +4 -4
- package/dist-es/commands/DeleteFindingAggregatorCommand.js +4 -4
- package/dist-es/commands/DeleteInsightCommand.js +4 -4
- package/dist-es/commands/DeleteInvitationsCommand.js +4 -4
- package/dist-es/commands/DeleteMembersCommand.js +4 -4
- package/dist-es/commands/DescribeActionTargetsCommand.js +4 -4
- package/dist-es/commands/DescribeHubCommand.js +4 -4
- package/dist-es/commands/DescribeOrganizationConfigurationCommand.js +4 -4
- package/dist-es/commands/DescribeProductsCommand.js +4 -4
- package/dist-es/commands/DescribeStandardsCommand.js +4 -4
- package/dist-es/commands/DescribeStandardsControlsCommand.js +4 -4
- package/dist-es/commands/DisableImportFindingsForProductCommand.js +4 -4
- package/dist-es/commands/DisableOrganizationAdminAccountCommand.js +4 -4
- package/dist-es/commands/DisableSecurityHubCommand.js +4 -4
- package/dist-es/commands/DisassociateFromAdministratorAccountCommand.js +4 -4
- package/dist-es/commands/DisassociateFromMasterAccountCommand.js +4 -4
- package/dist-es/commands/DisassociateMembersCommand.js +4 -4
- package/dist-es/commands/EnableImportFindingsForProductCommand.js +4 -4
- package/dist-es/commands/EnableOrganizationAdminAccountCommand.js +4 -4
- package/dist-es/commands/EnableSecurityHubCommand.js +4 -4
- package/dist-es/commands/GetAdministratorAccountCommand.js +4 -4
- package/dist-es/commands/GetEnabledStandardsCommand.js +4 -4
- package/dist-es/commands/GetFindingAggregatorCommand.js +4 -4
- package/dist-es/commands/GetFindingsCommand.js +4 -4
- package/dist-es/commands/GetInsightResultsCommand.js +4 -4
- package/dist-es/commands/GetInsightsCommand.js +4 -4
- package/dist-es/commands/GetInvitationsCountCommand.js +4 -4
- package/dist-es/commands/GetMasterAccountCommand.js +4 -4
- package/dist-es/commands/GetMembersCommand.js +4 -4
- package/dist-es/commands/InviteMembersCommand.js +4 -4
- package/dist-es/commands/ListEnabledProductsForImportCommand.js +4 -4
- package/dist-es/commands/ListFindingAggregatorsCommand.js +4 -4
- package/dist-es/commands/ListInvitationsCommand.js +4 -4
- package/dist-es/commands/ListMembersCommand.js +4 -4
- package/dist-es/commands/ListOrganizationAdminAccountsCommand.js +4 -4
- package/dist-es/commands/ListSecurityControlDefinitionsCommand.js +4 -4
- package/dist-es/commands/ListStandardsControlAssociationsCommand.js +4 -4
- package/dist-es/commands/ListTagsForResourceCommand.js +4 -4
- package/dist-es/commands/TagResourceCommand.js +4 -4
- package/dist-es/commands/UntagResourceCommand.js +4 -4
- package/dist-es/commands/UpdateActionTargetCommand.js +4 -4
- package/dist-es/commands/UpdateFindingAggregatorCommand.js +4 -4
- package/dist-es/commands/UpdateFindingsCommand.js +4 -4
- package/dist-es/commands/UpdateInsightCommand.js +4 -4
- package/dist-es/commands/UpdateOrganizationConfigurationCommand.js +4 -4
- package/dist-es/commands/UpdateSecurityHubConfigurationCommand.js +4 -4
- package/dist-es/commands/UpdateStandardsControlCommand.js +4 -4
- package/dist-types/SecurityHubClient.d.ts +4 -4
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/SecurityHubClient.d.ts +4 -4
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +3 -4
- package/package.json +36 -36
|
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
4
4
|
import { ListTagsForResourceRequestFilterSensitiveLog, ListTagsForResourceResponseFilterSensitiveLog, } from "../models/models_2";
|
|
5
5
|
import { deserializeAws_restJson1ListTagsForResourceCommand, serializeAws_restJson1ListTagsForResourceCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
export class ListTagsForResourceCommand extends $Command {
|
|
7
|
-
constructor(input) {
|
|
8
|
-
super();
|
|
9
|
-
this.input = input;
|
|
10
|
-
}
|
|
11
7
|
static getEndpointParameterInstructions() {
|
|
12
8
|
return {
|
|
13
9
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
@@ -16,6 +12,10 @@ export class ListTagsForResourceCommand extends $Command {
|
|
|
16
12
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
13
|
};
|
|
18
14
|
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
20
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
21
|
this.middlewareStack.use(getEndpointPlugin(configuration, ListTagsForResourceCommand.getEndpointParameterInstructions()));
|
|
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
4
4
|
import { TagResourceRequestFilterSensitiveLog, TagResourceResponseFilterSensitiveLog, } from "../models/models_2";
|
|
5
5
|
import { deserializeAws_restJson1TagResourceCommand, serializeAws_restJson1TagResourceCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
export class TagResourceCommand extends $Command {
|
|
7
|
-
constructor(input) {
|
|
8
|
-
super();
|
|
9
|
-
this.input = input;
|
|
10
|
-
}
|
|
11
7
|
static getEndpointParameterInstructions() {
|
|
12
8
|
return {
|
|
13
9
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
@@ -16,6 +12,10 @@ export class TagResourceCommand extends $Command {
|
|
|
16
12
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
13
|
};
|
|
18
14
|
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
20
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
21
|
this.middlewareStack.use(getEndpointPlugin(configuration, TagResourceCommand.getEndpointParameterInstructions()));
|
|
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
4
4
|
import { UntagResourceRequestFilterSensitiveLog, UntagResourceResponseFilterSensitiveLog, } from "../models/models_2";
|
|
5
5
|
import { deserializeAws_restJson1UntagResourceCommand, serializeAws_restJson1UntagResourceCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
export class UntagResourceCommand extends $Command {
|
|
7
|
-
constructor(input) {
|
|
8
|
-
super();
|
|
9
|
-
this.input = input;
|
|
10
|
-
}
|
|
11
7
|
static getEndpointParameterInstructions() {
|
|
12
8
|
return {
|
|
13
9
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
@@ -16,6 +12,10 @@ export class UntagResourceCommand extends $Command {
|
|
|
16
12
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
13
|
};
|
|
18
14
|
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
20
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
21
|
this.middlewareStack.use(getEndpointPlugin(configuration, UntagResourceCommand.getEndpointParameterInstructions()));
|
|
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
4
4
|
import { UpdateActionTargetRequestFilterSensitiveLog, UpdateActionTargetResponseFilterSensitiveLog, } from "../models/models_2";
|
|
5
5
|
import { deserializeAws_restJson1UpdateActionTargetCommand, serializeAws_restJson1UpdateActionTargetCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
export class UpdateActionTargetCommand extends $Command {
|
|
7
|
-
constructor(input) {
|
|
8
|
-
super();
|
|
9
|
-
this.input = input;
|
|
10
|
-
}
|
|
11
7
|
static getEndpointParameterInstructions() {
|
|
12
8
|
return {
|
|
13
9
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
@@ -16,6 +12,10 @@ export class UpdateActionTargetCommand extends $Command {
|
|
|
16
12
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
13
|
};
|
|
18
14
|
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
20
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
21
|
this.middlewareStack.use(getEndpointPlugin(configuration, UpdateActionTargetCommand.getEndpointParameterInstructions()));
|
|
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
4
4
|
import { UpdateFindingAggregatorRequestFilterSensitiveLog, UpdateFindingAggregatorResponseFilterSensitiveLog, } from "../models/models_2";
|
|
5
5
|
import { deserializeAws_restJson1UpdateFindingAggregatorCommand, serializeAws_restJson1UpdateFindingAggregatorCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
export class UpdateFindingAggregatorCommand extends $Command {
|
|
7
|
-
constructor(input) {
|
|
8
|
-
super();
|
|
9
|
-
this.input = input;
|
|
10
|
-
}
|
|
11
7
|
static getEndpointParameterInstructions() {
|
|
12
8
|
return {
|
|
13
9
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
@@ -16,6 +12,10 @@ export class UpdateFindingAggregatorCommand extends $Command {
|
|
|
16
12
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
13
|
};
|
|
18
14
|
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
20
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
21
|
this.middlewareStack.use(getEndpointPlugin(configuration, UpdateFindingAggregatorCommand.getEndpointParameterInstructions()));
|
|
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
4
4
|
import { UpdateFindingsRequestFilterSensitiveLog, UpdateFindingsResponseFilterSensitiveLog, } from "../models/models_2";
|
|
5
5
|
import { deserializeAws_restJson1UpdateFindingsCommand, serializeAws_restJson1UpdateFindingsCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
export class UpdateFindingsCommand extends $Command {
|
|
7
|
-
constructor(input) {
|
|
8
|
-
super();
|
|
9
|
-
this.input = input;
|
|
10
|
-
}
|
|
11
7
|
static getEndpointParameterInstructions() {
|
|
12
8
|
return {
|
|
13
9
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
@@ -16,6 +12,10 @@ export class UpdateFindingsCommand extends $Command {
|
|
|
16
12
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
13
|
};
|
|
18
14
|
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
20
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
21
|
this.middlewareStack.use(getEndpointPlugin(configuration, UpdateFindingsCommand.getEndpointParameterInstructions()));
|
|
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
4
4
|
import { UpdateInsightRequestFilterSensitiveLog, UpdateInsightResponseFilterSensitiveLog, } from "../models/models_2";
|
|
5
5
|
import { deserializeAws_restJson1UpdateInsightCommand, serializeAws_restJson1UpdateInsightCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
export class UpdateInsightCommand extends $Command {
|
|
7
|
-
constructor(input) {
|
|
8
|
-
super();
|
|
9
|
-
this.input = input;
|
|
10
|
-
}
|
|
11
7
|
static getEndpointParameterInstructions() {
|
|
12
8
|
return {
|
|
13
9
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
@@ -16,6 +12,10 @@ export class UpdateInsightCommand extends $Command {
|
|
|
16
12
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
13
|
};
|
|
18
14
|
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
20
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
21
|
this.middlewareStack.use(getEndpointPlugin(configuration, UpdateInsightCommand.getEndpointParameterInstructions()));
|
|
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
4
4
|
import { UpdateOrganizationConfigurationRequestFilterSensitiveLog, UpdateOrganizationConfigurationResponseFilterSensitiveLog, } from "../models/models_2";
|
|
5
5
|
import { deserializeAws_restJson1UpdateOrganizationConfigurationCommand, serializeAws_restJson1UpdateOrganizationConfigurationCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
export class UpdateOrganizationConfigurationCommand extends $Command {
|
|
7
|
-
constructor(input) {
|
|
8
|
-
super();
|
|
9
|
-
this.input = input;
|
|
10
|
-
}
|
|
11
7
|
static getEndpointParameterInstructions() {
|
|
12
8
|
return {
|
|
13
9
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
@@ -16,6 +12,10 @@ export class UpdateOrganizationConfigurationCommand extends $Command {
|
|
|
16
12
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
13
|
};
|
|
18
14
|
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
20
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
21
|
this.middlewareStack.use(getEndpointPlugin(configuration, UpdateOrganizationConfigurationCommand.getEndpointParameterInstructions()));
|
|
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
4
4
|
import { UpdateSecurityHubConfigurationRequestFilterSensitiveLog, UpdateSecurityHubConfigurationResponseFilterSensitiveLog, } from "../models/models_2";
|
|
5
5
|
import { deserializeAws_restJson1UpdateSecurityHubConfigurationCommand, serializeAws_restJson1UpdateSecurityHubConfigurationCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
export class UpdateSecurityHubConfigurationCommand extends $Command {
|
|
7
|
-
constructor(input) {
|
|
8
|
-
super();
|
|
9
|
-
this.input = input;
|
|
10
|
-
}
|
|
11
7
|
static getEndpointParameterInstructions() {
|
|
12
8
|
return {
|
|
13
9
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
@@ -16,6 +12,10 @@ export class UpdateSecurityHubConfigurationCommand extends $Command {
|
|
|
16
12
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
13
|
};
|
|
18
14
|
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
20
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
21
|
this.middlewareStack.use(getEndpointPlugin(configuration, UpdateSecurityHubConfigurationCommand.getEndpointParameterInstructions()));
|
|
@@ -4,10 +4,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
4
4
|
import { UpdateStandardsControlRequestFilterSensitiveLog, UpdateStandardsControlResponseFilterSensitiveLog, } from "../models/models_2";
|
|
5
5
|
import { deserializeAws_restJson1UpdateStandardsControlCommand, serializeAws_restJson1UpdateStandardsControlCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
export class UpdateStandardsControlCommand extends $Command {
|
|
7
|
-
constructor(input) {
|
|
8
|
-
super();
|
|
9
|
-
this.input = input;
|
|
10
|
-
}
|
|
11
7
|
static getEndpointParameterInstructions() {
|
|
12
8
|
return {
|
|
13
9
|
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
@@ -16,6 +12,10 @@ export class UpdateStandardsControlCommand extends $Command {
|
|
|
16
12
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
13
|
};
|
|
18
14
|
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
19
|
resolveMiddleware(clientStack, configuration, options) {
|
|
20
20
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
21
|
this.middlewareStack.use(getEndpointPlugin(configuration, UpdateStandardsControlCommand.getEndpointParameterInstructions()));
|
|
@@ -69,8 +69,8 @@ import { UpdateOrganizationConfigurationCommandInput, UpdateOrganizationConfigur
|
|
|
69
69
|
import { UpdateSecurityHubConfigurationCommandInput, UpdateSecurityHubConfigurationCommandOutput } from "./commands/UpdateSecurityHubConfigurationCommand";
|
|
70
70
|
import { UpdateStandardsControlCommandInput, UpdateStandardsControlCommandOutput } from "./commands/UpdateStandardsControlCommand";
|
|
71
71
|
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
72
|
-
export
|
|
73
|
-
export
|
|
72
|
+
export type ServiceInputTypes = AcceptAdministratorInvitationCommandInput | AcceptInvitationCommandInput | BatchDisableStandardsCommandInput | BatchEnableStandardsCommandInput | BatchGetSecurityControlsCommandInput | BatchGetStandardsControlAssociationsCommandInput | BatchImportFindingsCommandInput | BatchUpdateFindingsCommandInput | BatchUpdateStandardsControlAssociationsCommandInput | CreateActionTargetCommandInput | CreateFindingAggregatorCommandInput | CreateInsightCommandInput | CreateMembersCommandInput | DeclineInvitationsCommandInput | DeleteActionTargetCommandInput | DeleteFindingAggregatorCommandInput | DeleteInsightCommandInput | DeleteInvitationsCommandInput | DeleteMembersCommandInput | DescribeActionTargetsCommandInput | DescribeHubCommandInput | DescribeOrganizationConfigurationCommandInput | DescribeProductsCommandInput | DescribeStandardsCommandInput | DescribeStandardsControlsCommandInput | DisableImportFindingsForProductCommandInput | DisableOrganizationAdminAccountCommandInput | DisableSecurityHubCommandInput | DisassociateFromAdministratorAccountCommandInput | DisassociateFromMasterAccountCommandInput | DisassociateMembersCommandInput | EnableImportFindingsForProductCommandInput | EnableOrganizationAdminAccountCommandInput | EnableSecurityHubCommandInput | GetAdministratorAccountCommandInput | GetEnabledStandardsCommandInput | GetFindingAggregatorCommandInput | GetFindingsCommandInput | GetInsightResultsCommandInput | GetInsightsCommandInput | GetInvitationsCountCommandInput | GetMasterAccountCommandInput | GetMembersCommandInput | InviteMembersCommandInput | ListEnabledProductsForImportCommandInput | ListFindingAggregatorsCommandInput | ListInvitationsCommandInput | ListMembersCommandInput | ListOrganizationAdminAccountsCommandInput | ListSecurityControlDefinitionsCommandInput | ListStandardsControlAssociationsCommandInput | ListTagsForResourceCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateActionTargetCommandInput | UpdateFindingAggregatorCommandInput | UpdateFindingsCommandInput | UpdateInsightCommandInput | UpdateOrganizationConfigurationCommandInput | UpdateSecurityHubConfigurationCommandInput | UpdateStandardsControlCommandInput;
|
|
73
|
+
export type ServiceOutputTypes = AcceptAdministratorInvitationCommandOutput | AcceptInvitationCommandOutput | BatchDisableStandardsCommandOutput | BatchEnableStandardsCommandOutput | BatchGetSecurityControlsCommandOutput | BatchGetStandardsControlAssociationsCommandOutput | BatchImportFindingsCommandOutput | BatchUpdateFindingsCommandOutput | BatchUpdateStandardsControlAssociationsCommandOutput | CreateActionTargetCommandOutput | CreateFindingAggregatorCommandOutput | CreateInsightCommandOutput | CreateMembersCommandOutput | DeclineInvitationsCommandOutput | DeleteActionTargetCommandOutput | DeleteFindingAggregatorCommandOutput | DeleteInsightCommandOutput | DeleteInvitationsCommandOutput | DeleteMembersCommandOutput | DescribeActionTargetsCommandOutput | DescribeHubCommandOutput | DescribeOrganizationConfigurationCommandOutput | DescribeProductsCommandOutput | DescribeStandardsCommandOutput | DescribeStandardsControlsCommandOutput | DisableImportFindingsForProductCommandOutput | DisableOrganizationAdminAccountCommandOutput | DisableSecurityHubCommandOutput | DisassociateFromAdministratorAccountCommandOutput | DisassociateFromMasterAccountCommandOutput | DisassociateMembersCommandOutput | EnableImportFindingsForProductCommandOutput | EnableOrganizationAdminAccountCommandOutput | EnableSecurityHubCommandOutput | GetAdministratorAccountCommandOutput | GetEnabledStandardsCommandOutput | GetFindingAggregatorCommandOutput | GetFindingsCommandOutput | GetInsightResultsCommandOutput | GetInsightsCommandOutput | GetInvitationsCountCommandOutput | GetMasterAccountCommandOutput | GetMembersCommandOutput | InviteMembersCommandOutput | ListEnabledProductsForImportCommandOutput | ListFindingAggregatorsCommandOutput | ListInvitationsCommandOutput | ListMembersCommandOutput | ListOrganizationAdminAccountsCommandOutput | ListSecurityControlDefinitionsCommandOutput | ListStandardsControlAssociationsCommandOutput | ListTagsForResourceCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateActionTargetCommandOutput | UpdateFindingAggregatorCommandOutput | UpdateFindingsCommandOutput | UpdateInsightCommandOutput | UpdateOrganizationConfigurationCommandOutput | UpdateSecurityHubConfigurationCommandOutput | UpdateStandardsControlCommandOutput;
|
|
74
74
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
75
75
|
/**
|
|
76
76
|
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
@@ -171,13 +171,13 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
171
171
|
*/
|
|
172
172
|
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
173
173
|
}
|
|
174
|
-
|
|
174
|
+
type SecurityHubClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
|
|
175
175
|
/**
|
|
176
176
|
* The configuration interface of SecurityHubClient class constructor that set the region, credentials and other options.
|
|
177
177
|
*/
|
|
178
178
|
export interface SecurityHubClientConfig extends SecurityHubClientConfigType {
|
|
179
179
|
}
|
|
180
|
-
|
|
180
|
+
type SecurityHubClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
|
|
181
181
|
/**
|
|
182
182
|
* The resolved configuration interface of SecurityHubClient class. This is resolved and normalized from the {@link SecurityHubClientConfig | constructor configuration interface}.
|
|
183
183
|
*/
|
|
@@ -5,7 +5,7 @@ export interface ClientInputEndpointParameters {
|
|
|
5
5
|
useFipsEndpoint?: boolean | Provider<boolean>;
|
|
6
6
|
endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
|
|
7
7
|
}
|
|
8
|
-
export
|
|
8
|
+
export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
|
|
9
9
|
defaultSigningName: string;
|
|
10
10
|
};
|
|
11
11
|
export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientInputEndpointParameters & {
|
|
@@ -293,7 +293,7 @@ import {
|
|
|
293
293
|
ClientResolvedEndpointParameters,
|
|
294
294
|
EndpointParameters,
|
|
295
295
|
} from "./endpoint/EndpointParameters";
|
|
296
|
-
export
|
|
296
|
+
export type ServiceInputTypes =
|
|
297
297
|
| AcceptAdministratorInvitationCommandInput
|
|
298
298
|
| AcceptInvitationCommandInput
|
|
299
299
|
| BatchDisableStandardsCommandInput
|
|
@@ -355,7 +355,7 @@ export declare type ServiceInputTypes =
|
|
|
355
355
|
| UpdateOrganizationConfigurationCommandInput
|
|
356
356
|
| UpdateSecurityHubConfigurationCommandInput
|
|
357
357
|
| UpdateStandardsControlCommandInput;
|
|
358
|
-
export
|
|
358
|
+
export type ServiceOutputTypes =
|
|
359
359
|
| AcceptAdministratorInvitationCommandOutput
|
|
360
360
|
| AcceptInvitationCommandOutput
|
|
361
361
|
| BatchDisableStandardsCommandOutput
|
|
@@ -441,7 +441,7 @@ export interface ClientDefaults
|
|
|
441
441
|
logger?: __Logger;
|
|
442
442
|
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
443
443
|
}
|
|
444
|
-
|
|
444
|
+
type SecurityHubClientConfigType = Partial<
|
|
445
445
|
__SmithyConfiguration<__HttpHandlerOptions>
|
|
446
446
|
> &
|
|
447
447
|
ClientDefaults &
|
|
@@ -453,7 +453,7 @@ declare type SecurityHubClientConfigType = Partial<
|
|
|
453
453
|
UserAgentInputConfig &
|
|
454
454
|
ClientInputEndpointParameters;
|
|
455
455
|
export interface SecurityHubClientConfig extends SecurityHubClientConfigType {}
|
|
456
|
-
|
|
456
|
+
type SecurityHubClientResolvedConfigType =
|
|
457
457
|
__SmithyResolvedConfiguration<__HttpHandlerOptions> &
|
|
458
458
|
Required<ClientDefaults> &
|
|
459
459
|
RegionResolvedConfig &
|
|
@@ -16,10 +16,9 @@ export interface ClientInputEndpointParameters {
|
|
|
16
16
|
| EndpointV2
|
|
17
17
|
| Provider<EndpointV2>;
|
|
18
18
|
}
|
|
19
|
-
export
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
};
|
|
19
|
+
export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
|
|
20
|
+
defaultSigningName: string;
|
|
21
|
+
};
|
|
23
22
|
export declare const resolveClientEndpointParameters: <T>(
|
|
24
23
|
options: T & ClientInputEndpointParameters
|
|
25
24
|
) => T &
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-securityhub",
|
|
3
3
|
"description": "AWS SDK for JavaScript Securityhub Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.296.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -20,49 +20,49 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
-
"@aws-sdk/config-resolver": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
27
|
-
"@aws-sdk/hash-node": "3.
|
|
28
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
29
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
30
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
31
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
32
|
-
"@aws-sdk/middleware-logger": "3.
|
|
33
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
34
|
-
"@aws-sdk/middleware-retry": "3.
|
|
35
|
-
"@aws-sdk/middleware-serde": "3.
|
|
36
|
-
"@aws-sdk/middleware-signing": "3.
|
|
37
|
-
"@aws-sdk/middleware-stack": "3.
|
|
38
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
39
|
-
"@aws-sdk/node-config-provider": "3.
|
|
40
|
-
"@aws-sdk/node-http-handler": "3.
|
|
41
|
-
"@aws-sdk/protocol-http": "3.
|
|
42
|
-
"@aws-sdk/smithy-client": "3.
|
|
43
|
-
"@aws-sdk/types": "3.
|
|
44
|
-
"@aws-sdk/url-parser": "3.
|
|
45
|
-
"@aws-sdk/util-base64": "3.
|
|
46
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
47
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
48
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
49
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
-
"@aws-sdk/util-endpoints": "3.
|
|
51
|
-
"@aws-sdk/util-retry": "3.
|
|
52
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
53
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
54
|
-
"@aws-sdk/util-utf8": "3.
|
|
55
|
-
"tslib": "^2.
|
|
23
|
+
"@aws-sdk/client-sts": "3.296.0",
|
|
24
|
+
"@aws-sdk/config-resolver": "3.296.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.296.0",
|
|
26
|
+
"@aws-sdk/fetch-http-handler": "3.296.0",
|
|
27
|
+
"@aws-sdk/hash-node": "3.296.0",
|
|
28
|
+
"@aws-sdk/invalid-dependency": "3.296.0",
|
|
29
|
+
"@aws-sdk/middleware-content-length": "3.296.0",
|
|
30
|
+
"@aws-sdk/middleware-endpoint": "3.296.0",
|
|
31
|
+
"@aws-sdk/middleware-host-header": "3.296.0",
|
|
32
|
+
"@aws-sdk/middleware-logger": "3.296.0",
|
|
33
|
+
"@aws-sdk/middleware-recursion-detection": "3.296.0",
|
|
34
|
+
"@aws-sdk/middleware-retry": "3.296.0",
|
|
35
|
+
"@aws-sdk/middleware-serde": "3.296.0",
|
|
36
|
+
"@aws-sdk/middleware-signing": "3.296.0",
|
|
37
|
+
"@aws-sdk/middleware-stack": "3.296.0",
|
|
38
|
+
"@aws-sdk/middleware-user-agent": "3.296.0",
|
|
39
|
+
"@aws-sdk/node-config-provider": "3.296.0",
|
|
40
|
+
"@aws-sdk/node-http-handler": "3.296.0",
|
|
41
|
+
"@aws-sdk/protocol-http": "3.296.0",
|
|
42
|
+
"@aws-sdk/smithy-client": "3.296.0",
|
|
43
|
+
"@aws-sdk/types": "3.296.0",
|
|
44
|
+
"@aws-sdk/url-parser": "3.296.0",
|
|
45
|
+
"@aws-sdk/util-base64": "3.295.0",
|
|
46
|
+
"@aws-sdk/util-body-length-browser": "3.295.0",
|
|
47
|
+
"@aws-sdk/util-body-length-node": "3.295.0",
|
|
48
|
+
"@aws-sdk/util-defaults-mode-browser": "3.296.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-node": "3.296.0",
|
|
50
|
+
"@aws-sdk/util-endpoints": "3.296.0",
|
|
51
|
+
"@aws-sdk/util-retry": "3.296.0",
|
|
52
|
+
"@aws-sdk/util-user-agent-browser": "3.296.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-node": "3.296.0",
|
|
54
|
+
"@aws-sdk/util-utf8": "3.295.0",
|
|
55
|
+
"tslib": "^2.5.0"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
58
|
+
"@aws-sdk/service-client-documentation-generator": "3.295.0",
|
|
59
59
|
"@tsconfig/node14": "1.0.3",
|
|
60
60
|
"@types/node": "^14.14.31",
|
|
61
61
|
"concurrently": "7.0.0",
|
|
62
62
|
"downlevel-dts": "0.10.1",
|
|
63
63
|
"rimraf": "3.0.2",
|
|
64
64
|
"typedoc": "0.23.23",
|
|
65
|
-
"typescript": "~4.
|
|
65
|
+
"typescript": "~4.9.5"
|
|
66
66
|
},
|
|
67
67
|
"engines": {
|
|
68
68
|
"node": ">=14.0.0"
|