@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,97 +0,0 @@
1
- import { NetworkFirewallClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NetworkFirewallClient";
2
- import { ListFirewallsRequest, ListFirewallsResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_0ListFirewallsCommand,
5
- serializeAws_json1_0ListFirewallsCommand,
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 ListFirewallsCommandInput extends ListFirewallsRequest {}
21
- export interface ListFirewallsCommandOutput extends ListFirewallsResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Retrieves the metadata for the firewalls that you have defined. If you provide VPC
25
- * identifiers in your request, this returns only the firewalls for those VPCs.</p>
26
- * <p>Depending on your setting for max results and the number of firewalls, a single call
27
- * might not return the full list. </p>
28
- * @example
29
- * Use a bare-bones client and the command you need to make an API call.
30
- * ```javascript
31
- * import { NetworkFirewallClient, ListFirewallsCommand } from "@aws-sdk/client-network-firewall"; // ES Modules import
32
- * // const { NetworkFirewallClient, ListFirewallsCommand } = require("@aws-sdk/client-network-firewall"); // CommonJS import
33
- * const client = new NetworkFirewallClient(config);
34
- * const command = new ListFirewallsCommand(input);
35
- * const response = await client.send(command);
36
- * ```
37
- *
38
- * @see {@link ListFirewallsCommandInput} for command's `input` shape.
39
- * @see {@link ListFirewallsCommandOutput} for command's `response` shape.
40
- * @see {@link NetworkFirewallClientResolvedConfig | config} for command's `input` shape.
41
- *
42
- */
43
- export class ListFirewallsCommand extends $Command<
44
- ListFirewallsCommandInput,
45
- ListFirewallsCommandOutput,
46
- NetworkFirewallClientResolvedConfig
47
- > {
48
- // Start section: command_properties
49
- // End section: command_properties
50
-
51
- constructor(readonly input: ListFirewallsCommandInput) {
52
- // Start section: command_constructor
53
- super();
54
- // End section: command_constructor
55
- }
56
-
57
- /**
58
- * @internal
59
- */
60
- resolveMiddleware(
61
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
62
- configuration: NetworkFirewallClientResolvedConfig,
63
- options?: __HttpHandlerOptions
64
- ): Handler<ListFirewallsCommandInput, ListFirewallsCommandOutput> {
65
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
66
-
67
- const stack = clientStack.concat(this.middlewareStack);
68
-
69
- const { logger } = configuration;
70
- const clientName = "NetworkFirewallClient";
71
- const commandName = "ListFirewallsCommand";
72
- const handlerExecutionContext: HandlerExecutionContext = {
73
- logger,
74
- clientName,
75
- commandName,
76
- inputFilterSensitiveLog: ListFirewallsRequest.filterSensitiveLog,
77
- outputFilterSensitiveLog: ListFirewallsResponse.filterSensitiveLog,
78
- };
79
- const { requestHandler } = configuration;
80
- return stack.resolve(
81
- (request: FinalizeHandlerArguments<any>) =>
82
- requestHandler.handle(request.request as __HttpRequest, options || {}),
83
- handlerExecutionContext
84
- );
85
- }
86
-
87
- private serialize(input: ListFirewallsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
88
- return serializeAws_json1_0ListFirewallsCommand(input, context);
89
- }
90
-
91
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListFirewallsCommandOutput> {
92
- return deserializeAws_json1_0ListFirewallsCommand(output, context);
93
- }
94
-
95
- // Start section: command_body_extra
96
- // End section: command_body_extra
97
- }
@@ -1,96 +0,0 @@
1
- import { NetworkFirewallClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NetworkFirewallClient";
2
- import { ListRuleGroupsRequest, ListRuleGroupsResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_0ListRuleGroupsCommand,
5
- serializeAws_json1_0ListRuleGroupsCommand,
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 ListRuleGroupsCommandInput extends ListRuleGroupsRequest {}
21
- export interface ListRuleGroupsCommandOutput extends ListRuleGroupsResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Retrieves the metadata for the rule groups that you have defined. Depending on your
25
- * setting for max results and the number of rule groups, a single call might not return the
26
- * full list. </p>
27
- * @example
28
- * Use a bare-bones client and the command you need to make an API call.
29
- * ```javascript
30
- * import { NetworkFirewallClient, ListRuleGroupsCommand } from "@aws-sdk/client-network-firewall"; // ES Modules import
31
- * // const { NetworkFirewallClient, ListRuleGroupsCommand } = require("@aws-sdk/client-network-firewall"); // CommonJS import
32
- * const client = new NetworkFirewallClient(config);
33
- * const command = new ListRuleGroupsCommand(input);
34
- * const response = await client.send(command);
35
- * ```
36
- *
37
- * @see {@link ListRuleGroupsCommandInput} for command's `input` shape.
38
- * @see {@link ListRuleGroupsCommandOutput} for command's `response` shape.
39
- * @see {@link NetworkFirewallClientResolvedConfig | config} for command's `input` shape.
40
- *
41
- */
42
- export class ListRuleGroupsCommand extends $Command<
43
- ListRuleGroupsCommandInput,
44
- ListRuleGroupsCommandOutput,
45
- NetworkFirewallClientResolvedConfig
46
- > {
47
- // Start section: command_properties
48
- // End section: command_properties
49
-
50
- constructor(readonly input: ListRuleGroupsCommandInput) {
51
- // Start section: command_constructor
52
- super();
53
- // End section: command_constructor
54
- }
55
-
56
- /**
57
- * @internal
58
- */
59
- resolveMiddleware(
60
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
61
- configuration: NetworkFirewallClientResolvedConfig,
62
- options?: __HttpHandlerOptions
63
- ): Handler<ListRuleGroupsCommandInput, ListRuleGroupsCommandOutput> {
64
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
65
-
66
- const stack = clientStack.concat(this.middlewareStack);
67
-
68
- const { logger } = configuration;
69
- const clientName = "NetworkFirewallClient";
70
- const commandName = "ListRuleGroupsCommand";
71
- const handlerExecutionContext: HandlerExecutionContext = {
72
- logger,
73
- clientName,
74
- commandName,
75
- inputFilterSensitiveLog: ListRuleGroupsRequest.filterSensitiveLog,
76
- outputFilterSensitiveLog: ListRuleGroupsResponse.filterSensitiveLog,
77
- };
78
- const { requestHandler } = configuration;
79
- return stack.resolve(
80
- (request: FinalizeHandlerArguments<any>) =>
81
- requestHandler.handle(request.request as __HttpRequest, options || {}),
82
- handlerExecutionContext
83
- );
84
- }
85
-
86
- private serialize(input: ListRuleGroupsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
87
- return serializeAws_json1_0ListRuleGroupsCommand(input, context);
88
- }
89
-
90
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListRuleGroupsCommandOutput> {
91
- return deserializeAws_json1_0ListRuleGroupsCommand(output, context);
92
- }
93
-
94
- // Start section: command_body_extra
95
- // End section: command_body_extra
96
- }
@@ -1,100 +0,0 @@
1
- import { NetworkFirewallClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NetworkFirewallClient";
2
- import { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_0ListTagsForResourceCommand,
5
- serializeAws_json1_0ListTagsForResourceCommand,
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 ListTagsForResourceCommandInput extends ListTagsForResourceRequest {}
21
- export interface ListTagsForResourceCommandOutput extends ListTagsForResourceResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Retrieves the tags associated with the specified resource. Tags are key:value pairs that
25
- * you can use to categorize and manage your resources, for purposes like billing. For
26
- * example, you might set the tag key to "customer" and the value to the customer name or ID.
27
- * You can specify one or more tags to add to each AWS resource, up to 50 tags for a
28
- * resource.</p>
29
- * <p>You can tag the AWS resources that you manage through AWS Network Firewall: firewalls, firewall
30
- * policies, and rule groups. </p>
31
- * @example
32
- * Use a bare-bones client and the command you need to make an API call.
33
- * ```javascript
34
- * import { NetworkFirewallClient, ListTagsForResourceCommand } from "@aws-sdk/client-network-firewall"; // ES Modules import
35
- * // const { NetworkFirewallClient, ListTagsForResourceCommand } = require("@aws-sdk/client-network-firewall"); // CommonJS import
36
- * const client = new NetworkFirewallClient(config);
37
- * const command = new ListTagsForResourceCommand(input);
38
- * const response = await client.send(command);
39
- * ```
40
- *
41
- * @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
42
- * @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
43
- * @see {@link NetworkFirewallClientResolvedConfig | config} for command's `input` shape.
44
- *
45
- */
46
- export class ListTagsForResourceCommand extends $Command<
47
- ListTagsForResourceCommandInput,
48
- ListTagsForResourceCommandOutput,
49
- NetworkFirewallClientResolvedConfig
50
- > {
51
- // Start section: command_properties
52
- // End section: command_properties
53
-
54
- constructor(readonly input: ListTagsForResourceCommandInput) {
55
- // Start section: command_constructor
56
- super();
57
- // End section: command_constructor
58
- }
59
-
60
- /**
61
- * @internal
62
- */
63
- resolveMiddleware(
64
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
65
- configuration: NetworkFirewallClientResolvedConfig,
66
- options?: __HttpHandlerOptions
67
- ): Handler<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput> {
68
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
69
-
70
- const stack = clientStack.concat(this.middlewareStack);
71
-
72
- const { logger } = configuration;
73
- const clientName = "NetworkFirewallClient";
74
- const commandName = "ListTagsForResourceCommand";
75
- const handlerExecutionContext: HandlerExecutionContext = {
76
- logger,
77
- clientName,
78
- commandName,
79
- inputFilterSensitiveLog: ListTagsForResourceRequest.filterSensitiveLog,
80
- outputFilterSensitiveLog: ListTagsForResourceResponse.filterSensitiveLog,
81
- };
82
- const { requestHandler } = configuration;
83
- return stack.resolve(
84
- (request: FinalizeHandlerArguments<any>) =>
85
- requestHandler.handle(request.request as __HttpRequest, options || {}),
86
- handlerExecutionContext
87
- );
88
- }
89
-
90
- private serialize(input: ListTagsForResourceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
91
- return serializeAws_json1_0ListTagsForResourceCommand(input, context);
92
- }
93
-
94
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListTagsForResourceCommandOutput> {
95
- return deserializeAws_json1_0ListTagsForResourceCommand(output, context);
96
- }
97
-
98
- // Start section: command_body_extra
99
- // End section: command_body_extra
100
- }
@@ -1,108 +0,0 @@
1
- import { NetworkFirewallClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NetworkFirewallClient";
2
- import { PutResourcePolicyRequest, PutResourcePolicyResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_0PutResourcePolicyCommand,
5
- serializeAws_json1_0PutResourcePolicyCommand,
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 PutResourcePolicyCommandInput extends PutResourcePolicyRequest {}
21
- export interface PutResourcePolicyCommandOutput extends PutResourcePolicyResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <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
25
- * to manage resource sharing for Network Firewall. </p>
26
- * <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>
27
- * <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>
28
- * <ul>
29
- * <li>
30
- * <p>
31
- * <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>
32
- * </li>
33
- * <li>
34
- * <p>
35
- * <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>
36
- * </li>
37
- * </ul>
38
- * <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>
39
- * @example
40
- * Use a bare-bones client and the command you need to make an API call.
41
- * ```javascript
42
- * import { NetworkFirewallClient, PutResourcePolicyCommand } from "@aws-sdk/client-network-firewall"; // ES Modules import
43
- * // const { NetworkFirewallClient, PutResourcePolicyCommand } = require("@aws-sdk/client-network-firewall"); // CommonJS import
44
- * const client = new NetworkFirewallClient(config);
45
- * const command = new PutResourcePolicyCommand(input);
46
- * const response = await client.send(command);
47
- * ```
48
- *
49
- * @see {@link PutResourcePolicyCommandInput} for command's `input` shape.
50
- * @see {@link PutResourcePolicyCommandOutput} for command's `response` shape.
51
- * @see {@link NetworkFirewallClientResolvedConfig | config} for command's `input` shape.
52
- *
53
- */
54
- export class PutResourcePolicyCommand extends $Command<
55
- PutResourcePolicyCommandInput,
56
- PutResourcePolicyCommandOutput,
57
- NetworkFirewallClientResolvedConfig
58
- > {
59
- // Start section: command_properties
60
- // End section: command_properties
61
-
62
- constructor(readonly input: PutResourcePolicyCommandInput) {
63
- // Start section: command_constructor
64
- super();
65
- // End section: command_constructor
66
- }
67
-
68
- /**
69
- * @internal
70
- */
71
- resolveMiddleware(
72
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
73
- configuration: NetworkFirewallClientResolvedConfig,
74
- options?: __HttpHandlerOptions
75
- ): Handler<PutResourcePolicyCommandInput, PutResourcePolicyCommandOutput> {
76
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
77
-
78
- const stack = clientStack.concat(this.middlewareStack);
79
-
80
- const { logger } = configuration;
81
- const clientName = "NetworkFirewallClient";
82
- const commandName = "PutResourcePolicyCommand";
83
- const handlerExecutionContext: HandlerExecutionContext = {
84
- logger,
85
- clientName,
86
- commandName,
87
- inputFilterSensitiveLog: PutResourcePolicyRequest.filterSensitiveLog,
88
- outputFilterSensitiveLog: PutResourcePolicyResponse.filterSensitiveLog,
89
- };
90
- const { requestHandler } = configuration;
91
- return stack.resolve(
92
- (request: FinalizeHandlerArguments<any>) =>
93
- requestHandler.handle(request.request as __HttpRequest, options || {}),
94
- handlerExecutionContext
95
- );
96
- }
97
-
98
- private serialize(input: PutResourcePolicyCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
99
- return serializeAws_json1_0PutResourcePolicyCommand(input, context);
100
- }
101
-
102
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<PutResourcePolicyCommandOutput> {
103
- return deserializeAws_json1_0PutResourcePolicyCommand(output, context);
104
- }
105
-
106
- // Start section: command_body_extra
107
- // End section: command_body_extra
108
- }
@@ -1,99 +0,0 @@
1
- import { NetworkFirewallClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NetworkFirewallClient";
2
- import { TagResourceRequest, TagResourceResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_0TagResourceCommand,
5
- serializeAws_json1_0TagResourceCommand,
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 TagResourceCommandInput extends TagResourceRequest {}
21
- export interface TagResourceCommandOutput extends TagResourceResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Adds the specified tags to the specified resource. Tags are key:value pairs that you can
25
- * use to categorize and manage your resources, for purposes like billing. For example, you
26
- * might set the tag key to "customer" and the value to the customer name or ID. You can
27
- * specify one or more tags to add to each AWS resource, up to 50 tags for a resource.</p>
28
- * <p>You can tag the AWS resources that you manage through AWS Network Firewall: firewalls, firewall
29
- * policies, and rule groups. </p>
30
- * @example
31
- * Use a bare-bones client and the command you need to make an API call.
32
- * ```javascript
33
- * import { NetworkFirewallClient, TagResourceCommand } from "@aws-sdk/client-network-firewall"; // ES Modules import
34
- * // const { NetworkFirewallClient, TagResourceCommand } = require("@aws-sdk/client-network-firewall"); // CommonJS import
35
- * const client = new NetworkFirewallClient(config);
36
- * const command = new TagResourceCommand(input);
37
- * const response = await client.send(command);
38
- * ```
39
- *
40
- * @see {@link TagResourceCommandInput} for command's `input` shape.
41
- * @see {@link TagResourceCommandOutput} for command's `response` shape.
42
- * @see {@link NetworkFirewallClientResolvedConfig | config} for command's `input` shape.
43
- *
44
- */
45
- export class TagResourceCommand extends $Command<
46
- TagResourceCommandInput,
47
- TagResourceCommandOutput,
48
- NetworkFirewallClientResolvedConfig
49
- > {
50
- // Start section: command_properties
51
- // End section: command_properties
52
-
53
- constructor(readonly input: TagResourceCommandInput) {
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<TagResourceCommandInput, TagResourceCommandOutput> {
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 = "TagResourceCommand";
74
- const handlerExecutionContext: HandlerExecutionContext = {
75
- logger,
76
- clientName,
77
- commandName,
78
- inputFilterSensitiveLog: TagResourceRequest.filterSensitiveLog,
79
- outputFilterSensitiveLog: TagResourceResponse.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: TagResourceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
90
- return serializeAws_json1_0TagResourceCommand(input, context);
91
- }
92
-
93
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<TagResourceCommandOutput> {
94
- return deserializeAws_json1_0TagResourceCommand(output, context);
95
- }
96
-
97
- // Start section: command_body_extra
98
- // End section: command_body_extra
99
- }
@@ -1,100 +0,0 @@
1
- import { NetworkFirewallClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NetworkFirewallClient";
2
- import { UntagResourceRequest, UntagResourceResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_0UntagResourceCommand,
5
- serializeAws_json1_0UntagResourceCommand,
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 UntagResourceCommandInput extends UntagResourceRequest {}
21
- export interface UntagResourceCommandOutput extends UntagResourceResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Removes the tags with the specified keys from the specified resource. Tags are key:value
25
- * pairs that you can use to categorize and manage your resources, for purposes like billing.
26
- * For example, you might set the tag key to "customer" and the value to the customer name or
27
- * ID. You can specify one or more tags to add to each AWS resource, up to 50 tags for a
28
- * resource.</p>
29
- * <p>You can manage tags for the AWS resources that you manage through AWS Network Firewall:
30
- * firewalls, firewall policies, and rule groups. </p>
31
- * @example
32
- * Use a bare-bones client and the command you need to make an API call.
33
- * ```javascript
34
- * import { NetworkFirewallClient, UntagResourceCommand } from "@aws-sdk/client-network-firewall"; // ES Modules import
35
- * // const { NetworkFirewallClient, UntagResourceCommand } = require("@aws-sdk/client-network-firewall"); // CommonJS import
36
- * const client = new NetworkFirewallClient(config);
37
- * const command = new UntagResourceCommand(input);
38
- * const response = await client.send(command);
39
- * ```
40
- *
41
- * @see {@link UntagResourceCommandInput} for command's `input` shape.
42
- * @see {@link UntagResourceCommandOutput} for command's `response` shape.
43
- * @see {@link NetworkFirewallClientResolvedConfig | config} for command's `input` shape.
44
- *
45
- */
46
- export class UntagResourceCommand extends $Command<
47
- UntagResourceCommandInput,
48
- UntagResourceCommandOutput,
49
- NetworkFirewallClientResolvedConfig
50
- > {
51
- // Start section: command_properties
52
- // End section: command_properties
53
-
54
- constructor(readonly input: UntagResourceCommandInput) {
55
- // Start section: command_constructor
56
- super();
57
- // End section: command_constructor
58
- }
59
-
60
- /**
61
- * @internal
62
- */
63
- resolveMiddleware(
64
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
65
- configuration: NetworkFirewallClientResolvedConfig,
66
- options?: __HttpHandlerOptions
67
- ): Handler<UntagResourceCommandInput, UntagResourceCommandOutput> {
68
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
69
-
70
- const stack = clientStack.concat(this.middlewareStack);
71
-
72
- const { logger } = configuration;
73
- const clientName = "NetworkFirewallClient";
74
- const commandName = "UntagResourceCommand";
75
- const handlerExecutionContext: HandlerExecutionContext = {
76
- logger,
77
- clientName,
78
- commandName,
79
- inputFilterSensitiveLog: UntagResourceRequest.filterSensitiveLog,
80
- outputFilterSensitiveLog: UntagResourceResponse.filterSensitiveLog,
81
- };
82
- const { requestHandler } = configuration;
83
- return stack.resolve(
84
- (request: FinalizeHandlerArguments<any>) =>
85
- requestHandler.handle(request.request as __HttpRequest, options || {}),
86
- handlerExecutionContext
87
- );
88
- }
89
-
90
- private serialize(input: UntagResourceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
91
- return serializeAws_json1_0UntagResourceCommand(input, context);
92
- }
93
-
94
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<UntagResourceCommandOutput> {
95
- return deserializeAws_json1_0UntagResourceCommand(output, context);
96
- }
97
-
98
- // Start section: command_body_extra
99
- // End section: command_body_extra
100
- }