@aws-sdk/client-network-firewall 3.35.0 → 3.36.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 (231) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/dist-cjs/NetworkFirewall.js +0 -1
  3. package/dist-cjs/NetworkFirewallClient.js +0 -1
  4. package/dist-cjs/commands/AssociateFirewallPolicyCommand.js +0 -1
  5. package/dist-cjs/commands/AssociateSubnetsCommand.js +0 -1
  6. package/dist-cjs/commands/CreateFirewallCommand.js +0 -1
  7. package/dist-cjs/commands/CreateFirewallPolicyCommand.js +0 -1
  8. package/dist-cjs/commands/CreateRuleGroupCommand.js +0 -1
  9. package/dist-cjs/commands/DeleteFirewallCommand.js +0 -1
  10. package/dist-cjs/commands/DeleteFirewallPolicyCommand.js +0 -1
  11. package/dist-cjs/commands/DeleteResourcePolicyCommand.js +0 -1
  12. package/dist-cjs/commands/DeleteRuleGroupCommand.js +0 -1
  13. package/dist-cjs/commands/DescribeFirewallCommand.js +0 -1
  14. package/dist-cjs/commands/DescribeFirewallPolicyCommand.js +0 -1
  15. package/dist-cjs/commands/DescribeLoggingConfigurationCommand.js +0 -1
  16. package/dist-cjs/commands/DescribeResourcePolicyCommand.js +0 -1
  17. package/dist-cjs/commands/DescribeRuleGroupCommand.js +0 -1
  18. package/dist-cjs/commands/DisassociateSubnetsCommand.js +0 -1
  19. package/dist-cjs/commands/ListFirewallPoliciesCommand.js +0 -1
  20. package/dist-cjs/commands/ListFirewallsCommand.js +0 -1
  21. package/dist-cjs/commands/ListRuleGroupsCommand.js +0 -1
  22. package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -1
  23. package/dist-cjs/commands/PutResourcePolicyCommand.js +0 -1
  24. package/dist-cjs/commands/TagResourceCommand.js +0 -1
  25. package/dist-cjs/commands/UntagResourceCommand.js +0 -1
  26. package/dist-cjs/commands/UpdateFirewallDeleteProtectionCommand.js +0 -1
  27. package/dist-cjs/commands/UpdateFirewallDescriptionCommand.js +0 -1
  28. package/dist-cjs/commands/UpdateFirewallPolicyChangeProtectionCommand.js +0 -1
  29. package/dist-cjs/commands/UpdateFirewallPolicyCommand.js +0 -1
  30. package/dist-cjs/commands/UpdateLoggingConfigurationCommand.js +0 -1
  31. package/dist-cjs/commands/UpdateRuleGroupCommand.js +0 -1
  32. package/dist-cjs/commands/UpdateSubnetChangeProtectionCommand.js +0 -1
  33. package/dist-cjs/endpoints.js +0 -1
  34. package/dist-cjs/index.js +0 -1
  35. package/dist-cjs/models/index.js +0 -1
  36. package/dist-cjs/models/models_0.js +0 -1
  37. package/dist-cjs/pagination/Interfaces.js +0 -1
  38. package/dist-cjs/pagination/ListFirewallPoliciesPaginator.js +0 -1
  39. package/dist-cjs/pagination/ListFirewallsPaginator.js +0 -1
  40. package/dist-cjs/pagination/ListRuleGroupsPaginator.js +0 -1
  41. package/dist-cjs/pagination/ListTagsForResourcePaginator.js +0 -1
  42. package/dist-cjs/protocols/Aws_json1_0.js +0 -1
  43. package/dist-cjs/runtimeConfig.browser.js +2 -3
  44. package/dist-cjs/runtimeConfig.js +3 -4
  45. package/dist-cjs/runtimeConfig.native.js +0 -1
  46. package/dist-cjs/runtimeConfig.shared.js +0 -1
  47. package/dist-es/NetworkFirewall.js +0 -1
  48. package/dist-es/NetworkFirewallClient.js +0 -1
  49. package/dist-es/commands/AssociateFirewallPolicyCommand.js +0 -1
  50. package/dist-es/commands/AssociateSubnetsCommand.js +0 -1
  51. package/dist-es/commands/CreateFirewallCommand.js +0 -1
  52. package/dist-es/commands/CreateFirewallPolicyCommand.js +0 -1
  53. package/dist-es/commands/CreateRuleGroupCommand.js +0 -1
  54. package/dist-es/commands/DeleteFirewallCommand.js +0 -1
  55. package/dist-es/commands/DeleteFirewallPolicyCommand.js +0 -1
  56. package/dist-es/commands/DeleteResourcePolicyCommand.js +0 -1
  57. package/dist-es/commands/DeleteRuleGroupCommand.js +0 -1
  58. package/dist-es/commands/DescribeFirewallCommand.js +0 -1
  59. package/dist-es/commands/DescribeFirewallPolicyCommand.js +0 -1
  60. package/dist-es/commands/DescribeLoggingConfigurationCommand.js +0 -1
  61. package/dist-es/commands/DescribeResourcePolicyCommand.js +0 -1
  62. package/dist-es/commands/DescribeRuleGroupCommand.js +0 -1
  63. package/dist-es/commands/DisassociateSubnetsCommand.js +0 -1
  64. package/dist-es/commands/ListFirewallPoliciesCommand.js +0 -1
  65. package/dist-es/commands/ListFirewallsCommand.js +0 -1
  66. package/dist-es/commands/ListRuleGroupsCommand.js +0 -1
  67. package/dist-es/commands/ListTagsForResourceCommand.js +0 -1
  68. package/dist-es/commands/PutResourcePolicyCommand.js +0 -1
  69. package/dist-es/commands/TagResourceCommand.js +0 -1
  70. package/dist-es/commands/UntagResourceCommand.js +0 -1
  71. package/dist-es/commands/UpdateFirewallDeleteProtectionCommand.js +0 -1
  72. package/dist-es/commands/UpdateFirewallDescriptionCommand.js +0 -1
  73. package/dist-es/commands/UpdateFirewallPolicyChangeProtectionCommand.js +0 -1
  74. package/dist-es/commands/UpdateFirewallPolicyCommand.js +0 -1
  75. package/dist-es/commands/UpdateLoggingConfigurationCommand.js +0 -1
  76. package/dist-es/commands/UpdateRuleGroupCommand.js +0 -1
  77. package/dist-es/commands/UpdateSubnetChangeProtectionCommand.js +0 -1
  78. package/dist-es/endpoints.js +0 -1
  79. package/dist-es/index.js +0 -1
  80. package/dist-es/models/index.js +0 -1
  81. package/dist-es/models/models_0.js +0 -1
  82. package/dist-es/pagination/Interfaces.js +0 -1
  83. package/dist-es/pagination/ListFirewallPoliciesPaginator.js +0 -1
  84. package/dist-es/pagination/ListFirewallsPaginator.js +0 -1
  85. package/dist-es/pagination/ListRuleGroupsPaginator.js +0 -1
  86. package/dist-es/pagination/ListTagsForResourcePaginator.js +0 -1
  87. package/dist-es/protocols/Aws_json1_0.js +0 -1
  88. package/dist-es/runtimeConfig.browser.js +1 -2
  89. package/dist-es/runtimeConfig.js +2 -3
  90. package/dist-es/runtimeConfig.native.js +0 -1
  91. package/dist-es/runtimeConfig.shared.js +0 -1
  92. package/package.json +33 -30
  93. package/dist-cjs/NetworkFirewall.js.map +0 -1
  94. package/dist-cjs/NetworkFirewallClient.js.map +0 -1
  95. package/dist-cjs/commands/AssociateFirewallPolicyCommand.js.map +0 -1
  96. package/dist-cjs/commands/AssociateSubnetsCommand.js.map +0 -1
  97. package/dist-cjs/commands/CreateFirewallCommand.js.map +0 -1
  98. package/dist-cjs/commands/CreateFirewallPolicyCommand.js.map +0 -1
  99. package/dist-cjs/commands/CreateRuleGroupCommand.js.map +0 -1
  100. package/dist-cjs/commands/DeleteFirewallCommand.js.map +0 -1
  101. package/dist-cjs/commands/DeleteFirewallPolicyCommand.js.map +0 -1
  102. package/dist-cjs/commands/DeleteResourcePolicyCommand.js.map +0 -1
  103. package/dist-cjs/commands/DeleteRuleGroupCommand.js.map +0 -1
  104. package/dist-cjs/commands/DescribeFirewallCommand.js.map +0 -1
  105. package/dist-cjs/commands/DescribeFirewallPolicyCommand.js.map +0 -1
  106. package/dist-cjs/commands/DescribeLoggingConfigurationCommand.js.map +0 -1
  107. package/dist-cjs/commands/DescribeResourcePolicyCommand.js.map +0 -1
  108. package/dist-cjs/commands/DescribeRuleGroupCommand.js.map +0 -1
  109. package/dist-cjs/commands/DisassociateSubnetsCommand.js.map +0 -1
  110. package/dist-cjs/commands/ListFirewallPoliciesCommand.js.map +0 -1
  111. package/dist-cjs/commands/ListFirewallsCommand.js.map +0 -1
  112. package/dist-cjs/commands/ListRuleGroupsCommand.js.map +0 -1
  113. package/dist-cjs/commands/ListTagsForResourceCommand.js.map +0 -1
  114. package/dist-cjs/commands/PutResourcePolicyCommand.js.map +0 -1
  115. package/dist-cjs/commands/TagResourceCommand.js.map +0 -1
  116. package/dist-cjs/commands/UntagResourceCommand.js.map +0 -1
  117. package/dist-cjs/commands/UpdateFirewallDeleteProtectionCommand.js.map +0 -1
  118. package/dist-cjs/commands/UpdateFirewallDescriptionCommand.js.map +0 -1
  119. package/dist-cjs/commands/UpdateFirewallPolicyChangeProtectionCommand.js.map +0 -1
  120. package/dist-cjs/commands/UpdateFirewallPolicyCommand.js.map +0 -1
  121. package/dist-cjs/commands/UpdateLoggingConfigurationCommand.js.map +0 -1
  122. package/dist-cjs/commands/UpdateRuleGroupCommand.js.map +0 -1
  123. package/dist-cjs/commands/UpdateSubnetChangeProtectionCommand.js.map +0 -1
  124. package/dist-cjs/endpoints.js.map +0 -1
  125. package/dist-cjs/index.js.map +0 -1
  126. package/dist-cjs/models/index.js.map +0 -1
  127. package/dist-cjs/models/models_0.js.map +0 -1
  128. package/dist-cjs/pagination/Interfaces.js.map +0 -1
  129. package/dist-cjs/pagination/ListFirewallPoliciesPaginator.js.map +0 -1
  130. package/dist-cjs/pagination/ListFirewallsPaginator.js.map +0 -1
  131. package/dist-cjs/pagination/ListRuleGroupsPaginator.js.map +0 -1
  132. package/dist-cjs/pagination/ListTagsForResourcePaginator.js.map +0 -1
  133. package/dist-cjs/protocols/Aws_json1_0.js.map +0 -1
  134. package/dist-cjs/runtimeConfig.browser.js.map +0 -1
  135. package/dist-cjs/runtimeConfig.js.map +0 -1
  136. package/dist-cjs/runtimeConfig.native.js.map +0 -1
  137. package/dist-cjs/runtimeConfig.shared.js.map +0 -1
  138. package/dist-es/NetworkFirewall.js.map +0 -1
  139. package/dist-es/NetworkFirewallClient.js.map +0 -1
  140. package/dist-es/commands/AssociateFirewallPolicyCommand.js.map +0 -1
  141. package/dist-es/commands/AssociateSubnetsCommand.js.map +0 -1
  142. package/dist-es/commands/CreateFirewallCommand.js.map +0 -1
  143. package/dist-es/commands/CreateFirewallPolicyCommand.js.map +0 -1
  144. package/dist-es/commands/CreateRuleGroupCommand.js.map +0 -1
  145. package/dist-es/commands/DeleteFirewallCommand.js.map +0 -1
  146. package/dist-es/commands/DeleteFirewallPolicyCommand.js.map +0 -1
  147. package/dist-es/commands/DeleteResourcePolicyCommand.js.map +0 -1
  148. package/dist-es/commands/DeleteRuleGroupCommand.js.map +0 -1
  149. package/dist-es/commands/DescribeFirewallCommand.js.map +0 -1
  150. package/dist-es/commands/DescribeFirewallPolicyCommand.js.map +0 -1
  151. package/dist-es/commands/DescribeLoggingConfigurationCommand.js.map +0 -1
  152. package/dist-es/commands/DescribeResourcePolicyCommand.js.map +0 -1
  153. package/dist-es/commands/DescribeRuleGroupCommand.js.map +0 -1
  154. package/dist-es/commands/DisassociateSubnetsCommand.js.map +0 -1
  155. package/dist-es/commands/ListFirewallPoliciesCommand.js.map +0 -1
  156. package/dist-es/commands/ListFirewallsCommand.js.map +0 -1
  157. package/dist-es/commands/ListRuleGroupsCommand.js.map +0 -1
  158. package/dist-es/commands/ListTagsForResourceCommand.js.map +0 -1
  159. package/dist-es/commands/PutResourcePolicyCommand.js.map +0 -1
  160. package/dist-es/commands/TagResourceCommand.js.map +0 -1
  161. package/dist-es/commands/UntagResourceCommand.js.map +0 -1
  162. package/dist-es/commands/UpdateFirewallDeleteProtectionCommand.js.map +0 -1
  163. package/dist-es/commands/UpdateFirewallDescriptionCommand.js.map +0 -1
  164. package/dist-es/commands/UpdateFirewallPolicyChangeProtectionCommand.js.map +0 -1
  165. package/dist-es/commands/UpdateFirewallPolicyCommand.js.map +0 -1
  166. package/dist-es/commands/UpdateLoggingConfigurationCommand.js.map +0 -1
  167. package/dist-es/commands/UpdateRuleGroupCommand.js.map +0 -1
  168. package/dist-es/commands/UpdateSubnetChangeProtectionCommand.js.map +0 -1
  169. package/dist-es/endpoints.js.map +0 -1
  170. package/dist-es/index.js.map +0 -1
  171. package/dist-es/models/index.js.map +0 -1
  172. package/dist-es/models/models_0.js.map +0 -1
  173. package/dist-es/pagination/Interfaces.js.map +0 -1
  174. package/dist-es/pagination/ListFirewallPoliciesPaginator.js.map +0 -1
  175. package/dist-es/pagination/ListFirewallsPaginator.js.map +0 -1
  176. package/dist-es/pagination/ListRuleGroupsPaginator.js.map +0 -1
  177. package/dist-es/pagination/ListTagsForResourcePaginator.js.map +0 -1
  178. package/dist-es/protocols/Aws_json1_0.js.map +0 -1
  179. package/dist-es/runtimeConfig.browser.js.map +0 -1
  180. package/dist-es/runtimeConfig.js.map +0 -1
  181. package/dist-es/runtimeConfig.native.js.map +0 -1
  182. package/dist-es/runtimeConfig.shared.js.map +0 -1
  183. package/jest.config.js +0 -4
  184. package/src/NetworkFirewall.ts +0 -1254
  185. package/src/NetworkFirewallClient.ts +0 -448
  186. package/src/commands/AssociateFirewallPolicyCommand.ts +0 -99
  187. package/src/commands/AssociateSubnetsCommand.ts +0 -100
  188. package/src/commands/CreateFirewallCommand.ts +0 -101
  189. package/src/commands/CreateFirewallPolicyCommand.ts +0 -98
  190. package/src/commands/CreateRuleGroupCommand.ts +0 -98
  191. package/src/commands/DeleteFirewallCommand.ts +0 -105
  192. package/src/commands/DeleteFirewallPolicyCommand.ts +0 -95
  193. package/src/commands/DeleteResourcePolicyCommand.ts +0 -95
  194. package/src/commands/DeleteRuleGroupCommand.ts +0 -95
  195. package/src/commands/DescribeFirewallCommand.ts +0 -95
  196. package/src/commands/DescribeFirewallPolicyCommand.ts +0 -95
  197. package/src/commands/DescribeLoggingConfigurationCommand.ts +0 -100
  198. package/src/commands/DescribeResourcePolicyCommand.ts +0 -95
  199. package/src/commands/DescribeRuleGroupCommand.ts +0 -95
  200. package/src/commands/DisassociateSubnetsCommand.ts +0 -98
  201. package/src/commands/ListFirewallPoliciesCommand.ts +0 -97
  202. package/src/commands/ListFirewallsCommand.ts +0 -98
  203. package/src/commands/ListRuleGroupsCommand.ts +0 -97
  204. package/src/commands/ListTagsForResourceCommand.ts +0 -101
  205. package/src/commands/PutResourcePolicyCommand.ts +0 -109
  206. package/src/commands/TagResourceCommand.ts +0 -100
  207. package/src/commands/UntagResourceCommand.ts +0 -101
  208. package/src/commands/UpdateFirewallDeleteProtectionCommand.ts +0 -106
  209. package/src/commands/UpdateFirewallDescriptionCommand.ts +0 -99
  210. package/src/commands/UpdateFirewallPolicyChangeProtectionCommand.ts +0 -106
  211. package/src/commands/UpdateFirewallPolicyCommand.ts +0 -95
  212. package/src/commands/UpdateLoggingConfigurationCommand.ts +0 -123
  213. package/src/commands/UpdateRuleGroupCommand.ts +0 -100
  214. package/src/commands/UpdateSubnetChangeProtectionCommand.ts +0 -100
  215. package/src/endpoints.ts +0 -91
  216. package/src/index.ts +0 -37
  217. package/src/models/index.ts +0 -1
  218. package/src/models/models_0.ts +0 -3567
  219. package/src/pagination/Interfaces.ts +0 -8
  220. package/src/pagination/ListFirewallPoliciesPaginator.ts +0 -59
  221. package/src/pagination/ListFirewallsPaginator.ts +0 -59
  222. package/src/pagination/ListRuleGroupsPaginator.ts +0 -59
  223. package/src/pagination/ListTagsForResourcePaginator.ts +0 -59
  224. package/src/protocols/Aws_json1_0.ts +0 -5479
  225. package/src/runtimeConfig.browser.ts +0 -41
  226. package/src/runtimeConfig.native.ts +0 -17
  227. package/src/runtimeConfig.shared.ts +0 -17
  228. package/src/runtimeConfig.ts +0 -46
  229. package/tsconfig.es.json +0 -10
  230. package/tsconfig.json +0 -33
  231. package/tsconfig.types.json +0 -9
@@ -1,95 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { DeleteRuleGroupRequest, DeleteRuleGroupResponse } from "../models/models_0";
15
- import { NetworkFirewallClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NetworkFirewallClient";
16
- import {
17
- deserializeAws_json1_0DeleteRuleGroupCommand,
18
- serializeAws_json1_0DeleteRuleGroupCommand,
19
- } from "../protocols/Aws_json1_0";
20
-
21
- export interface DeleteRuleGroupCommandInput extends DeleteRuleGroupRequest {}
22
- export interface DeleteRuleGroupCommandOutput extends DeleteRuleGroupResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Deletes the specified <a>RuleGroup</a>. </p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { NetworkFirewallClient, DeleteRuleGroupCommand } from "@aws-sdk/client-network-firewall"; // ES Modules import
30
- * // const { NetworkFirewallClient, DeleteRuleGroupCommand } = require("@aws-sdk/client-network-firewall"); // CommonJS import
31
- * const client = new NetworkFirewallClient(config);
32
- * const command = new DeleteRuleGroupCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link DeleteRuleGroupCommandInput} for command's `input` shape.
37
- * @see {@link DeleteRuleGroupCommandOutput} for command's `response` shape.
38
- * @see {@link NetworkFirewallClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class DeleteRuleGroupCommand extends $Command<
42
- DeleteRuleGroupCommandInput,
43
- DeleteRuleGroupCommandOutput,
44
- NetworkFirewallClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: DeleteRuleGroupCommandInput) {
50
- // Start section: command_constructor
51
- super();
52
- // End section: command_constructor
53
- }
54
-
55
- /**
56
- * @internal
57
- */
58
- resolveMiddleware(
59
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
60
- configuration: NetworkFirewallClientResolvedConfig,
61
- options?: __HttpHandlerOptions
62
- ): Handler<DeleteRuleGroupCommandInput, DeleteRuleGroupCommandOutput> {
63
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
64
-
65
- const stack = clientStack.concat(this.middlewareStack);
66
-
67
- const { logger } = configuration;
68
- const clientName = "NetworkFirewallClient";
69
- const commandName = "DeleteRuleGroupCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: DeleteRuleGroupRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: DeleteRuleGroupResponse.filterSensitiveLog,
76
- };
77
- const { requestHandler } = configuration;
78
- return stack.resolve(
79
- (request: FinalizeHandlerArguments<any>) =>
80
- requestHandler.handle(request.request as __HttpRequest, options || {}),
81
- handlerExecutionContext
82
- );
83
- }
84
-
85
- private serialize(input: DeleteRuleGroupCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_json1_0DeleteRuleGroupCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteRuleGroupCommandOutput> {
90
- return deserializeAws_json1_0DeleteRuleGroupCommand(output, context);
91
- }
92
-
93
- // Start section: command_body_extra
94
- // End section: command_body_extra
95
- }
@@ -1,95 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { DescribeFirewallRequest, DescribeFirewallResponse } from "../models/models_0";
15
- import { NetworkFirewallClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NetworkFirewallClient";
16
- import {
17
- deserializeAws_json1_0DescribeFirewallCommand,
18
- serializeAws_json1_0DescribeFirewallCommand,
19
- } from "../protocols/Aws_json1_0";
20
-
21
- export interface DescribeFirewallCommandInput extends DescribeFirewallRequest {}
22
- export interface DescribeFirewallCommandOutput extends DescribeFirewallResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Returns the data objects for the specified firewall. </p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { NetworkFirewallClient, DescribeFirewallCommand } from "@aws-sdk/client-network-firewall"; // ES Modules import
30
- * // const { NetworkFirewallClient, DescribeFirewallCommand } = require("@aws-sdk/client-network-firewall"); // CommonJS import
31
- * const client = new NetworkFirewallClient(config);
32
- * const command = new DescribeFirewallCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link DescribeFirewallCommandInput} for command's `input` shape.
37
- * @see {@link DescribeFirewallCommandOutput} for command's `response` shape.
38
- * @see {@link NetworkFirewallClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class DescribeFirewallCommand extends $Command<
42
- DescribeFirewallCommandInput,
43
- DescribeFirewallCommandOutput,
44
- NetworkFirewallClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: DescribeFirewallCommandInput) {
50
- // Start section: command_constructor
51
- super();
52
- // End section: command_constructor
53
- }
54
-
55
- /**
56
- * @internal
57
- */
58
- resolveMiddleware(
59
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
60
- configuration: NetworkFirewallClientResolvedConfig,
61
- options?: __HttpHandlerOptions
62
- ): Handler<DescribeFirewallCommandInput, DescribeFirewallCommandOutput> {
63
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
64
-
65
- const stack = clientStack.concat(this.middlewareStack);
66
-
67
- const { logger } = configuration;
68
- const clientName = "NetworkFirewallClient";
69
- const commandName = "DescribeFirewallCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: DescribeFirewallRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: DescribeFirewallResponse.filterSensitiveLog,
76
- };
77
- const { requestHandler } = configuration;
78
- return stack.resolve(
79
- (request: FinalizeHandlerArguments<any>) =>
80
- requestHandler.handle(request.request as __HttpRequest, options || {}),
81
- handlerExecutionContext
82
- );
83
- }
84
-
85
- private serialize(input: DescribeFirewallCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_json1_0DescribeFirewallCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DescribeFirewallCommandOutput> {
90
- return deserializeAws_json1_0DescribeFirewallCommand(output, context);
91
- }
92
-
93
- // Start section: command_body_extra
94
- // End section: command_body_extra
95
- }
@@ -1,95 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { DescribeFirewallPolicyRequest, DescribeFirewallPolicyResponse } from "../models/models_0";
15
- import { NetworkFirewallClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NetworkFirewallClient";
16
- import {
17
- deserializeAws_json1_0DescribeFirewallPolicyCommand,
18
- serializeAws_json1_0DescribeFirewallPolicyCommand,
19
- } from "../protocols/Aws_json1_0";
20
-
21
- export interface DescribeFirewallPolicyCommandInput extends DescribeFirewallPolicyRequest {}
22
- export interface DescribeFirewallPolicyCommandOutput extends DescribeFirewallPolicyResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Returns the data objects for the specified firewall policy. </p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { NetworkFirewallClient, DescribeFirewallPolicyCommand } from "@aws-sdk/client-network-firewall"; // ES Modules import
30
- * // const { NetworkFirewallClient, DescribeFirewallPolicyCommand } = require("@aws-sdk/client-network-firewall"); // CommonJS import
31
- * const client = new NetworkFirewallClient(config);
32
- * const command = new DescribeFirewallPolicyCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link DescribeFirewallPolicyCommandInput} for command's `input` shape.
37
- * @see {@link DescribeFirewallPolicyCommandOutput} for command's `response` shape.
38
- * @see {@link NetworkFirewallClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class DescribeFirewallPolicyCommand extends $Command<
42
- DescribeFirewallPolicyCommandInput,
43
- DescribeFirewallPolicyCommandOutput,
44
- NetworkFirewallClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: DescribeFirewallPolicyCommandInput) {
50
- // Start section: command_constructor
51
- super();
52
- // End section: command_constructor
53
- }
54
-
55
- /**
56
- * @internal
57
- */
58
- resolveMiddleware(
59
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
60
- configuration: NetworkFirewallClientResolvedConfig,
61
- options?: __HttpHandlerOptions
62
- ): Handler<DescribeFirewallPolicyCommandInput, DescribeFirewallPolicyCommandOutput> {
63
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
64
-
65
- const stack = clientStack.concat(this.middlewareStack);
66
-
67
- const { logger } = configuration;
68
- const clientName = "NetworkFirewallClient";
69
- const commandName = "DescribeFirewallPolicyCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: DescribeFirewallPolicyRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: DescribeFirewallPolicyResponse.filterSensitiveLog,
76
- };
77
- const { requestHandler } = configuration;
78
- return stack.resolve(
79
- (request: FinalizeHandlerArguments<any>) =>
80
- requestHandler.handle(request.request as __HttpRequest, options || {}),
81
- handlerExecutionContext
82
- );
83
- }
84
-
85
- private serialize(input: DescribeFirewallPolicyCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_json1_0DescribeFirewallPolicyCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DescribeFirewallPolicyCommandOutput> {
90
- return deserializeAws_json1_0DescribeFirewallPolicyCommand(output, context);
91
- }
92
-
93
- // Start section: command_body_extra
94
- // End section: command_body_extra
95
- }
@@ -1,100 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { DescribeLoggingConfigurationRequest, DescribeLoggingConfigurationResponse } from "../models/models_0";
15
- import { NetworkFirewallClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NetworkFirewallClient";
16
- import {
17
- deserializeAws_json1_0DescribeLoggingConfigurationCommand,
18
- serializeAws_json1_0DescribeLoggingConfigurationCommand,
19
- } from "../protocols/Aws_json1_0";
20
-
21
- export interface DescribeLoggingConfigurationCommandInput extends DescribeLoggingConfigurationRequest {}
22
- export interface DescribeLoggingConfigurationCommandOutput
23
- extends DescribeLoggingConfigurationResponse,
24
- __MetadataBearer {}
25
-
26
- /**
27
- * <p>Returns the logging configuration for the specified firewall. </p>
28
- * @example
29
- * Use a bare-bones client and the command you need to make an API call.
30
- * ```javascript
31
- * import { NetworkFirewallClient, DescribeLoggingConfigurationCommand } from "@aws-sdk/client-network-firewall"; // ES Modules import
32
- * // const { NetworkFirewallClient, DescribeLoggingConfigurationCommand } = require("@aws-sdk/client-network-firewall"); // CommonJS import
33
- * const client = new NetworkFirewallClient(config);
34
- * const command = new DescribeLoggingConfigurationCommand(input);
35
- * const response = await client.send(command);
36
- * ```
37
- *
38
- * @see {@link DescribeLoggingConfigurationCommandInput} for command's `input` shape.
39
- * @see {@link DescribeLoggingConfigurationCommandOutput} for command's `response` shape.
40
- * @see {@link NetworkFirewallClientResolvedConfig | config} for command's `input` shape.
41
- *
42
- */
43
- export class DescribeLoggingConfigurationCommand extends $Command<
44
- DescribeLoggingConfigurationCommandInput,
45
- DescribeLoggingConfigurationCommandOutput,
46
- NetworkFirewallClientResolvedConfig
47
- > {
48
- // Start section: command_properties
49
- // End section: command_properties
50
-
51
- constructor(readonly input: DescribeLoggingConfigurationCommandInput) {
52
- // Start section: command_constructor
53
- super();
54
- // End section: command_constructor
55
- }
56
-
57
- /**
58
- * @internal
59
- */
60
- resolveMiddleware(
61
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
62
- configuration: NetworkFirewallClientResolvedConfig,
63
- options?: __HttpHandlerOptions
64
- ): Handler<DescribeLoggingConfigurationCommandInput, DescribeLoggingConfigurationCommandOutput> {
65
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
66
-
67
- const stack = clientStack.concat(this.middlewareStack);
68
-
69
- const { logger } = configuration;
70
- const clientName = "NetworkFirewallClient";
71
- const commandName = "DescribeLoggingConfigurationCommand";
72
- const handlerExecutionContext: HandlerExecutionContext = {
73
- logger,
74
- clientName,
75
- commandName,
76
- inputFilterSensitiveLog: DescribeLoggingConfigurationRequest.filterSensitiveLog,
77
- outputFilterSensitiveLog: DescribeLoggingConfigurationResponse.filterSensitiveLog,
78
- };
79
- const { requestHandler } = configuration;
80
- return stack.resolve(
81
- (request: FinalizeHandlerArguments<any>) =>
82
- requestHandler.handle(request.request as __HttpRequest, options || {}),
83
- handlerExecutionContext
84
- );
85
- }
86
-
87
- private serialize(input: DescribeLoggingConfigurationCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
88
- return serializeAws_json1_0DescribeLoggingConfigurationCommand(input, context);
89
- }
90
-
91
- private deserialize(
92
- output: __HttpResponse,
93
- context: __SerdeContext
94
- ): Promise<DescribeLoggingConfigurationCommandOutput> {
95
- return deserializeAws_json1_0DescribeLoggingConfigurationCommand(output, context);
96
- }
97
-
98
- // Start section: command_body_extra
99
- // End section: command_body_extra
100
- }
@@ -1,95 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { DescribeResourcePolicyRequest, DescribeResourcePolicyResponse } from "../models/models_0";
15
- import { NetworkFirewallClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NetworkFirewallClient";
16
- import {
17
- deserializeAws_json1_0DescribeResourcePolicyCommand,
18
- serializeAws_json1_0DescribeResourcePolicyCommand,
19
- } from "../protocols/Aws_json1_0";
20
-
21
- export interface DescribeResourcePolicyCommandInput extends DescribeResourcePolicyRequest {}
22
- export interface DescribeResourcePolicyCommandOutput extends DescribeResourcePolicyResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Retrieves a resource policy that you created in a <a>PutResourcePolicy</a> request. </p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { NetworkFirewallClient, DescribeResourcePolicyCommand } from "@aws-sdk/client-network-firewall"; // ES Modules import
30
- * // const { NetworkFirewallClient, DescribeResourcePolicyCommand } = require("@aws-sdk/client-network-firewall"); // CommonJS import
31
- * const client = new NetworkFirewallClient(config);
32
- * const command = new DescribeResourcePolicyCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link DescribeResourcePolicyCommandInput} for command's `input` shape.
37
- * @see {@link DescribeResourcePolicyCommandOutput} for command's `response` shape.
38
- * @see {@link NetworkFirewallClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class DescribeResourcePolicyCommand extends $Command<
42
- DescribeResourcePolicyCommandInput,
43
- DescribeResourcePolicyCommandOutput,
44
- NetworkFirewallClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: DescribeResourcePolicyCommandInput) {
50
- // Start section: command_constructor
51
- super();
52
- // End section: command_constructor
53
- }
54
-
55
- /**
56
- * @internal
57
- */
58
- resolveMiddleware(
59
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
60
- configuration: NetworkFirewallClientResolvedConfig,
61
- options?: __HttpHandlerOptions
62
- ): Handler<DescribeResourcePolicyCommandInput, DescribeResourcePolicyCommandOutput> {
63
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
64
-
65
- const stack = clientStack.concat(this.middlewareStack);
66
-
67
- const { logger } = configuration;
68
- const clientName = "NetworkFirewallClient";
69
- const commandName = "DescribeResourcePolicyCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: DescribeResourcePolicyRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: DescribeResourcePolicyResponse.filterSensitiveLog,
76
- };
77
- const { requestHandler } = configuration;
78
- return stack.resolve(
79
- (request: FinalizeHandlerArguments<any>) =>
80
- requestHandler.handle(request.request as __HttpRequest, options || {}),
81
- handlerExecutionContext
82
- );
83
- }
84
-
85
- private serialize(input: DescribeResourcePolicyCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_json1_0DescribeResourcePolicyCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DescribeResourcePolicyCommandOutput> {
90
- return deserializeAws_json1_0DescribeResourcePolicyCommand(output, context);
91
- }
92
-
93
- // Start section: command_body_extra
94
- // End section: command_body_extra
95
- }
@@ -1,95 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { DescribeRuleGroupRequest, DescribeRuleGroupResponse } from "../models/models_0";
15
- import { NetworkFirewallClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NetworkFirewallClient";
16
- import {
17
- deserializeAws_json1_0DescribeRuleGroupCommand,
18
- serializeAws_json1_0DescribeRuleGroupCommand,
19
- } from "../protocols/Aws_json1_0";
20
-
21
- export interface DescribeRuleGroupCommandInput extends DescribeRuleGroupRequest {}
22
- export interface DescribeRuleGroupCommandOutput extends DescribeRuleGroupResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Returns the data objects for the specified rule group. </p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { NetworkFirewallClient, DescribeRuleGroupCommand } from "@aws-sdk/client-network-firewall"; // ES Modules import
30
- * // const { NetworkFirewallClient, DescribeRuleGroupCommand } = require("@aws-sdk/client-network-firewall"); // CommonJS import
31
- * const client = new NetworkFirewallClient(config);
32
- * const command = new DescribeRuleGroupCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link DescribeRuleGroupCommandInput} for command's `input` shape.
37
- * @see {@link DescribeRuleGroupCommandOutput} for command's `response` shape.
38
- * @see {@link NetworkFirewallClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class DescribeRuleGroupCommand extends $Command<
42
- DescribeRuleGroupCommandInput,
43
- DescribeRuleGroupCommandOutput,
44
- NetworkFirewallClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: DescribeRuleGroupCommandInput) {
50
- // Start section: command_constructor
51
- super();
52
- // End section: command_constructor
53
- }
54
-
55
- /**
56
- * @internal
57
- */
58
- resolveMiddleware(
59
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
60
- configuration: NetworkFirewallClientResolvedConfig,
61
- options?: __HttpHandlerOptions
62
- ): Handler<DescribeRuleGroupCommandInput, DescribeRuleGroupCommandOutput> {
63
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
64
-
65
- const stack = clientStack.concat(this.middlewareStack);
66
-
67
- const { logger } = configuration;
68
- const clientName = "NetworkFirewallClient";
69
- const commandName = "DescribeRuleGroupCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: DescribeRuleGroupRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: DescribeRuleGroupResponse.filterSensitiveLog,
76
- };
77
- const { requestHandler } = configuration;
78
- return stack.resolve(
79
- (request: FinalizeHandlerArguments<any>) =>
80
- requestHandler.handle(request.request as __HttpRequest, options || {}),
81
- handlerExecutionContext
82
- );
83
- }
84
-
85
- private serialize(input: DescribeRuleGroupCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_json1_0DescribeRuleGroupCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DescribeRuleGroupCommandOutput> {
90
- return deserializeAws_json1_0DescribeRuleGroupCommand(output, context);
91
- }
92
-
93
- // Start section: command_body_extra
94
- // End section: command_body_extra
95
- }
@@ -1,98 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { DisassociateSubnetsRequest, DisassociateSubnetsResponse } from "../models/models_0";
15
- import { NetworkFirewallClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NetworkFirewallClient";
16
- import {
17
- deserializeAws_json1_0DisassociateSubnetsCommand,
18
- serializeAws_json1_0DisassociateSubnetsCommand,
19
- } from "../protocols/Aws_json1_0";
20
-
21
- export interface DisassociateSubnetsCommandInput extends DisassociateSubnetsRequest {}
22
- export interface DisassociateSubnetsCommandOutput extends DisassociateSubnetsResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Removes the specified subnet associations from the firewall. This removes the
26
- * firewall endpoints from the subnets and removes any network filtering protections that the endpoints
27
- * were providing.
28
- * </p>
29
- * @example
30
- * Use a bare-bones client and the command you need to make an API call.
31
- * ```javascript
32
- * import { NetworkFirewallClient, DisassociateSubnetsCommand } from "@aws-sdk/client-network-firewall"; // ES Modules import
33
- * // const { NetworkFirewallClient, DisassociateSubnetsCommand } = require("@aws-sdk/client-network-firewall"); // CommonJS import
34
- * const client = new NetworkFirewallClient(config);
35
- * const command = new DisassociateSubnetsCommand(input);
36
- * const response = await client.send(command);
37
- * ```
38
- *
39
- * @see {@link DisassociateSubnetsCommandInput} for command's `input` shape.
40
- * @see {@link DisassociateSubnetsCommandOutput} for command's `response` shape.
41
- * @see {@link NetworkFirewallClientResolvedConfig | config} for command's `input` shape.
42
- *
43
- */
44
- export class DisassociateSubnetsCommand extends $Command<
45
- DisassociateSubnetsCommandInput,
46
- DisassociateSubnetsCommandOutput,
47
- NetworkFirewallClientResolvedConfig
48
- > {
49
- // Start section: command_properties
50
- // End section: command_properties
51
-
52
- constructor(readonly input: DisassociateSubnetsCommandInput) {
53
- // Start section: command_constructor
54
- super();
55
- // End section: command_constructor
56
- }
57
-
58
- /**
59
- * @internal
60
- */
61
- resolveMiddleware(
62
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
63
- configuration: NetworkFirewallClientResolvedConfig,
64
- options?: __HttpHandlerOptions
65
- ): Handler<DisassociateSubnetsCommandInput, DisassociateSubnetsCommandOutput> {
66
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
67
-
68
- const stack = clientStack.concat(this.middlewareStack);
69
-
70
- const { logger } = configuration;
71
- const clientName = "NetworkFirewallClient";
72
- const commandName = "DisassociateSubnetsCommand";
73
- const handlerExecutionContext: HandlerExecutionContext = {
74
- logger,
75
- clientName,
76
- commandName,
77
- inputFilterSensitiveLog: DisassociateSubnetsRequest.filterSensitiveLog,
78
- outputFilterSensitiveLog: DisassociateSubnetsResponse.filterSensitiveLog,
79
- };
80
- const { requestHandler } = configuration;
81
- return stack.resolve(
82
- (request: FinalizeHandlerArguments<any>) =>
83
- requestHandler.handle(request.request as __HttpRequest, options || {}),
84
- handlerExecutionContext
85
- );
86
- }
87
-
88
- private serialize(input: DisassociateSubnetsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
89
- return serializeAws_json1_0DisassociateSubnetsCommand(input, context);
90
- }
91
-
92
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DisassociateSubnetsCommandOutput> {
93
- return deserializeAws_json1_0DisassociateSubnetsCommand(output, context);
94
- }
95
-
96
- // Start section: command_body_extra
97
- // End section: command_body_extra
98
- }