@aws-sdk/client-securityhub 3.928.0 → 3.930.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 (132) hide show
  1. package/dist-cjs/index.js +13276 -6559
  2. package/dist-cjs/runtimeConfig.shared.js +2 -0
  3. package/dist-es/SecurityHubClient.js +2 -0
  4. package/dist-es/commands/AcceptAdministratorInvitationCommand.js +3 -9
  5. package/dist-es/commands/AcceptInvitationCommand.js +3 -9
  6. package/dist-es/commands/BatchDeleteAutomationRulesCommand.js +3 -9
  7. package/dist-es/commands/BatchDisableStandardsCommand.js +3 -9
  8. package/dist-es/commands/BatchEnableStandardsCommand.js +3 -9
  9. package/dist-es/commands/BatchGetAutomationRulesCommand.js +3 -9
  10. package/dist-es/commands/BatchGetConfigurationPolicyAssociationsCommand.js +3 -9
  11. package/dist-es/commands/BatchGetSecurityControlsCommand.js +3 -9
  12. package/dist-es/commands/BatchGetStandardsControlAssociationsCommand.js +3 -9
  13. package/dist-es/commands/BatchImportFindingsCommand.js +3 -9
  14. package/dist-es/commands/BatchUpdateAutomationRulesCommand.js +3 -9
  15. package/dist-es/commands/BatchUpdateFindingsCommand.js +3 -9
  16. package/dist-es/commands/BatchUpdateFindingsV2Command.js +3 -9
  17. package/dist-es/commands/BatchUpdateStandardsControlAssociationsCommand.js +3 -9
  18. package/dist-es/commands/ConnectorRegistrationsV2Command.js +3 -9
  19. package/dist-es/commands/CreateActionTargetCommand.js +3 -9
  20. package/dist-es/commands/CreateAggregatorV2Command.js +3 -9
  21. package/dist-es/commands/CreateAutomationRuleCommand.js +3 -9
  22. package/dist-es/commands/CreateAutomationRuleV2Command.js +3 -9
  23. package/dist-es/commands/CreateConfigurationPolicyCommand.js +3 -9
  24. package/dist-es/commands/CreateConnectorV2Command.js +3 -10
  25. package/dist-es/commands/CreateFindingAggregatorCommand.js +3 -9
  26. package/dist-es/commands/CreateInsightCommand.js +3 -9
  27. package/dist-es/commands/CreateMembersCommand.js +3 -9
  28. package/dist-es/commands/CreateTicketV2Command.js +3 -9
  29. package/dist-es/commands/DeclineInvitationsCommand.js +3 -9
  30. package/dist-es/commands/DeleteActionTargetCommand.js +3 -9
  31. package/dist-es/commands/DeleteAggregatorV2Command.js +3 -9
  32. package/dist-es/commands/DeleteAutomationRuleV2Command.js +3 -9
  33. package/dist-es/commands/DeleteConfigurationPolicyCommand.js +3 -9
  34. package/dist-es/commands/DeleteConnectorV2Command.js +3 -9
  35. package/dist-es/commands/DeleteFindingAggregatorCommand.js +3 -9
  36. package/dist-es/commands/DeleteInsightCommand.js +3 -9
  37. package/dist-es/commands/DeleteInvitationsCommand.js +3 -9
  38. package/dist-es/commands/DeleteMembersCommand.js +3 -9
  39. package/dist-es/commands/DescribeActionTargetsCommand.js +3 -9
  40. package/dist-es/commands/DescribeHubCommand.js +3 -9
  41. package/dist-es/commands/DescribeOrganizationConfigurationCommand.js +3 -9
  42. package/dist-es/commands/DescribeProductsCommand.js +3 -9
  43. package/dist-es/commands/DescribeProductsV2Command.js +3 -9
  44. package/dist-es/commands/DescribeSecurityHubV2Command.js +3 -9
  45. package/dist-es/commands/DescribeStandardsCommand.js +3 -9
  46. package/dist-es/commands/DescribeStandardsControlsCommand.js +3 -9
  47. package/dist-es/commands/DisableImportFindingsForProductCommand.js +3 -9
  48. package/dist-es/commands/DisableOrganizationAdminAccountCommand.js +3 -9
  49. package/dist-es/commands/DisableSecurityHubCommand.js +3 -9
  50. package/dist-es/commands/DisableSecurityHubV2Command.js +3 -9
  51. package/dist-es/commands/DisassociateFromAdministratorAccountCommand.js +3 -9
  52. package/dist-es/commands/DisassociateFromMasterAccountCommand.js +3 -9
  53. package/dist-es/commands/DisassociateMembersCommand.js +3 -9
  54. package/dist-es/commands/EnableImportFindingsForProductCommand.js +3 -9
  55. package/dist-es/commands/EnableOrganizationAdminAccountCommand.js +3 -9
  56. package/dist-es/commands/EnableSecurityHubCommand.js +3 -9
  57. package/dist-es/commands/EnableSecurityHubV2Command.js +3 -9
  58. package/dist-es/commands/GetAdministratorAccountCommand.js +3 -9
  59. package/dist-es/commands/GetAggregatorV2Command.js +3 -9
  60. package/dist-es/commands/GetAutomationRuleV2Command.js +3 -9
  61. package/dist-es/commands/GetConfigurationPolicyAssociationCommand.js +3 -9
  62. package/dist-es/commands/GetConfigurationPolicyCommand.js +3 -9
  63. package/dist-es/commands/GetConnectorV2Command.js +3 -9
  64. package/dist-es/commands/GetEnabledStandardsCommand.js +3 -9
  65. package/dist-es/commands/GetFindingAggregatorCommand.js +3 -9
  66. package/dist-es/commands/GetFindingHistoryCommand.js +3 -9
  67. package/dist-es/commands/GetFindingStatisticsV2Command.js +3 -9
  68. package/dist-es/commands/GetFindingsCommand.js +3 -9
  69. package/dist-es/commands/GetFindingsV2Command.js +3 -9
  70. package/dist-es/commands/GetInsightResultsCommand.js +3 -9
  71. package/dist-es/commands/GetInsightsCommand.js +3 -9
  72. package/dist-es/commands/GetInvitationsCountCommand.js +3 -9
  73. package/dist-es/commands/GetMasterAccountCommand.js +3 -9
  74. package/dist-es/commands/GetMembersCommand.js +3 -9
  75. package/dist-es/commands/GetResourcesStatisticsV2Command.js +3 -9
  76. package/dist-es/commands/GetResourcesV2Command.js +3 -9
  77. package/dist-es/commands/GetSecurityControlDefinitionCommand.js +3 -9
  78. package/dist-es/commands/InviteMembersCommand.js +3 -9
  79. package/dist-es/commands/ListAggregatorsV2Command.js +3 -9
  80. package/dist-es/commands/ListAutomationRulesCommand.js +3 -9
  81. package/dist-es/commands/ListAutomationRulesV2Command.js +3 -9
  82. package/dist-es/commands/ListConfigurationPoliciesCommand.js +3 -9
  83. package/dist-es/commands/ListConfigurationPolicyAssociationsCommand.js +3 -9
  84. package/dist-es/commands/ListConnectorsV2Command.js +3 -9
  85. package/dist-es/commands/ListEnabledProductsForImportCommand.js +3 -9
  86. package/dist-es/commands/ListFindingAggregatorsCommand.js +3 -9
  87. package/dist-es/commands/ListInvitationsCommand.js +3 -9
  88. package/dist-es/commands/ListMembersCommand.js +3 -9
  89. package/dist-es/commands/ListOrganizationAdminAccountsCommand.js +3 -9
  90. package/dist-es/commands/ListSecurityControlDefinitionsCommand.js +3 -9
  91. package/dist-es/commands/ListStandardsControlAssociationsCommand.js +3 -9
  92. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  93. package/dist-es/commands/StartConfigurationPolicyAssociationCommand.js +3 -9
  94. package/dist-es/commands/StartConfigurationPolicyDisassociationCommand.js +3 -9
  95. package/dist-es/commands/TagResourceCommand.js +3 -9
  96. package/dist-es/commands/UntagResourceCommand.js +3 -9
  97. package/dist-es/commands/UpdateActionTargetCommand.js +3 -9
  98. package/dist-es/commands/UpdateAggregatorV2Command.js +3 -9
  99. package/dist-es/commands/UpdateAutomationRuleV2Command.js +3 -9
  100. package/dist-es/commands/UpdateConfigurationPolicyCommand.js +3 -9
  101. package/dist-es/commands/UpdateConnectorV2Command.js +3 -10
  102. package/dist-es/commands/UpdateFindingAggregatorCommand.js +3 -9
  103. package/dist-es/commands/UpdateFindingsCommand.js +3 -9
  104. package/dist-es/commands/UpdateInsightCommand.js +3 -9
  105. package/dist-es/commands/UpdateOrganizationConfigurationCommand.js +3 -9
  106. package/dist-es/commands/UpdateSecurityControlCommand.js +3 -9
  107. package/dist-es/commands/UpdateSecurityHubConfigurationCommand.js +3 -9
  108. package/dist-es/commands/UpdateStandardsControlCommand.js +3 -9
  109. package/dist-es/models/models_2.js +0 -101
  110. package/dist-es/models/models_3.js +0 -22
  111. package/dist-es/runtimeConfig.shared.js +2 -0
  112. package/dist-es/schemas/schemas_0.js +12861 -0
  113. package/dist-types/SecurityHubClient.d.ts +10 -1
  114. package/dist-types/models/models_2.d.ts +24 -18
  115. package/dist-types/models/models_3.d.ts +8 -6
  116. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  117. package/dist-types/runtimeConfig.d.ts +1 -0
  118. package/dist-types/runtimeConfig.native.d.ts +1 -0
  119. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  120. package/dist-types/schemas/schemas_0.d.ts +1364 -0
  121. package/dist-types/ts3.4/SecurityHubClient.d.ts +4 -0
  122. package/dist-types/ts3.4/models/models_2.d.ts +0 -15
  123. package/dist-types/ts3.4/models/models_3.d.ts +0 -8
  124. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  125. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  126. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  127. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  128. package/dist-types/ts3.4/schemas/schemas_0.d.ts +1371 -0
  129. package/package.json +33 -34
  130. package/dist-es/protocols/Aws_restJson1.js +0 -5468
  131. package/dist-types/protocols/Aws_restJson1.d.ts +0 -947
  132. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -1265
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DisableSecurityHubCommand, se_DisableSecurityHubCommand } from "../protocols/Aws_restJson1";
4
+ import { DisableSecurityHub } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DisableSecurityHubCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("SecurityHubAPIService", "DisableSecurityHub", {})
17
13
  .n("SecurityHubClient", "DisableSecurityHubCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DisableSecurityHubCommand)
20
- .de(de_DisableSecurityHubCommand)
14
+ .sc(DisableSecurityHub)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DisableSecurityHubV2Command, se_DisableSecurityHubV2Command } from "../protocols/Aws_restJson1";
4
+ import { DisableSecurityHubV2 } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DisableSecurityHubV2Command extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("SecurityHubAPIService", "DisableSecurityHubV2", {})
17
13
  .n("SecurityHubClient", "DisableSecurityHubV2Command")
18
- .f(void 0, void 0)
19
- .ser(se_DisableSecurityHubV2Command)
20
- .de(de_DisableSecurityHubV2Command)
14
+ .sc(DisableSecurityHubV2)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DisassociateFromAdministratorAccountCommand, se_DisassociateFromAdministratorAccountCommand, } from "../protocols/Aws_restJson1";
4
+ import { DisassociateFromAdministratorAccount } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DisassociateFromAdministratorAccountCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("SecurityHubAPIService", "DisassociateFromAdministratorAccount", {})
17
13
  .n("SecurityHubClient", "DisassociateFromAdministratorAccountCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DisassociateFromAdministratorAccountCommand)
20
- .de(de_DisassociateFromAdministratorAccountCommand)
14
+ .sc(DisassociateFromAdministratorAccount)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DisassociateFromMasterAccountCommand, se_DisassociateFromMasterAccountCommand, } from "../protocols/Aws_restJson1";
4
+ import { DisassociateFromMasterAccount } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DisassociateFromMasterAccountCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("SecurityHubAPIService", "DisassociateFromMasterAccount", {})
17
13
  .n("SecurityHubClient", "DisassociateFromMasterAccountCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DisassociateFromMasterAccountCommand)
20
- .de(de_DisassociateFromMasterAccountCommand)
14
+ .sc(DisassociateFromMasterAccount)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DisassociateMembersCommand, se_DisassociateMembersCommand } from "../protocols/Aws_restJson1";
4
+ import { DisassociateMembers } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DisassociateMembersCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("SecurityHubAPIService", "DisassociateMembers", {})
17
13
  .n("SecurityHubClient", "DisassociateMembersCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DisassociateMembersCommand)
20
- .de(de_DisassociateMembersCommand)
14
+ .sc(DisassociateMembers)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_EnableImportFindingsForProductCommand, se_EnableImportFindingsForProductCommand, } from "../protocols/Aws_restJson1";
4
+ import { EnableImportFindingsForProduct } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class EnableImportFindingsForProductCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("SecurityHubAPIService", "EnableImportFindingsForProduct", {})
17
13
  .n("SecurityHubClient", "EnableImportFindingsForProductCommand")
18
- .f(void 0, void 0)
19
- .ser(se_EnableImportFindingsForProductCommand)
20
- .de(de_EnableImportFindingsForProductCommand)
14
+ .sc(EnableImportFindingsForProduct)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_EnableOrganizationAdminAccountCommand, se_EnableOrganizationAdminAccountCommand, } from "../protocols/Aws_restJson1";
4
+ import { EnableOrganizationAdminAccount } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class EnableOrganizationAdminAccountCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("SecurityHubAPIService", "EnableOrganizationAdminAccount", {})
17
13
  .n("SecurityHubClient", "EnableOrganizationAdminAccountCommand")
18
- .f(void 0, void 0)
19
- .ser(se_EnableOrganizationAdminAccountCommand)
20
- .de(de_EnableOrganizationAdminAccountCommand)
14
+ .sc(EnableOrganizationAdminAccount)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_EnableSecurityHubCommand, se_EnableSecurityHubCommand } from "../protocols/Aws_restJson1";
4
+ import { EnableSecurityHub } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class EnableSecurityHubCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("SecurityHubAPIService", "EnableSecurityHub", {})
17
13
  .n("SecurityHubClient", "EnableSecurityHubCommand")
18
- .f(void 0, void 0)
19
- .ser(se_EnableSecurityHubCommand)
20
- .de(de_EnableSecurityHubCommand)
14
+ .sc(EnableSecurityHub)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_EnableSecurityHubV2Command, se_EnableSecurityHubV2Command } from "../protocols/Aws_restJson1";
4
+ import { EnableSecurityHubV2 } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class EnableSecurityHubV2Command extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("SecurityHubAPIService", "EnableSecurityHubV2", {})
17
13
  .n("SecurityHubClient", "EnableSecurityHubV2Command")
18
- .f(void 0, void 0)
19
- .ser(se_EnableSecurityHubV2Command)
20
- .de(de_EnableSecurityHubV2Command)
14
+ .sc(EnableSecurityHubV2)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetAdministratorAccountCommand, se_GetAdministratorAccountCommand } from "../protocols/Aws_restJson1";
4
+ import { GetAdministratorAccount } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetAdministratorAccountCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("SecurityHubAPIService", "GetAdministratorAccount", {})
17
13
  .n("SecurityHubClient", "GetAdministratorAccountCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetAdministratorAccountCommand)
20
- .de(de_GetAdministratorAccountCommand)
14
+ .sc(GetAdministratorAccount)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetAggregatorV2Command, se_GetAggregatorV2Command } from "../protocols/Aws_restJson1";
4
+ import { GetAggregatorV2 } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetAggregatorV2Command extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("SecurityHubAPIService", "GetAggregatorV2", {})
17
13
  .n("SecurityHubClient", "GetAggregatorV2Command")
18
- .f(void 0, void 0)
19
- .ser(se_GetAggregatorV2Command)
20
- .de(de_GetAggregatorV2Command)
14
+ .sc(GetAggregatorV2)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetAutomationRuleV2Command, se_GetAutomationRuleV2Command } from "../protocols/Aws_restJson1";
4
+ import { GetAutomationRuleV2 } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetAutomationRuleV2Command extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("SecurityHubAPIService", "GetAutomationRuleV2", {})
17
13
  .n("SecurityHubClient", "GetAutomationRuleV2Command")
18
- .f(void 0, void 0)
19
- .ser(se_GetAutomationRuleV2Command)
20
- .de(de_GetAutomationRuleV2Command)
14
+ .sc(GetAutomationRuleV2)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetConfigurationPolicyAssociationCommand, se_GetConfigurationPolicyAssociationCommand, } from "../protocols/Aws_restJson1";
4
+ import { GetConfigurationPolicyAssociation } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetConfigurationPolicyAssociationCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("SecurityHubAPIService", "GetConfigurationPolicyAssociation", {})
17
13
  .n("SecurityHubClient", "GetConfigurationPolicyAssociationCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetConfigurationPolicyAssociationCommand)
20
- .de(de_GetConfigurationPolicyAssociationCommand)
14
+ .sc(GetConfigurationPolicyAssociation)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetConfigurationPolicyCommand, se_GetConfigurationPolicyCommand } from "../protocols/Aws_restJson1";
4
+ import { GetConfigurationPolicy } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetConfigurationPolicyCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("SecurityHubAPIService", "GetConfigurationPolicy", {})
17
13
  .n("SecurityHubClient", "GetConfigurationPolicyCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetConfigurationPolicyCommand)
20
- .de(de_GetConfigurationPolicyCommand)
14
+ .sc(GetConfigurationPolicy)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetConnectorV2Command, se_GetConnectorV2Command } from "../protocols/Aws_restJson1";
4
+ import { GetConnectorV2 } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetConnectorV2Command extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("SecurityHubAPIService", "GetConnectorV2", {})
17
13
  .n("SecurityHubClient", "GetConnectorV2Command")
18
- .f(void 0, void 0)
19
- .ser(se_GetConnectorV2Command)
20
- .de(de_GetConnectorV2Command)
14
+ .sc(GetConnectorV2)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetEnabledStandardsCommand, se_GetEnabledStandardsCommand } from "../protocols/Aws_restJson1";
4
+ import { GetEnabledStandards } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetEnabledStandardsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("SecurityHubAPIService", "GetEnabledStandards", {})
17
13
  .n("SecurityHubClient", "GetEnabledStandardsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetEnabledStandardsCommand)
20
- .de(de_GetEnabledStandardsCommand)
14
+ .sc(GetEnabledStandards)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetFindingAggregatorCommand, se_GetFindingAggregatorCommand } from "../protocols/Aws_restJson1";
4
+ import { GetFindingAggregator } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetFindingAggregatorCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("SecurityHubAPIService", "GetFindingAggregator", {})
17
13
  .n("SecurityHubClient", "GetFindingAggregatorCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetFindingAggregatorCommand)
20
- .de(de_GetFindingAggregatorCommand)
14
+ .sc(GetFindingAggregator)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetFindingHistoryCommand, se_GetFindingHistoryCommand } from "../protocols/Aws_restJson1";
4
+ import { GetFindingHistory } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetFindingHistoryCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("SecurityHubAPIService", "GetFindingHistory", {})
17
13
  .n("SecurityHubClient", "GetFindingHistoryCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetFindingHistoryCommand)
20
- .de(de_GetFindingHistoryCommand)
14
+ .sc(GetFindingHistory)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetFindingStatisticsV2Command, se_GetFindingStatisticsV2Command } from "../protocols/Aws_restJson1";
4
+ import { GetFindingStatisticsV2 } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetFindingStatisticsV2Command extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("SecurityHubAPIService", "GetFindingStatisticsV2", {})
17
13
  .n("SecurityHubClient", "GetFindingStatisticsV2Command")
18
- .f(void 0, void 0)
19
- .ser(se_GetFindingStatisticsV2Command)
20
- .de(de_GetFindingStatisticsV2Command)
14
+ .sc(GetFindingStatisticsV2)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetFindingsCommand, se_GetFindingsCommand } from "../protocols/Aws_restJson1";
4
+ import { GetFindings } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetFindingsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("SecurityHubAPIService", "GetFindings", {})
17
13
  .n("SecurityHubClient", "GetFindingsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetFindingsCommand)
20
- .de(de_GetFindingsCommand)
14
+ .sc(GetFindings)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetFindingsV2Command, se_GetFindingsV2Command } from "../protocols/Aws_restJson1";
4
+ import { GetFindingsV2 } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetFindingsV2Command extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("SecurityHubAPIService", "GetFindingsV2", {})
17
13
  .n("SecurityHubClient", "GetFindingsV2Command")
18
- .f(void 0, void 0)
19
- .ser(se_GetFindingsV2Command)
20
- .de(de_GetFindingsV2Command)
14
+ .sc(GetFindingsV2)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetInsightResultsCommand, se_GetInsightResultsCommand } from "../protocols/Aws_restJson1";
4
+ import { GetInsightResults } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetInsightResultsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("SecurityHubAPIService", "GetInsightResults", {})
17
13
  .n("SecurityHubClient", "GetInsightResultsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetInsightResultsCommand)
20
- .de(de_GetInsightResultsCommand)
14
+ .sc(GetInsightResults)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetInsightsCommand, se_GetInsightsCommand } from "../protocols/Aws_restJson1";
4
+ import { GetInsights } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetInsightsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("SecurityHubAPIService", "GetInsights", {})
17
13
  .n("SecurityHubClient", "GetInsightsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetInsightsCommand)
20
- .de(de_GetInsightsCommand)
14
+ .sc(GetInsights)
21
15
  .build() {
22
16
  }