@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,1251 +0,0 @@
1
- import { NetworkFirewallClient } from "./NetworkFirewallClient";
2
- import {
3
- AssociateFirewallPolicyCommand,
4
- AssociateFirewallPolicyCommandInput,
5
- AssociateFirewallPolicyCommandOutput,
6
- } from "./commands/AssociateFirewallPolicyCommand";
7
- import {
8
- AssociateSubnetsCommand,
9
- AssociateSubnetsCommandInput,
10
- AssociateSubnetsCommandOutput,
11
- } from "./commands/AssociateSubnetsCommand";
12
- import {
13
- CreateFirewallCommand,
14
- CreateFirewallCommandInput,
15
- CreateFirewallCommandOutput,
16
- } from "./commands/CreateFirewallCommand";
17
- import {
18
- CreateFirewallPolicyCommand,
19
- CreateFirewallPolicyCommandInput,
20
- CreateFirewallPolicyCommandOutput,
21
- } from "./commands/CreateFirewallPolicyCommand";
22
- import {
23
- CreateRuleGroupCommand,
24
- CreateRuleGroupCommandInput,
25
- CreateRuleGroupCommandOutput,
26
- } from "./commands/CreateRuleGroupCommand";
27
- import {
28
- DeleteFirewallCommand,
29
- DeleteFirewallCommandInput,
30
- DeleteFirewallCommandOutput,
31
- } from "./commands/DeleteFirewallCommand";
32
- import {
33
- DeleteFirewallPolicyCommand,
34
- DeleteFirewallPolicyCommandInput,
35
- DeleteFirewallPolicyCommandOutput,
36
- } from "./commands/DeleteFirewallPolicyCommand";
37
- import {
38
- DeleteResourcePolicyCommand,
39
- DeleteResourcePolicyCommandInput,
40
- DeleteResourcePolicyCommandOutput,
41
- } from "./commands/DeleteResourcePolicyCommand";
42
- import {
43
- DeleteRuleGroupCommand,
44
- DeleteRuleGroupCommandInput,
45
- DeleteRuleGroupCommandOutput,
46
- } from "./commands/DeleteRuleGroupCommand";
47
- import {
48
- DescribeFirewallCommand,
49
- DescribeFirewallCommandInput,
50
- DescribeFirewallCommandOutput,
51
- } from "./commands/DescribeFirewallCommand";
52
- import {
53
- DescribeFirewallPolicyCommand,
54
- DescribeFirewallPolicyCommandInput,
55
- DescribeFirewallPolicyCommandOutput,
56
- } from "./commands/DescribeFirewallPolicyCommand";
57
- import {
58
- DescribeLoggingConfigurationCommand,
59
- DescribeLoggingConfigurationCommandInput,
60
- DescribeLoggingConfigurationCommandOutput,
61
- } from "./commands/DescribeLoggingConfigurationCommand";
62
- import {
63
- DescribeResourcePolicyCommand,
64
- DescribeResourcePolicyCommandInput,
65
- DescribeResourcePolicyCommandOutput,
66
- } from "./commands/DescribeResourcePolicyCommand";
67
- import {
68
- DescribeRuleGroupCommand,
69
- DescribeRuleGroupCommandInput,
70
- DescribeRuleGroupCommandOutput,
71
- } from "./commands/DescribeRuleGroupCommand";
72
- import {
73
- DisassociateSubnetsCommand,
74
- DisassociateSubnetsCommandInput,
75
- DisassociateSubnetsCommandOutput,
76
- } from "./commands/DisassociateSubnetsCommand";
77
- import {
78
- ListFirewallPoliciesCommand,
79
- ListFirewallPoliciesCommandInput,
80
- ListFirewallPoliciesCommandOutput,
81
- } from "./commands/ListFirewallPoliciesCommand";
82
- import {
83
- ListFirewallsCommand,
84
- ListFirewallsCommandInput,
85
- ListFirewallsCommandOutput,
86
- } from "./commands/ListFirewallsCommand";
87
- import {
88
- ListRuleGroupsCommand,
89
- ListRuleGroupsCommandInput,
90
- ListRuleGroupsCommandOutput,
91
- } from "./commands/ListRuleGroupsCommand";
92
- import {
93
- ListTagsForResourceCommand,
94
- ListTagsForResourceCommandInput,
95
- ListTagsForResourceCommandOutput,
96
- } from "./commands/ListTagsForResourceCommand";
97
- import {
98
- PutResourcePolicyCommand,
99
- PutResourcePolicyCommandInput,
100
- PutResourcePolicyCommandOutput,
101
- } from "./commands/PutResourcePolicyCommand";
102
- import { TagResourceCommand, TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
103
- import {
104
- UntagResourceCommand,
105
- UntagResourceCommandInput,
106
- UntagResourceCommandOutput,
107
- } from "./commands/UntagResourceCommand";
108
- import {
109
- UpdateFirewallDeleteProtectionCommand,
110
- UpdateFirewallDeleteProtectionCommandInput,
111
- UpdateFirewallDeleteProtectionCommandOutput,
112
- } from "./commands/UpdateFirewallDeleteProtectionCommand";
113
- import {
114
- UpdateFirewallDescriptionCommand,
115
- UpdateFirewallDescriptionCommandInput,
116
- UpdateFirewallDescriptionCommandOutput,
117
- } from "./commands/UpdateFirewallDescriptionCommand";
118
- import {
119
- UpdateFirewallPolicyChangeProtectionCommand,
120
- UpdateFirewallPolicyChangeProtectionCommandInput,
121
- UpdateFirewallPolicyChangeProtectionCommandOutput,
122
- } from "./commands/UpdateFirewallPolicyChangeProtectionCommand";
123
- import {
124
- UpdateFirewallPolicyCommand,
125
- UpdateFirewallPolicyCommandInput,
126
- UpdateFirewallPolicyCommandOutput,
127
- } from "./commands/UpdateFirewallPolicyCommand";
128
- import {
129
- UpdateLoggingConfigurationCommand,
130
- UpdateLoggingConfigurationCommandInput,
131
- UpdateLoggingConfigurationCommandOutput,
132
- } from "./commands/UpdateLoggingConfigurationCommand";
133
- import {
134
- UpdateRuleGroupCommand,
135
- UpdateRuleGroupCommandInput,
136
- UpdateRuleGroupCommandOutput,
137
- } from "./commands/UpdateRuleGroupCommand";
138
- import {
139
- UpdateSubnetChangeProtectionCommand,
140
- UpdateSubnetChangeProtectionCommandInput,
141
- UpdateSubnetChangeProtectionCommandOutput,
142
- } from "./commands/UpdateSubnetChangeProtectionCommand";
143
- import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
144
-
145
- /**
146
- * <p>This is the API Reference for AWS Network Firewall. This guide is for developers who need
147
- * detailed information about the Network Firewall API actions, data types, and errors. </p>
148
- * <ul>
149
- * <li>
150
- * <p>The REST API requires you to handle connection details, such as calculating
151
- * signatures, handling request retries, and error handling. For general information
152
- * about using the AWS REST APIs, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-apis.html">AWS APIs</a>. </p>
153
- * <p>To access Network Firewall using the REST API endpoint:
154
- * <code>https://network-firewall.<region>.amazonaws.com </code>
155
- * </p>
156
- * </li>
157
- * <li>
158
- * <p>Alternatively, you can use one of the AWS SDKs to access an API that's tailored to
159
- * the programming language or platform that you're using. For more information, see
160
- * <a href="http://aws.amazon.com/tools/#SDKs">AWS SDKs</a>.</p>
161
- * </li>
162
- * <li>
163
- * <p>For descriptions of Network Firewall features, including and step-by-step
164
- * instructions on how to use them through the Network Firewall console, see the <a href="https://docs.aws.amazon.com/network-firewall/latest/developerguide/">Network Firewall Developer
165
- * Guide</a>.</p>
166
- * </li>
167
- * </ul>
168
- * <p>Network Firewall is a stateful, managed, network firewall and intrusion detection and
169
- * prevention service for Amazon Virtual Private Cloud (Amazon VPC). With Network Firewall, you can filter traffic at the
170
- * perimeter of your VPC. This includes filtering traffic going to and coming from an internet
171
- * gateway, NAT gateway, or over VPN or AWS Direct Connect. Network Firewall uses rules that are compatible
172
- * with Suricata, a free, open source intrusion detection system (IDS) engine. For information about Suricata,
173
- * see the <a href="https://suricata-ids.org/">Suricata website</a>.</p>
174
- * <p>You can use Network Firewall to monitor and protect your VPC traffic in a number of ways.
175
- * The following are just a few examples: </p>
176
- * <ul>
177
- * <li>
178
- * <p>Allow domains or IP addresses for known AWS service endpoints, such as Amazon S3, and
179
- * block all other forms of traffic.</p>
180
- * </li>
181
- * <li>
182
- * <p>Use custom lists of known bad domains to limit the types of domain names that your
183
- * applications can access.</p>
184
- * </li>
185
- * <li>
186
- * <p>Perform deep packet inspection on traffic entering or leaving your VPC.</p>
187
- * </li>
188
- * <li>
189
- * <p>Use stateful protocol detection to filter protocols like HTTPS, regardless of the
190
- * port used.</p>
191
- * </li>
192
- * </ul>
193
- * <p>To enable Network Firewall for your VPCs, you perform steps in both Amazon VPC and in
194
- * Network Firewall. For information about using Amazon VPC, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/">Amazon VPC User Guide</a>.</p>
195
- * <p>To start using Network Firewall, do the following: </p>
196
- * <ol>
197
- * <li>
198
- * <p>(Optional) If you don't already have a VPC that you want to protect, create it in
199
- * Amazon VPC. </p>
200
- * </li>
201
- * <li>
202
- * <p>In Amazon VPC, in each Availability Zone where you want to have a firewall endpoint, create a
203
- * subnet for the sole use of Network Firewall. </p>
204
- * </li>
205
- * <li>
206
- * <p>In Network Firewall, create stateless and stateful rule groups,
207
- * to define the components of the network traffic filtering behavior that you want your firewall to have. </p>
208
- * </li>
209
- * <li>
210
- * <p>In Network Firewall, create a firewall policy that uses your rule groups and
211
- * specifies additional default traffic filtering behavior. </p>
212
- * </li>
213
- * <li>
214
- * <p>In Network Firewall, create a firewall and specify your new firewall policy and
215
- * VPC subnets. Network Firewall creates a firewall endpoint in each subnet that you
216
- * specify, with the behavior that's defined in the firewall policy.</p>
217
- * </li>
218
- * <li>
219
- * <p>In Amazon VPC, use ingress routing enhancements to route traffic through the new firewall
220
- * endpoints.</p>
221
- * </li>
222
- * </ol>
223
- */
224
- export class NetworkFirewall extends NetworkFirewallClient {
225
- /**
226
- * <p>Associates a <a>FirewallPolicy</a> to a <a>Firewall</a>. </p>
227
- * <p>A firewall policy defines how to monitor and manage your VPC network traffic, using a
228
- * collection of inspection rule groups and other settings. Each firewall requires one
229
- * firewall policy association, and you can use the same firewall policy for multiple
230
- * firewalls. </p>
231
- */
232
- public associateFirewallPolicy(
233
- args: AssociateFirewallPolicyCommandInput,
234
- options?: __HttpHandlerOptions
235
- ): Promise<AssociateFirewallPolicyCommandOutput>;
236
- public associateFirewallPolicy(
237
- args: AssociateFirewallPolicyCommandInput,
238
- cb: (err: any, data?: AssociateFirewallPolicyCommandOutput) => void
239
- ): void;
240
- public associateFirewallPolicy(
241
- args: AssociateFirewallPolicyCommandInput,
242
- options: __HttpHandlerOptions,
243
- cb: (err: any, data?: AssociateFirewallPolicyCommandOutput) => void
244
- ): void;
245
- public associateFirewallPolicy(
246
- args: AssociateFirewallPolicyCommandInput,
247
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: AssociateFirewallPolicyCommandOutput) => void),
248
- cb?: (err: any, data?: AssociateFirewallPolicyCommandOutput) => void
249
- ): Promise<AssociateFirewallPolicyCommandOutput> | void {
250
- const command = new AssociateFirewallPolicyCommand(args);
251
- if (typeof optionsOrCb === "function") {
252
- this.send(command, optionsOrCb);
253
- } else if (typeof cb === "function") {
254
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
255
- this.send(command, optionsOrCb || {}, cb);
256
- } else {
257
- return this.send(command, optionsOrCb);
258
- }
259
- }
260
-
261
- /**
262
- * <p>Associates the specified subnets in the Amazon VPC to the firewall. You can specify one
263
- * subnet for each of the Availability Zones that the VPC spans. </p>
264
- * <p>This request creates an AWS Network Firewall firewall endpoint in each of the subnets. To
265
- * enable the firewall's protections, you must also modify the VPC's route tables for each
266
- * subnet's Availability Zone, to redirect the traffic that's coming into and going out of the
267
- * zone through the firewall endpoint. </p>
268
- */
269
- public associateSubnets(
270
- args: AssociateSubnetsCommandInput,
271
- options?: __HttpHandlerOptions
272
- ): Promise<AssociateSubnetsCommandOutput>;
273
- public associateSubnets(
274
- args: AssociateSubnetsCommandInput,
275
- cb: (err: any, data?: AssociateSubnetsCommandOutput) => void
276
- ): void;
277
- public associateSubnets(
278
- args: AssociateSubnetsCommandInput,
279
- options: __HttpHandlerOptions,
280
- cb: (err: any, data?: AssociateSubnetsCommandOutput) => void
281
- ): void;
282
- public associateSubnets(
283
- args: AssociateSubnetsCommandInput,
284
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: AssociateSubnetsCommandOutput) => void),
285
- cb?: (err: any, data?: AssociateSubnetsCommandOutput) => void
286
- ): Promise<AssociateSubnetsCommandOutput> | void {
287
- const command = new AssociateSubnetsCommand(args);
288
- if (typeof optionsOrCb === "function") {
289
- this.send(command, optionsOrCb);
290
- } else if (typeof cb === "function") {
291
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
292
- this.send(command, optionsOrCb || {}, cb);
293
- } else {
294
- return this.send(command, optionsOrCb);
295
- }
296
- }
297
-
298
- /**
299
- * <p>Creates an AWS Network Firewall <a>Firewall</a> and accompanying <a>FirewallStatus</a> for a VPC. </p>
300
- * <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>
301
- * <p>After you create a firewall, you can provide additional settings, like the logging configuration. </p>
302
- * <p>To update the settings for a firewall, you use the operations that apply to the settings
303
- * themselves, for example <a>UpdateLoggingConfiguration</a>, <a>AssociateSubnets</a>, and <a>UpdateFirewallDeleteProtection</a>. </p>
304
- * <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>
305
- * <p>To retrieve information about firewalls, use <a>ListFirewalls</a> and <a>DescribeFirewall</a>.</p>
306
- */
307
- public createFirewall(
308
- args: CreateFirewallCommandInput,
309
- options?: __HttpHandlerOptions
310
- ): Promise<CreateFirewallCommandOutput>;
311
- public createFirewall(
312
- args: CreateFirewallCommandInput,
313
- cb: (err: any, data?: CreateFirewallCommandOutput) => void
314
- ): void;
315
- public createFirewall(
316
- args: CreateFirewallCommandInput,
317
- options: __HttpHandlerOptions,
318
- cb: (err: any, data?: CreateFirewallCommandOutput) => void
319
- ): void;
320
- public createFirewall(
321
- args: CreateFirewallCommandInput,
322
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateFirewallCommandOutput) => void),
323
- cb?: (err: any, data?: CreateFirewallCommandOutput) => void
324
- ): Promise<CreateFirewallCommandOutput> | void {
325
- const command = new CreateFirewallCommand(args);
326
- if (typeof optionsOrCb === "function") {
327
- this.send(command, optionsOrCb);
328
- } else if (typeof cb === "function") {
329
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
330
- this.send(command, optionsOrCb || {}, cb);
331
- } else {
332
- return this.send(command, optionsOrCb);
333
- }
334
- }
335
-
336
- /**
337
- * <p>Creates the firewall policy for the firewall according to the specifications. </p>
338
- * <p>An AWS Network Firewall firewall policy defines the behavior of a firewall, in a collection of
339
- * stateless and stateful rule groups and other settings. You can use one firewall policy for
340
- * multiple firewalls. </p>
341
- */
342
- public createFirewallPolicy(
343
- args: CreateFirewallPolicyCommandInput,
344
- options?: __HttpHandlerOptions
345
- ): Promise<CreateFirewallPolicyCommandOutput>;
346
- public createFirewallPolicy(
347
- args: CreateFirewallPolicyCommandInput,
348
- cb: (err: any, data?: CreateFirewallPolicyCommandOutput) => void
349
- ): void;
350
- public createFirewallPolicy(
351
- args: CreateFirewallPolicyCommandInput,
352
- options: __HttpHandlerOptions,
353
- cb: (err: any, data?: CreateFirewallPolicyCommandOutput) => void
354
- ): void;
355
- public createFirewallPolicy(
356
- args: CreateFirewallPolicyCommandInput,
357
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateFirewallPolicyCommandOutput) => void),
358
- cb?: (err: any, data?: CreateFirewallPolicyCommandOutput) => void
359
- ): Promise<CreateFirewallPolicyCommandOutput> | void {
360
- const command = new CreateFirewallPolicyCommand(args);
361
- if (typeof optionsOrCb === "function") {
362
- this.send(command, optionsOrCb);
363
- } else if (typeof cb === "function") {
364
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
365
- this.send(command, optionsOrCb || {}, cb);
366
- } else {
367
- return this.send(command, optionsOrCb);
368
- }
369
- }
370
-
371
- /**
372
- * <p>Creates the specified stateless or stateful rule group, which includes the rules for
373
- * network traffic inspection, a capacity setting, and tags. </p>
374
- * <p>You provide your rule group specification in your request using either
375
- * <code>RuleGroup</code> or <code>Rules</code>.</p>
376
- */
377
- public createRuleGroup(
378
- args: CreateRuleGroupCommandInput,
379
- options?: __HttpHandlerOptions
380
- ): Promise<CreateRuleGroupCommandOutput>;
381
- public createRuleGroup(
382
- args: CreateRuleGroupCommandInput,
383
- cb: (err: any, data?: CreateRuleGroupCommandOutput) => void
384
- ): void;
385
- public createRuleGroup(
386
- args: CreateRuleGroupCommandInput,
387
- options: __HttpHandlerOptions,
388
- cb: (err: any, data?: CreateRuleGroupCommandOutput) => void
389
- ): void;
390
- public createRuleGroup(
391
- args: CreateRuleGroupCommandInput,
392
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateRuleGroupCommandOutput) => void),
393
- cb?: (err: any, data?: CreateRuleGroupCommandOutput) => void
394
- ): Promise<CreateRuleGroupCommandOutput> | void {
395
- const command = new CreateRuleGroupCommand(args);
396
- if (typeof optionsOrCb === "function") {
397
- this.send(command, optionsOrCb);
398
- } else if (typeof cb === "function") {
399
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
400
- this.send(command, optionsOrCb || {}, cb);
401
- } else {
402
- return this.send(command, optionsOrCb);
403
- }
404
- }
405
-
406
- /**
407
- * <p>Deletes the specified <a>Firewall</a> and its <a>FirewallStatus</a>. This operation requires the firewall's <code>DeleteProtection</code> flag to be
408
- * <code>FALSE</code>. You can't revert this operation. </p>
409
- * <p>You can check whether a firewall is
410
- * in use by reviewing the route tables for the Availability Zones where you have
411
- * firewall subnet mappings. Retrieve the subnet mappings by calling <a>DescribeFirewall</a>.
412
- * You define and update the route tables through Amazon VPC. As needed, update the route tables for the
413
- * zones to remove the firewall endpoints. When the route tables no longer use the firewall endpoints,
414
- * you can remove the firewall safely.</p>
415
- * <p>To delete a firewall, remove the delete protection if you need to using <a>UpdateFirewallDeleteProtection</a>,
416
- * then delete the firewall by calling <a>DeleteFirewall</a>. </p>
417
- */
418
- public deleteFirewall(
419
- args: DeleteFirewallCommandInput,
420
- options?: __HttpHandlerOptions
421
- ): Promise<DeleteFirewallCommandOutput>;
422
- public deleteFirewall(
423
- args: DeleteFirewallCommandInput,
424
- cb: (err: any, data?: DeleteFirewallCommandOutput) => void
425
- ): void;
426
- public deleteFirewall(
427
- args: DeleteFirewallCommandInput,
428
- options: __HttpHandlerOptions,
429
- cb: (err: any, data?: DeleteFirewallCommandOutput) => void
430
- ): void;
431
- public deleteFirewall(
432
- args: DeleteFirewallCommandInput,
433
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteFirewallCommandOutput) => void),
434
- cb?: (err: any, data?: DeleteFirewallCommandOutput) => void
435
- ): Promise<DeleteFirewallCommandOutput> | void {
436
- const command = new DeleteFirewallCommand(args);
437
- if (typeof optionsOrCb === "function") {
438
- this.send(command, optionsOrCb);
439
- } else if (typeof cb === "function") {
440
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
441
- this.send(command, optionsOrCb || {}, cb);
442
- } else {
443
- return this.send(command, optionsOrCb);
444
- }
445
- }
446
-
447
- /**
448
- * <p>Deletes the specified <a>FirewallPolicy</a>. </p>
449
- */
450
- public deleteFirewallPolicy(
451
- args: DeleteFirewallPolicyCommandInput,
452
- options?: __HttpHandlerOptions
453
- ): Promise<DeleteFirewallPolicyCommandOutput>;
454
- public deleteFirewallPolicy(
455
- args: DeleteFirewallPolicyCommandInput,
456
- cb: (err: any, data?: DeleteFirewallPolicyCommandOutput) => void
457
- ): void;
458
- public deleteFirewallPolicy(
459
- args: DeleteFirewallPolicyCommandInput,
460
- options: __HttpHandlerOptions,
461
- cb: (err: any, data?: DeleteFirewallPolicyCommandOutput) => void
462
- ): void;
463
- public deleteFirewallPolicy(
464
- args: DeleteFirewallPolicyCommandInput,
465
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteFirewallPolicyCommandOutput) => void),
466
- cb?: (err: any, data?: DeleteFirewallPolicyCommandOutput) => void
467
- ): Promise<DeleteFirewallPolicyCommandOutput> | void {
468
- const command = new DeleteFirewallPolicyCommand(args);
469
- if (typeof optionsOrCb === "function") {
470
- this.send(command, optionsOrCb);
471
- } else if (typeof cb === "function") {
472
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
473
- this.send(command, optionsOrCb || {}, cb);
474
- } else {
475
- return this.send(command, optionsOrCb);
476
- }
477
- }
478
-
479
- /**
480
- * <p>Deletes a resource policy that you created in a <a>PutResourcePolicy</a> request. </p>
481
- */
482
- public deleteResourcePolicy(
483
- args: DeleteResourcePolicyCommandInput,
484
- options?: __HttpHandlerOptions
485
- ): Promise<DeleteResourcePolicyCommandOutput>;
486
- public deleteResourcePolicy(
487
- args: DeleteResourcePolicyCommandInput,
488
- cb: (err: any, data?: DeleteResourcePolicyCommandOutput) => void
489
- ): void;
490
- public deleteResourcePolicy(
491
- args: DeleteResourcePolicyCommandInput,
492
- options: __HttpHandlerOptions,
493
- cb: (err: any, data?: DeleteResourcePolicyCommandOutput) => void
494
- ): void;
495
- public deleteResourcePolicy(
496
- args: DeleteResourcePolicyCommandInput,
497
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteResourcePolicyCommandOutput) => void),
498
- cb?: (err: any, data?: DeleteResourcePolicyCommandOutput) => void
499
- ): Promise<DeleteResourcePolicyCommandOutput> | void {
500
- const command = new DeleteResourcePolicyCommand(args);
501
- if (typeof optionsOrCb === "function") {
502
- this.send(command, optionsOrCb);
503
- } else if (typeof cb === "function") {
504
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
505
- this.send(command, optionsOrCb || {}, cb);
506
- } else {
507
- return this.send(command, optionsOrCb);
508
- }
509
- }
510
-
511
- /**
512
- * <p>Deletes the specified <a>RuleGroup</a>. </p>
513
- */
514
- public deleteRuleGroup(
515
- args: DeleteRuleGroupCommandInput,
516
- options?: __HttpHandlerOptions
517
- ): Promise<DeleteRuleGroupCommandOutput>;
518
- public deleteRuleGroup(
519
- args: DeleteRuleGroupCommandInput,
520
- cb: (err: any, data?: DeleteRuleGroupCommandOutput) => void
521
- ): void;
522
- public deleteRuleGroup(
523
- args: DeleteRuleGroupCommandInput,
524
- options: __HttpHandlerOptions,
525
- cb: (err: any, data?: DeleteRuleGroupCommandOutput) => void
526
- ): void;
527
- public deleteRuleGroup(
528
- args: DeleteRuleGroupCommandInput,
529
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteRuleGroupCommandOutput) => void),
530
- cb?: (err: any, data?: DeleteRuleGroupCommandOutput) => void
531
- ): Promise<DeleteRuleGroupCommandOutput> | void {
532
- const command = new DeleteRuleGroupCommand(args);
533
- if (typeof optionsOrCb === "function") {
534
- this.send(command, optionsOrCb);
535
- } else if (typeof cb === "function") {
536
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
537
- this.send(command, optionsOrCb || {}, cb);
538
- } else {
539
- return this.send(command, optionsOrCb);
540
- }
541
- }
542
-
543
- /**
544
- * <p>Returns the data objects for the specified firewall. </p>
545
- */
546
- public describeFirewall(
547
- args: DescribeFirewallCommandInput,
548
- options?: __HttpHandlerOptions
549
- ): Promise<DescribeFirewallCommandOutput>;
550
- public describeFirewall(
551
- args: DescribeFirewallCommandInput,
552
- cb: (err: any, data?: DescribeFirewallCommandOutput) => void
553
- ): void;
554
- public describeFirewall(
555
- args: DescribeFirewallCommandInput,
556
- options: __HttpHandlerOptions,
557
- cb: (err: any, data?: DescribeFirewallCommandOutput) => void
558
- ): void;
559
- public describeFirewall(
560
- args: DescribeFirewallCommandInput,
561
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeFirewallCommandOutput) => void),
562
- cb?: (err: any, data?: DescribeFirewallCommandOutput) => void
563
- ): Promise<DescribeFirewallCommandOutput> | void {
564
- const command = new DescribeFirewallCommand(args);
565
- if (typeof optionsOrCb === "function") {
566
- this.send(command, optionsOrCb);
567
- } else if (typeof cb === "function") {
568
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
569
- this.send(command, optionsOrCb || {}, cb);
570
- } else {
571
- return this.send(command, optionsOrCb);
572
- }
573
- }
574
-
575
- /**
576
- * <p>Returns the data objects for the specified firewall policy. </p>
577
- */
578
- public describeFirewallPolicy(
579
- args: DescribeFirewallPolicyCommandInput,
580
- options?: __HttpHandlerOptions
581
- ): Promise<DescribeFirewallPolicyCommandOutput>;
582
- public describeFirewallPolicy(
583
- args: DescribeFirewallPolicyCommandInput,
584
- cb: (err: any, data?: DescribeFirewallPolicyCommandOutput) => void
585
- ): void;
586
- public describeFirewallPolicy(
587
- args: DescribeFirewallPolicyCommandInput,
588
- options: __HttpHandlerOptions,
589
- cb: (err: any, data?: DescribeFirewallPolicyCommandOutput) => void
590
- ): void;
591
- public describeFirewallPolicy(
592
- args: DescribeFirewallPolicyCommandInput,
593
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeFirewallPolicyCommandOutput) => void),
594
- cb?: (err: any, data?: DescribeFirewallPolicyCommandOutput) => void
595
- ): Promise<DescribeFirewallPolicyCommandOutput> | void {
596
- const command = new DescribeFirewallPolicyCommand(args);
597
- if (typeof optionsOrCb === "function") {
598
- this.send(command, optionsOrCb);
599
- } else if (typeof cb === "function") {
600
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
601
- this.send(command, optionsOrCb || {}, cb);
602
- } else {
603
- return this.send(command, optionsOrCb);
604
- }
605
- }
606
-
607
- /**
608
- * <p>Returns the logging configuration for the specified firewall. </p>
609
- */
610
- public describeLoggingConfiguration(
611
- args: DescribeLoggingConfigurationCommandInput,
612
- options?: __HttpHandlerOptions
613
- ): Promise<DescribeLoggingConfigurationCommandOutput>;
614
- public describeLoggingConfiguration(
615
- args: DescribeLoggingConfigurationCommandInput,
616
- cb: (err: any, data?: DescribeLoggingConfigurationCommandOutput) => void
617
- ): void;
618
- public describeLoggingConfiguration(
619
- args: DescribeLoggingConfigurationCommandInput,
620
- options: __HttpHandlerOptions,
621
- cb: (err: any, data?: DescribeLoggingConfigurationCommandOutput) => void
622
- ): void;
623
- public describeLoggingConfiguration(
624
- args: DescribeLoggingConfigurationCommandInput,
625
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeLoggingConfigurationCommandOutput) => void),
626
- cb?: (err: any, data?: DescribeLoggingConfigurationCommandOutput) => void
627
- ): Promise<DescribeLoggingConfigurationCommandOutput> | void {
628
- const command = new DescribeLoggingConfigurationCommand(args);
629
- if (typeof optionsOrCb === "function") {
630
- this.send(command, optionsOrCb);
631
- } else if (typeof cb === "function") {
632
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
633
- this.send(command, optionsOrCb || {}, cb);
634
- } else {
635
- return this.send(command, optionsOrCb);
636
- }
637
- }
638
-
639
- /**
640
- * <p>Retrieves a resource policy that you created in a <a>PutResourcePolicy</a> request. </p>
641
- */
642
- public describeResourcePolicy(
643
- args: DescribeResourcePolicyCommandInput,
644
- options?: __HttpHandlerOptions
645
- ): Promise<DescribeResourcePolicyCommandOutput>;
646
- public describeResourcePolicy(
647
- args: DescribeResourcePolicyCommandInput,
648
- cb: (err: any, data?: DescribeResourcePolicyCommandOutput) => void
649
- ): void;
650
- public describeResourcePolicy(
651
- args: DescribeResourcePolicyCommandInput,
652
- options: __HttpHandlerOptions,
653
- cb: (err: any, data?: DescribeResourcePolicyCommandOutput) => void
654
- ): void;
655
- public describeResourcePolicy(
656
- args: DescribeResourcePolicyCommandInput,
657
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeResourcePolicyCommandOutput) => void),
658
- cb?: (err: any, data?: DescribeResourcePolicyCommandOutput) => void
659
- ): Promise<DescribeResourcePolicyCommandOutput> | void {
660
- const command = new DescribeResourcePolicyCommand(args);
661
- if (typeof optionsOrCb === "function") {
662
- this.send(command, optionsOrCb);
663
- } else if (typeof cb === "function") {
664
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
665
- this.send(command, optionsOrCb || {}, cb);
666
- } else {
667
- return this.send(command, optionsOrCb);
668
- }
669
- }
670
-
671
- /**
672
- * <p>Returns the data objects for the specified rule group. </p>
673
- */
674
- public describeRuleGroup(
675
- args: DescribeRuleGroupCommandInput,
676
- options?: __HttpHandlerOptions
677
- ): Promise<DescribeRuleGroupCommandOutput>;
678
- public describeRuleGroup(
679
- args: DescribeRuleGroupCommandInput,
680
- cb: (err: any, data?: DescribeRuleGroupCommandOutput) => void
681
- ): void;
682
- public describeRuleGroup(
683
- args: DescribeRuleGroupCommandInput,
684
- options: __HttpHandlerOptions,
685
- cb: (err: any, data?: DescribeRuleGroupCommandOutput) => void
686
- ): void;
687
- public describeRuleGroup(
688
- args: DescribeRuleGroupCommandInput,
689
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DescribeRuleGroupCommandOutput) => void),
690
- cb?: (err: any, data?: DescribeRuleGroupCommandOutput) => void
691
- ): Promise<DescribeRuleGroupCommandOutput> | void {
692
- const command = new DescribeRuleGroupCommand(args);
693
- if (typeof optionsOrCb === "function") {
694
- this.send(command, optionsOrCb);
695
- } else if (typeof cb === "function") {
696
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
697
- this.send(command, optionsOrCb || {}, cb);
698
- } else {
699
- return this.send(command, optionsOrCb);
700
- }
701
- }
702
-
703
- /**
704
- * <p>Removes the specified subnet associations from the firewall. This removes the
705
- * firewall endpoints from the subnets and removes any network filtering protections that the endpoints
706
- * were providing.
707
- * </p>
708
- */
709
- public disassociateSubnets(
710
- args: DisassociateSubnetsCommandInput,
711
- options?: __HttpHandlerOptions
712
- ): Promise<DisassociateSubnetsCommandOutput>;
713
- public disassociateSubnets(
714
- args: DisassociateSubnetsCommandInput,
715
- cb: (err: any, data?: DisassociateSubnetsCommandOutput) => void
716
- ): void;
717
- public disassociateSubnets(
718
- args: DisassociateSubnetsCommandInput,
719
- options: __HttpHandlerOptions,
720
- cb: (err: any, data?: DisassociateSubnetsCommandOutput) => void
721
- ): void;
722
- public disassociateSubnets(
723
- args: DisassociateSubnetsCommandInput,
724
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DisassociateSubnetsCommandOutput) => void),
725
- cb?: (err: any, data?: DisassociateSubnetsCommandOutput) => void
726
- ): Promise<DisassociateSubnetsCommandOutput> | void {
727
- const command = new DisassociateSubnetsCommand(args);
728
- if (typeof optionsOrCb === "function") {
729
- this.send(command, optionsOrCb);
730
- } else if (typeof cb === "function") {
731
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
732
- this.send(command, optionsOrCb || {}, cb);
733
- } else {
734
- return this.send(command, optionsOrCb);
735
- }
736
- }
737
-
738
- /**
739
- * <p>Retrieves the metadata for the firewall policies that you have defined. Depending on
740
- * your setting for max results and the number of firewall policies, a single call might not
741
- * return the full list. </p>
742
- */
743
- public listFirewallPolicies(
744
- args: ListFirewallPoliciesCommandInput,
745
- options?: __HttpHandlerOptions
746
- ): Promise<ListFirewallPoliciesCommandOutput>;
747
- public listFirewallPolicies(
748
- args: ListFirewallPoliciesCommandInput,
749
- cb: (err: any, data?: ListFirewallPoliciesCommandOutput) => void
750
- ): void;
751
- public listFirewallPolicies(
752
- args: ListFirewallPoliciesCommandInput,
753
- options: __HttpHandlerOptions,
754
- cb: (err: any, data?: ListFirewallPoliciesCommandOutput) => void
755
- ): void;
756
- public listFirewallPolicies(
757
- args: ListFirewallPoliciesCommandInput,
758
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListFirewallPoliciesCommandOutput) => void),
759
- cb?: (err: any, data?: ListFirewallPoliciesCommandOutput) => void
760
- ): Promise<ListFirewallPoliciesCommandOutput> | void {
761
- const command = new ListFirewallPoliciesCommand(args);
762
- if (typeof optionsOrCb === "function") {
763
- this.send(command, optionsOrCb);
764
- } else if (typeof cb === "function") {
765
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
766
- this.send(command, optionsOrCb || {}, cb);
767
- } else {
768
- return this.send(command, optionsOrCb);
769
- }
770
- }
771
-
772
- /**
773
- * <p>Retrieves the metadata for the firewalls that you have defined. If you provide VPC
774
- * identifiers in your request, this returns only the firewalls for those VPCs.</p>
775
- * <p>Depending on your setting for max results and the number of firewalls, a single call
776
- * might not return the full list. </p>
777
- */
778
- public listFirewalls(
779
- args: ListFirewallsCommandInput,
780
- options?: __HttpHandlerOptions
781
- ): Promise<ListFirewallsCommandOutput>;
782
- public listFirewalls(
783
- args: ListFirewallsCommandInput,
784
- cb: (err: any, data?: ListFirewallsCommandOutput) => void
785
- ): void;
786
- public listFirewalls(
787
- args: ListFirewallsCommandInput,
788
- options: __HttpHandlerOptions,
789
- cb: (err: any, data?: ListFirewallsCommandOutput) => void
790
- ): void;
791
- public listFirewalls(
792
- args: ListFirewallsCommandInput,
793
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListFirewallsCommandOutput) => void),
794
- cb?: (err: any, data?: ListFirewallsCommandOutput) => void
795
- ): Promise<ListFirewallsCommandOutput> | void {
796
- const command = new ListFirewallsCommand(args);
797
- if (typeof optionsOrCb === "function") {
798
- this.send(command, optionsOrCb);
799
- } else if (typeof cb === "function") {
800
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
801
- this.send(command, optionsOrCb || {}, cb);
802
- } else {
803
- return this.send(command, optionsOrCb);
804
- }
805
- }
806
-
807
- /**
808
- * <p>Retrieves the metadata for the rule groups that you have defined. Depending on your
809
- * setting for max results and the number of rule groups, a single call might not return the
810
- * full list. </p>
811
- */
812
- public listRuleGroups(
813
- args: ListRuleGroupsCommandInput,
814
- options?: __HttpHandlerOptions
815
- ): Promise<ListRuleGroupsCommandOutput>;
816
- public listRuleGroups(
817
- args: ListRuleGroupsCommandInput,
818
- cb: (err: any, data?: ListRuleGroupsCommandOutput) => void
819
- ): void;
820
- public listRuleGroups(
821
- args: ListRuleGroupsCommandInput,
822
- options: __HttpHandlerOptions,
823
- cb: (err: any, data?: ListRuleGroupsCommandOutput) => void
824
- ): void;
825
- public listRuleGroups(
826
- args: ListRuleGroupsCommandInput,
827
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListRuleGroupsCommandOutput) => void),
828
- cb?: (err: any, data?: ListRuleGroupsCommandOutput) => void
829
- ): Promise<ListRuleGroupsCommandOutput> | void {
830
- const command = new ListRuleGroupsCommand(args);
831
- if (typeof optionsOrCb === "function") {
832
- this.send(command, optionsOrCb);
833
- } else if (typeof cb === "function") {
834
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
835
- this.send(command, optionsOrCb || {}, cb);
836
- } else {
837
- return this.send(command, optionsOrCb);
838
- }
839
- }
840
-
841
- /**
842
- * <p>Retrieves the tags associated with the specified resource. Tags are key:value pairs that
843
- * you can use to categorize and manage your resources, for purposes like billing. For
844
- * example, you might set the tag key to "customer" and the value to the customer name or ID.
845
- * You can specify one or more tags to add to each AWS resource, up to 50 tags for a
846
- * resource.</p>
847
- * <p>You can tag the AWS resources that you manage through AWS Network Firewall: firewalls, firewall
848
- * policies, and rule groups. </p>
849
- */
850
- public listTagsForResource(
851
- args: ListTagsForResourceCommandInput,
852
- options?: __HttpHandlerOptions
853
- ): Promise<ListTagsForResourceCommandOutput>;
854
- public listTagsForResource(
855
- args: ListTagsForResourceCommandInput,
856
- cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
857
- ): void;
858
- public listTagsForResource(
859
- args: ListTagsForResourceCommandInput,
860
- options: __HttpHandlerOptions,
861
- cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
862
- ): void;
863
- public listTagsForResource(
864
- args: ListTagsForResourceCommandInput,
865
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListTagsForResourceCommandOutput) => void),
866
- cb?: (err: any, data?: ListTagsForResourceCommandOutput) => void
867
- ): Promise<ListTagsForResourceCommandOutput> | void {
868
- const command = new ListTagsForResourceCommand(args);
869
- if (typeof optionsOrCb === "function") {
870
- this.send(command, optionsOrCb);
871
- } else if (typeof cb === "function") {
872
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
873
- this.send(command, optionsOrCb || {}, cb);
874
- } else {
875
- return this.send(command, optionsOrCb);
876
- }
877
- }
878
-
879
- /**
880
- * <p>Creates or updates an AWS Identity and Access Management policy for your rule group or firewall policy. Use this to share rule groups and firewall policies between accounts. This operation works in conjunction with the AWS Resource Access Manager (RAM) service
881
- * to manage resource sharing for Network Firewall. </p>
882
- * <p>Use this operation to create or update a resource policy for your rule group or firewall policy. In the policy, you specify the accounts that you want to share the resource with and the operations that you want the accounts to be able to perform. </p>
883
- * <p>When you add an account in the resource policy, you then run the following Resource Access Manager (RAM) operations to access and accept the shared rule group or firewall policy. </p>
884
- * <ul>
885
- * <li>
886
- * <p>
887
- * <a href="https://docs.aws.amazon.com/ram/latest/APIReference/API_GetResourceShareInvitations.html">GetResourceShareInvitations</a> - Returns the Amazon Resource Names (ARNs) of the resource share invitations. </p>
888
- * </li>
889
- * <li>
890
- * <p>
891
- * <a href="https://docs.aws.amazon.com/ram/latest/APIReference/API_AcceptResourceShareInvitation.html">AcceptResourceShareInvitation</a> - Accepts the share invitation for a specified resource share. </p>
892
- * </li>
893
- * </ul>
894
- * <p>For additional information about resource sharing using RAM, see <a href="https://docs.aws.amazon.com/ram/latest/userguide/what-is.html">AWS Resource Access Manager User Guide</a>.</p>
895
- */
896
- public putResourcePolicy(
897
- args: PutResourcePolicyCommandInput,
898
- options?: __HttpHandlerOptions
899
- ): Promise<PutResourcePolicyCommandOutput>;
900
- public putResourcePolicy(
901
- args: PutResourcePolicyCommandInput,
902
- cb: (err: any, data?: PutResourcePolicyCommandOutput) => void
903
- ): void;
904
- public putResourcePolicy(
905
- args: PutResourcePolicyCommandInput,
906
- options: __HttpHandlerOptions,
907
- cb: (err: any, data?: PutResourcePolicyCommandOutput) => void
908
- ): void;
909
- public putResourcePolicy(
910
- args: PutResourcePolicyCommandInput,
911
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: PutResourcePolicyCommandOutput) => void),
912
- cb?: (err: any, data?: PutResourcePolicyCommandOutput) => void
913
- ): Promise<PutResourcePolicyCommandOutput> | void {
914
- const command = new PutResourcePolicyCommand(args);
915
- if (typeof optionsOrCb === "function") {
916
- this.send(command, optionsOrCb);
917
- } else if (typeof cb === "function") {
918
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
919
- this.send(command, optionsOrCb || {}, cb);
920
- } else {
921
- return this.send(command, optionsOrCb);
922
- }
923
- }
924
-
925
- /**
926
- * <p>Adds the specified tags to the specified resource. Tags are key:value pairs that you can
927
- * use to categorize and manage your resources, for purposes like billing. For example, you
928
- * might set the tag key to "customer" and the value to the customer name or ID. You can
929
- * specify one or more tags to add to each AWS resource, up to 50 tags for a resource.</p>
930
- * <p>You can tag the AWS resources that you manage through AWS Network Firewall: firewalls, firewall
931
- * policies, and rule groups. </p>
932
- */
933
- public tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
934
- public tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
935
- public tagResource(
936
- args: TagResourceCommandInput,
937
- options: __HttpHandlerOptions,
938
- cb: (err: any, data?: TagResourceCommandOutput) => void
939
- ): void;
940
- public tagResource(
941
- args: TagResourceCommandInput,
942
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: TagResourceCommandOutput) => void),
943
- cb?: (err: any, data?: TagResourceCommandOutput) => void
944
- ): Promise<TagResourceCommandOutput> | void {
945
- const command = new TagResourceCommand(args);
946
- if (typeof optionsOrCb === "function") {
947
- this.send(command, optionsOrCb);
948
- } else if (typeof cb === "function") {
949
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
950
- this.send(command, optionsOrCb || {}, cb);
951
- } else {
952
- return this.send(command, optionsOrCb);
953
- }
954
- }
955
-
956
- /**
957
- * <p>Removes the tags with the specified keys from the specified resource. Tags are key:value
958
- * pairs that you can use to categorize and manage your resources, for purposes like billing.
959
- * For example, you might set the tag key to "customer" and the value to the customer name or
960
- * ID. You can specify one or more tags to add to each AWS resource, up to 50 tags for a
961
- * resource.</p>
962
- * <p>You can manage tags for the AWS resources that you manage through AWS Network Firewall:
963
- * firewalls, firewall policies, and rule groups. </p>
964
- */
965
- public untagResource(
966
- args: UntagResourceCommandInput,
967
- options?: __HttpHandlerOptions
968
- ): Promise<UntagResourceCommandOutput>;
969
- public untagResource(
970
- args: UntagResourceCommandInput,
971
- cb: (err: any, data?: UntagResourceCommandOutput) => void
972
- ): void;
973
- public untagResource(
974
- args: UntagResourceCommandInput,
975
- options: __HttpHandlerOptions,
976
- cb: (err: any, data?: UntagResourceCommandOutput) => void
977
- ): void;
978
- public untagResource(
979
- args: UntagResourceCommandInput,
980
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UntagResourceCommandOutput) => void),
981
- cb?: (err: any, data?: UntagResourceCommandOutput) => void
982
- ): Promise<UntagResourceCommandOutput> | void {
983
- const command = new UntagResourceCommand(args);
984
- if (typeof optionsOrCb === "function") {
985
- this.send(command, optionsOrCb);
986
- } else if (typeof cb === "function") {
987
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
988
- this.send(command, optionsOrCb || {}, cb);
989
- } else {
990
- return this.send(command, optionsOrCb);
991
- }
992
- }
993
-
994
- /**
995
- * <p>Modifies the flag, <code>DeleteProtection</code>, which indicates whether it is possible
996
- * to delete the firewall. If the flag is set to <code>TRUE</code>, the firewall is protected
997
- * against deletion. This setting helps protect against accidentally deleting a firewall
998
- * that's in use. </p>
999
- */
1000
- public updateFirewallDeleteProtection(
1001
- args: UpdateFirewallDeleteProtectionCommandInput,
1002
- options?: __HttpHandlerOptions
1003
- ): Promise<UpdateFirewallDeleteProtectionCommandOutput>;
1004
- public updateFirewallDeleteProtection(
1005
- args: UpdateFirewallDeleteProtectionCommandInput,
1006
- cb: (err: any, data?: UpdateFirewallDeleteProtectionCommandOutput) => void
1007
- ): void;
1008
- public updateFirewallDeleteProtection(
1009
- args: UpdateFirewallDeleteProtectionCommandInput,
1010
- options: __HttpHandlerOptions,
1011
- cb: (err: any, data?: UpdateFirewallDeleteProtectionCommandOutput) => void
1012
- ): void;
1013
- public updateFirewallDeleteProtection(
1014
- args: UpdateFirewallDeleteProtectionCommandInput,
1015
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateFirewallDeleteProtectionCommandOutput) => void),
1016
- cb?: (err: any, data?: UpdateFirewallDeleteProtectionCommandOutput) => void
1017
- ): Promise<UpdateFirewallDeleteProtectionCommandOutput> | void {
1018
- const command = new UpdateFirewallDeleteProtectionCommand(args);
1019
- if (typeof optionsOrCb === "function") {
1020
- this.send(command, optionsOrCb);
1021
- } else if (typeof cb === "function") {
1022
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1023
- this.send(command, optionsOrCb || {}, cb);
1024
- } else {
1025
- return this.send(command, optionsOrCb);
1026
- }
1027
- }
1028
-
1029
- /**
1030
- * <p>Modifies the description for the specified firewall. Use the description to help you
1031
- * identify the firewall when you're working with it. </p>
1032
- */
1033
- public updateFirewallDescription(
1034
- args: UpdateFirewallDescriptionCommandInput,
1035
- options?: __HttpHandlerOptions
1036
- ): Promise<UpdateFirewallDescriptionCommandOutput>;
1037
- public updateFirewallDescription(
1038
- args: UpdateFirewallDescriptionCommandInput,
1039
- cb: (err: any, data?: UpdateFirewallDescriptionCommandOutput) => void
1040
- ): void;
1041
- public updateFirewallDescription(
1042
- args: UpdateFirewallDescriptionCommandInput,
1043
- options: __HttpHandlerOptions,
1044
- cb: (err: any, data?: UpdateFirewallDescriptionCommandOutput) => void
1045
- ): void;
1046
- public updateFirewallDescription(
1047
- args: UpdateFirewallDescriptionCommandInput,
1048
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateFirewallDescriptionCommandOutput) => void),
1049
- cb?: (err: any, data?: UpdateFirewallDescriptionCommandOutput) => void
1050
- ): Promise<UpdateFirewallDescriptionCommandOutput> | void {
1051
- const command = new UpdateFirewallDescriptionCommand(args);
1052
- if (typeof optionsOrCb === "function") {
1053
- this.send(command, optionsOrCb);
1054
- } else if (typeof cb === "function") {
1055
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1056
- this.send(command, optionsOrCb || {}, cb);
1057
- } else {
1058
- return this.send(command, optionsOrCb);
1059
- }
1060
- }
1061
-
1062
- /**
1063
- * <p>Updates the properties of the specified firewall policy.</p>
1064
- */
1065
- public updateFirewallPolicy(
1066
- args: UpdateFirewallPolicyCommandInput,
1067
- options?: __HttpHandlerOptions
1068
- ): Promise<UpdateFirewallPolicyCommandOutput>;
1069
- public updateFirewallPolicy(
1070
- args: UpdateFirewallPolicyCommandInput,
1071
- cb: (err: any, data?: UpdateFirewallPolicyCommandOutput) => void
1072
- ): void;
1073
- public updateFirewallPolicy(
1074
- args: UpdateFirewallPolicyCommandInput,
1075
- options: __HttpHandlerOptions,
1076
- cb: (err: any, data?: UpdateFirewallPolicyCommandOutput) => void
1077
- ): void;
1078
- public updateFirewallPolicy(
1079
- args: UpdateFirewallPolicyCommandInput,
1080
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateFirewallPolicyCommandOutput) => void),
1081
- cb?: (err: any, data?: UpdateFirewallPolicyCommandOutput) => void
1082
- ): Promise<UpdateFirewallPolicyCommandOutput> | void {
1083
- const command = new UpdateFirewallPolicyCommand(args);
1084
- if (typeof optionsOrCb === "function") {
1085
- this.send(command, optionsOrCb);
1086
- } else if (typeof cb === "function") {
1087
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1088
- this.send(command, optionsOrCb || {}, cb);
1089
- } else {
1090
- return this.send(command, optionsOrCb);
1091
- }
1092
- }
1093
-
1094
- /**
1095
- * <p></p>
1096
- */
1097
- public updateFirewallPolicyChangeProtection(
1098
- args: UpdateFirewallPolicyChangeProtectionCommandInput,
1099
- options?: __HttpHandlerOptions
1100
- ): Promise<UpdateFirewallPolicyChangeProtectionCommandOutput>;
1101
- public updateFirewallPolicyChangeProtection(
1102
- args: UpdateFirewallPolicyChangeProtectionCommandInput,
1103
- cb: (err: any, data?: UpdateFirewallPolicyChangeProtectionCommandOutput) => void
1104
- ): void;
1105
- public updateFirewallPolicyChangeProtection(
1106
- args: UpdateFirewallPolicyChangeProtectionCommandInput,
1107
- options: __HttpHandlerOptions,
1108
- cb: (err: any, data?: UpdateFirewallPolicyChangeProtectionCommandOutput) => void
1109
- ): void;
1110
- public updateFirewallPolicyChangeProtection(
1111
- args: UpdateFirewallPolicyChangeProtectionCommandInput,
1112
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateFirewallPolicyChangeProtectionCommandOutput) => void),
1113
- cb?: (err: any, data?: UpdateFirewallPolicyChangeProtectionCommandOutput) => void
1114
- ): Promise<UpdateFirewallPolicyChangeProtectionCommandOutput> | void {
1115
- const command = new UpdateFirewallPolicyChangeProtectionCommand(args);
1116
- if (typeof optionsOrCb === "function") {
1117
- this.send(command, optionsOrCb);
1118
- } else if (typeof cb === "function") {
1119
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1120
- this.send(command, optionsOrCb || {}, cb);
1121
- } else {
1122
- return this.send(command, optionsOrCb);
1123
- }
1124
- }
1125
-
1126
- /**
1127
- * <p>Sets the logging configuration for the specified firewall. </p>
1128
- * <p>To change the logging configuration, retrieve the <a>LoggingConfiguration</a> by calling <a>DescribeLoggingConfiguration</a>, then change it and provide
1129
- * the modified object to this update call. You must change the logging configuration one
1130
- * <a>LogDestinationConfig</a> at a time inside the retrieved <a>LoggingConfiguration</a> object. </p>
1131
- * <p>You can perform only one of the following actions in any call to
1132
- * <code>UpdateLoggingConfiguration</code>: </p>
1133
- * <ul>
1134
- * <li>
1135
- * <p>Create a new log destination object by adding a single
1136
- * <code>LogDestinationConfig</code> array element to
1137
- * <code>LogDestinationConfigs</code>.</p>
1138
- * </li>
1139
- * <li>
1140
- * <p>Delete a log destination object by removing a single
1141
- * <code>LogDestinationConfig</code> array element from
1142
- * <code>LogDestinationConfigs</code>.</p>
1143
- * </li>
1144
- * <li>
1145
- * <p>Change the <code>LogDestination</code> setting in a single
1146
- * <code>LogDestinationConfig</code> array element.</p>
1147
- * </li>
1148
- * </ul>
1149
- * <p>You can't change the <code>LogDestinationType</code> or <code>LogType</code> in a
1150
- * <code>LogDestinationConfig</code>. To change these settings, delete the existing
1151
- * <code>LogDestinationConfig</code> object and create a new one, using two separate calls
1152
- * to this update operation.</p>
1153
- */
1154
- public updateLoggingConfiguration(
1155
- args: UpdateLoggingConfigurationCommandInput,
1156
- options?: __HttpHandlerOptions
1157
- ): Promise<UpdateLoggingConfigurationCommandOutput>;
1158
- public updateLoggingConfiguration(
1159
- args: UpdateLoggingConfigurationCommandInput,
1160
- cb: (err: any, data?: UpdateLoggingConfigurationCommandOutput) => void
1161
- ): void;
1162
- public updateLoggingConfiguration(
1163
- args: UpdateLoggingConfigurationCommandInput,
1164
- options: __HttpHandlerOptions,
1165
- cb: (err: any, data?: UpdateLoggingConfigurationCommandOutput) => void
1166
- ): void;
1167
- public updateLoggingConfiguration(
1168
- args: UpdateLoggingConfigurationCommandInput,
1169
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateLoggingConfigurationCommandOutput) => void),
1170
- cb?: (err: any, data?: UpdateLoggingConfigurationCommandOutput) => void
1171
- ): Promise<UpdateLoggingConfigurationCommandOutput> | void {
1172
- const command = new UpdateLoggingConfigurationCommand(args);
1173
- if (typeof optionsOrCb === "function") {
1174
- this.send(command, optionsOrCb);
1175
- } else if (typeof cb === "function") {
1176
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1177
- this.send(command, optionsOrCb || {}, cb);
1178
- } else {
1179
- return this.send(command, optionsOrCb);
1180
- }
1181
- }
1182
-
1183
- /**
1184
- * <p>Updates the rule settings for the specified rule group. You use a rule group by
1185
- * reference in one or more firewall policies. When you modify a rule group, you modify all
1186
- * firewall policies that use the rule group. </p>
1187
- * <p>To update a rule group, first call <a>DescribeRuleGroup</a> to retrieve the
1188
- * current <a>RuleGroup</a> object, update the object as needed, and then provide
1189
- * the updated object to this call. </p>
1190
- */
1191
- public updateRuleGroup(
1192
- args: UpdateRuleGroupCommandInput,
1193
- options?: __HttpHandlerOptions
1194
- ): Promise<UpdateRuleGroupCommandOutput>;
1195
- public updateRuleGroup(
1196
- args: UpdateRuleGroupCommandInput,
1197
- cb: (err: any, data?: UpdateRuleGroupCommandOutput) => void
1198
- ): void;
1199
- public updateRuleGroup(
1200
- args: UpdateRuleGroupCommandInput,
1201
- options: __HttpHandlerOptions,
1202
- cb: (err: any, data?: UpdateRuleGroupCommandOutput) => void
1203
- ): void;
1204
- public updateRuleGroup(
1205
- args: UpdateRuleGroupCommandInput,
1206
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateRuleGroupCommandOutput) => void),
1207
- cb?: (err: any, data?: UpdateRuleGroupCommandOutput) => void
1208
- ): Promise<UpdateRuleGroupCommandOutput> | void {
1209
- const command = new UpdateRuleGroupCommand(args);
1210
- if (typeof optionsOrCb === "function") {
1211
- this.send(command, optionsOrCb);
1212
- } else if (typeof cb === "function") {
1213
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1214
- this.send(command, optionsOrCb || {}, cb);
1215
- } else {
1216
- return this.send(command, optionsOrCb);
1217
- }
1218
- }
1219
-
1220
- /**
1221
- * <p></p>
1222
- */
1223
- public updateSubnetChangeProtection(
1224
- args: UpdateSubnetChangeProtectionCommandInput,
1225
- options?: __HttpHandlerOptions
1226
- ): Promise<UpdateSubnetChangeProtectionCommandOutput>;
1227
- public updateSubnetChangeProtection(
1228
- args: UpdateSubnetChangeProtectionCommandInput,
1229
- cb: (err: any, data?: UpdateSubnetChangeProtectionCommandOutput) => void
1230
- ): void;
1231
- public updateSubnetChangeProtection(
1232
- args: UpdateSubnetChangeProtectionCommandInput,
1233
- options: __HttpHandlerOptions,
1234
- cb: (err: any, data?: UpdateSubnetChangeProtectionCommandOutput) => void
1235
- ): void;
1236
- public updateSubnetChangeProtection(
1237
- args: UpdateSubnetChangeProtectionCommandInput,
1238
- optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateSubnetChangeProtectionCommandOutput) => void),
1239
- cb?: (err: any, data?: UpdateSubnetChangeProtectionCommandOutput) => void
1240
- ): Promise<UpdateSubnetChangeProtectionCommandOutput> | void {
1241
- const command = new UpdateSubnetChangeProtectionCommand(args);
1242
- if (typeof optionsOrCb === "function") {
1243
- this.send(command, optionsOrCb);
1244
- } else if (typeof cb === "function") {
1245
- if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
1246
- this.send(command, optionsOrCb || {}, cb);
1247
- } else {
1248
- return this.send(command, optionsOrCb);
1249
- }
1250
- }
1251
- }