@aws-sdk/client-inspector2 3.478.0 → 3.481.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 (189) hide show
  1. package/dist-cjs/commands/AssociateMemberCommand.js +18 -41
  2. package/dist-cjs/commands/BatchGetAccountStatusCommand.js +18 -41
  3. package/dist-cjs/commands/BatchGetCodeSnippetCommand.js +18 -41
  4. package/dist-cjs/commands/BatchGetFindingDetailsCommand.js +18 -41
  5. package/dist-cjs/commands/BatchGetFreeTrialInfoCommand.js +18 -41
  6. package/dist-cjs/commands/BatchGetMemberEc2DeepInspectionStatusCommand.js +18 -41
  7. package/dist-cjs/commands/BatchUpdateMemberEc2DeepInspectionStatusCommand.js +18 -41
  8. package/dist-cjs/commands/CancelFindingsReportCommand.js +18 -41
  9. package/dist-cjs/commands/CancelSbomExportCommand.js +18 -41
  10. package/dist-cjs/commands/CreateFilterCommand.js +18 -41
  11. package/dist-cjs/commands/CreateFindingsReportCommand.js +18 -41
  12. package/dist-cjs/commands/CreateSbomExportCommand.js +18 -41
  13. package/dist-cjs/commands/DeleteFilterCommand.js +18 -41
  14. package/dist-cjs/commands/DescribeOrganizationConfigurationCommand.js +18 -41
  15. package/dist-cjs/commands/DisableCommand.js +18 -41
  16. package/dist-cjs/commands/DisableDelegatedAdminAccountCommand.js +18 -41
  17. package/dist-cjs/commands/DisassociateMemberCommand.js +18 -41
  18. package/dist-cjs/commands/EnableCommand.js +18 -41
  19. package/dist-cjs/commands/EnableDelegatedAdminAccountCommand.js +18 -41
  20. package/dist-cjs/commands/GetConfigurationCommand.js +18 -41
  21. package/dist-cjs/commands/GetDelegatedAdminAccountCommand.js +18 -41
  22. package/dist-cjs/commands/GetEc2DeepInspectionConfigurationCommand.js +18 -41
  23. package/dist-cjs/commands/GetEncryptionKeyCommand.js +18 -41
  24. package/dist-cjs/commands/GetFindingsReportStatusCommand.js +18 -41
  25. package/dist-cjs/commands/GetMemberCommand.js +18 -41
  26. package/dist-cjs/commands/GetSbomExportCommand.js +18 -41
  27. package/dist-cjs/commands/ListAccountPermissionsCommand.js +18 -41
  28. package/dist-cjs/commands/ListCoverageCommand.js +18 -41
  29. package/dist-cjs/commands/ListCoverageStatisticsCommand.js +18 -41
  30. package/dist-cjs/commands/ListDelegatedAdminAccountsCommand.js +18 -41
  31. package/dist-cjs/commands/ListFiltersCommand.js +18 -41
  32. package/dist-cjs/commands/ListFindingAggregationsCommand.js +18 -41
  33. package/dist-cjs/commands/ListFindingsCommand.js +18 -41
  34. package/dist-cjs/commands/ListMembersCommand.js +18 -41
  35. package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
  36. package/dist-cjs/commands/ListUsageTotalsCommand.js +18 -41
  37. package/dist-cjs/commands/ResetEncryptionKeyCommand.js +18 -41
  38. package/dist-cjs/commands/SearchVulnerabilitiesCommand.js +18 -41
  39. package/dist-cjs/commands/TagResourceCommand.js +18 -41
  40. package/dist-cjs/commands/UntagResourceCommand.js +18 -41
  41. package/dist-cjs/commands/UpdateConfigurationCommand.js +18 -41
  42. package/dist-cjs/commands/UpdateEc2DeepInspectionConfigurationCommand.js +18 -41
  43. package/dist-cjs/commands/UpdateEncryptionKeyCommand.js +18 -41
  44. package/dist-cjs/commands/UpdateFilterCommand.js +18 -41
  45. package/dist-cjs/commands/UpdateOrgEc2DeepInspectionConfigurationCommand.js +18 -41
  46. package/dist-cjs/commands/UpdateOrganizationConfigurationCommand.js +18 -41
  47. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  48. package/dist-es/commands/AssociateMemberCommand.js +18 -41
  49. package/dist-es/commands/BatchGetAccountStatusCommand.js +18 -41
  50. package/dist-es/commands/BatchGetCodeSnippetCommand.js +18 -41
  51. package/dist-es/commands/BatchGetFindingDetailsCommand.js +18 -41
  52. package/dist-es/commands/BatchGetFreeTrialInfoCommand.js +18 -41
  53. package/dist-es/commands/BatchGetMemberEc2DeepInspectionStatusCommand.js +18 -41
  54. package/dist-es/commands/BatchUpdateMemberEc2DeepInspectionStatusCommand.js +18 -41
  55. package/dist-es/commands/CancelFindingsReportCommand.js +18 -41
  56. package/dist-es/commands/CancelSbomExportCommand.js +18 -41
  57. package/dist-es/commands/CreateFilterCommand.js +18 -41
  58. package/dist-es/commands/CreateFindingsReportCommand.js +18 -41
  59. package/dist-es/commands/CreateSbomExportCommand.js +18 -41
  60. package/dist-es/commands/DeleteFilterCommand.js +18 -41
  61. package/dist-es/commands/DescribeOrganizationConfigurationCommand.js +18 -41
  62. package/dist-es/commands/DisableCommand.js +18 -41
  63. package/dist-es/commands/DisableDelegatedAdminAccountCommand.js +18 -41
  64. package/dist-es/commands/DisassociateMemberCommand.js +18 -41
  65. package/dist-es/commands/EnableCommand.js +18 -41
  66. package/dist-es/commands/EnableDelegatedAdminAccountCommand.js +18 -41
  67. package/dist-es/commands/GetConfigurationCommand.js +18 -41
  68. package/dist-es/commands/GetDelegatedAdminAccountCommand.js +18 -41
  69. package/dist-es/commands/GetEc2DeepInspectionConfigurationCommand.js +18 -41
  70. package/dist-es/commands/GetEncryptionKeyCommand.js +18 -41
  71. package/dist-es/commands/GetFindingsReportStatusCommand.js +18 -41
  72. package/dist-es/commands/GetMemberCommand.js +18 -41
  73. package/dist-es/commands/GetSbomExportCommand.js +18 -41
  74. package/dist-es/commands/ListAccountPermissionsCommand.js +18 -41
  75. package/dist-es/commands/ListCoverageCommand.js +18 -41
  76. package/dist-es/commands/ListCoverageStatisticsCommand.js +18 -41
  77. package/dist-es/commands/ListDelegatedAdminAccountsCommand.js +18 -41
  78. package/dist-es/commands/ListFiltersCommand.js +18 -41
  79. package/dist-es/commands/ListFindingAggregationsCommand.js +18 -41
  80. package/dist-es/commands/ListFindingsCommand.js +18 -41
  81. package/dist-es/commands/ListMembersCommand.js +18 -41
  82. package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
  83. package/dist-es/commands/ListUsageTotalsCommand.js +18 -41
  84. package/dist-es/commands/ResetEncryptionKeyCommand.js +18 -41
  85. package/dist-es/commands/SearchVulnerabilitiesCommand.js +18 -41
  86. package/dist-es/commands/TagResourceCommand.js +18 -41
  87. package/dist-es/commands/UntagResourceCommand.js +18 -41
  88. package/dist-es/commands/UpdateConfigurationCommand.js +18 -41
  89. package/dist-es/commands/UpdateEc2DeepInspectionConfigurationCommand.js +18 -41
  90. package/dist-es/commands/UpdateEncryptionKeyCommand.js +18 -41
  91. package/dist-es/commands/UpdateFilterCommand.js +18 -41
  92. package/dist-es/commands/UpdateOrgEc2DeepInspectionConfigurationCommand.js +18 -41
  93. package/dist-es/commands/UpdateOrganizationConfigurationCommand.js +18 -41
  94. package/dist-es/endpoint/EndpointParameters.js +6 -0
  95. package/dist-types/commands/AssociateMemberCommand.d.ts +6 -21
  96. package/dist-types/commands/BatchGetAccountStatusCommand.d.ts +6 -21
  97. package/dist-types/commands/BatchGetCodeSnippetCommand.d.ts +6 -21
  98. package/dist-types/commands/BatchGetFindingDetailsCommand.d.ts +6 -21
  99. package/dist-types/commands/BatchGetFreeTrialInfoCommand.d.ts +6 -21
  100. package/dist-types/commands/BatchGetMemberEc2DeepInspectionStatusCommand.d.ts +6 -21
  101. package/dist-types/commands/BatchUpdateMemberEc2DeepInspectionStatusCommand.d.ts +6 -21
  102. package/dist-types/commands/CancelFindingsReportCommand.d.ts +6 -21
  103. package/dist-types/commands/CancelSbomExportCommand.d.ts +6 -21
  104. package/dist-types/commands/CreateFilterCommand.d.ts +6 -21
  105. package/dist-types/commands/CreateFindingsReportCommand.d.ts +6 -21
  106. package/dist-types/commands/CreateSbomExportCommand.d.ts +6 -21
  107. package/dist-types/commands/DeleteFilterCommand.d.ts +6 -21
  108. package/dist-types/commands/DescribeOrganizationConfigurationCommand.d.ts +6 -21
  109. package/dist-types/commands/DisableCommand.d.ts +6 -21
  110. package/dist-types/commands/DisableDelegatedAdminAccountCommand.d.ts +6 -21
  111. package/dist-types/commands/DisassociateMemberCommand.d.ts +6 -21
  112. package/dist-types/commands/EnableCommand.d.ts +6 -21
  113. package/dist-types/commands/EnableDelegatedAdminAccountCommand.d.ts +6 -21
  114. package/dist-types/commands/GetConfigurationCommand.d.ts +6 -21
  115. package/dist-types/commands/GetDelegatedAdminAccountCommand.d.ts +6 -21
  116. package/dist-types/commands/GetEc2DeepInspectionConfigurationCommand.d.ts +6 -21
  117. package/dist-types/commands/GetEncryptionKeyCommand.d.ts +6 -21
  118. package/dist-types/commands/GetFindingsReportStatusCommand.d.ts +6 -21
  119. package/dist-types/commands/GetMemberCommand.d.ts +6 -21
  120. package/dist-types/commands/GetSbomExportCommand.d.ts +6 -21
  121. package/dist-types/commands/ListAccountPermissionsCommand.d.ts +6 -21
  122. package/dist-types/commands/ListCoverageCommand.d.ts +6 -21
  123. package/dist-types/commands/ListCoverageStatisticsCommand.d.ts +6 -21
  124. package/dist-types/commands/ListDelegatedAdminAccountsCommand.d.ts +6 -21
  125. package/dist-types/commands/ListFiltersCommand.d.ts +6 -21
  126. package/dist-types/commands/ListFindingAggregationsCommand.d.ts +6 -21
  127. package/dist-types/commands/ListFindingsCommand.d.ts +6 -21
  128. package/dist-types/commands/ListMembersCommand.d.ts +6 -21
  129. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
  130. package/dist-types/commands/ListUsageTotalsCommand.d.ts +6 -21
  131. package/dist-types/commands/ResetEncryptionKeyCommand.d.ts +6 -21
  132. package/dist-types/commands/SearchVulnerabilitiesCommand.d.ts +6 -21
  133. package/dist-types/commands/TagResourceCommand.d.ts +6 -21
  134. package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
  135. package/dist-types/commands/UpdateConfigurationCommand.d.ts +6 -21
  136. package/dist-types/commands/UpdateEc2DeepInspectionConfigurationCommand.d.ts +6 -21
  137. package/dist-types/commands/UpdateEncryptionKeyCommand.d.ts +6 -21
  138. package/dist-types/commands/UpdateFilterCommand.d.ts +6 -21
  139. package/dist-types/commands/UpdateOrgEc2DeepInspectionConfigurationCommand.d.ts +6 -21
  140. package/dist-types/commands/UpdateOrganizationConfigurationCommand.d.ts +6 -21
  141. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  142. package/dist-types/ts3.4/commands/AssociateMemberCommand.d.ts +14 -23
  143. package/dist-types/ts3.4/commands/BatchGetAccountStatusCommand.d.ts +12 -24
  144. package/dist-types/ts3.4/commands/BatchGetCodeSnippetCommand.d.ts +14 -23
  145. package/dist-types/ts3.4/commands/BatchGetFindingDetailsCommand.d.ts +12 -24
  146. package/dist-types/ts3.4/commands/BatchGetFreeTrialInfoCommand.d.ts +12 -24
  147. package/dist-types/ts3.4/commands/BatchGetMemberEc2DeepInspectionStatusCommand.d.ts +12 -24
  148. package/dist-types/ts3.4/commands/BatchUpdateMemberEc2DeepInspectionStatusCommand.d.ts +12 -24
  149. package/dist-types/ts3.4/commands/CancelFindingsReportCommand.d.ts +12 -24
  150. package/dist-types/ts3.4/commands/CancelSbomExportCommand.d.ts +14 -23
  151. package/dist-types/ts3.4/commands/CreateFilterCommand.d.ts +14 -23
  152. package/dist-types/ts3.4/commands/CreateFindingsReportCommand.d.ts +12 -24
  153. package/dist-types/ts3.4/commands/CreateSbomExportCommand.d.ts +14 -23
  154. package/dist-types/ts3.4/commands/DeleteFilterCommand.d.ts +14 -23
  155. package/dist-types/ts3.4/commands/DescribeOrganizationConfigurationCommand.d.ts +12 -24
  156. package/dist-types/ts3.4/commands/DisableCommand.d.ts +12 -23
  157. package/dist-types/ts3.4/commands/DisableDelegatedAdminAccountCommand.d.ts +12 -24
  158. package/dist-types/ts3.4/commands/DisassociateMemberCommand.d.ts +14 -23
  159. package/dist-types/ts3.4/commands/EnableCommand.d.ts +12 -23
  160. package/dist-types/ts3.4/commands/EnableDelegatedAdminAccountCommand.d.ts +12 -24
  161. package/dist-types/ts3.4/commands/GetConfigurationCommand.d.ts +14 -23
  162. package/dist-types/ts3.4/commands/GetDelegatedAdminAccountCommand.d.ts +12 -24
  163. package/dist-types/ts3.4/commands/GetEc2DeepInspectionConfigurationCommand.d.ts +12 -24
  164. package/dist-types/ts3.4/commands/GetEncryptionKeyCommand.d.ts +14 -23
  165. package/dist-types/ts3.4/commands/GetFindingsReportStatusCommand.d.ts +12 -24
  166. package/dist-types/ts3.4/commands/GetMemberCommand.d.ts +14 -23
  167. package/dist-types/ts3.4/commands/GetSbomExportCommand.d.ts +14 -23
  168. package/dist-types/ts3.4/commands/ListAccountPermissionsCommand.d.ts +12 -24
  169. package/dist-types/ts3.4/commands/ListCoverageCommand.d.ts +14 -23
  170. package/dist-types/ts3.4/commands/ListCoverageStatisticsCommand.d.ts +12 -24
  171. package/dist-types/ts3.4/commands/ListDelegatedAdminAccountsCommand.d.ts +12 -24
  172. package/dist-types/ts3.4/commands/ListFiltersCommand.d.ts +14 -23
  173. package/dist-types/ts3.4/commands/ListFindingAggregationsCommand.d.ts +12 -24
  174. package/dist-types/ts3.4/commands/ListFindingsCommand.d.ts +14 -23
  175. package/dist-types/ts3.4/commands/ListMembersCommand.d.ts +14 -23
  176. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
  177. package/dist-types/ts3.4/commands/ListUsageTotalsCommand.d.ts +14 -23
  178. package/dist-types/ts3.4/commands/ResetEncryptionKeyCommand.d.ts +14 -23
  179. package/dist-types/ts3.4/commands/SearchVulnerabilitiesCommand.d.ts +12 -24
  180. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
  181. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
  182. package/dist-types/ts3.4/commands/UpdateConfigurationCommand.d.ts +14 -23
  183. package/dist-types/ts3.4/commands/UpdateEc2DeepInspectionConfigurationCommand.d.ts +12 -24
  184. package/dist-types/ts3.4/commands/UpdateEncryptionKeyCommand.d.ts +14 -23
  185. package/dist-types/ts3.4/commands/UpdateFilterCommand.d.ts +14 -23
  186. package/dist-types/ts3.4/commands/UpdateOrgEc2DeepInspectionConfigurationCommand.d.ts +12 -24
  187. package/dist-types/ts3.4/commands/UpdateOrganizationConfigurationCommand.d.ts +12 -24
  188. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  189. package/package.json +9 -9
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class UpdateOrganizationConfigurationCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateOrganizationConfigurationCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "Inspector2Client";
29
- const commandName = "UpdateOrganizationConfigurationCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "Inspector2",
38
- operation: "UpdateOrganizationConfiguration",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_restJson1_1.se_UpdateOrganizationConfigurationCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_UpdateOrganizationConfigurationCommand)(output, context);
49
- }
10
+ class UpdateOrganizationConfigurationCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("Inspector2", "UpdateOrganizationConfiguration", {})
22
+ .n("Inspector2Client", "UpdateOrganizationConfigurationCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_UpdateOrganizationConfigurationCommand)
25
+ .de(Aws_restJson1_1.de_UpdateOrganizationConfigurationCommand)
26
+ .build() {
50
27
  }
51
28
  exports.UpdateOrganizationConfigurationCommand = UpdateOrganizationConfigurationCommand;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.resolveClientEndpointParameters = void 0;
3
+ exports.commonParams = exports.resolveClientEndpointParameters = void 0;
4
4
  const resolveClientEndpointParameters = (options) => {
5
5
  return {
6
6
  ...options,
@@ -10,3 +10,9 @@ const resolveClientEndpointParameters = (options) => {
10
10
  };
11
11
  };
12
12
  exports.resolveClientEndpointParameters = resolveClientEndpointParameters;
13
+ exports.commonParams = {
14
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
15
+ Endpoint: { type: "builtInParams", name: "endpoint" },
16
+ Region: { type: "builtInParams", name: "region" },
17
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
18
+ };
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_AssociateMemberCommand, se_AssociateMemberCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class AssociateMemberCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, AssociateMemberCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "Inspector2Client";
26
- const commandName = "AssociateMemberCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "Inspector2",
35
- operation: "AssociateMember",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_AssociateMemberCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_AssociateMemberCommand(output, context);
46
- }
7
+ export class AssociateMemberCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("Inspector2", "AssociateMember", {})
19
+ .n("Inspector2Client", "AssociateMemberCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_AssociateMemberCommand)
22
+ .de(de_AssociateMemberCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_BatchGetAccountStatusCommand, se_BatchGetAccountStatusCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class BatchGetAccountStatusCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, BatchGetAccountStatusCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "Inspector2Client";
26
- const commandName = "BatchGetAccountStatusCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "Inspector2",
35
- operation: "BatchGetAccountStatus",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_BatchGetAccountStatusCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_BatchGetAccountStatusCommand(output, context);
46
- }
7
+ export class BatchGetAccountStatusCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("Inspector2", "BatchGetAccountStatus", {})
19
+ .n("Inspector2Client", "BatchGetAccountStatusCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_BatchGetAccountStatusCommand)
22
+ .de(de_BatchGetAccountStatusCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_BatchGetCodeSnippetCommand, se_BatchGetCodeSnippetCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class BatchGetCodeSnippetCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, BatchGetCodeSnippetCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "Inspector2Client";
26
- const commandName = "BatchGetCodeSnippetCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "Inspector2",
35
- operation: "BatchGetCodeSnippet",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_BatchGetCodeSnippetCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_BatchGetCodeSnippetCommand(output, context);
46
- }
7
+ export class BatchGetCodeSnippetCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("Inspector2", "BatchGetCodeSnippet", {})
19
+ .n("Inspector2Client", "BatchGetCodeSnippetCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_BatchGetCodeSnippetCommand)
22
+ .de(de_BatchGetCodeSnippetCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_BatchGetFindingDetailsCommand, se_BatchGetFindingDetailsCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class BatchGetFindingDetailsCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, BatchGetFindingDetailsCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "Inspector2Client";
26
- const commandName = "BatchGetFindingDetailsCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "Inspector2",
35
- operation: "BatchGetFindingDetails",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_BatchGetFindingDetailsCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_BatchGetFindingDetailsCommand(output, context);
46
- }
7
+ export class BatchGetFindingDetailsCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("Inspector2", "BatchGetFindingDetails", {})
19
+ .n("Inspector2Client", "BatchGetFindingDetailsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_BatchGetFindingDetailsCommand)
22
+ .de(de_BatchGetFindingDetailsCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_BatchGetFreeTrialInfoCommand, se_BatchGetFreeTrialInfoCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class BatchGetFreeTrialInfoCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, BatchGetFreeTrialInfoCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "Inspector2Client";
26
- const commandName = "BatchGetFreeTrialInfoCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "Inspector2",
35
- operation: "BatchGetFreeTrialInfo",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_BatchGetFreeTrialInfoCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_BatchGetFreeTrialInfoCommand(output, context);
46
- }
7
+ export class BatchGetFreeTrialInfoCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("Inspector2", "BatchGetFreeTrialInfo", {})
19
+ .n("Inspector2Client", "BatchGetFreeTrialInfoCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_BatchGetFreeTrialInfoCommand)
22
+ .de(de_BatchGetFreeTrialInfoCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_BatchGetMemberEc2DeepInspectionStatusCommand, se_BatchGetMemberEc2DeepInspectionStatusCommand, } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class BatchGetMemberEc2DeepInspectionStatusCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, BatchGetMemberEc2DeepInspectionStatusCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "Inspector2Client";
26
- const commandName = "BatchGetMemberEc2DeepInspectionStatusCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "Inspector2",
35
- operation: "BatchGetMemberEc2DeepInspectionStatus",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_BatchGetMemberEc2DeepInspectionStatusCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_BatchGetMemberEc2DeepInspectionStatusCommand(output, context);
46
- }
7
+ export class BatchGetMemberEc2DeepInspectionStatusCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("Inspector2", "BatchGetMemberEc2DeepInspectionStatus", {})
19
+ .n("Inspector2Client", "BatchGetMemberEc2DeepInspectionStatusCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_BatchGetMemberEc2DeepInspectionStatusCommand)
22
+ .de(de_BatchGetMemberEc2DeepInspectionStatusCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_BatchUpdateMemberEc2DeepInspectionStatusCommand, se_BatchUpdateMemberEc2DeepInspectionStatusCommand, } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class BatchUpdateMemberEc2DeepInspectionStatusCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, BatchUpdateMemberEc2DeepInspectionStatusCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "Inspector2Client";
26
- const commandName = "BatchUpdateMemberEc2DeepInspectionStatusCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "Inspector2",
35
- operation: "BatchUpdateMemberEc2DeepInspectionStatus",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_BatchUpdateMemberEc2DeepInspectionStatusCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_BatchUpdateMemberEc2DeepInspectionStatusCommand(output, context);
46
- }
7
+ export class BatchUpdateMemberEc2DeepInspectionStatusCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("Inspector2", "BatchUpdateMemberEc2DeepInspectionStatus", {})
19
+ .n("Inspector2Client", "BatchUpdateMemberEc2DeepInspectionStatusCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_BatchUpdateMemberEc2DeepInspectionStatusCommand)
22
+ .de(de_BatchUpdateMemberEc2DeepInspectionStatusCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_CancelFindingsReportCommand, se_CancelFindingsReportCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class CancelFindingsReportCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, CancelFindingsReportCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "Inspector2Client";
26
- const commandName = "CancelFindingsReportCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "Inspector2",
35
- operation: "CancelFindingsReport",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_CancelFindingsReportCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_CancelFindingsReportCommand(output, context);
46
- }
7
+ export class CancelFindingsReportCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("Inspector2", "CancelFindingsReport", {})
19
+ .n("Inspector2Client", "CancelFindingsReportCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_CancelFindingsReportCommand)
22
+ .de(de_CancelFindingsReportCommand)
23
+ .build() {
47
24
  }