@aws-sdk/client-securityhub 3.54.1 → 3.58.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 +24 -0
- package/dist-cjs/SecurityHubClient.js +13 -13
- package/dist-cjs/commands/AcceptAdministratorInvitationCommand.js +3 -3
- package/dist-cjs/commands/AcceptInvitationCommand.js +3 -3
- package/dist-cjs/commands/BatchDisableStandardsCommand.js +3 -3
- package/dist-cjs/commands/BatchEnableStandardsCommand.js +3 -3
- package/dist-cjs/commands/BatchImportFindingsCommand.js +3 -3
- package/dist-cjs/commands/BatchUpdateFindingsCommand.js +3 -3
- package/dist-cjs/commands/CreateActionTargetCommand.js +3 -3
- package/dist-cjs/commands/CreateFindingAggregatorCommand.js +3 -3
- package/dist-cjs/commands/CreateInsightCommand.js +3 -3
- package/dist-cjs/commands/CreateMembersCommand.js +3 -3
- package/dist-cjs/commands/DeclineInvitationsCommand.js +3 -3
- package/dist-cjs/commands/DeleteActionTargetCommand.js +3 -3
- package/dist-cjs/commands/DeleteFindingAggregatorCommand.js +3 -3
- package/dist-cjs/commands/DeleteInsightCommand.js +3 -3
- package/dist-cjs/commands/DeleteInvitationsCommand.js +3 -3
- package/dist-cjs/commands/DeleteMembersCommand.js +3 -3
- package/dist-cjs/commands/DescribeActionTargetsCommand.js +3 -3
- package/dist-cjs/commands/DescribeHubCommand.js +3 -3
- package/dist-cjs/commands/DescribeOrganizationConfigurationCommand.js +3 -3
- package/dist-cjs/commands/DescribeProductsCommand.js +3 -3
- package/dist-cjs/commands/DescribeStandardsCommand.js +3 -3
- package/dist-cjs/commands/DescribeStandardsControlsCommand.js +3 -3
- package/dist-cjs/commands/DisableImportFindingsForProductCommand.js +3 -3
- package/dist-cjs/commands/DisableOrganizationAdminAccountCommand.js +3 -3
- package/dist-cjs/commands/DisableSecurityHubCommand.js +3 -3
- package/dist-cjs/commands/DisassociateFromAdministratorAccountCommand.js +3 -3
- package/dist-cjs/commands/DisassociateFromMasterAccountCommand.js +3 -3
- package/dist-cjs/commands/DisassociateMembersCommand.js +3 -3
- package/dist-cjs/commands/EnableImportFindingsForProductCommand.js +3 -3
- package/dist-cjs/commands/EnableOrganizationAdminAccountCommand.js +3 -3
- package/dist-cjs/commands/EnableSecurityHubCommand.js +3 -3
- package/dist-cjs/commands/GetAdministratorAccountCommand.js +3 -3
- package/dist-cjs/commands/GetEnabledStandardsCommand.js +3 -3
- package/dist-cjs/commands/GetFindingAggregatorCommand.js +3 -3
- package/dist-cjs/commands/GetFindingsCommand.js +3 -3
- package/dist-cjs/commands/GetInsightResultsCommand.js +3 -3
- package/dist-cjs/commands/GetInsightsCommand.js +3 -3
- package/dist-cjs/commands/GetInvitationsCountCommand.js +3 -3
- package/dist-cjs/commands/GetMasterAccountCommand.js +3 -3
- package/dist-cjs/commands/GetMembersCommand.js +3 -3
- package/dist-cjs/commands/InviteMembersCommand.js +3 -3
- package/dist-cjs/commands/ListEnabledProductsForImportCommand.js +3 -3
- package/dist-cjs/commands/ListFindingAggregatorsCommand.js +3 -3
- package/dist-cjs/commands/ListInvitationsCommand.js +3 -3
- package/dist-cjs/commands/ListMembersCommand.js +3 -3
- package/dist-cjs/commands/ListOrganizationAdminAccountsCommand.js +3 -3
- package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-cjs/commands/TagResourceCommand.js +3 -3
- package/dist-cjs/commands/UntagResourceCommand.js +3 -3
- package/dist-cjs/commands/UpdateActionTargetCommand.js +3 -3
- package/dist-cjs/commands/UpdateFindingAggregatorCommand.js +3 -3
- package/dist-cjs/commands/UpdateFindingsCommand.js +3 -3
- package/dist-cjs/commands/UpdateInsightCommand.js +3 -3
- package/dist-cjs/commands/UpdateOrganizationConfigurationCommand.js +3 -3
- package/dist-cjs/commands/UpdateSecurityHubConfigurationCommand.js +3 -3
- package/dist-cjs/commands/UpdateStandardsControlCommand.js +3 -3
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/protocols/Aws_restJson1.js +1591 -1591
- package/dist-cjs/runtimeConfig.browser.js +4 -4
- package/dist-cjs/runtimeConfig.js +9 -9
- package/dist-cjs/runtimeConfig.native.js +1 -1
- package/dist-es/SecurityHub.js +56 -56
- package/dist-es/pagination/DescribeActionTargetsPaginator.js +4 -4
- package/dist-es/pagination/DescribeProductsPaginator.js +4 -4
- package/dist-es/pagination/DescribeStandardsControlsPaginator.js +4 -4
- package/dist-es/pagination/DescribeStandardsPaginator.js +4 -4
- package/dist-es/pagination/GetEnabledStandardsPaginator.js +4 -4
- package/dist-es/pagination/GetFindingsPaginator.js +4 -4
- package/dist-es/pagination/GetInsightsPaginator.js +4 -4
- package/dist-es/pagination/ListEnabledProductsForImportPaginator.js +4 -4
- package/dist-es/pagination/ListFindingAggregatorsPaginator.js +4 -4
- package/dist-es/pagination/ListInvitationsPaginator.js +4 -4
- package/dist-es/pagination/ListMembersPaginator.js +4 -4
- package/dist-es/pagination/ListOrganizationAdminAccountsPaginator.js +4 -4
- package/dist-es/protocols/Aws_restJson1.js +56 -56
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
- package/package.json +34 -34
|
@@ -11,7 +11,7 @@ class UpdateFindingsCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "SecurityHubClient";
|
|
@@ -27,10 +27,10 @@ class UpdateFindingsCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_restJson1_1.serializeAws_restJson1UpdateFindingsCommand(input, context);
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1UpdateFindingsCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_restJson1_1.deserializeAws_restJson1UpdateFindingsCommand(output, context);
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1UpdateFindingsCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.UpdateFindingsCommand = UpdateFindingsCommand;
|
|
@@ -11,7 +11,7 @@ class UpdateInsightCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "SecurityHubClient";
|
|
@@ -27,10 +27,10 @@ class UpdateInsightCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_restJson1_1.serializeAws_restJson1UpdateInsightCommand(input, context);
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1UpdateInsightCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_restJson1_1.deserializeAws_restJson1UpdateInsightCommand(output, context);
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1UpdateInsightCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.UpdateInsightCommand = UpdateInsightCommand;
|
|
@@ -11,7 +11,7 @@ class UpdateOrganizationConfigurationCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "SecurityHubClient";
|
|
@@ -27,10 +27,10 @@ class UpdateOrganizationConfigurationCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_restJson1_1.serializeAws_restJson1UpdateOrganizationConfigurationCommand(input, context);
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1UpdateOrganizationConfigurationCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_restJson1_1.deserializeAws_restJson1UpdateOrganizationConfigurationCommand(output, context);
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1UpdateOrganizationConfigurationCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.UpdateOrganizationConfigurationCommand = UpdateOrganizationConfigurationCommand;
|
|
@@ -11,7 +11,7 @@ class UpdateSecurityHubConfigurationCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "SecurityHubClient";
|
|
@@ -27,10 +27,10 @@ class UpdateSecurityHubConfigurationCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_restJson1_1.serializeAws_restJson1UpdateSecurityHubConfigurationCommand(input, context);
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1UpdateSecurityHubConfigurationCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_restJson1_1.deserializeAws_restJson1UpdateSecurityHubConfigurationCommand(output, context);
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1UpdateSecurityHubConfigurationCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.UpdateSecurityHubConfigurationCommand = UpdateSecurityHubConfigurationCommand;
|
|
@@ -11,7 +11,7 @@ class UpdateStandardsControlCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "SecurityHubClient";
|
|
@@ -27,10 +27,10 @@ class UpdateStandardsControlCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_restJson1_1.serializeAws_restJson1UpdateStandardsControlCommand(input, context);
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1UpdateStandardsControlCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_restJson1_1.deserializeAws_restJson1UpdateStandardsControlCommand(output, context);
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1UpdateStandardsControlCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.UpdateStandardsControlCommand = UpdateStandardsControlCommand;
|
package/dist-cjs/endpoints.js
CHANGED
|
@@ -175,7 +175,7 @@ const partitionHash = {
|
|
|
175
175
|
],
|
|
176
176
|
},
|
|
177
177
|
};
|
|
178
|
-
const defaultRegionInfoProvider = async (region, options) => config_resolver_1.getRegionInfo(region, {
|
|
178
|
+
const defaultRegionInfoProvider = async (region, options) => (0, config_resolver_1.getRegionInfo)(region, {
|
|
179
179
|
...options,
|
|
180
180
|
signingService: "securityhub",
|
|
181
181
|
regionHash,
|