@aws-sdk/client-inspector2 3.44.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 (216) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/LICENSE +201 -0
  3. package/README.md +204 -0
  4. package/dist-cjs/Inspector2.js +457 -0
  5. package/dist-cjs/Inspector2Client.js +35 -0
  6. package/dist-cjs/commands/AssociateMemberCommand.js +36 -0
  7. package/dist-cjs/commands/BatchGetAccountStatusCommand.js +36 -0
  8. package/dist-cjs/commands/BatchGetFreeTrialInfoCommand.js +36 -0
  9. package/dist-cjs/commands/CancelFindingsReportCommand.js +36 -0
  10. package/dist-cjs/commands/CreateFilterCommand.js +36 -0
  11. package/dist-cjs/commands/CreateFindingsReportCommand.js +36 -0
  12. package/dist-cjs/commands/DeleteFilterCommand.js +36 -0
  13. package/dist-cjs/commands/DescribeOrganizationConfigurationCommand.js +36 -0
  14. package/dist-cjs/commands/DisableCommand.js +36 -0
  15. package/dist-cjs/commands/DisableDelegatedAdminAccountCommand.js +36 -0
  16. package/dist-cjs/commands/DisassociateMemberCommand.js +36 -0
  17. package/dist-cjs/commands/EnableCommand.js +36 -0
  18. package/dist-cjs/commands/EnableDelegatedAdminAccountCommand.js +36 -0
  19. package/dist-cjs/commands/GetDelegatedAdminAccountCommand.js +36 -0
  20. package/dist-cjs/commands/GetFindingsReportStatusCommand.js +36 -0
  21. package/dist-cjs/commands/GetMemberCommand.js +36 -0
  22. package/dist-cjs/commands/ListAccountPermissionsCommand.js +36 -0
  23. package/dist-cjs/commands/ListCoverageCommand.js +36 -0
  24. package/dist-cjs/commands/ListCoverageStatisticsCommand.js +36 -0
  25. package/dist-cjs/commands/ListDelegatedAdminAccountsCommand.js +36 -0
  26. package/dist-cjs/commands/ListFiltersCommand.js +36 -0
  27. package/dist-cjs/commands/ListFindingAggregationsCommand.js +36 -0
  28. package/dist-cjs/commands/ListFindingsCommand.js +36 -0
  29. package/dist-cjs/commands/ListMembersCommand.js +36 -0
  30. package/dist-cjs/commands/ListTagsForResourceCommand.js +36 -0
  31. package/dist-cjs/commands/ListUsageTotalsCommand.js +36 -0
  32. package/dist-cjs/commands/TagResourceCommand.js +36 -0
  33. package/dist-cjs/commands/UntagResourceCommand.js +36 -0
  34. package/dist-cjs/commands/UpdateFilterCommand.js +36 -0
  35. package/dist-cjs/commands/UpdateOrganizationConfigurationCommand.js +36 -0
  36. package/dist-cjs/commands/index.js +33 -0
  37. package/dist-cjs/endpoints.js +130 -0
  38. package/dist-cjs/index.js +8 -0
  39. package/dist-cjs/models/index.js +4 -0
  40. package/dist-cjs/models/models_0.js +1287 -0
  41. package/dist-cjs/pagination/Interfaces.js +2 -0
  42. package/dist-cjs/pagination/ListAccountPermissionsPaginator.js +35 -0
  43. package/dist-cjs/pagination/ListCoveragePaginator.js +35 -0
  44. package/dist-cjs/pagination/ListCoverageStatisticsPaginator.js +34 -0
  45. package/dist-cjs/pagination/ListDelegatedAdminAccountsPaginator.js +35 -0
  46. package/dist-cjs/pagination/ListFiltersPaginator.js +35 -0
  47. package/dist-cjs/pagination/ListFindingAggregationsPaginator.js +35 -0
  48. package/dist-cjs/pagination/ListFindingsPaginator.js +35 -0
  49. package/dist-cjs/pagination/ListMembersPaginator.js +35 -0
  50. package/dist-cjs/pagination/ListUsageTotalsPaginator.js +35 -0
  51. package/dist-cjs/pagination/index.js +13 -0
  52. package/dist-cjs/protocols/Aws_restJson1.js +4893 -0
  53. package/dist-cjs/runtimeConfig.browser.js +40 -0
  54. package/dist-cjs/runtimeConfig.js +44 -0
  55. package/dist-cjs/runtimeConfig.native.js +16 -0
  56. package/dist-cjs/runtimeConfig.shared.js +17 -0
  57. package/dist-es/Inspector2.js +460 -0
  58. package/dist-es/Inspector2Client.js +37 -0
  59. package/dist-es/commands/AssociateMemberCommand.js +39 -0
  60. package/dist-es/commands/BatchGetAccountStatusCommand.js +39 -0
  61. package/dist-es/commands/BatchGetFreeTrialInfoCommand.js +39 -0
  62. package/dist-es/commands/CancelFindingsReportCommand.js +39 -0
  63. package/dist-es/commands/CreateFilterCommand.js +39 -0
  64. package/dist-es/commands/CreateFindingsReportCommand.js +39 -0
  65. package/dist-es/commands/DeleteFilterCommand.js +39 -0
  66. package/dist-es/commands/DescribeOrganizationConfigurationCommand.js +39 -0
  67. package/dist-es/commands/DisableCommand.js +39 -0
  68. package/dist-es/commands/DisableDelegatedAdminAccountCommand.js +39 -0
  69. package/dist-es/commands/DisassociateMemberCommand.js +39 -0
  70. package/dist-es/commands/EnableCommand.js +39 -0
  71. package/dist-es/commands/EnableDelegatedAdminAccountCommand.js +39 -0
  72. package/dist-es/commands/GetDelegatedAdminAccountCommand.js +39 -0
  73. package/dist-es/commands/GetFindingsReportStatusCommand.js +39 -0
  74. package/dist-es/commands/GetMemberCommand.js +39 -0
  75. package/dist-es/commands/ListAccountPermissionsCommand.js +39 -0
  76. package/dist-es/commands/ListCoverageCommand.js +39 -0
  77. package/dist-es/commands/ListCoverageStatisticsCommand.js +39 -0
  78. package/dist-es/commands/ListDelegatedAdminAccountsCommand.js +39 -0
  79. package/dist-es/commands/ListFiltersCommand.js +39 -0
  80. package/dist-es/commands/ListFindingAggregationsCommand.js +39 -0
  81. package/dist-es/commands/ListFindingsCommand.js +39 -0
  82. package/dist-es/commands/ListMembersCommand.js +39 -0
  83. package/dist-es/commands/ListTagsForResourceCommand.js +39 -0
  84. package/dist-es/commands/ListUsageTotalsCommand.js +39 -0
  85. package/dist-es/commands/TagResourceCommand.js +39 -0
  86. package/dist-es/commands/UntagResourceCommand.js +39 -0
  87. package/dist-es/commands/UpdateFilterCommand.js +39 -0
  88. package/dist-es/commands/UpdateOrganizationConfigurationCommand.js +39 -0
  89. package/dist-es/commands/index.js +30 -0
  90. package/dist-es/endpoints.js +126 -0
  91. package/dist-es/index.js +5 -0
  92. package/dist-es/models/index.js +1 -0
  93. package/dist-es/models/models_0.js +1000 -0
  94. package/dist-es/pagination/Interfaces.js +1 -0
  95. package/dist-es/pagination/ListAccountPermissionsPaginator.js +74 -0
  96. package/dist-es/pagination/ListCoveragePaginator.js +74 -0
  97. package/dist-es/pagination/ListCoverageStatisticsPaginator.js +73 -0
  98. package/dist-es/pagination/ListDelegatedAdminAccountsPaginator.js +74 -0
  99. package/dist-es/pagination/ListFiltersPaginator.js +74 -0
  100. package/dist-es/pagination/ListFindingAggregationsPaginator.js +74 -0
  101. package/dist-es/pagination/ListFindingsPaginator.js +74 -0
  102. package/dist-es/pagination/ListMembersPaginator.js +74 -0
  103. package/dist-es/pagination/ListUsageTotalsPaginator.js +74 -0
  104. package/dist-es/pagination/index.js +10 -0
  105. package/dist-es/protocols/Aws_restJson1.js +5265 -0
  106. package/dist-es/runtimeConfig.browser.js +17 -0
  107. package/dist-es/runtimeConfig.js +21 -0
  108. package/dist-es/runtimeConfig.native.js +8 -0
  109. package/dist-es/runtimeConfig.shared.js +13 -0
  110. package/dist-types/Inspector2.d.ts +222 -0
  111. package/dist-types/Inspector2Client.d.ts +171 -0
  112. package/dist-types/commands/AssociateMemberCommand.d.ts +35 -0
  113. package/dist-types/commands/BatchGetAccountStatusCommand.d.ts +35 -0
  114. package/dist-types/commands/BatchGetFreeTrialInfoCommand.d.ts +35 -0
  115. package/dist-types/commands/CancelFindingsReportCommand.d.ts +35 -0
  116. package/dist-types/commands/CreateFilterCommand.d.ts +35 -0
  117. package/dist-types/commands/CreateFindingsReportCommand.d.ts +35 -0
  118. package/dist-types/commands/DeleteFilterCommand.d.ts +35 -0
  119. package/dist-types/commands/DescribeOrganizationConfigurationCommand.d.ts +35 -0
  120. package/dist-types/commands/DisableCommand.d.ts +36 -0
  121. package/dist-types/commands/DisableDelegatedAdminAccountCommand.d.ts +35 -0
  122. package/dist-types/commands/DisassociateMemberCommand.d.ts +35 -0
  123. package/dist-types/commands/EnableCommand.d.ts +35 -0
  124. package/dist-types/commands/EnableDelegatedAdminAccountCommand.d.ts +35 -0
  125. package/dist-types/commands/GetDelegatedAdminAccountCommand.d.ts +36 -0
  126. package/dist-types/commands/GetFindingsReportStatusCommand.d.ts +35 -0
  127. package/dist-types/commands/GetMemberCommand.d.ts +35 -0
  128. package/dist-types/commands/ListAccountPermissionsCommand.d.ts +35 -0
  129. package/dist-types/commands/ListCoverageCommand.d.ts +35 -0
  130. package/dist-types/commands/ListCoverageStatisticsCommand.d.ts +35 -0
  131. package/dist-types/commands/ListDelegatedAdminAccountsCommand.d.ts +36 -0
  132. package/dist-types/commands/ListFiltersCommand.d.ts +35 -0
  133. package/dist-types/commands/ListFindingAggregationsCommand.d.ts +35 -0
  134. package/dist-types/commands/ListFindingsCommand.d.ts +35 -0
  135. package/dist-types/commands/ListMembersCommand.d.ts +36 -0
  136. package/dist-types/commands/ListTagsForResourceCommand.d.ts +35 -0
  137. package/dist-types/commands/ListUsageTotalsCommand.d.ts +35 -0
  138. package/dist-types/commands/TagResourceCommand.d.ts +35 -0
  139. package/dist-types/commands/UntagResourceCommand.d.ts +35 -0
  140. package/dist-types/commands/UpdateFilterCommand.d.ts +35 -0
  141. package/dist-types/commands/UpdateOrganizationConfigurationCommand.d.ts +35 -0
  142. package/dist-types/commands/index.d.ts +30 -0
  143. package/dist-types/endpoints.d.ts +2 -0
  144. package/dist-types/index.d.ts +5 -0
  145. package/dist-types/models/index.d.ts +1 -0
  146. package/dist-types/models/models_0.d.ts +3837 -0
  147. package/dist-types/pagination/Interfaces.d.ts +6 -0
  148. package/dist-types/pagination/ListAccountPermissionsPaginator.d.ts +4 -0
  149. package/dist-types/pagination/ListCoveragePaginator.d.ts +4 -0
  150. package/dist-types/pagination/ListCoverageStatisticsPaginator.d.ts +4 -0
  151. package/dist-types/pagination/ListDelegatedAdminAccountsPaginator.d.ts +4 -0
  152. package/dist-types/pagination/ListFiltersPaginator.d.ts +4 -0
  153. package/dist-types/pagination/ListFindingAggregationsPaginator.d.ts +4 -0
  154. package/dist-types/pagination/ListFindingsPaginator.d.ts +4 -0
  155. package/dist-types/pagination/ListMembersPaginator.d.ts +4 -0
  156. package/dist-types/pagination/ListUsageTotalsPaginator.d.ts +4 -0
  157. package/dist-types/pagination/index.d.ts +10 -0
  158. package/dist-types/protocols/Aws_restJson1.d.ts +92 -0
  159. package/dist-types/runtimeConfig.browser.d.ts +39 -0
  160. package/dist-types/runtimeConfig.d.ts +39 -0
  161. package/dist-types/runtimeConfig.native.d.ts +38 -0
  162. package/dist-types/runtimeConfig.shared.d.ts +13 -0
  163. package/dist-types/ts3.4/Inspector2.d.ts +155 -0
  164. package/dist-types/ts3.4/Inspector2Client.d.ts +101 -0
  165. package/dist-types/ts3.4/commands/AssociateMemberCommand.d.ts +17 -0
  166. package/dist-types/ts3.4/commands/BatchGetAccountStatusCommand.d.ts +17 -0
  167. package/dist-types/ts3.4/commands/BatchGetFreeTrialInfoCommand.d.ts +17 -0
  168. package/dist-types/ts3.4/commands/CancelFindingsReportCommand.d.ts +17 -0
  169. package/dist-types/ts3.4/commands/CreateFilterCommand.d.ts +17 -0
  170. package/dist-types/ts3.4/commands/CreateFindingsReportCommand.d.ts +17 -0
  171. package/dist-types/ts3.4/commands/DeleteFilterCommand.d.ts +17 -0
  172. package/dist-types/ts3.4/commands/DescribeOrganizationConfigurationCommand.d.ts +17 -0
  173. package/dist-types/ts3.4/commands/DisableCommand.d.ts +17 -0
  174. package/dist-types/ts3.4/commands/DisableDelegatedAdminAccountCommand.d.ts +17 -0
  175. package/dist-types/ts3.4/commands/DisassociateMemberCommand.d.ts +17 -0
  176. package/dist-types/ts3.4/commands/EnableCommand.d.ts +17 -0
  177. package/dist-types/ts3.4/commands/EnableDelegatedAdminAccountCommand.d.ts +17 -0
  178. package/dist-types/ts3.4/commands/GetDelegatedAdminAccountCommand.d.ts +17 -0
  179. package/dist-types/ts3.4/commands/GetFindingsReportStatusCommand.d.ts +17 -0
  180. package/dist-types/ts3.4/commands/GetMemberCommand.d.ts +17 -0
  181. package/dist-types/ts3.4/commands/ListAccountPermissionsCommand.d.ts +17 -0
  182. package/dist-types/ts3.4/commands/ListCoverageCommand.d.ts +17 -0
  183. package/dist-types/ts3.4/commands/ListCoverageStatisticsCommand.d.ts +17 -0
  184. package/dist-types/ts3.4/commands/ListDelegatedAdminAccountsCommand.d.ts +17 -0
  185. package/dist-types/ts3.4/commands/ListFiltersCommand.d.ts +17 -0
  186. package/dist-types/ts3.4/commands/ListFindingAggregationsCommand.d.ts +17 -0
  187. package/dist-types/ts3.4/commands/ListFindingsCommand.d.ts +17 -0
  188. package/dist-types/ts3.4/commands/ListMembersCommand.d.ts +17 -0
  189. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
  190. package/dist-types/ts3.4/commands/ListUsageTotalsCommand.d.ts +17 -0
  191. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
  192. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
  193. package/dist-types/ts3.4/commands/UpdateFilterCommand.d.ts +17 -0
  194. package/dist-types/ts3.4/commands/UpdateOrganizationConfigurationCommand.d.ts +17 -0
  195. package/dist-types/ts3.4/commands/index.d.ts +30 -0
  196. package/dist-types/ts3.4/endpoints.d.ts +2 -0
  197. package/dist-types/ts3.4/index.d.ts +5 -0
  198. package/dist-types/ts3.4/models/index.d.ts +1 -0
  199. package/dist-types/ts3.4/models/models_0.d.ts +2416 -0
  200. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  201. package/dist-types/ts3.4/pagination/ListAccountPermissionsPaginator.d.ts +4 -0
  202. package/dist-types/ts3.4/pagination/ListCoveragePaginator.d.ts +4 -0
  203. package/dist-types/ts3.4/pagination/ListCoverageStatisticsPaginator.d.ts +4 -0
  204. package/dist-types/ts3.4/pagination/ListDelegatedAdminAccountsPaginator.d.ts +4 -0
  205. package/dist-types/ts3.4/pagination/ListFiltersPaginator.d.ts +4 -0
  206. package/dist-types/ts3.4/pagination/ListFindingAggregationsPaginator.d.ts +4 -0
  207. package/dist-types/ts3.4/pagination/ListFindingsPaginator.d.ts +4 -0
  208. package/dist-types/ts3.4/pagination/ListMembersPaginator.d.ts +4 -0
  209. package/dist-types/ts3.4/pagination/ListUsageTotalsPaginator.d.ts +4 -0
  210. package/dist-types/ts3.4/pagination/index.d.ts +10 -0
  211. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +92 -0
  212. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +37 -0
  213. package/dist-types/ts3.4/runtimeConfig.d.ts +37 -0
  214. package/dist-types/ts3.4/runtimeConfig.native.d.ts +36 -0
  215. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
  216. package/package.json +96 -0
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CreateFindingsReportCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
+ class CreateFindingsReportCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "Inspector2Client";
18
+ const commandName = "CreateFindingsReportCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.CreateFindingsReportRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.CreateFindingsReportResponse.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return Aws_restJson1_1.serializeAws_restJson1CreateFindingsReportCommand(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return Aws_restJson1_1.deserializeAws_restJson1CreateFindingsReportCommand(output, context);
34
+ }
35
+ }
36
+ exports.CreateFindingsReportCommand = CreateFindingsReportCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DeleteFilterCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
+ class DeleteFilterCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "Inspector2Client";
18
+ const commandName = "DeleteFilterCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.DeleteFilterRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.DeleteFilterResponse.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return Aws_restJson1_1.serializeAws_restJson1DeleteFilterCommand(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return Aws_restJson1_1.deserializeAws_restJson1DeleteFilterCommand(output, context);
34
+ }
35
+ }
36
+ exports.DeleteFilterCommand = DeleteFilterCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DescribeOrganizationConfigurationCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
+ class DescribeOrganizationConfigurationCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "Inspector2Client";
18
+ const commandName = "DescribeOrganizationConfigurationCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.DescribeOrganizationConfigurationRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.DescribeOrganizationConfigurationResponse.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return Aws_restJson1_1.serializeAws_restJson1DescribeOrganizationConfigurationCommand(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return Aws_restJson1_1.deserializeAws_restJson1DescribeOrganizationConfigurationCommand(output, context);
34
+ }
35
+ }
36
+ exports.DescribeOrganizationConfigurationCommand = DescribeOrganizationConfigurationCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DisableCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
+ class DisableCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "Inspector2Client";
18
+ const commandName = "DisableCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.DisableRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.DisableResponse.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return Aws_restJson1_1.serializeAws_restJson1DisableCommand(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return Aws_restJson1_1.deserializeAws_restJson1DisableCommand(output, context);
34
+ }
35
+ }
36
+ exports.DisableCommand = DisableCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DisableDelegatedAdminAccountCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
+ class DisableDelegatedAdminAccountCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "Inspector2Client";
18
+ const commandName = "DisableDelegatedAdminAccountCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.DisableDelegatedAdminAccountRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.DisableDelegatedAdminAccountResponse.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return Aws_restJson1_1.serializeAws_restJson1DisableDelegatedAdminAccountCommand(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return Aws_restJson1_1.deserializeAws_restJson1DisableDelegatedAdminAccountCommand(output, context);
34
+ }
35
+ }
36
+ exports.DisableDelegatedAdminAccountCommand = DisableDelegatedAdminAccountCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DisassociateMemberCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
+ class DisassociateMemberCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "Inspector2Client";
18
+ const commandName = "DisassociateMemberCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.DisassociateMemberRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.DisassociateMemberResponse.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return Aws_restJson1_1.serializeAws_restJson1DisassociateMemberCommand(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return Aws_restJson1_1.deserializeAws_restJson1DisassociateMemberCommand(output, context);
34
+ }
35
+ }
36
+ exports.DisassociateMemberCommand = DisassociateMemberCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.EnableCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
+ class EnableCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "Inspector2Client";
18
+ const commandName = "EnableCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.EnableRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.EnableResponse.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return Aws_restJson1_1.serializeAws_restJson1EnableCommand(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return Aws_restJson1_1.deserializeAws_restJson1EnableCommand(output, context);
34
+ }
35
+ }
36
+ exports.EnableCommand = EnableCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.EnableDelegatedAdminAccountCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
+ class EnableDelegatedAdminAccountCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "Inspector2Client";
18
+ const commandName = "EnableDelegatedAdminAccountCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.EnableDelegatedAdminAccountRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.EnableDelegatedAdminAccountResponse.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return Aws_restJson1_1.serializeAws_restJson1EnableDelegatedAdminAccountCommand(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return Aws_restJson1_1.deserializeAws_restJson1EnableDelegatedAdminAccountCommand(output, context);
34
+ }
35
+ }
36
+ exports.EnableDelegatedAdminAccountCommand = EnableDelegatedAdminAccountCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetDelegatedAdminAccountCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
+ class GetDelegatedAdminAccountCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "Inspector2Client";
18
+ const commandName = "GetDelegatedAdminAccountCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.GetDelegatedAdminAccountRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.GetDelegatedAdminAccountResponse.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return Aws_restJson1_1.serializeAws_restJson1GetDelegatedAdminAccountCommand(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return Aws_restJson1_1.deserializeAws_restJson1GetDelegatedAdminAccountCommand(output, context);
34
+ }
35
+ }
36
+ exports.GetDelegatedAdminAccountCommand = GetDelegatedAdminAccountCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetFindingsReportStatusCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
+ class GetFindingsReportStatusCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "Inspector2Client";
18
+ const commandName = "GetFindingsReportStatusCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.GetFindingsReportStatusRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.GetFindingsReportStatusResponse.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return Aws_restJson1_1.serializeAws_restJson1GetFindingsReportStatusCommand(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return Aws_restJson1_1.deserializeAws_restJson1GetFindingsReportStatusCommand(output, context);
34
+ }
35
+ }
36
+ exports.GetFindingsReportStatusCommand = GetFindingsReportStatusCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetMemberCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
+ class GetMemberCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "Inspector2Client";
18
+ const commandName = "GetMemberCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.GetMemberRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.GetMemberResponse.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return Aws_restJson1_1.serializeAws_restJson1GetMemberCommand(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return Aws_restJson1_1.deserializeAws_restJson1GetMemberCommand(output, context);
34
+ }
35
+ }
36
+ exports.GetMemberCommand = GetMemberCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListAccountPermissionsCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
+ class ListAccountPermissionsCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "Inspector2Client";
18
+ const commandName = "ListAccountPermissionsCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.ListAccountPermissionsRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.ListAccountPermissionsResponse.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return Aws_restJson1_1.serializeAws_restJson1ListAccountPermissionsCommand(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return Aws_restJson1_1.deserializeAws_restJson1ListAccountPermissionsCommand(output, context);
34
+ }
35
+ }
36
+ exports.ListAccountPermissionsCommand = ListAccountPermissionsCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListCoverageCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
+ class ListCoverageCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "Inspector2Client";
18
+ const commandName = "ListCoverageCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.ListCoverageRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.ListCoverageResponse.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return Aws_restJson1_1.serializeAws_restJson1ListCoverageCommand(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return Aws_restJson1_1.deserializeAws_restJson1ListCoverageCommand(output, context);
34
+ }
35
+ }
36
+ exports.ListCoverageCommand = ListCoverageCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListCoverageStatisticsCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
+ class ListCoverageStatisticsCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "Inspector2Client";
18
+ const commandName = "ListCoverageStatisticsCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.ListCoverageStatisticsRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.ListCoverageStatisticsResponse.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return Aws_restJson1_1.serializeAws_restJson1ListCoverageStatisticsCommand(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return Aws_restJson1_1.deserializeAws_restJson1ListCoverageStatisticsCommand(output, context);
34
+ }
35
+ }
36
+ exports.ListCoverageStatisticsCommand = ListCoverageStatisticsCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListDelegatedAdminAccountsCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
+ class ListDelegatedAdminAccountsCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "Inspector2Client";
18
+ const commandName = "ListDelegatedAdminAccountsCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.ListDelegatedAdminAccountsRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.ListDelegatedAdminAccountsResponse.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return Aws_restJson1_1.serializeAws_restJson1ListDelegatedAdminAccountsCommand(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return Aws_restJson1_1.deserializeAws_restJson1ListDelegatedAdminAccountsCommand(output, context);
34
+ }
35
+ }
36
+ exports.ListDelegatedAdminAccountsCommand = ListDelegatedAdminAccountsCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListFiltersCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
+ class ListFiltersCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "Inspector2Client";
18
+ const commandName = "ListFiltersCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.ListFiltersRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.ListFiltersResponse.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return Aws_restJson1_1.serializeAws_restJson1ListFiltersCommand(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return Aws_restJson1_1.deserializeAws_restJson1ListFiltersCommand(output, context);
34
+ }
35
+ }
36
+ exports.ListFiltersCommand = ListFiltersCommand;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListFindingAggregationsCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
+ class ListFindingAggregationsCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "Inspector2Client";
18
+ const commandName = "ListFindingAggregationsCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.ListFindingAggregationsRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.ListFindingAggregationsResponse.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return Aws_restJson1_1.serializeAws_restJson1ListFindingAggregationsCommand(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return Aws_restJson1_1.deserializeAws_restJson1ListFindingAggregationsCommand(output, context);
34
+ }
35
+ }
36
+ exports.ListFindingAggregationsCommand = ListFindingAggregationsCommand;