@aws-sdk/client-securityhub 3.53.0 → 3.55.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.
Files changed (86) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/dist-cjs/SecurityHubClient.js +13 -13
  3. package/dist-cjs/commands/AcceptAdministratorInvitationCommand.js +3 -3
  4. package/dist-cjs/commands/AcceptInvitationCommand.js +3 -3
  5. package/dist-cjs/commands/BatchDisableStandardsCommand.js +3 -3
  6. package/dist-cjs/commands/BatchEnableStandardsCommand.js +3 -3
  7. package/dist-cjs/commands/BatchImportFindingsCommand.js +3 -3
  8. package/dist-cjs/commands/BatchUpdateFindingsCommand.js +3 -3
  9. package/dist-cjs/commands/CreateActionTargetCommand.js +3 -3
  10. package/dist-cjs/commands/CreateFindingAggregatorCommand.js +3 -3
  11. package/dist-cjs/commands/CreateInsightCommand.js +3 -3
  12. package/dist-cjs/commands/CreateMembersCommand.js +3 -3
  13. package/dist-cjs/commands/DeclineInvitationsCommand.js +3 -3
  14. package/dist-cjs/commands/DeleteActionTargetCommand.js +3 -3
  15. package/dist-cjs/commands/DeleteFindingAggregatorCommand.js +3 -3
  16. package/dist-cjs/commands/DeleteInsightCommand.js +3 -3
  17. package/dist-cjs/commands/DeleteInvitationsCommand.js +3 -3
  18. package/dist-cjs/commands/DeleteMembersCommand.js +3 -3
  19. package/dist-cjs/commands/DescribeActionTargetsCommand.js +3 -3
  20. package/dist-cjs/commands/DescribeHubCommand.js +3 -3
  21. package/dist-cjs/commands/DescribeOrganizationConfigurationCommand.js +3 -3
  22. package/dist-cjs/commands/DescribeProductsCommand.js +3 -3
  23. package/dist-cjs/commands/DescribeStandardsCommand.js +3 -3
  24. package/dist-cjs/commands/DescribeStandardsControlsCommand.js +3 -3
  25. package/dist-cjs/commands/DisableImportFindingsForProductCommand.js +3 -3
  26. package/dist-cjs/commands/DisableOrganizationAdminAccountCommand.js +3 -3
  27. package/dist-cjs/commands/DisableSecurityHubCommand.js +3 -3
  28. package/dist-cjs/commands/DisassociateFromAdministratorAccountCommand.js +3 -3
  29. package/dist-cjs/commands/DisassociateFromMasterAccountCommand.js +3 -3
  30. package/dist-cjs/commands/DisassociateMembersCommand.js +3 -3
  31. package/dist-cjs/commands/EnableImportFindingsForProductCommand.js +3 -3
  32. package/dist-cjs/commands/EnableOrganizationAdminAccountCommand.js +3 -3
  33. package/dist-cjs/commands/EnableSecurityHubCommand.js +3 -3
  34. package/dist-cjs/commands/GetAdministratorAccountCommand.js +3 -3
  35. package/dist-cjs/commands/GetEnabledStandardsCommand.js +3 -3
  36. package/dist-cjs/commands/GetFindingAggregatorCommand.js +3 -3
  37. package/dist-cjs/commands/GetFindingsCommand.js +3 -3
  38. package/dist-cjs/commands/GetInsightResultsCommand.js +3 -3
  39. package/dist-cjs/commands/GetInsightsCommand.js +3 -3
  40. package/dist-cjs/commands/GetInvitationsCountCommand.js +3 -3
  41. package/dist-cjs/commands/GetMasterAccountCommand.js +3 -3
  42. package/dist-cjs/commands/GetMembersCommand.js +3 -3
  43. package/dist-cjs/commands/InviteMembersCommand.js +3 -3
  44. package/dist-cjs/commands/ListEnabledProductsForImportCommand.js +3 -3
  45. package/dist-cjs/commands/ListFindingAggregatorsCommand.js +3 -3
  46. package/dist-cjs/commands/ListInvitationsCommand.js +3 -3
  47. package/dist-cjs/commands/ListMembersCommand.js +3 -3
  48. package/dist-cjs/commands/ListOrganizationAdminAccountsCommand.js +3 -3
  49. package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
  50. package/dist-cjs/commands/TagResourceCommand.js +3 -3
  51. package/dist-cjs/commands/UntagResourceCommand.js +3 -3
  52. package/dist-cjs/commands/UpdateActionTargetCommand.js +3 -3
  53. package/dist-cjs/commands/UpdateFindingAggregatorCommand.js +3 -3
  54. package/dist-cjs/commands/UpdateFindingsCommand.js +3 -3
  55. package/dist-cjs/commands/UpdateInsightCommand.js +3 -3
  56. package/dist-cjs/commands/UpdateOrganizationConfigurationCommand.js +3 -3
  57. package/dist-cjs/commands/UpdateSecurityHubConfigurationCommand.js +3 -3
  58. package/dist-cjs/commands/UpdateStandardsControlCommand.js +3 -3
  59. package/dist-cjs/endpoints.js +1 -1
  60. package/dist-cjs/protocols/Aws_restJson1.js +1591 -1591
  61. package/dist-cjs/runtimeConfig.browser.js +4 -4
  62. package/dist-cjs/runtimeConfig.js +9 -9
  63. package/dist-cjs/runtimeConfig.native.js +1 -1
  64. package/dist-es/SecurityHub.js +56 -56
  65. package/dist-es/pagination/DescribeActionTargetsPaginator.js +4 -4
  66. package/dist-es/pagination/DescribeProductsPaginator.js +4 -4
  67. package/dist-es/pagination/DescribeStandardsControlsPaginator.js +4 -4
  68. package/dist-es/pagination/DescribeStandardsPaginator.js +4 -4
  69. package/dist-es/pagination/GetEnabledStandardsPaginator.js +4 -4
  70. package/dist-es/pagination/GetFindingsPaginator.js +4 -4
  71. package/dist-es/pagination/GetInsightsPaginator.js +4 -4
  72. package/dist-es/pagination/ListEnabledProductsForImportPaginator.js +4 -4
  73. package/dist-es/pagination/ListFindingAggregatorsPaginator.js +4 -4
  74. package/dist-es/pagination/ListInvitationsPaginator.js +4 -4
  75. package/dist-es/pagination/ListMembersPaginator.js +4 -4
  76. package/dist-es/pagination/ListOrganizationAdminAccountsPaginator.js +4 -4
  77. package/dist-es/protocols/Aws_restJson1.js +56 -56
  78. package/dist-types/SecurityHubClient.d.ts +2 -2
  79. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  80. package/dist-types/runtimeConfig.d.ts +1 -1
  81. package/dist-types/runtimeConfig.native.d.ts +3 -3
  82. package/dist-types/ts3.4/SecurityHubClient.d.ts +2 -2
  83. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  84. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  85. package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
  86. package/package.json +34 -34
@@ -11,7 +11,7 @@ class DisableSecurityHubCommand 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 DisableSecurityHubCommand 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_restJson1DisableSecurityHubCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1DisableSecurityHubCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1DisableSecurityHubCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1DisableSecurityHubCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.DisableSecurityHubCommand = DisableSecurityHubCommand;
@@ -11,7 +11,7 @@ class DisassociateFromAdministratorAccountCommand extends smithy_client_1.Comman
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 DisassociateFromAdministratorAccountCommand extends smithy_client_1.Comman
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_restJson1DisassociateFromAdministratorAccountCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1DisassociateFromAdministratorAccountCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1DisassociateFromAdministratorAccountCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1DisassociateFromAdministratorAccountCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.DisassociateFromAdministratorAccountCommand = DisassociateFromAdministratorAccountCommand;
@@ -11,7 +11,7 @@ class DisassociateFromMasterAccountCommand 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 DisassociateFromMasterAccountCommand 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_restJson1DisassociateFromMasterAccountCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1DisassociateFromMasterAccountCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1DisassociateFromMasterAccountCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1DisassociateFromMasterAccountCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.DisassociateFromMasterAccountCommand = DisassociateFromMasterAccountCommand;
@@ -11,7 +11,7 @@ class DisassociateMembersCommand 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 DisassociateMembersCommand 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_restJson1DisassociateMembersCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1DisassociateMembersCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1DisassociateMembersCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1DisassociateMembersCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.DisassociateMembersCommand = DisassociateMembersCommand;
@@ -11,7 +11,7 @@ class EnableImportFindingsForProductCommand 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 EnableImportFindingsForProductCommand 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_restJson1EnableImportFindingsForProductCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1EnableImportFindingsForProductCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1EnableImportFindingsForProductCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1EnableImportFindingsForProductCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.EnableImportFindingsForProductCommand = EnableImportFindingsForProductCommand;
@@ -11,7 +11,7 @@ class EnableOrganizationAdminAccountCommand 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 EnableOrganizationAdminAccountCommand 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_restJson1EnableOrganizationAdminAccountCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1EnableOrganizationAdminAccountCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1EnableOrganizationAdminAccountCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1EnableOrganizationAdminAccountCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.EnableOrganizationAdminAccountCommand = EnableOrganizationAdminAccountCommand;
@@ -11,7 +11,7 @@ class EnableSecurityHubCommand 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 EnableSecurityHubCommand 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_restJson1EnableSecurityHubCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1EnableSecurityHubCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1EnableSecurityHubCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1EnableSecurityHubCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.EnableSecurityHubCommand = EnableSecurityHubCommand;
@@ -11,7 +11,7 @@ class GetAdministratorAccountCommand 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 GetAdministratorAccountCommand 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_restJson1GetAdministratorAccountCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1GetAdministratorAccountCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1GetAdministratorAccountCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1GetAdministratorAccountCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.GetAdministratorAccountCommand = GetAdministratorAccountCommand;
@@ -11,7 +11,7 @@ class GetEnabledStandardsCommand 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 GetEnabledStandardsCommand 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_restJson1GetEnabledStandardsCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1GetEnabledStandardsCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1GetEnabledStandardsCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1GetEnabledStandardsCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.GetEnabledStandardsCommand = GetEnabledStandardsCommand;
@@ -11,7 +11,7 @@ class GetFindingAggregatorCommand 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 GetFindingAggregatorCommand 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_restJson1GetFindingAggregatorCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1GetFindingAggregatorCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1GetFindingAggregatorCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1GetFindingAggregatorCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.GetFindingAggregatorCommand = GetFindingAggregatorCommand;
@@ -11,7 +11,7 @@ class GetFindingsCommand 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 GetFindingsCommand 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_restJson1GetFindingsCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1GetFindingsCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1GetFindingsCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1GetFindingsCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.GetFindingsCommand = GetFindingsCommand;
@@ -11,7 +11,7 @@ class GetInsightResultsCommand 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 GetInsightResultsCommand 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_restJson1GetInsightResultsCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1GetInsightResultsCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1GetInsightResultsCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1GetInsightResultsCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.GetInsightResultsCommand = GetInsightResultsCommand;
@@ -11,7 +11,7 @@ class GetInsightsCommand 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 GetInsightsCommand 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_restJson1GetInsightsCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1GetInsightsCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1GetInsightsCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1GetInsightsCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.GetInsightsCommand = GetInsightsCommand;
@@ -11,7 +11,7 @@ class GetInvitationsCountCommand 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 GetInvitationsCountCommand 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_restJson1GetInvitationsCountCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1GetInvitationsCountCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1GetInvitationsCountCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1GetInvitationsCountCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.GetInvitationsCountCommand = GetInvitationsCountCommand;
@@ -11,7 +11,7 @@ class GetMasterAccountCommand 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 GetMasterAccountCommand 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_restJson1GetMasterAccountCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1GetMasterAccountCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1GetMasterAccountCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1GetMasterAccountCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.GetMasterAccountCommand = GetMasterAccountCommand;
@@ -11,7 +11,7 @@ class GetMembersCommand 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 GetMembersCommand 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_restJson1GetMembersCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1GetMembersCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1GetMembersCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1GetMembersCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.GetMembersCommand = GetMembersCommand;
@@ -11,7 +11,7 @@ class InviteMembersCommand 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 InviteMembersCommand 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_restJson1InviteMembersCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1InviteMembersCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1InviteMembersCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1InviteMembersCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.InviteMembersCommand = InviteMembersCommand;
@@ -11,7 +11,7 @@ class ListEnabledProductsForImportCommand 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 ListEnabledProductsForImportCommand 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_restJson1ListEnabledProductsForImportCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1ListEnabledProductsForImportCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1ListEnabledProductsForImportCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1ListEnabledProductsForImportCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.ListEnabledProductsForImportCommand = ListEnabledProductsForImportCommand;
@@ -11,7 +11,7 @@ class ListFindingAggregatorsCommand 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 ListFindingAggregatorsCommand 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_restJson1ListFindingAggregatorsCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1ListFindingAggregatorsCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1ListFindingAggregatorsCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1ListFindingAggregatorsCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.ListFindingAggregatorsCommand = ListFindingAggregatorsCommand;
@@ -11,7 +11,7 @@ class ListInvitationsCommand 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 ListInvitationsCommand 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_restJson1ListInvitationsCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1ListInvitationsCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1ListInvitationsCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1ListInvitationsCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.ListInvitationsCommand = ListInvitationsCommand;
@@ -11,7 +11,7 @@ class ListMembersCommand 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 ListMembersCommand 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_restJson1ListMembersCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1ListMembersCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1ListMembersCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1ListMembersCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.ListMembersCommand = ListMembersCommand;
@@ -11,7 +11,7 @@ class ListOrganizationAdminAccountsCommand 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 ListOrganizationAdminAccountsCommand 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_restJson1ListOrganizationAdminAccountsCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1ListOrganizationAdminAccountsCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1ListOrganizationAdminAccountsCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1ListOrganizationAdminAccountsCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.ListOrganizationAdminAccountsCommand = ListOrganizationAdminAccountsCommand;
@@ -11,7 +11,7 @@ class ListTagsForResourceCommand 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 ListTagsForResourceCommand 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_restJson1ListTagsForResourceCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1ListTagsForResourceCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1ListTagsForResourceCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1ListTagsForResourceCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
@@ -11,7 +11,7 @@ class TagResourceCommand 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 TagResourceCommand 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_restJson1TagResourceCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1TagResourceCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1TagResourceCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1TagResourceCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.TagResourceCommand = TagResourceCommand;
@@ -11,7 +11,7 @@ class UntagResourceCommand 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 UntagResourceCommand 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_restJson1UntagResourceCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1UntagResourceCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1UntagResourceCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1UntagResourceCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.UntagResourceCommand = UntagResourceCommand;
@@ -11,7 +11,7 @@ class UpdateActionTargetCommand 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 UpdateActionTargetCommand 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_restJson1UpdateActionTargetCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1UpdateActionTargetCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1UpdateActionTargetCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1UpdateActionTargetCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.UpdateActionTargetCommand = UpdateActionTargetCommand;
@@ -11,7 +11,7 @@ class UpdateFindingAggregatorCommand 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 UpdateFindingAggregatorCommand 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_restJson1UpdateFindingAggregatorCommand(input, context);
30
+ return (0, Aws_restJson1_1.serializeAws_restJson1UpdateFindingAggregatorCommand)(input, context);
31
31
  }
32
32
  deserialize(output, context) {
33
- return Aws_restJson1_1.deserializeAws_restJson1UpdateFindingAggregatorCommand(output, context);
33
+ return (0, Aws_restJson1_1.deserializeAws_restJson1UpdateFindingAggregatorCommand)(output, context);
34
34
  }
35
35
  }
36
36
  exports.UpdateFindingAggregatorCommand = UpdateFindingAggregatorCommand;