@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,105 +0,0 @@
1
- import { NetworkFirewallClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NetworkFirewallClient";
2
- import { UpdateFirewallDeleteProtectionRequest, UpdateFirewallDeleteProtectionResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_0UpdateFirewallDeleteProtectionCommand,
5
- serializeAws_json1_0UpdateFirewallDeleteProtectionCommand,
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 UpdateFirewallDeleteProtectionCommandInput extends UpdateFirewallDeleteProtectionRequest {}
21
- export interface UpdateFirewallDeleteProtectionCommandOutput
22
- extends UpdateFirewallDeleteProtectionResponse,
23
- __MetadataBearer {}
24
-
25
- /**
26
- * <p>Modifies the flag, <code>DeleteProtection</code>, which indicates whether it is possible
27
- * to delete the firewall. If the flag is set to <code>TRUE</code>, the firewall is protected
28
- * against deletion. This setting helps protect against accidentally deleting a firewall
29
- * that's in use. </p>
30
- * @example
31
- * Use a bare-bones client and the command you need to make an API call.
32
- * ```javascript
33
- * import { NetworkFirewallClient, UpdateFirewallDeleteProtectionCommand } from "@aws-sdk/client-network-firewall"; // ES Modules import
34
- * // const { NetworkFirewallClient, UpdateFirewallDeleteProtectionCommand } = require("@aws-sdk/client-network-firewall"); // CommonJS import
35
- * const client = new NetworkFirewallClient(config);
36
- * const command = new UpdateFirewallDeleteProtectionCommand(input);
37
- * const response = await client.send(command);
38
- * ```
39
- *
40
- * @see {@link UpdateFirewallDeleteProtectionCommandInput} for command's `input` shape.
41
- * @see {@link UpdateFirewallDeleteProtectionCommandOutput} for command's `response` shape.
42
- * @see {@link NetworkFirewallClientResolvedConfig | config} for command's `input` shape.
43
- *
44
- */
45
- export class UpdateFirewallDeleteProtectionCommand extends $Command<
46
- UpdateFirewallDeleteProtectionCommandInput,
47
- UpdateFirewallDeleteProtectionCommandOutput,
48
- NetworkFirewallClientResolvedConfig
49
- > {
50
- // Start section: command_properties
51
- // End section: command_properties
52
-
53
- constructor(readonly input: UpdateFirewallDeleteProtectionCommandInput) {
54
- // Start section: command_constructor
55
- super();
56
- // End section: command_constructor
57
- }
58
-
59
- /**
60
- * @internal
61
- */
62
- resolveMiddleware(
63
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
64
- configuration: NetworkFirewallClientResolvedConfig,
65
- options?: __HttpHandlerOptions
66
- ): Handler<UpdateFirewallDeleteProtectionCommandInput, UpdateFirewallDeleteProtectionCommandOutput> {
67
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
68
-
69
- const stack = clientStack.concat(this.middlewareStack);
70
-
71
- const { logger } = configuration;
72
- const clientName = "NetworkFirewallClient";
73
- const commandName = "UpdateFirewallDeleteProtectionCommand";
74
- const handlerExecutionContext: HandlerExecutionContext = {
75
- logger,
76
- clientName,
77
- commandName,
78
- inputFilterSensitiveLog: UpdateFirewallDeleteProtectionRequest.filterSensitiveLog,
79
- outputFilterSensitiveLog: UpdateFirewallDeleteProtectionResponse.filterSensitiveLog,
80
- };
81
- const { requestHandler } = configuration;
82
- return stack.resolve(
83
- (request: FinalizeHandlerArguments<any>) =>
84
- requestHandler.handle(request.request as __HttpRequest, options || {}),
85
- handlerExecutionContext
86
- );
87
- }
88
-
89
- private serialize(
90
- input: UpdateFirewallDeleteProtectionCommandInput,
91
- context: __SerdeContext
92
- ): Promise<__HttpRequest> {
93
- return serializeAws_json1_0UpdateFirewallDeleteProtectionCommand(input, context);
94
- }
95
-
96
- private deserialize(
97
- output: __HttpResponse,
98
- context: __SerdeContext
99
- ): Promise<UpdateFirewallDeleteProtectionCommandOutput> {
100
- return deserializeAws_json1_0UpdateFirewallDeleteProtectionCommand(output, context);
101
- }
102
-
103
- // Start section: command_body_extra
104
- // End section: command_body_extra
105
- }
@@ -1,98 +0,0 @@
1
- import { NetworkFirewallClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NetworkFirewallClient";
2
- import { UpdateFirewallDescriptionRequest, UpdateFirewallDescriptionResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_0UpdateFirewallDescriptionCommand,
5
- serializeAws_json1_0UpdateFirewallDescriptionCommand,
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 UpdateFirewallDescriptionCommandInput extends UpdateFirewallDescriptionRequest {}
21
- export interface UpdateFirewallDescriptionCommandOutput extends UpdateFirewallDescriptionResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Modifies the description for the specified firewall. Use the description to help you
25
- * identify the firewall when you're working with it. </p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { NetworkFirewallClient, UpdateFirewallDescriptionCommand } from "@aws-sdk/client-network-firewall"; // ES Modules import
30
- * // const { NetworkFirewallClient, UpdateFirewallDescriptionCommand } = require("@aws-sdk/client-network-firewall"); // CommonJS import
31
- * const client = new NetworkFirewallClient(config);
32
- * const command = new UpdateFirewallDescriptionCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link UpdateFirewallDescriptionCommandInput} for command's `input` shape.
37
- * @see {@link UpdateFirewallDescriptionCommandOutput} for command's `response` shape.
38
- * @see {@link NetworkFirewallClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class UpdateFirewallDescriptionCommand extends $Command<
42
- UpdateFirewallDescriptionCommandInput,
43
- UpdateFirewallDescriptionCommandOutput,
44
- NetworkFirewallClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: UpdateFirewallDescriptionCommandInput) {
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<UpdateFirewallDescriptionCommandInput, UpdateFirewallDescriptionCommandOutput> {
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 = "UpdateFirewallDescriptionCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: UpdateFirewallDescriptionRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: UpdateFirewallDescriptionResponse.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: UpdateFirewallDescriptionCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_json1_0UpdateFirewallDescriptionCommand(input, context);
87
- }
88
-
89
- private deserialize(
90
- output: __HttpResponse,
91
- context: __SerdeContext
92
- ): Promise<UpdateFirewallDescriptionCommandOutput> {
93
- return deserializeAws_json1_0UpdateFirewallDescriptionCommand(output, context);
94
- }
95
-
96
- // Start section: command_body_extra
97
- // End section: command_body_extra
98
- }
@@ -1,105 +0,0 @@
1
- import { NetworkFirewallClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NetworkFirewallClient";
2
- import {
3
- UpdateFirewallPolicyChangeProtectionRequest,
4
- UpdateFirewallPolicyChangeProtectionResponse,
5
- } from "../models/models_0";
6
- import {
7
- deserializeAws_json1_0UpdateFirewallPolicyChangeProtectionCommand,
8
- serializeAws_json1_0UpdateFirewallPolicyChangeProtectionCommand,
9
- } from "../protocols/Aws_json1_0";
10
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
11
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
12
- import { Command as $Command } from "@aws-sdk/smithy-client";
13
- import {
14
- FinalizeHandlerArguments,
15
- Handler,
16
- HandlerExecutionContext,
17
- MiddlewareStack,
18
- HttpHandlerOptions as __HttpHandlerOptions,
19
- MetadataBearer as __MetadataBearer,
20
- SerdeContext as __SerdeContext,
21
- } from "@aws-sdk/types";
22
-
23
- export interface UpdateFirewallPolicyChangeProtectionCommandInput extends UpdateFirewallPolicyChangeProtectionRequest {}
24
- export interface UpdateFirewallPolicyChangeProtectionCommandOutput
25
- extends UpdateFirewallPolicyChangeProtectionResponse,
26
- __MetadataBearer {}
27
-
28
- /**
29
- * <p></p>
30
- * @example
31
- * Use a bare-bones client and the command you need to make an API call.
32
- * ```javascript
33
- * import { NetworkFirewallClient, UpdateFirewallPolicyChangeProtectionCommand } from "@aws-sdk/client-network-firewall"; // ES Modules import
34
- * // const { NetworkFirewallClient, UpdateFirewallPolicyChangeProtectionCommand } = require("@aws-sdk/client-network-firewall"); // CommonJS import
35
- * const client = new NetworkFirewallClient(config);
36
- * const command = new UpdateFirewallPolicyChangeProtectionCommand(input);
37
- * const response = await client.send(command);
38
- * ```
39
- *
40
- * @see {@link UpdateFirewallPolicyChangeProtectionCommandInput} for command's `input` shape.
41
- * @see {@link UpdateFirewallPolicyChangeProtectionCommandOutput} for command's `response` shape.
42
- * @see {@link NetworkFirewallClientResolvedConfig | config} for command's `input` shape.
43
- *
44
- */
45
- export class UpdateFirewallPolicyChangeProtectionCommand extends $Command<
46
- UpdateFirewallPolicyChangeProtectionCommandInput,
47
- UpdateFirewallPolicyChangeProtectionCommandOutput,
48
- NetworkFirewallClientResolvedConfig
49
- > {
50
- // Start section: command_properties
51
- // End section: command_properties
52
-
53
- constructor(readonly input: UpdateFirewallPolicyChangeProtectionCommandInput) {
54
- // Start section: command_constructor
55
- super();
56
- // End section: command_constructor
57
- }
58
-
59
- /**
60
- * @internal
61
- */
62
- resolveMiddleware(
63
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
64
- configuration: NetworkFirewallClientResolvedConfig,
65
- options?: __HttpHandlerOptions
66
- ): Handler<UpdateFirewallPolicyChangeProtectionCommandInput, UpdateFirewallPolicyChangeProtectionCommandOutput> {
67
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
68
-
69
- const stack = clientStack.concat(this.middlewareStack);
70
-
71
- const { logger } = configuration;
72
- const clientName = "NetworkFirewallClient";
73
- const commandName = "UpdateFirewallPolicyChangeProtectionCommand";
74
- const handlerExecutionContext: HandlerExecutionContext = {
75
- logger,
76
- clientName,
77
- commandName,
78
- inputFilterSensitiveLog: UpdateFirewallPolicyChangeProtectionRequest.filterSensitiveLog,
79
- outputFilterSensitiveLog: UpdateFirewallPolicyChangeProtectionResponse.filterSensitiveLog,
80
- };
81
- const { requestHandler } = configuration;
82
- return stack.resolve(
83
- (request: FinalizeHandlerArguments<any>) =>
84
- requestHandler.handle(request.request as __HttpRequest, options || {}),
85
- handlerExecutionContext
86
- );
87
- }
88
-
89
- private serialize(
90
- input: UpdateFirewallPolicyChangeProtectionCommandInput,
91
- context: __SerdeContext
92
- ): Promise<__HttpRequest> {
93
- return serializeAws_json1_0UpdateFirewallPolicyChangeProtectionCommand(input, context);
94
- }
95
-
96
- private deserialize(
97
- output: __HttpResponse,
98
- context: __SerdeContext
99
- ): Promise<UpdateFirewallPolicyChangeProtectionCommandOutput> {
100
- return deserializeAws_json1_0UpdateFirewallPolicyChangeProtectionCommand(output, context);
101
- }
102
-
103
- // Start section: command_body_extra
104
- // End section: command_body_extra
105
- }
@@ -1,94 +0,0 @@
1
- import { NetworkFirewallClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NetworkFirewallClient";
2
- import { UpdateFirewallPolicyRequest, UpdateFirewallPolicyResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_0UpdateFirewallPolicyCommand,
5
- serializeAws_json1_0UpdateFirewallPolicyCommand,
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 UpdateFirewallPolicyCommandInput extends UpdateFirewallPolicyRequest {}
21
- export interface UpdateFirewallPolicyCommandOutput extends UpdateFirewallPolicyResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Updates the properties of the specified firewall policy.</p>
25
- * @example
26
- * Use a bare-bones client and the command you need to make an API call.
27
- * ```javascript
28
- * import { NetworkFirewallClient, UpdateFirewallPolicyCommand } from "@aws-sdk/client-network-firewall"; // ES Modules import
29
- * // const { NetworkFirewallClient, UpdateFirewallPolicyCommand } = require("@aws-sdk/client-network-firewall"); // CommonJS import
30
- * const client = new NetworkFirewallClient(config);
31
- * const command = new UpdateFirewallPolicyCommand(input);
32
- * const response = await client.send(command);
33
- * ```
34
- *
35
- * @see {@link UpdateFirewallPolicyCommandInput} for command's `input` shape.
36
- * @see {@link UpdateFirewallPolicyCommandOutput} for command's `response` shape.
37
- * @see {@link NetworkFirewallClientResolvedConfig | config} for command's `input` shape.
38
- *
39
- */
40
- export class UpdateFirewallPolicyCommand extends $Command<
41
- UpdateFirewallPolicyCommandInput,
42
- UpdateFirewallPolicyCommandOutput,
43
- NetworkFirewallClientResolvedConfig
44
- > {
45
- // Start section: command_properties
46
- // End section: command_properties
47
-
48
- constructor(readonly input: UpdateFirewallPolicyCommandInput) {
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<UpdateFirewallPolicyCommandInput, UpdateFirewallPolicyCommandOutput> {
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 = "UpdateFirewallPolicyCommand";
69
- const handlerExecutionContext: HandlerExecutionContext = {
70
- logger,
71
- clientName,
72
- commandName,
73
- inputFilterSensitiveLog: UpdateFirewallPolicyRequest.filterSensitiveLog,
74
- outputFilterSensitiveLog: UpdateFirewallPolicyResponse.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: UpdateFirewallPolicyCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
85
- return serializeAws_json1_0UpdateFirewallPolicyCommand(input, context);
86
- }
87
-
88
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<UpdateFirewallPolicyCommandOutput> {
89
- return deserializeAws_json1_0UpdateFirewallPolicyCommand(output, context);
90
- }
91
-
92
- // Start section: command_body_extra
93
- // End section: command_body_extra
94
- }
@@ -1,122 +0,0 @@
1
- import { NetworkFirewallClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NetworkFirewallClient";
2
- import { UpdateLoggingConfigurationRequest, UpdateLoggingConfigurationResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_0UpdateLoggingConfigurationCommand,
5
- serializeAws_json1_0UpdateLoggingConfigurationCommand,
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 UpdateLoggingConfigurationCommandInput extends UpdateLoggingConfigurationRequest {}
21
- export interface UpdateLoggingConfigurationCommandOutput extends UpdateLoggingConfigurationResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Sets the logging configuration for the specified firewall. </p>
25
- * <p>To change the logging configuration, retrieve the <a>LoggingConfiguration</a> by calling <a>DescribeLoggingConfiguration</a>, then change it and provide
26
- * the modified object to this update call. You must change the logging configuration one
27
- * <a>LogDestinationConfig</a> at a time inside the retrieved <a>LoggingConfiguration</a> object. </p>
28
- * <p>You can perform only one of the following actions in any call to
29
- * <code>UpdateLoggingConfiguration</code>: </p>
30
- * <ul>
31
- * <li>
32
- * <p>Create a new log destination object by adding a single
33
- * <code>LogDestinationConfig</code> array element to
34
- * <code>LogDestinationConfigs</code>.</p>
35
- * </li>
36
- * <li>
37
- * <p>Delete a log destination object by removing a single
38
- * <code>LogDestinationConfig</code> array element from
39
- * <code>LogDestinationConfigs</code>.</p>
40
- * </li>
41
- * <li>
42
- * <p>Change the <code>LogDestination</code> setting in a single
43
- * <code>LogDestinationConfig</code> array element.</p>
44
- * </li>
45
- * </ul>
46
- * <p>You can't change the <code>LogDestinationType</code> or <code>LogType</code> in a
47
- * <code>LogDestinationConfig</code>. To change these settings, delete the existing
48
- * <code>LogDestinationConfig</code> object and create a new one, using two separate calls
49
- * to this update operation.</p>
50
- * @example
51
- * Use a bare-bones client and the command you need to make an API call.
52
- * ```javascript
53
- * import { NetworkFirewallClient, UpdateLoggingConfigurationCommand } from "@aws-sdk/client-network-firewall"; // ES Modules import
54
- * // const { NetworkFirewallClient, UpdateLoggingConfigurationCommand } = require("@aws-sdk/client-network-firewall"); // CommonJS import
55
- * const client = new NetworkFirewallClient(config);
56
- * const command = new UpdateLoggingConfigurationCommand(input);
57
- * const response = await client.send(command);
58
- * ```
59
- *
60
- * @see {@link UpdateLoggingConfigurationCommandInput} for command's `input` shape.
61
- * @see {@link UpdateLoggingConfigurationCommandOutput} for command's `response` shape.
62
- * @see {@link NetworkFirewallClientResolvedConfig | config} for command's `input` shape.
63
- *
64
- */
65
- export class UpdateLoggingConfigurationCommand extends $Command<
66
- UpdateLoggingConfigurationCommandInput,
67
- UpdateLoggingConfigurationCommandOutput,
68
- NetworkFirewallClientResolvedConfig
69
- > {
70
- // Start section: command_properties
71
- // End section: command_properties
72
-
73
- constructor(readonly input: UpdateLoggingConfigurationCommandInput) {
74
- // Start section: command_constructor
75
- super();
76
- // End section: command_constructor
77
- }
78
-
79
- /**
80
- * @internal
81
- */
82
- resolveMiddleware(
83
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
84
- configuration: NetworkFirewallClientResolvedConfig,
85
- options?: __HttpHandlerOptions
86
- ): Handler<UpdateLoggingConfigurationCommandInput, UpdateLoggingConfigurationCommandOutput> {
87
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
88
-
89
- const stack = clientStack.concat(this.middlewareStack);
90
-
91
- const { logger } = configuration;
92
- const clientName = "NetworkFirewallClient";
93
- const commandName = "UpdateLoggingConfigurationCommand";
94
- const handlerExecutionContext: HandlerExecutionContext = {
95
- logger,
96
- clientName,
97
- commandName,
98
- inputFilterSensitiveLog: UpdateLoggingConfigurationRequest.filterSensitiveLog,
99
- outputFilterSensitiveLog: UpdateLoggingConfigurationResponse.filterSensitiveLog,
100
- };
101
- const { requestHandler } = configuration;
102
- return stack.resolve(
103
- (request: FinalizeHandlerArguments<any>) =>
104
- requestHandler.handle(request.request as __HttpRequest, options || {}),
105
- handlerExecutionContext
106
- );
107
- }
108
-
109
- private serialize(input: UpdateLoggingConfigurationCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
110
- return serializeAws_json1_0UpdateLoggingConfigurationCommand(input, context);
111
- }
112
-
113
- private deserialize(
114
- output: __HttpResponse,
115
- context: __SerdeContext
116
- ): Promise<UpdateLoggingConfigurationCommandOutput> {
117
- return deserializeAws_json1_0UpdateLoggingConfigurationCommand(output, context);
118
- }
119
-
120
- // Start section: command_body_extra
121
- // End section: command_body_extra
122
- }
@@ -1,99 +0,0 @@
1
- import { NetworkFirewallClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NetworkFirewallClient";
2
- import { UpdateRuleGroupRequest, UpdateRuleGroupResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_0UpdateRuleGroupCommand,
5
- serializeAws_json1_0UpdateRuleGroupCommand,
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 UpdateRuleGroupCommandInput extends UpdateRuleGroupRequest {}
21
- export interface UpdateRuleGroupCommandOutput extends UpdateRuleGroupResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Updates the rule settings for the specified rule group. You use a rule group by
25
- * reference in one or more firewall policies. When you modify a rule group, you modify all
26
- * firewall policies that use the rule group. </p>
27
- * <p>To update a rule group, first call <a>DescribeRuleGroup</a> to retrieve the
28
- * current <a>RuleGroup</a> object, update the object as needed, and then provide
29
- * the updated object to this call. </p>
30
- * @example
31
- * Use a bare-bones client and the command you need to make an API call.
32
- * ```javascript
33
- * import { NetworkFirewallClient, UpdateRuleGroupCommand } from "@aws-sdk/client-network-firewall"; // ES Modules import
34
- * // const { NetworkFirewallClient, UpdateRuleGroupCommand } = require("@aws-sdk/client-network-firewall"); // CommonJS import
35
- * const client = new NetworkFirewallClient(config);
36
- * const command = new UpdateRuleGroupCommand(input);
37
- * const response = await client.send(command);
38
- * ```
39
- *
40
- * @see {@link UpdateRuleGroupCommandInput} for command's `input` shape.
41
- * @see {@link UpdateRuleGroupCommandOutput} for command's `response` shape.
42
- * @see {@link NetworkFirewallClientResolvedConfig | config} for command's `input` shape.
43
- *
44
- */
45
- export class UpdateRuleGroupCommand extends $Command<
46
- UpdateRuleGroupCommandInput,
47
- UpdateRuleGroupCommandOutput,
48
- NetworkFirewallClientResolvedConfig
49
- > {
50
- // Start section: command_properties
51
- // End section: command_properties
52
-
53
- constructor(readonly input: UpdateRuleGroupCommandInput) {
54
- // Start section: command_constructor
55
- super();
56
- // End section: command_constructor
57
- }
58
-
59
- /**
60
- * @internal
61
- */
62
- resolveMiddleware(
63
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
64
- configuration: NetworkFirewallClientResolvedConfig,
65
- options?: __HttpHandlerOptions
66
- ): Handler<UpdateRuleGroupCommandInput, UpdateRuleGroupCommandOutput> {
67
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
68
-
69
- const stack = clientStack.concat(this.middlewareStack);
70
-
71
- const { logger } = configuration;
72
- const clientName = "NetworkFirewallClient";
73
- const commandName = "UpdateRuleGroupCommand";
74
- const handlerExecutionContext: HandlerExecutionContext = {
75
- logger,
76
- clientName,
77
- commandName,
78
- inputFilterSensitiveLog: UpdateRuleGroupRequest.filterSensitiveLog,
79
- outputFilterSensitiveLog: UpdateRuleGroupResponse.filterSensitiveLog,
80
- };
81
- const { requestHandler } = configuration;
82
- return stack.resolve(
83
- (request: FinalizeHandlerArguments<any>) =>
84
- requestHandler.handle(request.request as __HttpRequest, options || {}),
85
- handlerExecutionContext
86
- );
87
- }
88
-
89
- private serialize(input: UpdateRuleGroupCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
90
- return serializeAws_json1_0UpdateRuleGroupCommand(input, context);
91
- }
92
-
93
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<UpdateRuleGroupCommandOutput> {
94
- return deserializeAws_json1_0UpdateRuleGroupCommand(output, context);
95
- }
96
-
97
- // Start section: command_body_extra
98
- // End section: command_body_extra
99
- }