@aws-sdk/client-fms 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 (311) hide show
  1. package/CHANGELOG.md +44 -0
  2. package/{dist/cjs → dist-cjs}/FMS.js +1 -2
  3. package/{dist/cjs → dist-cjs}/FMSClient.js +8 -9
  4. package/{dist/cjs → dist-cjs}/commands/AssociateAdminAccountCommand.js +2 -3
  5. package/{dist/cjs → dist-cjs}/commands/DeleteAppsListCommand.js +2 -3
  6. package/{dist/cjs → dist-cjs}/commands/DeleteNotificationChannelCommand.js +2 -3
  7. package/{dist/cjs → dist-cjs}/commands/DeletePolicyCommand.js +2 -3
  8. package/{dist/cjs → dist-cjs}/commands/DeleteProtocolsListCommand.js +2 -3
  9. package/{dist/cjs → dist-cjs}/commands/DisassociateAdminAccountCommand.js +2 -3
  10. package/{dist/cjs → dist-cjs}/commands/GetAdminAccountCommand.js +2 -3
  11. package/{dist/cjs → dist-cjs}/commands/GetAppsListCommand.js +2 -3
  12. package/{dist/cjs → dist-cjs}/commands/GetComplianceDetailCommand.js +2 -3
  13. package/{dist/cjs → dist-cjs}/commands/GetNotificationChannelCommand.js +2 -3
  14. package/{dist/cjs → dist-cjs}/commands/GetPolicyCommand.js +2 -3
  15. package/{dist/cjs → dist-cjs}/commands/GetProtectionStatusCommand.js +2 -3
  16. package/{dist/cjs → dist-cjs}/commands/GetProtocolsListCommand.js +2 -3
  17. package/{dist/cjs → dist-cjs}/commands/GetViolationDetailsCommand.js +2 -3
  18. package/{dist/cjs → dist-cjs}/commands/ListAppsListsCommand.js +2 -3
  19. package/{dist/cjs → dist-cjs}/commands/ListComplianceStatusCommand.js +2 -3
  20. package/{dist/cjs → dist-cjs}/commands/ListMemberAccountsCommand.js +2 -3
  21. package/{dist/cjs → dist-cjs}/commands/ListPoliciesCommand.js +2 -3
  22. package/{dist/cjs → dist-cjs}/commands/ListProtocolsListsCommand.js +2 -3
  23. package/{dist/cjs → dist-cjs}/commands/ListTagsForResourceCommand.js +2 -3
  24. package/{dist/cjs → dist-cjs}/commands/PutAppsListCommand.js +2 -3
  25. package/{dist/cjs → dist-cjs}/commands/PutNotificationChannelCommand.js +2 -3
  26. package/{dist/cjs → dist-cjs}/commands/PutPolicyCommand.js +2 -3
  27. package/{dist/cjs → dist-cjs}/commands/PutProtocolsListCommand.js +2 -3
  28. package/{dist/cjs → dist-cjs}/commands/TagResourceCommand.js +2 -3
  29. package/{dist/cjs → dist-cjs}/commands/UntagResourceCommand.js +2 -3
  30. package/{dist/cjs → dist-cjs}/endpoints.js +0 -1
  31. package/{dist/cjs → dist-cjs}/index.js +0 -1
  32. package/{dist/cjs → dist-cjs}/models/index.js +0 -1
  33. package/{dist/cjs → dist-cjs}/models/models_0.js +0 -1
  34. package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -1
  35. package/{dist/cjs → dist-cjs}/pagination/ListAppsListsPaginator.js +1 -2
  36. package/{dist/cjs → dist-cjs}/pagination/ListComplianceStatusPaginator.js +1 -2
  37. package/{dist/cjs → dist-cjs}/pagination/ListMemberAccountsPaginator.js +1 -2
  38. package/{dist/cjs → dist-cjs}/pagination/ListPoliciesPaginator.js +1 -2
  39. package/{dist/cjs → dist-cjs}/pagination/ListProtocolsListsPaginator.js +1 -2
  40. package/{dist/cjs → dist-cjs}/protocols/Aws_json1_1.js +0 -1
  41. package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +2 -2
  42. package/{dist/cjs → dist-cjs}/runtimeConfig.js +2 -2
  43. package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -1
  44. package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -2
  45. package/{dist/es → dist-es}/FMS.js +2 -12
  46. package/{dist/es → dist-es}/FMSClient.js +2 -17
  47. package/{dist/es → dist-es}/commands/AssociateAdminAccountCommand.js +4 -33
  48. package/{dist/es → dist-es}/commands/DeleteAppsListCommand.js +4 -30
  49. package/{dist/es → dist-es}/commands/DeleteNotificationChannelCommand.js +4 -31
  50. package/{dist/es → dist-es}/commands/DeletePolicyCommand.js +4 -30
  51. package/{dist/es → dist-es}/commands/DeleteProtocolsListCommand.js +4 -30
  52. package/{dist/es → dist-es}/commands/DisassociateAdminAccountCommand.js +4 -32
  53. package/{dist/es → dist-es}/commands/GetAdminAccountCommand.js +4 -31
  54. package/{dist/es → dist-es}/commands/GetAppsListCommand.js +4 -30
  55. package/dist-es/commands/GetComplianceDetailCommand.js +39 -0
  56. package/{dist/es → dist-es}/commands/GetNotificationChannelCommand.js +4 -32
  57. package/{dist/es → dist-es}/commands/GetPolicyCommand.js +4 -30
  58. package/{dist/es → dist-es}/commands/GetProtectionStatusCommand.js +4 -31
  59. package/{dist/es → dist-es}/commands/GetProtocolsListCommand.js +4 -30
  60. package/{dist/es → dist-es}/commands/GetViolationDetailsCommand.js +4 -30
  61. package/{dist/es → dist-es}/commands/ListAppsListsCommand.js +4 -30
  62. package/{dist/es → dist-es}/commands/ListComplianceStatusCommand.js +4 -32
  63. package/{dist/es → dist-es}/commands/ListMemberAccountsCommand.js +4 -33
  64. package/{dist/es → dist-es}/commands/ListPoliciesCommand.js +4 -30
  65. package/{dist/es → dist-es}/commands/ListProtocolsListsCommand.js +4 -30
  66. package/{dist/es → dist-es}/commands/ListTagsForResourceCommand.js +4 -30
  67. package/{dist/es → dist-es}/commands/PutAppsListCommand.js +4 -30
  68. package/{dist/es → dist-es}/commands/PutNotificationChannelCommand.js +4 -34
  69. package/dist-es/commands/PutPolicyCommand.js +39 -0
  70. package/{dist/es → dist-es}/commands/PutProtocolsListCommand.js +4 -30
  71. package/{dist/es → dist-es}/commands/TagResourceCommand.js +4 -30
  72. package/{dist/es → dist-es}/commands/UntagResourceCommand.js +4 -30
  73. package/{dist/es → dist-es}/endpoints.js +1 -2
  74. package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
  75. package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
  76. package/{dist/es → dist-es}/models/models_0.js +0 -310
  77. package/dist-es/pagination/Interfaces.js +1 -0
  78. package/{dist/es → dist-es}/pagination/ListAppsListsPaginator.js +17 -30
  79. package/{dist/es → dist-es}/pagination/ListComplianceStatusPaginator.js +17 -30
  80. package/{dist/es → dist-es}/pagination/ListMemberAccountsPaginator.js +17 -30
  81. package/{dist/es → dist-es}/pagination/ListPoliciesPaginator.js +17 -30
  82. package/{dist/es → dist-es}/pagination/ListProtocolsListsPaginator.js +17 -30
  83. package/{dist/es → dist-es}/protocols/Aws_json1_1.js +570 -576
  84. package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -5
  85. package/{dist/es → dist-es}/runtimeConfig.js +1 -5
  86. package/{dist/es → dist-es}/runtimeConfig.native.js +0 -4
  87. package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -5
  88. package/{dist/types → dist-types}/FMS.d.ts +2 -2
  89. package/{dist/types → dist-types}/FMSClient.d.ts +8 -8
  90. package/{dist/types → dist-types}/commands/AssociateAdminAccountCommand.d.ts +2 -2
  91. package/{dist/types → dist-types}/commands/DeleteAppsListCommand.d.ts +2 -2
  92. package/{dist/types → dist-types}/commands/DeleteNotificationChannelCommand.d.ts +2 -2
  93. package/{dist/types → dist-types}/commands/DeletePolicyCommand.d.ts +2 -2
  94. package/{dist/types → dist-types}/commands/DeleteProtocolsListCommand.d.ts +2 -2
  95. package/{dist/types → dist-types}/commands/DisassociateAdminAccountCommand.d.ts +2 -2
  96. package/{dist/types → dist-types}/commands/GetAdminAccountCommand.d.ts +2 -2
  97. package/{dist/types → dist-types}/commands/GetAppsListCommand.d.ts +2 -2
  98. package/{dist/types → dist-types}/commands/GetComplianceDetailCommand.d.ts +2 -2
  99. package/{dist/types → dist-types}/commands/GetNotificationChannelCommand.d.ts +2 -2
  100. package/{dist/types → dist-types}/commands/GetPolicyCommand.d.ts +2 -2
  101. package/{dist/types → dist-types}/commands/GetProtectionStatusCommand.d.ts +2 -2
  102. package/{dist/types → dist-types}/commands/GetProtocolsListCommand.d.ts +2 -2
  103. package/{dist/types → dist-types}/commands/GetViolationDetailsCommand.d.ts +2 -2
  104. package/{dist/types → dist-types}/commands/ListAppsListsCommand.d.ts +2 -2
  105. package/{dist/types → dist-types}/commands/ListComplianceStatusCommand.d.ts +2 -2
  106. package/{dist/types → dist-types}/commands/ListMemberAccountsCommand.d.ts +2 -2
  107. package/{dist/types → dist-types}/commands/ListPoliciesCommand.d.ts +2 -2
  108. package/{dist/types → dist-types}/commands/ListProtocolsListsCommand.d.ts +2 -2
  109. package/{dist/types → dist-types}/commands/ListTagsForResourceCommand.d.ts +2 -2
  110. package/{dist/types → dist-types}/commands/PutAppsListCommand.d.ts +2 -2
  111. package/{dist/types → dist-types}/commands/PutNotificationChannelCommand.d.ts +2 -2
  112. package/{dist/types → dist-types}/commands/PutPolicyCommand.d.ts +2 -2
  113. package/{dist/types → dist-types}/commands/PutProtocolsListCommand.d.ts +2 -2
  114. package/{dist/types → dist-types}/commands/TagResourceCommand.d.ts +2 -2
  115. package/{dist/types → dist-types}/commands/UntagResourceCommand.d.ts +2 -2
  116. package/{dist/types → dist-types}/endpoints.d.ts +0 -0
  117. package/{index.ts → dist-types/index.d.ts} +0 -0
  118. package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
  119. package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
  120. package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
  121. package/{dist/types → dist-types}/pagination/ListAppsListsPaginator.d.ts +1 -1
  122. package/{dist/types → dist-types}/pagination/ListComplianceStatusPaginator.d.ts +1 -1
  123. package/{dist/types → dist-types}/pagination/ListMemberAccountsPaginator.d.ts +1 -1
  124. package/{dist/types → dist-types}/pagination/ListPoliciesPaginator.d.ts +1 -1
  125. package/{dist/types → dist-types}/pagination/ListProtocolsListsPaginator.d.ts +1 -1
  126. package/{dist/types → dist-types}/protocols/Aws_json1_1.d.ts +2 -2
  127. package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +1 -0
  128. package/{dist/types/ts3.4 → dist-types}/runtimeConfig.d.ts +37 -36
  129. package/{dist/types → dist-types}/runtimeConfig.native.d.ts +1 -0
  130. package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
  131. package/{dist/types → dist-types}/ts3.4/FMS.d.ts +2 -2
  132. package/{dist/types → dist-types}/ts3.4/FMSClient.d.ts +8 -8
  133. package/{dist/types → dist-types}/ts3.4/commands/AssociateAdminAccountCommand.d.ts +2 -2
  134. package/{dist/types → dist-types}/ts3.4/commands/DeleteAppsListCommand.d.ts +2 -2
  135. package/{dist/types → dist-types}/ts3.4/commands/DeleteNotificationChannelCommand.d.ts +2 -2
  136. package/{dist/types → dist-types}/ts3.4/commands/DeletePolicyCommand.d.ts +2 -2
  137. package/{dist/types → dist-types}/ts3.4/commands/DeleteProtocolsListCommand.d.ts +2 -2
  138. package/{dist/types → dist-types}/ts3.4/commands/DisassociateAdminAccountCommand.d.ts +2 -2
  139. package/{dist/types → dist-types}/ts3.4/commands/GetAdminAccountCommand.d.ts +2 -2
  140. package/{dist/types → dist-types}/ts3.4/commands/GetAppsListCommand.d.ts +2 -2
  141. package/{dist/types → dist-types}/ts3.4/commands/GetComplianceDetailCommand.d.ts +2 -2
  142. package/{dist/types → dist-types}/ts3.4/commands/GetNotificationChannelCommand.d.ts +2 -2
  143. package/{dist/types → dist-types}/ts3.4/commands/GetPolicyCommand.d.ts +2 -2
  144. package/{dist/types → dist-types}/ts3.4/commands/GetProtectionStatusCommand.d.ts +2 -2
  145. package/{dist/types → dist-types}/ts3.4/commands/GetProtocolsListCommand.d.ts +2 -2
  146. package/{dist/types → dist-types}/ts3.4/commands/GetViolationDetailsCommand.d.ts +2 -2
  147. package/{dist/types → dist-types}/ts3.4/commands/ListAppsListsCommand.d.ts +2 -2
  148. package/{dist/types → dist-types}/ts3.4/commands/ListComplianceStatusCommand.d.ts +2 -2
  149. package/{dist/types → dist-types}/ts3.4/commands/ListMemberAccountsCommand.d.ts +2 -2
  150. package/{dist/types → dist-types}/ts3.4/commands/ListPoliciesCommand.d.ts +2 -2
  151. package/{dist/types → dist-types}/ts3.4/commands/ListProtocolsListsCommand.d.ts +2 -2
  152. package/{dist/types → dist-types}/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -2
  153. package/{dist/types → dist-types}/ts3.4/commands/PutAppsListCommand.d.ts +2 -2
  154. package/{dist/types → dist-types}/ts3.4/commands/PutNotificationChannelCommand.d.ts +2 -2
  155. package/{dist/types → dist-types}/ts3.4/commands/PutPolicyCommand.d.ts +2 -2
  156. package/{dist/types → dist-types}/ts3.4/commands/PutProtocolsListCommand.d.ts +2 -2
  157. package/{dist/types → dist-types}/ts3.4/commands/TagResourceCommand.d.ts +2 -2
  158. package/{dist/types → dist-types}/ts3.4/commands/UntagResourceCommand.d.ts +2 -2
  159. package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
  160. package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
  161. package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
  162. package/{dist/types → dist-types}/ts3.4/models/models_0.d.ts +0 -0
  163. package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
  164. package/{dist/types → dist-types}/ts3.4/pagination/ListAppsListsPaginator.d.ts +1 -1
  165. package/{dist/types → dist-types}/ts3.4/pagination/ListComplianceStatusPaginator.d.ts +1 -1
  166. package/{dist/types → dist-types}/ts3.4/pagination/ListMemberAccountsPaginator.d.ts +1 -1
  167. package/{dist/types → dist-types}/ts3.4/pagination/ListPoliciesPaginator.d.ts +1 -1
  168. package/{dist/types → dist-types}/ts3.4/pagination/ListProtocolsListsPaginator.d.ts +1 -1
  169. package/{dist/types → dist-types}/ts3.4/protocols/Aws_json1_1.d.ts +2 -2
  170. package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -0
  171. package/{dist/types → dist-types/ts3.4}/runtimeConfig.d.ts +37 -36
  172. package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -0
  173. package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +0 -0
  174. package/package.json +52 -49
  175. package/FMS.ts +0 -993
  176. package/FMSClient.ts +0 -352
  177. package/commands/AssociateAdminAccountCommand.ts +0 -97
  178. package/commands/DeleteAppsListCommand.ts +0 -94
  179. package/commands/DeleteNotificationChannelCommand.ts +0 -98
  180. package/commands/DeletePolicyCommand.ts +0 -94
  181. package/commands/DeleteProtocolsListCommand.ts +0 -94
  182. package/commands/DisassociateAdminAccountCommand.ts +0 -96
  183. package/commands/GetAdminAccountCommand.ts +0 -95
  184. package/commands/GetAppsListCommand.ts +0 -94
  185. package/commands/GetComplianceDetailCommand.ts +0 -117
  186. package/commands/GetNotificationChannelCommand.ts +0 -96
  187. package/commands/GetPolicyCommand.ts +0 -87
  188. package/commands/GetProtectionStatusCommand.ts +0 -95
  189. package/commands/GetProtocolsListCommand.ts +0 -94
  190. package/commands/GetViolationDetailsCommand.ts +0 -94
  191. package/commands/ListAppsListsCommand.ts +0 -94
  192. package/commands/ListComplianceStatusCommand.ts +0 -96
  193. package/commands/ListMemberAccountsCommand.ts +0 -97
  194. package/commands/ListPoliciesCommand.ts +0 -94
  195. package/commands/ListProtocolsListsCommand.ts +0 -94
  196. package/commands/ListTagsForResourceCommand.ts +0 -94
  197. package/commands/PutAppsListCommand.ts +0 -94
  198. package/commands/PutNotificationChannelCommand.ts +0 -98
  199. package/commands/PutPolicyCommand.ts +0 -119
  200. package/commands/PutProtocolsListCommand.ts +0 -94
  201. package/commands/TagResourceCommand.ts +0 -94
  202. package/commands/UntagResourceCommand.ts +0 -94
  203. package/dist/cjs/FMS.js.map +0 -1
  204. package/dist/cjs/FMSClient.js.map +0 -1
  205. package/dist/cjs/commands/AssociateAdminAccountCommand.js.map +0 -1
  206. package/dist/cjs/commands/DeleteAppsListCommand.js.map +0 -1
  207. package/dist/cjs/commands/DeleteNotificationChannelCommand.js.map +0 -1
  208. package/dist/cjs/commands/DeletePolicyCommand.js.map +0 -1
  209. package/dist/cjs/commands/DeleteProtocolsListCommand.js.map +0 -1
  210. package/dist/cjs/commands/DisassociateAdminAccountCommand.js.map +0 -1
  211. package/dist/cjs/commands/GetAdminAccountCommand.js.map +0 -1
  212. package/dist/cjs/commands/GetAppsListCommand.js.map +0 -1
  213. package/dist/cjs/commands/GetComplianceDetailCommand.js.map +0 -1
  214. package/dist/cjs/commands/GetNotificationChannelCommand.js.map +0 -1
  215. package/dist/cjs/commands/GetPolicyCommand.js.map +0 -1
  216. package/dist/cjs/commands/GetProtectionStatusCommand.js.map +0 -1
  217. package/dist/cjs/commands/GetProtocolsListCommand.js.map +0 -1
  218. package/dist/cjs/commands/GetViolationDetailsCommand.js.map +0 -1
  219. package/dist/cjs/commands/ListAppsListsCommand.js.map +0 -1
  220. package/dist/cjs/commands/ListComplianceStatusCommand.js.map +0 -1
  221. package/dist/cjs/commands/ListMemberAccountsCommand.js.map +0 -1
  222. package/dist/cjs/commands/ListPoliciesCommand.js.map +0 -1
  223. package/dist/cjs/commands/ListProtocolsListsCommand.js.map +0 -1
  224. package/dist/cjs/commands/ListTagsForResourceCommand.js.map +0 -1
  225. package/dist/cjs/commands/PutAppsListCommand.js.map +0 -1
  226. package/dist/cjs/commands/PutNotificationChannelCommand.js.map +0 -1
  227. package/dist/cjs/commands/PutPolicyCommand.js.map +0 -1
  228. package/dist/cjs/commands/PutProtocolsListCommand.js.map +0 -1
  229. package/dist/cjs/commands/TagResourceCommand.js.map +0 -1
  230. package/dist/cjs/commands/UntagResourceCommand.js.map +0 -1
  231. package/dist/cjs/endpoints.js.map +0 -1
  232. package/dist/cjs/index.js.map +0 -1
  233. package/dist/cjs/models/index.js.map +0 -1
  234. package/dist/cjs/models/models_0.js.map +0 -1
  235. package/dist/cjs/package.json +0 -91
  236. package/dist/cjs/pagination/Interfaces.js.map +0 -1
  237. package/dist/cjs/pagination/ListAppsListsPaginator.js.map +0 -1
  238. package/dist/cjs/pagination/ListComplianceStatusPaginator.js.map +0 -1
  239. package/dist/cjs/pagination/ListMemberAccountsPaginator.js.map +0 -1
  240. package/dist/cjs/pagination/ListPoliciesPaginator.js.map +0 -1
  241. package/dist/cjs/pagination/ListProtocolsListsPaginator.js.map +0 -1
  242. package/dist/cjs/protocols/Aws_json1_1.js.map +0 -1
  243. package/dist/cjs/runtimeConfig.browser.js.map +0 -1
  244. package/dist/cjs/runtimeConfig.js.map +0 -1
  245. package/dist/cjs/runtimeConfig.native.js.map +0 -1
  246. package/dist/cjs/runtimeConfig.shared.js.map +0 -1
  247. package/dist/es/FMS.js.map +0 -1
  248. package/dist/es/FMSClient.js.map +0 -1
  249. package/dist/es/commands/AssociateAdminAccountCommand.js.map +0 -1
  250. package/dist/es/commands/DeleteAppsListCommand.js.map +0 -1
  251. package/dist/es/commands/DeleteNotificationChannelCommand.js.map +0 -1
  252. package/dist/es/commands/DeletePolicyCommand.js.map +0 -1
  253. package/dist/es/commands/DeleteProtocolsListCommand.js.map +0 -1
  254. package/dist/es/commands/DisassociateAdminAccountCommand.js.map +0 -1
  255. package/dist/es/commands/GetAdminAccountCommand.js.map +0 -1
  256. package/dist/es/commands/GetAppsListCommand.js.map +0 -1
  257. package/dist/es/commands/GetComplianceDetailCommand.js +0 -88
  258. package/dist/es/commands/GetComplianceDetailCommand.js.map +0 -1
  259. package/dist/es/commands/GetNotificationChannelCommand.js.map +0 -1
  260. package/dist/es/commands/GetPolicyCommand.js.map +0 -1
  261. package/dist/es/commands/GetProtectionStatusCommand.js.map +0 -1
  262. package/dist/es/commands/GetProtocolsListCommand.js.map +0 -1
  263. package/dist/es/commands/GetViolationDetailsCommand.js.map +0 -1
  264. package/dist/es/commands/ListAppsListsCommand.js.map +0 -1
  265. package/dist/es/commands/ListComplianceStatusCommand.js.map +0 -1
  266. package/dist/es/commands/ListMemberAccountsCommand.js.map +0 -1
  267. package/dist/es/commands/ListPoliciesCommand.js.map +0 -1
  268. package/dist/es/commands/ListProtocolsListsCommand.js.map +0 -1
  269. package/dist/es/commands/ListTagsForResourceCommand.js.map +0 -1
  270. package/dist/es/commands/PutAppsListCommand.js.map +0 -1
  271. package/dist/es/commands/PutNotificationChannelCommand.js.map +0 -1
  272. package/dist/es/commands/PutPolicyCommand.js +0 -97
  273. package/dist/es/commands/PutPolicyCommand.js.map +0 -1
  274. package/dist/es/commands/PutProtocolsListCommand.js.map +0 -1
  275. package/dist/es/commands/TagResourceCommand.js.map +0 -1
  276. package/dist/es/commands/UntagResourceCommand.js.map +0 -1
  277. package/dist/es/endpoints.js.map +0 -1
  278. package/dist/es/index.js +0 -36
  279. package/dist/es/index.js.map +0 -1
  280. package/dist/es/models/index.js +0 -2
  281. package/dist/es/models/index.js.map +0 -1
  282. package/dist/es/models/models_0.js.map +0 -1
  283. package/dist/es/package.json +0 -91
  284. package/dist/es/pagination/Interfaces.js +0 -2
  285. package/dist/es/pagination/Interfaces.js.map +0 -1
  286. package/dist/es/pagination/ListAppsListsPaginator.js.map +0 -1
  287. package/dist/es/pagination/ListComplianceStatusPaginator.js.map +0 -1
  288. package/dist/es/pagination/ListMemberAccountsPaginator.js.map +0 -1
  289. package/dist/es/pagination/ListPoliciesPaginator.js.map +0 -1
  290. package/dist/es/pagination/ListProtocolsListsPaginator.js.map +0 -1
  291. package/dist/es/protocols/Aws_json1_1.js.map +0 -1
  292. package/dist/es/runtimeConfig.browser.js.map +0 -1
  293. package/dist/es/runtimeConfig.js.map +0 -1
  294. package/dist/es/runtimeConfig.native.js.map +0 -1
  295. package/dist/es/runtimeConfig.shared.js.map +0 -1
  296. package/endpoints.ts +0 -161
  297. package/jest.config.js +0 -4
  298. package/models/models_0.ts +0 -3424
  299. package/pagination/Interfaces.ts +0 -7
  300. package/pagination/ListAppsListsPaginator.ts +0 -58
  301. package/pagination/ListComplianceStatusPaginator.ts +0 -58
  302. package/pagination/ListMemberAccountsPaginator.ts +0 -58
  303. package/pagination/ListPoliciesPaginator.ts +0 -58
  304. package/pagination/ListProtocolsListsPaginator.ts +0 -58
  305. package/protocols/Aws_json1_1.ts +0 -4651
  306. package/runtimeConfig.browser.ts +0 -40
  307. package/runtimeConfig.native.ts +0 -16
  308. package/runtimeConfig.shared.ts +0 -16
  309. package/runtimeConfig.ts +0 -45
  310. package/tsconfig.es.json +0 -12
  311. package/tsconfig.json +0 -32
@@ -1,87 +0,0 @@
1
- import { FMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../FMSClient";
2
- import { GetPolicyRequest, GetPolicyResponse } from "../models/models_0";
3
- import { deserializeAws_json1_1GetPolicyCommand, serializeAws_json1_1GetPolicyCommand } from "../protocols/Aws_json1_1";
4
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
6
- import { Command as $Command } from "@aws-sdk/smithy-client";
7
- import {
8
- FinalizeHandlerArguments,
9
- Handler,
10
- HandlerExecutionContext,
11
- MiddlewareStack,
12
- HttpHandlerOptions as __HttpHandlerOptions,
13
- MetadataBearer as __MetadataBearer,
14
- SerdeContext as __SerdeContext,
15
- } from "@aws-sdk/types";
16
-
17
- export interface GetPolicyCommandInput extends GetPolicyRequest {}
18
- export interface GetPolicyCommandOutput extends GetPolicyResponse, __MetadataBearer {}
19
-
20
- /**
21
- * <p>Returns information about the specified Firewall Manager policy.</p>
22
- * @example
23
- * Use a bare-bones client and the command you need to make an API call.
24
- * ```javascript
25
- * import { FMSClient, GetPolicyCommand } from "@aws-sdk/client-fms"; // ES Modules import
26
- * // const { FMSClient, GetPolicyCommand } = require("@aws-sdk/client-fms"); // CommonJS import
27
- * const client = new FMSClient(config);
28
- * const command = new GetPolicyCommand(input);
29
- * const response = await client.send(command);
30
- * ```
31
- *
32
- * @see {@link GetPolicyCommandInput} for command's `input` shape.
33
- * @see {@link GetPolicyCommandOutput} for command's `response` shape.
34
- * @see {@link FMSClientResolvedConfig | config} for command's `input` shape.
35
- *
36
- */
37
- export class GetPolicyCommand extends $Command<GetPolicyCommandInput, GetPolicyCommandOutput, FMSClientResolvedConfig> {
38
- // Start section: command_properties
39
- // End section: command_properties
40
-
41
- constructor(readonly input: GetPolicyCommandInput) {
42
- // Start section: command_constructor
43
- super();
44
- // End section: command_constructor
45
- }
46
-
47
- /**
48
- * @internal
49
- */
50
- resolveMiddleware(
51
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
52
- configuration: FMSClientResolvedConfig,
53
- options?: __HttpHandlerOptions
54
- ): Handler<GetPolicyCommandInput, GetPolicyCommandOutput> {
55
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
56
-
57
- const stack = clientStack.concat(this.middlewareStack);
58
-
59
- const { logger } = configuration;
60
- const clientName = "FMSClient";
61
- const commandName = "GetPolicyCommand";
62
- const handlerExecutionContext: HandlerExecutionContext = {
63
- logger,
64
- clientName,
65
- commandName,
66
- inputFilterSensitiveLog: GetPolicyRequest.filterSensitiveLog,
67
- outputFilterSensitiveLog: GetPolicyResponse.filterSensitiveLog,
68
- };
69
- const { requestHandler } = configuration;
70
- return stack.resolve(
71
- (request: FinalizeHandlerArguments<any>) =>
72
- requestHandler.handle(request.request as __HttpRequest, options || {}),
73
- handlerExecutionContext
74
- );
75
- }
76
-
77
- private serialize(input: GetPolicyCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
78
- return serializeAws_json1_1GetPolicyCommand(input, context);
79
- }
80
-
81
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetPolicyCommandOutput> {
82
- return deserializeAws_json1_1GetPolicyCommand(output, context);
83
- }
84
-
85
- // Start section: command_body_extra
86
- // End section: command_body_extra
87
- }
@@ -1,95 +0,0 @@
1
- import { FMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../FMSClient";
2
- import { GetProtectionStatusRequest, GetProtectionStatusResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1GetProtectionStatusCommand,
5
- serializeAws_json1_1GetProtectionStatusCommand,
6
- } from "../protocols/Aws_json1_1";
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 GetProtectionStatusCommandInput extends GetProtectionStatusRequest {}
21
- export interface GetProtectionStatusCommandOutput extends GetProtectionStatusResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>If you created a Shield Advanced policy, returns policy-level attack summary information
25
- * in the event of a potential DDoS attack. Other policy types are currently unsupported.</p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { FMSClient, GetProtectionStatusCommand } from "@aws-sdk/client-fms"; // ES Modules import
30
- * // const { FMSClient, GetProtectionStatusCommand } = require("@aws-sdk/client-fms"); // CommonJS import
31
- * const client = new FMSClient(config);
32
- * const command = new GetProtectionStatusCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link GetProtectionStatusCommandInput} for command's `input` shape.
37
- * @see {@link GetProtectionStatusCommandOutput} for command's `response` shape.
38
- * @see {@link FMSClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class GetProtectionStatusCommand extends $Command<
42
- GetProtectionStatusCommandInput,
43
- GetProtectionStatusCommandOutput,
44
- FMSClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: GetProtectionStatusCommandInput) {
50
- // Start section: command_constructor
51
- super();
52
- // End section: command_constructor
53
- }
54
-
55
- /**
56
- * @internal
57
- */
58
- resolveMiddleware(
59
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
60
- configuration: FMSClientResolvedConfig,
61
- options?: __HttpHandlerOptions
62
- ): Handler<GetProtectionStatusCommandInput, GetProtectionStatusCommandOutput> {
63
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
64
-
65
- const stack = clientStack.concat(this.middlewareStack);
66
-
67
- const { logger } = configuration;
68
- const clientName = "FMSClient";
69
- const commandName = "GetProtectionStatusCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: GetProtectionStatusRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: GetProtectionStatusResponse.filterSensitiveLog,
76
- };
77
- const { requestHandler } = configuration;
78
- return stack.resolve(
79
- (request: FinalizeHandlerArguments<any>) =>
80
- requestHandler.handle(request.request as __HttpRequest, options || {}),
81
- handlerExecutionContext
82
- );
83
- }
84
-
85
- private serialize(input: GetProtectionStatusCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_json1_1GetProtectionStatusCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetProtectionStatusCommandOutput> {
90
- return deserializeAws_json1_1GetProtectionStatusCommand(output, context);
91
- }
92
-
93
- // Start section: command_body_extra
94
- // End section: command_body_extra
95
- }
@@ -1,94 +0,0 @@
1
- import { FMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../FMSClient";
2
- import { GetProtocolsListRequest, GetProtocolsListResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1GetProtocolsListCommand,
5
- serializeAws_json1_1GetProtocolsListCommand,
6
- } from "../protocols/Aws_json1_1";
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 GetProtocolsListCommandInput extends GetProtocolsListRequest {}
21
- export interface GetProtocolsListCommandOutput extends GetProtocolsListResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Returns information about the specified Firewall Manager protocols list.</p>
25
- * @example
26
- * Use a bare-bones client and the command you need to make an API call.
27
- * ```javascript
28
- * import { FMSClient, GetProtocolsListCommand } from "@aws-sdk/client-fms"; // ES Modules import
29
- * // const { FMSClient, GetProtocolsListCommand } = require("@aws-sdk/client-fms"); // CommonJS import
30
- * const client = new FMSClient(config);
31
- * const command = new GetProtocolsListCommand(input);
32
- * const response = await client.send(command);
33
- * ```
34
- *
35
- * @see {@link GetProtocolsListCommandInput} for command's `input` shape.
36
- * @see {@link GetProtocolsListCommandOutput} for command's `response` shape.
37
- * @see {@link FMSClientResolvedConfig | config} for command's `input` shape.
38
- *
39
- */
40
- export class GetProtocolsListCommand extends $Command<
41
- GetProtocolsListCommandInput,
42
- GetProtocolsListCommandOutput,
43
- FMSClientResolvedConfig
44
- > {
45
- // Start section: command_properties
46
- // End section: command_properties
47
-
48
- constructor(readonly input: GetProtocolsListCommandInput) {
49
- // Start section: command_constructor
50
- super();
51
- // End section: command_constructor
52
- }
53
-
54
- /**
55
- * @internal
56
- */
57
- resolveMiddleware(
58
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
59
- configuration: FMSClientResolvedConfig,
60
- options?: __HttpHandlerOptions
61
- ): Handler<GetProtocolsListCommandInput, GetProtocolsListCommandOutput> {
62
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
63
-
64
- const stack = clientStack.concat(this.middlewareStack);
65
-
66
- const { logger } = configuration;
67
- const clientName = "FMSClient";
68
- const commandName = "GetProtocolsListCommand";
69
- const handlerExecutionContext: HandlerExecutionContext = {
70
- logger,
71
- clientName,
72
- commandName,
73
- inputFilterSensitiveLog: GetProtocolsListRequest.filterSensitiveLog,
74
- outputFilterSensitiveLog: GetProtocolsListResponse.filterSensitiveLog,
75
- };
76
- const { requestHandler } = configuration;
77
- return stack.resolve(
78
- (request: FinalizeHandlerArguments<any>) =>
79
- requestHandler.handle(request.request as __HttpRequest, options || {}),
80
- handlerExecutionContext
81
- );
82
- }
83
-
84
- private serialize(input: GetProtocolsListCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
85
- return serializeAws_json1_1GetProtocolsListCommand(input, context);
86
- }
87
-
88
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetProtocolsListCommandOutput> {
89
- return deserializeAws_json1_1GetProtocolsListCommand(output, context);
90
- }
91
-
92
- // Start section: command_body_extra
93
- // End section: command_body_extra
94
- }
@@ -1,94 +0,0 @@
1
- import { FMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../FMSClient";
2
- import { GetViolationDetailsRequest, GetViolationDetailsResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1GetViolationDetailsCommand,
5
- serializeAws_json1_1GetViolationDetailsCommand,
6
- } from "../protocols/Aws_json1_1";
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 GetViolationDetailsCommandInput extends GetViolationDetailsRequest {}
21
- export interface GetViolationDetailsCommandOutput extends GetViolationDetailsResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Retrieves violations for a resource based on the specified Firewall Manager policy and Amazon Web Services account.</p>
25
- * @example
26
- * Use a bare-bones client and the command you need to make an API call.
27
- * ```javascript
28
- * import { FMSClient, GetViolationDetailsCommand } from "@aws-sdk/client-fms"; // ES Modules import
29
- * // const { FMSClient, GetViolationDetailsCommand } = require("@aws-sdk/client-fms"); // CommonJS import
30
- * const client = new FMSClient(config);
31
- * const command = new GetViolationDetailsCommand(input);
32
- * const response = await client.send(command);
33
- * ```
34
- *
35
- * @see {@link GetViolationDetailsCommandInput} for command's `input` shape.
36
- * @see {@link GetViolationDetailsCommandOutput} for command's `response` shape.
37
- * @see {@link FMSClientResolvedConfig | config} for command's `input` shape.
38
- *
39
- */
40
- export class GetViolationDetailsCommand extends $Command<
41
- GetViolationDetailsCommandInput,
42
- GetViolationDetailsCommandOutput,
43
- FMSClientResolvedConfig
44
- > {
45
- // Start section: command_properties
46
- // End section: command_properties
47
-
48
- constructor(readonly input: GetViolationDetailsCommandInput) {
49
- // Start section: command_constructor
50
- super();
51
- // End section: command_constructor
52
- }
53
-
54
- /**
55
- * @internal
56
- */
57
- resolveMiddleware(
58
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
59
- configuration: FMSClientResolvedConfig,
60
- options?: __HttpHandlerOptions
61
- ): Handler<GetViolationDetailsCommandInput, GetViolationDetailsCommandOutput> {
62
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
63
-
64
- const stack = clientStack.concat(this.middlewareStack);
65
-
66
- const { logger } = configuration;
67
- const clientName = "FMSClient";
68
- const commandName = "GetViolationDetailsCommand";
69
- const handlerExecutionContext: HandlerExecutionContext = {
70
- logger,
71
- clientName,
72
- commandName,
73
- inputFilterSensitiveLog: GetViolationDetailsRequest.filterSensitiveLog,
74
- outputFilterSensitiveLog: GetViolationDetailsResponse.filterSensitiveLog,
75
- };
76
- const { requestHandler } = configuration;
77
- return stack.resolve(
78
- (request: FinalizeHandlerArguments<any>) =>
79
- requestHandler.handle(request.request as __HttpRequest, options || {}),
80
- handlerExecutionContext
81
- );
82
- }
83
-
84
- private serialize(input: GetViolationDetailsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
85
- return serializeAws_json1_1GetViolationDetailsCommand(input, context);
86
- }
87
-
88
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetViolationDetailsCommandOutput> {
89
- return deserializeAws_json1_1GetViolationDetailsCommand(output, context);
90
- }
91
-
92
- // Start section: command_body_extra
93
- // End section: command_body_extra
94
- }
@@ -1,94 +0,0 @@
1
- import { FMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../FMSClient";
2
- import { ListAppsListsRequest, ListAppsListsResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1ListAppsListsCommand,
5
- serializeAws_json1_1ListAppsListsCommand,
6
- } from "../protocols/Aws_json1_1";
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 ListAppsListsCommandInput extends ListAppsListsRequest {}
21
- export interface ListAppsListsCommandOutput extends ListAppsListsResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Returns an array of <code>AppsListDataSummary</code> objects.</p>
25
- * @example
26
- * Use a bare-bones client and the command you need to make an API call.
27
- * ```javascript
28
- * import { FMSClient, ListAppsListsCommand } from "@aws-sdk/client-fms"; // ES Modules import
29
- * // const { FMSClient, ListAppsListsCommand } = require("@aws-sdk/client-fms"); // CommonJS import
30
- * const client = new FMSClient(config);
31
- * const command = new ListAppsListsCommand(input);
32
- * const response = await client.send(command);
33
- * ```
34
- *
35
- * @see {@link ListAppsListsCommandInput} for command's `input` shape.
36
- * @see {@link ListAppsListsCommandOutput} for command's `response` shape.
37
- * @see {@link FMSClientResolvedConfig | config} for command's `input` shape.
38
- *
39
- */
40
- export class ListAppsListsCommand extends $Command<
41
- ListAppsListsCommandInput,
42
- ListAppsListsCommandOutput,
43
- FMSClientResolvedConfig
44
- > {
45
- // Start section: command_properties
46
- // End section: command_properties
47
-
48
- constructor(readonly input: ListAppsListsCommandInput) {
49
- // Start section: command_constructor
50
- super();
51
- // End section: command_constructor
52
- }
53
-
54
- /**
55
- * @internal
56
- */
57
- resolveMiddleware(
58
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
59
- configuration: FMSClientResolvedConfig,
60
- options?: __HttpHandlerOptions
61
- ): Handler<ListAppsListsCommandInput, ListAppsListsCommandOutput> {
62
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
63
-
64
- const stack = clientStack.concat(this.middlewareStack);
65
-
66
- const { logger } = configuration;
67
- const clientName = "FMSClient";
68
- const commandName = "ListAppsListsCommand";
69
- const handlerExecutionContext: HandlerExecutionContext = {
70
- logger,
71
- clientName,
72
- commandName,
73
- inputFilterSensitiveLog: ListAppsListsRequest.filterSensitiveLog,
74
- outputFilterSensitiveLog: ListAppsListsResponse.filterSensitiveLog,
75
- };
76
- const { requestHandler } = configuration;
77
- return stack.resolve(
78
- (request: FinalizeHandlerArguments<any>) =>
79
- requestHandler.handle(request.request as __HttpRequest, options || {}),
80
- handlerExecutionContext
81
- );
82
- }
83
-
84
- private serialize(input: ListAppsListsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
85
- return serializeAws_json1_1ListAppsListsCommand(input, context);
86
- }
87
-
88
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListAppsListsCommandOutput> {
89
- return deserializeAws_json1_1ListAppsListsCommand(output, context);
90
- }
91
-
92
- // Start section: command_body_extra
93
- // End section: command_body_extra
94
- }
@@ -1,96 +0,0 @@
1
- import { FMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../FMSClient";
2
- import { ListComplianceStatusRequest, ListComplianceStatusResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1ListComplianceStatusCommand,
5
- serializeAws_json1_1ListComplianceStatusCommand,
6
- } from "../protocols/Aws_json1_1";
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 ListComplianceStatusCommandInput extends ListComplianceStatusRequest {}
21
- export interface ListComplianceStatusCommandOutput extends ListComplianceStatusResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Returns an array of <code>PolicyComplianceStatus</code> objects. Use
25
- * <code>PolicyComplianceStatus</code> to get a summary of which member accounts are protected
26
- * by the specified policy. </p>
27
- * @example
28
- * Use a bare-bones client and the command you need to make an API call.
29
- * ```javascript
30
- * import { FMSClient, ListComplianceStatusCommand } from "@aws-sdk/client-fms"; // ES Modules import
31
- * // const { FMSClient, ListComplianceStatusCommand } = require("@aws-sdk/client-fms"); // CommonJS import
32
- * const client = new FMSClient(config);
33
- * const command = new ListComplianceStatusCommand(input);
34
- * const response = await client.send(command);
35
- * ```
36
- *
37
- * @see {@link ListComplianceStatusCommandInput} for command's `input` shape.
38
- * @see {@link ListComplianceStatusCommandOutput} for command's `response` shape.
39
- * @see {@link FMSClientResolvedConfig | config} for command's `input` shape.
40
- *
41
- */
42
- export class ListComplianceStatusCommand extends $Command<
43
- ListComplianceStatusCommandInput,
44
- ListComplianceStatusCommandOutput,
45
- FMSClientResolvedConfig
46
- > {
47
- // Start section: command_properties
48
- // End section: command_properties
49
-
50
- constructor(readonly input: ListComplianceStatusCommandInput) {
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: FMSClientResolvedConfig,
62
- options?: __HttpHandlerOptions
63
- ): Handler<ListComplianceStatusCommandInput, ListComplianceStatusCommandOutput> {
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 = "FMSClient";
70
- const commandName = "ListComplianceStatusCommand";
71
- const handlerExecutionContext: HandlerExecutionContext = {
72
- logger,
73
- clientName,
74
- commandName,
75
- inputFilterSensitiveLog: ListComplianceStatusRequest.filterSensitiveLog,
76
- outputFilterSensitiveLog: ListComplianceStatusResponse.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: ListComplianceStatusCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
87
- return serializeAws_json1_1ListComplianceStatusCommand(input, context);
88
- }
89
-
90
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListComplianceStatusCommandOutput> {
91
- return deserializeAws_json1_1ListComplianceStatusCommand(output, context);
92
- }
93
-
94
- // Start section: command_body_extra
95
- // End section: command_body_extra
96
- }
@@ -1,97 +0,0 @@
1
- import { FMSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../FMSClient";
2
- import { ListMemberAccountsRequest, ListMemberAccountsResponse } from "../models/models_0";
3
- import {
4
- deserializeAws_json1_1ListMemberAccountsCommand,
5
- serializeAws_json1_1ListMemberAccountsCommand,
6
- } from "../protocols/Aws_json1_1";
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 ListMemberAccountsCommandInput extends ListMemberAccountsRequest {}
21
- export interface ListMemberAccountsCommandOutput extends ListMemberAccountsResponse, __MetadataBearer {}
22
-
23
- /**
24
- * <p>Returns a <code>MemberAccounts</code> object that lists the member accounts in the
25
- * administrator's Amazon Web Services organization.</p>
26
- * <p>The <code>ListMemberAccounts</code> must be submitted by the account that is set as the
27
- * Firewall Manager administrator.</p>
28
- * @example
29
- * Use a bare-bones client and the command you need to make an API call.
30
- * ```javascript
31
- * import { FMSClient, ListMemberAccountsCommand } from "@aws-sdk/client-fms"; // ES Modules import
32
- * // const { FMSClient, ListMemberAccountsCommand } = require("@aws-sdk/client-fms"); // CommonJS import
33
- * const client = new FMSClient(config);
34
- * const command = new ListMemberAccountsCommand(input);
35
- * const response = await client.send(command);
36
- * ```
37
- *
38
- * @see {@link ListMemberAccountsCommandInput} for command's `input` shape.
39
- * @see {@link ListMemberAccountsCommandOutput} for command's `response` shape.
40
- * @see {@link FMSClientResolvedConfig | config} for command's `input` shape.
41
- *
42
- */
43
- export class ListMemberAccountsCommand extends $Command<
44
- ListMemberAccountsCommandInput,
45
- ListMemberAccountsCommandOutput,
46
- FMSClientResolvedConfig
47
- > {
48
- // Start section: command_properties
49
- // End section: command_properties
50
-
51
- constructor(readonly input: ListMemberAccountsCommandInput) {
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: FMSClientResolvedConfig,
63
- options?: __HttpHandlerOptions
64
- ): Handler<ListMemberAccountsCommandInput, ListMemberAccountsCommandOutput> {
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 = "FMSClient";
71
- const commandName = "ListMemberAccountsCommand";
72
- const handlerExecutionContext: HandlerExecutionContext = {
73
- logger,
74
- clientName,
75
- commandName,
76
- inputFilterSensitiveLog: ListMemberAccountsRequest.filterSensitiveLog,
77
- outputFilterSensitiveLog: ListMemberAccountsResponse.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: ListMemberAccountsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
88
- return serializeAws_json1_1ListMemberAccountsCommand(input, context);
89
- }
90
-
91
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListMemberAccountsCommandOutput> {
92
- return deserializeAws_json1_1ListMemberAccountsCommand(output, context);
93
- }
94
-
95
- // Start section: command_body_extra
96
- // End section: command_body_extra
97
- }