@aws-sdk/client-network-firewall 3.32.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 (329) hide show
  1. package/CHANGELOG.md +44 -0
  2. package/README.md +2 -1
  3. package/{dist/cjs → dist-cjs}/NetworkFirewall.js +3 -3
  4. package/{dist/cjs → dist-cjs}/NetworkFirewallClient.js +10 -10
  5. package/{dist/cjs → dist-cjs}/commands/AssociateFirewallPolicyCommand.js +2 -3
  6. package/{dist/cjs → dist-cjs}/commands/AssociateSubnetsCommand.js +2 -3
  7. package/{dist/cjs → dist-cjs}/commands/CreateFirewallCommand.js +2 -3
  8. package/{dist/cjs → dist-cjs}/commands/CreateFirewallPolicyCommand.js +2 -3
  9. package/{dist/cjs → dist-cjs}/commands/CreateRuleGroupCommand.js +2 -3
  10. package/{dist/cjs → dist-cjs}/commands/DeleteFirewallCommand.js +4 -4
  11. package/{dist/cjs → dist-cjs}/commands/DeleteFirewallPolicyCommand.js +2 -3
  12. package/{dist/cjs → dist-cjs}/commands/DeleteResourcePolicyCommand.js +2 -3
  13. package/{dist/cjs → dist-cjs}/commands/DeleteRuleGroupCommand.js +2 -3
  14. package/{dist/cjs → dist-cjs}/commands/DescribeFirewallCommand.js +2 -3
  15. package/{dist/cjs → dist-cjs}/commands/DescribeFirewallPolicyCommand.js +2 -3
  16. package/{dist/cjs → dist-cjs}/commands/DescribeLoggingConfigurationCommand.js +2 -3
  17. package/{dist/cjs → dist-cjs}/commands/DescribeResourcePolicyCommand.js +2 -3
  18. package/{dist/cjs → dist-cjs}/commands/DescribeRuleGroupCommand.js +2 -3
  19. package/{dist/cjs → dist-cjs}/commands/DisassociateSubnetsCommand.js +2 -3
  20. package/{dist/cjs → dist-cjs}/commands/ListFirewallPoliciesCommand.js +2 -3
  21. package/{dist/cjs → dist-cjs}/commands/ListFirewallsCommand.js +2 -3
  22. package/{dist/cjs → dist-cjs}/commands/ListRuleGroupsCommand.js +2 -3
  23. package/{dist/cjs → dist-cjs}/commands/ListTagsForResourceCommand.js +2 -3
  24. package/{dist/cjs → dist-cjs}/commands/PutResourcePolicyCommand.js +2 -3
  25. package/{dist/cjs → dist-cjs}/commands/TagResourceCommand.js +2 -3
  26. package/{dist/cjs → dist-cjs}/commands/UntagResourceCommand.js +2 -3
  27. package/{dist/cjs → dist-cjs}/commands/UpdateFirewallDeleteProtectionCommand.js +2 -3
  28. package/{dist/cjs → dist-cjs}/commands/UpdateFirewallDescriptionCommand.js +2 -3
  29. package/{dist/cjs → dist-cjs}/commands/UpdateFirewallPolicyChangeProtectionCommand.js +2 -3
  30. package/{dist/cjs → dist-cjs}/commands/UpdateFirewallPolicyCommand.js +2 -3
  31. package/{dist/cjs → dist-cjs}/commands/UpdateLoggingConfigurationCommand.js +2 -3
  32. package/{dist/cjs → dist-cjs}/commands/UpdateRuleGroupCommand.js +2 -3
  33. package/{dist/cjs → dist-cjs}/commands/UpdateSubnetChangeProtectionCommand.js +2 -3
  34. package/{dist/cjs → dist-cjs}/endpoints.js +0 -1
  35. package/{dist/cjs → dist-cjs}/index.js +0 -1
  36. package/{dist/cjs → dist-cjs}/models/index.js +0 -1
  37. package/{dist/cjs → dist-cjs}/models/models_0.js +35 -13
  38. package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -1
  39. package/{dist/cjs → dist-cjs}/pagination/ListFirewallPoliciesPaginator.js +1 -2
  40. package/{dist/cjs → dist-cjs}/pagination/ListFirewallsPaginator.js +1 -2
  41. package/{dist/cjs → dist-cjs}/pagination/ListRuleGroupsPaginator.js +1 -2
  42. package/{dist/cjs → dist-cjs}/pagination/ListTagsForResourcePaginator.js +1 -2
  43. package/{dist/cjs → dist-cjs}/protocols/Aws_json1_0.js +76 -1
  44. package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +2 -2
  45. package/{dist/cjs → dist-cjs}/runtimeConfig.js +2 -2
  46. package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -1
  47. package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -2
  48. package/{dist/es → dist-es}/NetworkFirewall.js +2 -82
  49. package/dist-es/NetworkFirewallClient.js +37 -0
  50. package/{dist/es → dist-es}/commands/AssociateFirewallPolicyCommand.js +4 -34
  51. package/{dist/es → dist-es}/commands/AssociateSubnetsCommand.js +4 -35
  52. package/dist-es/commands/CreateFirewallCommand.js +39 -0
  53. package/{dist/es → dist-es}/commands/CreateFirewallPolicyCommand.js +4 -33
  54. package/{dist/es → dist-es}/commands/CreateRuleGroupCommand.js +4 -33
  55. package/dist-es/commands/DeleteFirewallCommand.js +39 -0
  56. package/{dist/es → dist-es}/commands/DeleteFirewallPolicyCommand.js +4 -30
  57. package/{dist/es → dist-es}/commands/DeleteResourcePolicyCommand.js +4 -30
  58. package/{dist/es → dist-es}/commands/DeleteRuleGroupCommand.js +4 -30
  59. package/{dist/es → dist-es}/commands/DescribeFirewallCommand.js +4 -30
  60. package/{dist/es → dist-es}/commands/DescribeFirewallPolicyCommand.js +4 -30
  61. package/{dist/es → dist-es}/commands/DescribeLoggingConfigurationCommand.js +4 -30
  62. package/{dist/es → dist-es}/commands/DescribeResourcePolicyCommand.js +4 -30
  63. package/{dist/es → dist-es}/commands/DescribeRuleGroupCommand.js +4 -30
  64. package/{dist/es → dist-es}/commands/DisassociateSubnetsCommand.js +4 -33
  65. package/{dist/es → dist-es}/commands/ListFirewallPoliciesCommand.js +4 -32
  66. package/{dist/es → dist-es}/commands/ListFirewallsCommand.js +4 -33
  67. package/{dist/es → dist-es}/commands/ListRuleGroupsCommand.js +4 -32
  68. package/{dist/es → dist-es}/commands/ListTagsForResourceCommand.js +4 -36
  69. package/dist-es/commands/PutResourcePolicyCommand.js +39 -0
  70. package/{dist/es → dist-es}/commands/TagResourceCommand.js +4 -35
  71. package/{dist/es → dist-es}/commands/UntagResourceCommand.js +4 -36
  72. package/{dist/es → dist-es}/commands/UpdateFirewallDeleteProtectionCommand.js +4 -33
  73. package/{dist/es → dist-es}/commands/UpdateFirewallDescriptionCommand.js +4 -31
  74. package/{dist/es → dist-es}/commands/UpdateFirewallPolicyChangeProtectionCommand.js +4 -30
  75. package/{dist/es → dist-es}/commands/UpdateFirewallPolicyCommand.js +4 -30
  76. package/dist-es/commands/UpdateLoggingConfigurationCommand.js +39 -0
  77. package/{dist/es → dist-es}/commands/UpdateRuleGroupCommand.js +4 -35
  78. package/{dist/es → dist-es}/commands/UpdateSubnetChangeProtectionCommand.js +4 -30
  79. package/{dist/es → dist-es}/endpoints.js +1 -2
  80. package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
  81. package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
  82. package/{dist/es → dist-es}/models/models_0.js +17 -326
  83. package/dist-es/pagination/Interfaces.js +1 -0
  84. package/{dist/es → dist-es}/pagination/ListFirewallPoliciesPaginator.js +17 -30
  85. package/{dist/es → dist-es}/pagination/ListFirewallsPaginator.js +17 -30
  86. package/{dist/es → dist-es}/pagination/ListRuleGroupsPaginator.js +17 -30
  87. package/{dist/es → dist-es}/pagination/ListTagsForResourcePaginator.js +17 -30
  88. package/{dist/es → dist-es}/protocols/Aws_json1_0.js +845 -783
  89. package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -5
  90. package/{dist/es → dist-es}/runtimeConfig.js +1 -5
  91. package/{dist/es → dist-es}/runtimeConfig.native.js +0 -4
  92. package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -5
  93. package/{dist/types → dist-types}/NetworkFirewall.d.ts +6 -4
  94. package/{dist/types → dist-types}/NetworkFirewallClient.d.ts +10 -9
  95. package/{dist/types → dist-types}/commands/AssociateFirewallPolicyCommand.d.ts +3 -3
  96. package/{dist/types → dist-types}/commands/AssociateSubnetsCommand.d.ts +3 -3
  97. package/{dist/types → dist-types}/commands/CreateFirewallCommand.d.ts +3 -3
  98. package/{dist/types → dist-types}/commands/CreateFirewallPolicyCommand.d.ts +3 -3
  99. package/{dist/types → dist-types}/commands/CreateRuleGroupCommand.d.ts +3 -3
  100. package/{dist/types → dist-types}/commands/DeleteFirewallCommand.d.ts +5 -4
  101. package/{dist/types → dist-types}/commands/DeleteFirewallPolicyCommand.d.ts +3 -3
  102. package/{dist/types → dist-types}/commands/DeleteResourcePolicyCommand.d.ts +3 -3
  103. package/{dist/types → dist-types}/commands/DeleteRuleGroupCommand.d.ts +3 -3
  104. package/{dist/types → dist-types}/commands/DescribeFirewallCommand.d.ts +3 -3
  105. package/{dist/types → dist-types}/commands/DescribeFirewallPolicyCommand.d.ts +3 -3
  106. package/{dist/types → dist-types}/commands/DescribeLoggingConfigurationCommand.d.ts +3 -3
  107. package/{dist/types → dist-types}/commands/DescribeResourcePolicyCommand.d.ts +3 -3
  108. package/{dist/types → dist-types}/commands/DescribeRuleGroupCommand.d.ts +3 -3
  109. package/{dist/types → dist-types}/commands/DisassociateSubnetsCommand.d.ts +3 -3
  110. package/{dist/types → dist-types}/commands/ListFirewallPoliciesCommand.d.ts +3 -3
  111. package/{dist/types → dist-types}/commands/ListFirewallsCommand.d.ts +3 -3
  112. package/{dist/types → dist-types}/commands/ListRuleGroupsCommand.d.ts +3 -3
  113. package/{dist/types → dist-types}/commands/ListTagsForResourceCommand.d.ts +3 -3
  114. package/{dist/types → dist-types}/commands/PutResourcePolicyCommand.d.ts +3 -3
  115. package/{dist/types → dist-types}/commands/TagResourceCommand.d.ts +3 -3
  116. package/{dist/types → dist-types}/commands/UntagResourceCommand.d.ts +3 -3
  117. package/{dist/types → dist-types}/commands/UpdateFirewallDeleteProtectionCommand.d.ts +3 -3
  118. package/{dist/types → dist-types}/commands/UpdateFirewallDescriptionCommand.d.ts +3 -3
  119. package/{dist/types → dist-types}/commands/UpdateFirewallPolicyChangeProtectionCommand.d.ts +3 -3
  120. package/{dist/types → dist-types}/commands/UpdateFirewallPolicyCommand.d.ts +3 -3
  121. package/{dist/types → dist-types}/commands/UpdateLoggingConfigurationCommand.d.ts +3 -3
  122. package/{dist/types → dist-types}/commands/UpdateRuleGroupCommand.d.ts +3 -3
  123. package/{dist/types → dist-types}/commands/UpdateSubnetChangeProtectionCommand.d.ts +3 -3
  124. package/{dist/types → dist-types}/endpoints.d.ts +0 -0
  125. package/{index.ts → dist-types/index.d.ts} +0 -0
  126. package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
  127. package/{dist/types/ts3.4 → dist-types}/models/models_0.d.ts +2944 -2853
  128. package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
  129. package/{dist/types → dist-types}/pagination/ListFirewallPoliciesPaginator.d.ts +1 -1
  130. package/{dist/types → dist-types}/pagination/ListFirewallsPaginator.d.ts +1 -1
  131. package/{dist/types → dist-types}/pagination/ListRuleGroupsPaginator.d.ts +1 -1
  132. package/{dist/types → dist-types}/pagination/ListTagsForResourcePaginator.d.ts +1 -1
  133. package/{dist/types → dist-types}/protocols/Aws_json1_0.d.ts +2 -2
  134. package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +1 -0
  135. package/{dist/types/ts3.4 → dist-types}/runtimeConfig.d.ts +37 -36
  136. package/{dist/types → dist-types}/runtimeConfig.native.d.ts +1 -0
  137. package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
  138. package/{dist/types → dist-types}/ts3.4/NetworkFirewall.d.ts +6 -4
  139. package/{dist/types → dist-types}/ts3.4/NetworkFirewallClient.d.ts +10 -9
  140. package/{dist/types → dist-types}/ts3.4/commands/AssociateFirewallPolicyCommand.d.ts +3 -3
  141. package/{dist/types → dist-types}/ts3.4/commands/AssociateSubnetsCommand.d.ts +3 -3
  142. package/{dist/types → dist-types}/ts3.4/commands/CreateFirewallCommand.d.ts +3 -3
  143. package/{dist/types → dist-types}/ts3.4/commands/CreateFirewallPolicyCommand.d.ts +3 -3
  144. package/{dist/types → dist-types}/ts3.4/commands/CreateRuleGroupCommand.d.ts +3 -3
  145. package/{dist/types → dist-types}/ts3.4/commands/DeleteFirewallCommand.d.ts +5 -4
  146. package/{dist/types → dist-types}/ts3.4/commands/DeleteFirewallPolicyCommand.d.ts +3 -3
  147. package/{dist/types → dist-types}/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +3 -3
  148. package/{dist/types → dist-types}/ts3.4/commands/DeleteRuleGroupCommand.d.ts +3 -3
  149. package/{dist/types → dist-types}/ts3.4/commands/DescribeFirewallCommand.d.ts +3 -3
  150. package/{dist/types → dist-types}/ts3.4/commands/DescribeFirewallPolicyCommand.d.ts +3 -3
  151. package/{dist/types → dist-types}/ts3.4/commands/DescribeLoggingConfigurationCommand.d.ts +3 -3
  152. package/{dist/types → dist-types}/ts3.4/commands/DescribeResourcePolicyCommand.d.ts +3 -3
  153. package/{dist/types → dist-types}/ts3.4/commands/DescribeRuleGroupCommand.d.ts +3 -3
  154. package/{dist/types → dist-types}/ts3.4/commands/DisassociateSubnetsCommand.d.ts +3 -3
  155. package/{dist/types → dist-types}/ts3.4/commands/ListFirewallPoliciesCommand.d.ts +3 -3
  156. package/{dist/types → dist-types}/ts3.4/commands/ListFirewallsCommand.d.ts +3 -3
  157. package/{dist/types → dist-types}/ts3.4/commands/ListRuleGroupsCommand.d.ts +3 -3
  158. package/{dist/types → dist-types}/ts3.4/commands/ListTagsForResourceCommand.d.ts +3 -3
  159. package/{dist/types → dist-types}/ts3.4/commands/PutResourcePolicyCommand.d.ts +3 -3
  160. package/{dist/types → dist-types}/ts3.4/commands/TagResourceCommand.d.ts +3 -3
  161. package/{dist/types → dist-types}/ts3.4/commands/UntagResourceCommand.d.ts +3 -3
  162. package/{dist/types → dist-types}/ts3.4/commands/UpdateFirewallDeleteProtectionCommand.d.ts +3 -3
  163. package/{dist/types → dist-types}/ts3.4/commands/UpdateFirewallDescriptionCommand.d.ts +3 -3
  164. package/{dist/types → dist-types}/ts3.4/commands/UpdateFirewallPolicyChangeProtectionCommand.d.ts +3 -3
  165. package/{dist/types → dist-types}/ts3.4/commands/UpdateFirewallPolicyCommand.d.ts +3 -3
  166. package/{dist/types → dist-types}/ts3.4/commands/UpdateLoggingConfigurationCommand.d.ts +3 -3
  167. package/{dist/types → dist-types}/ts3.4/commands/UpdateRuleGroupCommand.d.ts +3 -3
  168. package/{dist/types → dist-types}/ts3.4/commands/UpdateSubnetChangeProtectionCommand.d.ts +3 -3
  169. package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
  170. package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
  171. package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
  172. package/{dist/types → dist-types/ts3.4}/models/models_0.d.ts +2944 -2853
  173. package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
  174. package/{dist/types → dist-types}/ts3.4/pagination/ListFirewallPoliciesPaginator.d.ts +1 -1
  175. package/{dist/types → dist-types}/ts3.4/pagination/ListFirewallsPaginator.d.ts +1 -1
  176. package/{dist/types → dist-types}/ts3.4/pagination/ListRuleGroupsPaginator.d.ts +1 -1
  177. package/{dist/types → dist-types}/ts3.4/pagination/ListTagsForResourcePaginator.d.ts +1 -1
  178. package/{dist/types → dist-types}/ts3.4/protocols/Aws_json1_0.d.ts +2 -2
  179. package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -0
  180. package/{dist/types → dist-types/ts3.4}/runtimeConfig.d.ts +37 -36
  181. package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -0
  182. package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +0 -0
  183. package/package.json +52 -49
  184. package/NetworkFirewall.ts +0 -1251
  185. package/NetworkFirewallClient.ts +0 -446
  186. package/commands/AssociateFirewallPolicyCommand.ts +0 -98
  187. package/commands/AssociateSubnetsCommand.ts +0 -99
  188. package/commands/CreateFirewallCommand.ts +0 -100
  189. package/commands/CreateFirewallPolicyCommand.ts +0 -97
  190. package/commands/CreateRuleGroupCommand.ts +0 -97
  191. package/commands/DeleteFirewallCommand.ts +0 -103
  192. package/commands/DeleteFirewallPolicyCommand.ts +0 -94
  193. package/commands/DeleteResourcePolicyCommand.ts +0 -94
  194. package/commands/DeleteRuleGroupCommand.ts +0 -94
  195. package/commands/DescribeFirewallCommand.ts +0 -94
  196. package/commands/DescribeFirewallPolicyCommand.ts +0 -94
  197. package/commands/DescribeLoggingConfigurationCommand.ts +0 -99
  198. package/commands/DescribeResourcePolicyCommand.ts +0 -94
  199. package/commands/DescribeRuleGroupCommand.ts +0 -94
  200. package/commands/DisassociateSubnetsCommand.ts +0 -97
  201. package/commands/ListFirewallPoliciesCommand.ts +0 -96
  202. package/commands/ListFirewallsCommand.ts +0 -97
  203. package/commands/ListRuleGroupsCommand.ts +0 -96
  204. package/commands/ListTagsForResourceCommand.ts +0 -100
  205. package/commands/PutResourcePolicyCommand.ts +0 -108
  206. package/commands/TagResourceCommand.ts +0 -99
  207. package/commands/UntagResourceCommand.ts +0 -100
  208. package/commands/UpdateFirewallDeleteProtectionCommand.ts +0 -105
  209. package/commands/UpdateFirewallDescriptionCommand.ts +0 -98
  210. package/commands/UpdateFirewallPolicyChangeProtectionCommand.ts +0 -105
  211. package/commands/UpdateFirewallPolicyCommand.ts +0 -94
  212. package/commands/UpdateLoggingConfigurationCommand.ts +0 -122
  213. package/commands/UpdateRuleGroupCommand.ts +0 -99
  214. package/commands/UpdateSubnetChangeProtectionCommand.ts +0 -99
  215. package/dist/cjs/NetworkFirewall.js.map +0 -1
  216. package/dist/cjs/NetworkFirewallClient.js.map +0 -1
  217. package/dist/cjs/commands/AssociateFirewallPolicyCommand.js.map +0 -1
  218. package/dist/cjs/commands/AssociateSubnetsCommand.js.map +0 -1
  219. package/dist/cjs/commands/CreateFirewallCommand.js.map +0 -1
  220. package/dist/cjs/commands/CreateFirewallPolicyCommand.js.map +0 -1
  221. package/dist/cjs/commands/CreateRuleGroupCommand.js.map +0 -1
  222. package/dist/cjs/commands/DeleteFirewallCommand.js.map +0 -1
  223. package/dist/cjs/commands/DeleteFirewallPolicyCommand.js.map +0 -1
  224. package/dist/cjs/commands/DeleteResourcePolicyCommand.js.map +0 -1
  225. package/dist/cjs/commands/DeleteRuleGroupCommand.js.map +0 -1
  226. package/dist/cjs/commands/DescribeFirewallCommand.js.map +0 -1
  227. package/dist/cjs/commands/DescribeFirewallPolicyCommand.js.map +0 -1
  228. package/dist/cjs/commands/DescribeLoggingConfigurationCommand.js.map +0 -1
  229. package/dist/cjs/commands/DescribeResourcePolicyCommand.js.map +0 -1
  230. package/dist/cjs/commands/DescribeRuleGroupCommand.js.map +0 -1
  231. package/dist/cjs/commands/DisassociateSubnetsCommand.js.map +0 -1
  232. package/dist/cjs/commands/ListFirewallPoliciesCommand.js.map +0 -1
  233. package/dist/cjs/commands/ListFirewallsCommand.js.map +0 -1
  234. package/dist/cjs/commands/ListRuleGroupsCommand.js.map +0 -1
  235. package/dist/cjs/commands/ListTagsForResourceCommand.js.map +0 -1
  236. package/dist/cjs/commands/PutResourcePolicyCommand.js.map +0 -1
  237. package/dist/cjs/commands/TagResourceCommand.js.map +0 -1
  238. package/dist/cjs/commands/UntagResourceCommand.js.map +0 -1
  239. package/dist/cjs/commands/UpdateFirewallDeleteProtectionCommand.js.map +0 -1
  240. package/dist/cjs/commands/UpdateFirewallDescriptionCommand.js.map +0 -1
  241. package/dist/cjs/commands/UpdateFirewallPolicyChangeProtectionCommand.js.map +0 -1
  242. package/dist/cjs/commands/UpdateFirewallPolicyCommand.js.map +0 -1
  243. package/dist/cjs/commands/UpdateLoggingConfigurationCommand.js.map +0 -1
  244. package/dist/cjs/commands/UpdateRuleGroupCommand.js.map +0 -1
  245. package/dist/cjs/commands/UpdateSubnetChangeProtectionCommand.js.map +0 -1
  246. package/dist/cjs/endpoints.js.map +0 -1
  247. package/dist/cjs/index.js.map +0 -1
  248. package/dist/cjs/models/index.js.map +0 -1
  249. package/dist/cjs/models/models_0.js.map +0 -1
  250. package/dist/cjs/package.json +0 -91
  251. package/dist/cjs/pagination/Interfaces.js.map +0 -1
  252. package/dist/cjs/pagination/ListFirewallPoliciesPaginator.js.map +0 -1
  253. package/dist/cjs/pagination/ListFirewallsPaginator.js.map +0 -1
  254. package/dist/cjs/pagination/ListRuleGroupsPaginator.js.map +0 -1
  255. package/dist/cjs/pagination/ListTagsForResourcePaginator.js.map +0 -1
  256. package/dist/cjs/protocols/Aws_json1_0.js.map +0 -1
  257. package/dist/cjs/runtimeConfig.browser.js.map +0 -1
  258. package/dist/cjs/runtimeConfig.js.map +0 -1
  259. package/dist/cjs/runtimeConfig.native.js.map +0 -1
  260. package/dist/cjs/runtimeConfig.shared.js.map +0 -1
  261. package/dist/es/NetworkFirewall.js.map +0 -1
  262. package/dist/es/NetworkFirewallClient.js +0 -122
  263. package/dist/es/NetworkFirewallClient.js.map +0 -1
  264. package/dist/es/commands/AssociateFirewallPolicyCommand.js.map +0 -1
  265. package/dist/es/commands/AssociateSubnetsCommand.js.map +0 -1
  266. package/dist/es/commands/CreateFirewallCommand.js +0 -71
  267. package/dist/es/commands/CreateFirewallCommand.js.map +0 -1
  268. package/dist/es/commands/CreateFirewallPolicyCommand.js.map +0 -1
  269. package/dist/es/commands/CreateRuleGroupCommand.js.map +0 -1
  270. package/dist/es/commands/DeleteFirewallCommand.js +0 -74
  271. package/dist/es/commands/DeleteFirewallCommand.js.map +0 -1
  272. package/dist/es/commands/DeleteFirewallPolicyCommand.js.map +0 -1
  273. package/dist/es/commands/DeleteResourcePolicyCommand.js.map +0 -1
  274. package/dist/es/commands/DeleteRuleGroupCommand.js.map +0 -1
  275. package/dist/es/commands/DescribeFirewallCommand.js.map +0 -1
  276. package/dist/es/commands/DescribeFirewallPolicyCommand.js.map +0 -1
  277. package/dist/es/commands/DescribeLoggingConfigurationCommand.js.map +0 -1
  278. package/dist/es/commands/DescribeResourcePolicyCommand.js.map +0 -1
  279. package/dist/es/commands/DescribeRuleGroupCommand.js.map +0 -1
  280. package/dist/es/commands/DisassociateSubnetsCommand.js.map +0 -1
  281. package/dist/es/commands/ListFirewallPoliciesCommand.js.map +0 -1
  282. package/dist/es/commands/ListFirewallsCommand.js.map +0 -1
  283. package/dist/es/commands/ListRuleGroupsCommand.js.map +0 -1
  284. package/dist/es/commands/ListTagsForResourceCommand.js.map +0 -1
  285. package/dist/es/commands/PutResourcePolicyCommand.js +0 -79
  286. package/dist/es/commands/PutResourcePolicyCommand.js.map +0 -1
  287. package/dist/es/commands/TagResourceCommand.js.map +0 -1
  288. package/dist/es/commands/UntagResourceCommand.js.map +0 -1
  289. package/dist/es/commands/UpdateFirewallDeleteProtectionCommand.js.map +0 -1
  290. package/dist/es/commands/UpdateFirewallDescriptionCommand.js.map +0 -1
  291. package/dist/es/commands/UpdateFirewallPolicyChangeProtectionCommand.js.map +0 -1
  292. package/dist/es/commands/UpdateFirewallPolicyCommand.js.map +0 -1
  293. package/dist/es/commands/UpdateLoggingConfigurationCommand.js +0 -90
  294. package/dist/es/commands/UpdateLoggingConfigurationCommand.js.map +0 -1
  295. package/dist/es/commands/UpdateRuleGroupCommand.js.map +0 -1
  296. package/dist/es/commands/UpdateSubnetChangeProtectionCommand.js.map +0 -1
  297. package/dist/es/endpoints.js.map +0 -1
  298. package/dist/es/index.js +0 -38
  299. package/dist/es/index.js.map +0 -1
  300. package/dist/es/models/index.js +0 -2
  301. package/dist/es/models/index.js.map +0 -1
  302. package/dist/es/models/models_0.js.map +0 -1
  303. package/dist/es/package.json +0 -91
  304. package/dist/es/pagination/Interfaces.js +0 -2
  305. package/dist/es/pagination/Interfaces.js.map +0 -1
  306. package/dist/es/pagination/ListFirewallPoliciesPaginator.js.map +0 -1
  307. package/dist/es/pagination/ListFirewallsPaginator.js.map +0 -1
  308. package/dist/es/pagination/ListRuleGroupsPaginator.js.map +0 -1
  309. package/dist/es/pagination/ListTagsForResourcePaginator.js.map +0 -1
  310. package/dist/es/protocols/Aws_json1_0.js.map +0 -1
  311. package/dist/es/runtimeConfig.browser.js.map +0 -1
  312. package/dist/es/runtimeConfig.js.map +0 -1
  313. package/dist/es/runtimeConfig.native.js.map +0 -1
  314. package/dist/es/runtimeConfig.shared.js.map +0 -1
  315. package/endpoints.ts +0 -91
  316. package/jest.config.js +0 -4
  317. package/models/models_0.ts +0 -3458
  318. package/pagination/Interfaces.ts +0 -7
  319. package/pagination/ListFirewallPoliciesPaginator.ts +0 -58
  320. package/pagination/ListFirewallsPaginator.ts +0 -58
  321. package/pagination/ListRuleGroupsPaginator.ts +0 -58
  322. package/pagination/ListTagsForResourcePaginator.ts +0 -58
  323. package/protocols/Aws_json1_0.ts +0 -5391
  324. package/runtimeConfig.browser.ts +0 -40
  325. package/runtimeConfig.native.ts +0 -16
  326. package/runtimeConfig.shared.ts +0 -16
  327. package/runtimeConfig.ts +0 -45
  328. package/tsconfig.es.json +0 -12
  329. package/tsconfig.json +0 -32
@@ -1,100 +0,0 @@
1
- import { NetworkFirewallClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NetworkFirewallClient";
2
- import { CreateFirewallRequest, CreateFirewallResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_0CreateFirewallCommand,
5
- serializeAws_json1_0CreateFirewallCommand,
6
- } from "../protocols/Aws_json1_0";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface CreateFirewallCommandInput extends CreateFirewallRequest {}
21
- export interface CreateFirewallCommandOutput extends CreateFirewallResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Creates an AWS Network Firewall <a>Firewall</a> and accompanying <a>FirewallStatus</a> for a VPC. </p>
25
- * <p>The firewall defines the configuration settings for an AWS Network Firewall firewall. The settings that you can define at creation include the firewall policy, the subnets in your VPC to use for the firewall endpoints, and any tags that are attached to the firewall AWS resource. </p>
26
- * <p>After you create a firewall, you can provide additional settings, like the logging configuration. </p>
27
- * <p>To update the settings for a firewall, you use the operations that apply to the settings
28
- * themselves, for example <a>UpdateLoggingConfiguration</a>, <a>AssociateSubnets</a>, and <a>UpdateFirewallDeleteProtection</a>. </p>
29
- * <p>To manage a firewall's tags, use the standard AWS resource tagging operations, <a>ListTagsForResource</a>, <a>TagResource</a>, and <a>UntagResource</a>.</p>
30
- * <p>To retrieve information about firewalls, use <a>ListFirewalls</a> and <a>DescribeFirewall</a>.</p>
31
- * @example
32
- * Use a bare-bones client and the command you need to make an API call.
33
- * ```javascript
34
- * import { NetworkFirewallClient, CreateFirewallCommand } from "@aws-sdk/client-network-firewall"; // ES Modules import
35
- * // const { NetworkFirewallClient, CreateFirewallCommand } = require("@aws-sdk/client-network-firewall"); // CommonJS import
36
- * const client = new NetworkFirewallClient(config);
37
- * const command = new CreateFirewallCommand(input);
38
- * const response = await client.send(command);
39
- * ```
40
- *
41
- * @see {@link CreateFirewallCommandInput} for command's `input` shape.
42
- * @see {@link CreateFirewallCommandOutput} for command's `response` shape.
43
- * @see {@link NetworkFirewallClientResolvedConfig | config} for command's `input` shape.
44
- *
45
- */
46
- export class CreateFirewallCommand extends $Command<
47
- CreateFirewallCommandInput,
48
- CreateFirewallCommandOutput,
49
- NetworkFirewallClientResolvedConfig
50
- > {
51
- // Start section: command_properties
52
- // End section: command_properties
53
-
54
- constructor(readonly input: CreateFirewallCommandInput) {
55
- // Start section: command_constructor
56
- super();
57
- // End section: command_constructor
58
- }
59
-
60
- /**
61
- * @internal
62
- */
63
- resolveMiddleware(
64
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
65
- configuration: NetworkFirewallClientResolvedConfig,
66
- options?: __HttpHandlerOptions
67
- ): Handler<CreateFirewallCommandInput, CreateFirewallCommandOutput> {
68
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
69
-
70
- const stack = clientStack.concat(this.middlewareStack);
71
-
72
- const { logger } = configuration;
73
- const clientName = "NetworkFirewallClient";
74
- const commandName = "CreateFirewallCommand";
75
- const handlerExecutionContext: HandlerExecutionContext = {
76
- logger,
77
- clientName,
78
- commandName,
79
- inputFilterSensitiveLog: CreateFirewallRequest.filterSensitiveLog,
80
- outputFilterSensitiveLog: CreateFirewallResponse.filterSensitiveLog,
81
- };
82
- const { requestHandler } = configuration;
83
- return stack.resolve(
84
- (request: FinalizeHandlerArguments<any>) =>
85
- requestHandler.handle(request.request as __HttpRequest, options || {}),
86
- handlerExecutionContext
87
- );
88
- }
89
-
90
- private serialize(input: CreateFirewallCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
91
- return serializeAws_json1_0CreateFirewallCommand(input, context);
92
- }
93
-
94
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateFirewallCommandOutput> {
95
- return deserializeAws_json1_0CreateFirewallCommand(output, context);
96
- }
97
-
98
- // Start section: command_body_extra
99
- // End section: command_body_extra
100
- }
@@ -1,97 +0,0 @@
1
- import { NetworkFirewallClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NetworkFirewallClient";
2
- import { CreateFirewallPolicyRequest, CreateFirewallPolicyResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_0CreateFirewallPolicyCommand,
5
- serializeAws_json1_0CreateFirewallPolicyCommand,
6
- } from "../protocols/Aws_json1_0";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface CreateFirewallPolicyCommandInput extends CreateFirewallPolicyRequest {}
21
- export interface CreateFirewallPolicyCommandOutput extends CreateFirewallPolicyResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Creates the firewall policy for the firewall according to the specifications. </p>
25
- * <p>An AWS Network Firewall firewall policy defines the behavior of a firewall, in a collection of
26
- * stateless and stateful rule groups and other settings. You can use one firewall policy for
27
- * multiple firewalls. </p>
28
- * @example
29
- * Use a bare-bones client and the command you need to make an API call.
30
- * ```javascript
31
- * import { NetworkFirewallClient, CreateFirewallPolicyCommand } from "@aws-sdk/client-network-firewall"; // ES Modules import
32
- * // const { NetworkFirewallClient, CreateFirewallPolicyCommand } = require("@aws-sdk/client-network-firewall"); // CommonJS import
33
- * const client = new NetworkFirewallClient(config);
34
- * const command = new CreateFirewallPolicyCommand(input);
35
- * const response = await client.send(command);
36
- * ```
37
- *
38
- * @see {@link CreateFirewallPolicyCommandInput} for command's `input` shape.
39
- * @see {@link CreateFirewallPolicyCommandOutput} for command's `response` shape.
40
- * @see {@link NetworkFirewallClientResolvedConfig | config} for command's `input` shape.
41
- *
42
- */
43
- export class CreateFirewallPolicyCommand extends $Command<
44
- CreateFirewallPolicyCommandInput,
45
- CreateFirewallPolicyCommandOutput,
46
- NetworkFirewallClientResolvedConfig
47
- > {
48
- // Start section: command_properties
49
- // End section: command_properties
50
-
51
- constructor(readonly input: CreateFirewallPolicyCommandInput) {
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<CreateFirewallPolicyCommandInput, CreateFirewallPolicyCommandOutput> {
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 = "CreateFirewallPolicyCommand";
72
- const handlerExecutionContext: HandlerExecutionContext = {
73
- logger,
74
- clientName,
75
- commandName,
76
- inputFilterSensitiveLog: CreateFirewallPolicyRequest.filterSensitiveLog,
77
- outputFilterSensitiveLog: CreateFirewallPolicyResponse.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: CreateFirewallPolicyCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
88
- return serializeAws_json1_0CreateFirewallPolicyCommand(input, context);
89
- }
90
-
91
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateFirewallPolicyCommandOutput> {
92
- return deserializeAws_json1_0CreateFirewallPolicyCommand(output, context);
93
- }
94
-
95
- // Start section: command_body_extra
96
- // End section: command_body_extra
97
- }
@@ -1,97 +0,0 @@
1
- import { NetworkFirewallClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NetworkFirewallClient";
2
- import { CreateRuleGroupRequest, CreateRuleGroupResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_0CreateRuleGroupCommand,
5
- serializeAws_json1_0CreateRuleGroupCommand,
6
- } from "../protocols/Aws_json1_0";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface CreateRuleGroupCommandInput extends CreateRuleGroupRequest {}
21
- export interface CreateRuleGroupCommandOutput extends CreateRuleGroupResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Creates the specified stateless or stateful rule group, which includes the rules for
25
- * network traffic inspection, a capacity setting, and tags. </p>
26
- * <p>You provide your rule group specification in your request using either
27
- * <code>RuleGroup</code> or <code>Rules</code>.</p>
28
- * @example
29
- * Use a bare-bones client and the command you need to make an API call.
30
- * ```javascript
31
- * import { NetworkFirewallClient, CreateRuleGroupCommand } from "@aws-sdk/client-network-firewall"; // ES Modules import
32
- * // const { NetworkFirewallClient, CreateRuleGroupCommand } = require("@aws-sdk/client-network-firewall"); // CommonJS import
33
- * const client = new NetworkFirewallClient(config);
34
- * const command = new CreateRuleGroupCommand(input);
35
- * const response = await client.send(command);
36
- * ```
37
- *
38
- * @see {@link CreateRuleGroupCommandInput} for command's `input` shape.
39
- * @see {@link CreateRuleGroupCommandOutput} for command's `response` shape.
40
- * @see {@link NetworkFirewallClientResolvedConfig | config} for command's `input` shape.
41
- *
42
- */
43
- export class CreateRuleGroupCommand extends $Command<
44
- CreateRuleGroupCommandInput,
45
- CreateRuleGroupCommandOutput,
46
- NetworkFirewallClientResolvedConfig
47
- > {
48
- // Start section: command_properties
49
- // End section: command_properties
50
-
51
- constructor(readonly input: CreateRuleGroupCommandInput) {
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<CreateRuleGroupCommandInput, CreateRuleGroupCommandOutput> {
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 = "CreateRuleGroupCommand";
72
- const handlerExecutionContext: HandlerExecutionContext = {
73
- logger,
74
- clientName,
75
- commandName,
76
- inputFilterSensitiveLog: CreateRuleGroupRequest.filterSensitiveLog,
77
- outputFilterSensitiveLog: CreateRuleGroupResponse.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: CreateRuleGroupCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
88
- return serializeAws_json1_0CreateRuleGroupCommand(input, context);
89
- }
90
-
91
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateRuleGroupCommandOutput> {
92
- return deserializeAws_json1_0CreateRuleGroupCommand(output, context);
93
- }
94
-
95
- // Start section: command_body_extra
96
- // End section: command_body_extra
97
- }
@@ -1,103 +0,0 @@
1
- import { NetworkFirewallClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NetworkFirewallClient";
2
- import { DeleteFirewallRequest, DeleteFirewallResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_0DeleteFirewallCommand,
5
- serializeAws_json1_0DeleteFirewallCommand,
6
- } from "../protocols/Aws_json1_0";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface DeleteFirewallCommandInput extends DeleteFirewallRequest {}
21
- export interface DeleteFirewallCommandOutput extends DeleteFirewallResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Deletes the specified <a>Firewall</a> and its <a>FirewallStatus</a>. This operation requires the firewall's <code>DeleteProtection</code> flag to be
25
- * <code>FALSE</code>. You can't revert this operation. </p>
26
- * <p>You can check whether a firewall is
27
- * in use by reviewing the route tables for the Availability Zones where you have
28
- * firewall subnet mappings. Retrieve the subnet mappings by calling <a>DescribeFirewall</a>.
29
- * You define and update the route tables through Amazon VPC. As needed, update the route tables for the
30
- * zones to remove the firewall endpoints. When the route tables no longer use the firewall endpoints,
31
- * you can remove the firewall safely.</p>
32
- * <p>To delete a firewall, remove the delete protection if you need to using <a>UpdateFirewallDeleteProtection</a>,
33
- * then delete the firewall by calling <a>DeleteFirewall</a>. </p>
34
- * @example
35
- * Use a bare-bones client and the command you need to make an API call.
36
- * ```javascript
37
- * import { NetworkFirewallClient, DeleteFirewallCommand } from "@aws-sdk/client-network-firewall"; // ES Modules import
38
- * // const { NetworkFirewallClient, DeleteFirewallCommand } = require("@aws-sdk/client-network-firewall"); // CommonJS import
39
- * const client = new NetworkFirewallClient(config);
40
- * const command = new DeleteFirewallCommand(input);
41
- * const response = await client.send(command);
42
- * ```
43
- *
44
- * @see {@link DeleteFirewallCommandInput} for command's `input` shape.
45
- * @see {@link DeleteFirewallCommandOutput} for command's `response` shape.
46
- * @see {@link NetworkFirewallClientResolvedConfig | config} for command's `input` shape.
47
- *
48
- */
49
- export class DeleteFirewallCommand extends $Command<
50
- DeleteFirewallCommandInput,
51
- DeleteFirewallCommandOutput,
52
- NetworkFirewallClientResolvedConfig
53
- > {
54
- // Start section: command_properties
55
- // End section: command_properties
56
-
57
- constructor(readonly input: DeleteFirewallCommandInput) {
58
- // Start section: command_constructor
59
- super();
60
- // End section: command_constructor
61
- }
62
-
63
- /**
64
- * @internal
65
- */
66
- resolveMiddleware(
67
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
68
- configuration: NetworkFirewallClientResolvedConfig,
69
- options?: __HttpHandlerOptions
70
- ): Handler<DeleteFirewallCommandInput, DeleteFirewallCommandOutput> {
71
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
72
-
73
- const stack = clientStack.concat(this.middlewareStack);
74
-
75
- const { logger } = configuration;
76
- const clientName = "NetworkFirewallClient";
77
- const commandName = "DeleteFirewallCommand";
78
- const handlerExecutionContext: HandlerExecutionContext = {
79
- logger,
80
- clientName,
81
- commandName,
82
- inputFilterSensitiveLog: DeleteFirewallRequest.filterSensitiveLog,
83
- outputFilterSensitiveLog: DeleteFirewallResponse.filterSensitiveLog,
84
- };
85
- const { requestHandler } = configuration;
86
- return stack.resolve(
87
- (request: FinalizeHandlerArguments<any>) =>
88
- requestHandler.handle(request.request as __HttpRequest, options || {}),
89
- handlerExecutionContext
90
- );
91
- }
92
-
93
- private serialize(input: DeleteFirewallCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
94
- return serializeAws_json1_0DeleteFirewallCommand(input, context);
95
- }
96
-
97
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteFirewallCommandOutput> {
98
- return deserializeAws_json1_0DeleteFirewallCommand(output, context);
99
- }
100
-
101
- // Start section: command_body_extra
102
- // End section: command_body_extra
103
- }
@@ -1,94 +0,0 @@
1
- import { NetworkFirewallClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NetworkFirewallClient";
2
- import { DeleteFirewallPolicyRequest, DeleteFirewallPolicyResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_0DeleteFirewallPolicyCommand,
5
- serializeAws_json1_0DeleteFirewallPolicyCommand,
6
- } from "../protocols/Aws_json1_0";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface DeleteFirewallPolicyCommandInput extends DeleteFirewallPolicyRequest {}
21
- export interface DeleteFirewallPolicyCommandOutput extends DeleteFirewallPolicyResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Deletes the specified <a>FirewallPolicy</a>. </p>
25
- * @example
26
- * Use a bare-bones client and the command you need to make an API call.
27
- * ```javascript
28
- * import { NetworkFirewallClient, DeleteFirewallPolicyCommand } from "@aws-sdk/client-network-firewall"; // ES Modules import
29
- * // const { NetworkFirewallClient, DeleteFirewallPolicyCommand } = require("@aws-sdk/client-network-firewall"); // CommonJS import
30
- * const client = new NetworkFirewallClient(config);
31
- * const command = new DeleteFirewallPolicyCommand(input);
32
- * const response = await client.send(command);
33
- * ```
34
- *
35
- * @see {@link DeleteFirewallPolicyCommandInput} for command's `input` shape.
36
- * @see {@link DeleteFirewallPolicyCommandOutput} for command's `response` shape.
37
- * @see {@link NetworkFirewallClientResolvedConfig | config} for command's `input` shape.
38
- *
39
- */
40
- export class DeleteFirewallPolicyCommand extends $Command<
41
- DeleteFirewallPolicyCommandInput,
42
- DeleteFirewallPolicyCommandOutput,
43
- NetworkFirewallClientResolvedConfig
44
- > {
45
- // Start section: command_properties
46
- // End section: command_properties
47
-
48
- constructor(readonly input: DeleteFirewallPolicyCommandInput) {
49
- // Start section: command_constructor
50
- super();
51
- // End section: command_constructor
52
- }
53
-
54
- /**
55
- * @internal
56
- */
57
- resolveMiddleware(
58
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
59
- configuration: NetworkFirewallClientResolvedConfig,
60
- options?: __HttpHandlerOptions
61
- ): Handler<DeleteFirewallPolicyCommandInput, DeleteFirewallPolicyCommandOutput> {
62
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
63
-
64
- const stack = clientStack.concat(this.middlewareStack);
65
-
66
- const { logger } = configuration;
67
- const clientName = "NetworkFirewallClient";
68
- const commandName = "DeleteFirewallPolicyCommand";
69
- const handlerExecutionContext: HandlerExecutionContext = {
70
- logger,
71
- clientName,
72
- commandName,
73
- inputFilterSensitiveLog: DeleteFirewallPolicyRequest.filterSensitiveLog,
74
- outputFilterSensitiveLog: DeleteFirewallPolicyResponse.filterSensitiveLog,
75
- };
76
- const { requestHandler } = configuration;
77
- return stack.resolve(
78
- (request: FinalizeHandlerArguments<any>) =>
79
- requestHandler.handle(request.request as __HttpRequest, options || {}),
80
- handlerExecutionContext
81
- );
82
- }
83
-
84
- private serialize(input: DeleteFirewallPolicyCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
85
- return serializeAws_json1_0DeleteFirewallPolicyCommand(input, context);
86
- }
87
-
88
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteFirewallPolicyCommandOutput> {
89
- return deserializeAws_json1_0DeleteFirewallPolicyCommand(output, context);
90
- }
91
-
92
- // Start section: command_body_extra
93
- // End section: command_body_extra
94
- }
@@ -1,94 +0,0 @@
1
- import { NetworkFirewallClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NetworkFirewallClient";
2
- import { DeleteResourcePolicyRequest, DeleteResourcePolicyResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_0DeleteResourcePolicyCommand,
5
- serializeAws_json1_0DeleteResourcePolicyCommand,
6
- } from "../protocols/Aws_json1_0";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface DeleteResourcePolicyCommandInput extends DeleteResourcePolicyRequest {}
21
- export interface DeleteResourcePolicyCommandOutput extends DeleteResourcePolicyResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Deletes a resource policy that you created in a <a>PutResourcePolicy</a> request. </p>
25
- * @example
26
- * Use a bare-bones client and the command you need to make an API call.
27
- * ```javascript
28
- * import { NetworkFirewallClient, DeleteResourcePolicyCommand } from "@aws-sdk/client-network-firewall"; // ES Modules import
29
- * // const { NetworkFirewallClient, DeleteResourcePolicyCommand } = require("@aws-sdk/client-network-firewall"); // CommonJS import
30
- * const client = new NetworkFirewallClient(config);
31
- * const command = new DeleteResourcePolicyCommand(input);
32
- * const response = await client.send(command);
33
- * ```
34
- *
35
- * @see {@link DeleteResourcePolicyCommandInput} for command's `input` shape.
36
- * @see {@link DeleteResourcePolicyCommandOutput} for command's `response` shape.
37
- * @see {@link NetworkFirewallClientResolvedConfig | config} for command's `input` shape.
38
- *
39
- */
40
- export class DeleteResourcePolicyCommand extends $Command<
41
- DeleteResourcePolicyCommandInput,
42
- DeleteResourcePolicyCommandOutput,
43
- NetworkFirewallClientResolvedConfig
44
- > {
45
- // Start section: command_properties
46
- // End section: command_properties
47
-
48
- constructor(readonly input: DeleteResourcePolicyCommandInput) {
49
- // Start section: command_constructor
50
- super();
51
- // End section: command_constructor
52
- }
53
-
54
- /**
55
- * @internal
56
- */
57
- resolveMiddleware(
58
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
59
- configuration: NetworkFirewallClientResolvedConfig,
60
- options?: __HttpHandlerOptions
61
- ): Handler<DeleteResourcePolicyCommandInput, DeleteResourcePolicyCommandOutput> {
62
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
63
-
64
- const stack = clientStack.concat(this.middlewareStack);
65
-
66
- const { logger } = configuration;
67
- const clientName = "NetworkFirewallClient";
68
- const commandName = "DeleteResourcePolicyCommand";
69
- const handlerExecutionContext: HandlerExecutionContext = {
70
- logger,
71
- clientName,
72
- commandName,
73
- inputFilterSensitiveLog: DeleteResourcePolicyRequest.filterSensitiveLog,
74
- outputFilterSensitiveLog: DeleteResourcePolicyResponse.filterSensitiveLog,
75
- };
76
- const { requestHandler } = configuration;
77
- return stack.resolve(
78
- (request: FinalizeHandlerArguments<any>) =>
79
- requestHandler.handle(request.request as __HttpRequest, options || {}),
80
- handlerExecutionContext
81
- );
82
- }
83
-
84
- private serialize(input: DeleteResourcePolicyCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
85
- return serializeAws_json1_0DeleteResourcePolicyCommand(input, context);
86
- }
87
-
88
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteResourcePolicyCommandOutput> {
89
- return deserializeAws_json1_0DeleteResourcePolicyCommand(output, context);
90
- }
91
-
92
- // Start section: command_body_extra
93
- // End section: command_body_extra
94
- }
@@ -1,94 +0,0 @@
1
- import { NetworkFirewallClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NetworkFirewallClient";
2
- import { DeleteRuleGroupRequest, DeleteRuleGroupResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_0DeleteRuleGroupCommand,
5
- serializeAws_json1_0DeleteRuleGroupCommand,
6
- } from "../protocols/Aws_json1_0";
7
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
8
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
9
- import { Command as $Command } from "@aws-sdk/smithy-client";
10
- import {
11
- FinalizeHandlerArguments,
12
- Handler,
13
- HandlerExecutionContext,
14
- MiddlewareStack,
15
- HttpHandlerOptions as __HttpHandlerOptions,
16
- MetadataBearer as __MetadataBearer,
17
- SerdeContext as __SerdeContext,
18
- } from "@aws-sdk/types";
19
-
20
- export interface DeleteRuleGroupCommandInput extends DeleteRuleGroupRequest {}
21
- export interface DeleteRuleGroupCommandOutput extends DeleteRuleGroupResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Deletes the specified <a>RuleGroup</a>. </p>
25
- * @example
26
- * Use a bare-bones client and the command you need to make an API call.
27
- * ```javascript
28
- * import { NetworkFirewallClient, DeleteRuleGroupCommand } from "@aws-sdk/client-network-firewall"; // ES Modules import
29
- * // const { NetworkFirewallClient, DeleteRuleGroupCommand } = require("@aws-sdk/client-network-firewall"); // CommonJS import
30
- * const client = new NetworkFirewallClient(config);
31
- * const command = new DeleteRuleGroupCommand(input);
32
- * const response = await client.send(command);
33
- * ```
34
- *
35
- * @see {@link DeleteRuleGroupCommandInput} for command's `input` shape.
36
- * @see {@link DeleteRuleGroupCommandOutput} for command's `response` shape.
37
- * @see {@link NetworkFirewallClientResolvedConfig | config} for command's `input` shape.
38
- *
39
- */
40
- export class DeleteRuleGroupCommand extends $Command<
41
- DeleteRuleGroupCommandInput,
42
- DeleteRuleGroupCommandOutput,
43
- NetworkFirewallClientResolvedConfig
44
- > {
45
- // Start section: command_properties
46
- // End section: command_properties
47
-
48
- constructor(readonly input: DeleteRuleGroupCommandInput) {
49
- // Start section: command_constructor
50
- super();
51
- // End section: command_constructor
52
- }
53
-
54
- /**
55
- * @internal
56
- */
57
- resolveMiddleware(
58
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
59
- configuration: NetworkFirewallClientResolvedConfig,
60
- options?: __HttpHandlerOptions
61
- ): Handler<DeleteRuleGroupCommandInput, DeleteRuleGroupCommandOutput> {
62
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
63
-
64
- const stack = clientStack.concat(this.middlewareStack);
65
-
66
- const { logger } = configuration;
67
- const clientName = "NetworkFirewallClient";
68
- const commandName = "DeleteRuleGroupCommand";
69
- const handlerExecutionContext: HandlerExecutionContext = {
70
- logger,
71
- clientName,
72
- commandName,
73
- inputFilterSensitiveLog: DeleteRuleGroupRequest.filterSensitiveLog,
74
- outputFilterSensitiveLog: DeleteRuleGroupResponse.filterSensitiveLog,
75
- };
76
- const { requestHandler } = configuration;
77
- return stack.resolve(
78
- (request: FinalizeHandlerArguments<any>) =>
79
- requestHandler.handle(request.request as __HttpRequest, options || {}),
80
- handlerExecutionContext
81
- );
82
- }
83
-
84
- private serialize(input: DeleteRuleGroupCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
85
- return serializeAws_json1_0DeleteRuleGroupCommand(input, context);
86
- }
87
-
88
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteRuleGroupCommandOutput> {
89
- return deserializeAws_json1_0DeleteRuleGroupCommand(output, context);
90
- }
91
-
92
- // Start section: command_body_extra
93
- // End section: command_body_extra
94
- }