@aws-sdk/client-guardduty 3.35.0 → 3.38.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 (481) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/dist-cjs/GuardDuty.js +0 -20
  3. package/dist-cjs/GuardDutyClient.js +0 -25
  4. package/dist-cjs/commands/AcceptInvitationCommand.js +0 -25
  5. package/dist-cjs/commands/ArchiveFindingsCommand.js +0 -29
  6. package/dist-cjs/commands/CreateDetectorCommand.js +0 -28
  7. package/dist-cjs/commands/CreateFilterCommand.js +0 -25
  8. package/dist-cjs/commands/CreateIPSetCommand.js +0 -28
  9. package/dist-cjs/commands/CreateMembersCommand.js +0 -36
  10. package/dist-cjs/commands/CreatePublishingDestinationCommand.js +0 -26
  11. package/dist-cjs/commands/CreateSampleFindingsCommand.js +0 -27
  12. package/dist-cjs/commands/CreateThreatIntelSetCommand.js +0 -27
  13. package/dist-cjs/commands/DeclineInvitationsCommand.js +0 -26
  14. package/dist-cjs/commands/DeleteDetectorCommand.js +0 -25
  15. package/dist-cjs/commands/DeleteFilterCommand.js +0 -25
  16. package/dist-cjs/commands/DeleteIPSetCommand.js +0 -26
  17. package/dist-cjs/commands/DeleteInvitationsCommand.js +0 -26
  18. package/dist-cjs/commands/DeleteMembersCommand.js +0 -26
  19. package/dist-cjs/commands/DeletePublishingDestinationCommand.js +0 -25
  20. package/dist-cjs/commands/DeleteThreatIntelSetCommand.js +0 -25
  21. package/dist-cjs/commands/DescribeOrganizationConfigurationCommand.js +0 -26
  22. package/dist-cjs/commands/DescribePublishingDestinationCommand.js +0 -26
  23. package/dist-cjs/commands/DisableOrganizationAdminAccountCommand.js +0 -26
  24. package/dist-cjs/commands/DisassociateFromMasterAccountCommand.js +0 -25
  25. package/dist-cjs/commands/DisassociateMembersCommand.js +0 -26
  26. package/dist-cjs/commands/EnableOrganizationAdminAccountCommand.js +0 -26
  27. package/dist-cjs/commands/GetDetectorCommand.js +0 -25
  28. package/dist-cjs/commands/GetFilterCommand.js +0 -25
  29. package/dist-cjs/commands/GetFindingsCommand.js +0 -25
  30. package/dist-cjs/commands/GetFindingsStatisticsCommand.js +0 -25
  31. package/dist-cjs/commands/GetIPSetCommand.js +0 -25
  32. package/dist-cjs/commands/GetInvitationsCountCommand.js +0 -26
  33. package/dist-cjs/commands/GetMasterAccountCommand.js +0 -26
  34. package/dist-cjs/commands/GetMemberDetectorsCommand.js +0 -25
  35. package/dist-cjs/commands/GetMembersCommand.js +0 -26
  36. package/dist-cjs/commands/GetThreatIntelSetCommand.js +0 -25
  37. package/dist-cjs/commands/GetUsageStatisticsCommand.js +0 -28
  38. package/dist-cjs/commands/InviteMembersCommand.js +0 -27
  39. package/dist-cjs/commands/ListDetectorsCommand.js +0 -25
  40. package/dist-cjs/commands/ListFiltersCommand.js +0 -25
  41. package/dist-cjs/commands/ListFindingsCommand.js +0 -25
  42. package/dist-cjs/commands/ListIPSetsCommand.js +0 -27
  43. package/dist-cjs/commands/ListInvitationsCommand.js +0 -26
  44. package/dist-cjs/commands/ListMembersCommand.js +0 -25
  45. package/dist-cjs/commands/ListOrganizationAdminAccountsCommand.js +0 -25
  46. package/dist-cjs/commands/ListPublishingDestinationsCommand.js +0 -26
  47. package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -27
  48. package/dist-cjs/commands/ListThreatIntelSetsCommand.js +0 -27
  49. package/dist-cjs/commands/StartMonitoringMembersCommand.js +0 -27
  50. package/dist-cjs/commands/StopMonitoringMembersCommand.js +0 -27
  51. package/dist-cjs/commands/TagResourceCommand.js +0 -25
  52. package/dist-cjs/commands/UnarchiveFindingsCommand.js +0 -25
  53. package/dist-cjs/commands/UntagResourceCommand.js +0 -25
  54. package/dist-cjs/commands/UpdateDetectorCommand.js +0 -25
  55. package/dist-cjs/commands/UpdateFilterCommand.js +0 -25
  56. package/dist-cjs/commands/UpdateFindingsFeedbackCommand.js +0 -25
  57. package/dist-cjs/commands/UpdateIPSetCommand.js +0 -25
  58. package/dist-cjs/commands/UpdateMemberDetectorsCommand.js +0 -25
  59. package/dist-cjs/commands/UpdateOrganizationConfigurationCommand.js +0 -25
  60. package/dist-cjs/commands/UpdatePublishingDestinationCommand.js +0 -26
  61. package/dist-cjs/commands/UpdateThreatIntelSetCommand.js +0 -25
  62. package/dist-cjs/commands/index.js +61 -0
  63. package/dist-cjs/endpoints.js +1 -2
  64. package/dist-cjs/index.js +4 -72
  65. package/dist-cjs/models/index.js +0 -1
  66. package/dist-cjs/models/models_0.js +0 -559
  67. package/dist-cjs/pagination/GetUsageStatisticsPaginator.js +0 -11
  68. package/dist-cjs/pagination/Interfaces.js +0 -1
  69. package/dist-cjs/pagination/ListDetectorsPaginator.js +0 -11
  70. package/dist-cjs/pagination/ListFiltersPaginator.js +0 -11
  71. package/dist-cjs/pagination/ListFindingsPaginator.js +0 -11
  72. package/dist-cjs/pagination/ListIPSetsPaginator.js +0 -11
  73. package/dist-cjs/pagination/ListInvitationsPaginator.js +0 -11
  74. package/dist-cjs/pagination/ListMembersPaginator.js +0 -11
  75. package/dist-cjs/pagination/ListOrganizationAdminAccountsPaginator.js +0 -11
  76. package/dist-cjs/pagination/ListPublishingDestinationsPaginator.js +0 -11
  77. package/dist-cjs/pagination/ListThreatIntelSetsPaginator.js +0 -11
  78. package/dist-cjs/pagination/index.js +14 -0
  79. package/dist-cjs/protocols/Aws_restJson1.js +0 -6
  80. package/dist-cjs/runtimeConfig.browser.js +1 -6
  81. package/dist-cjs/runtimeConfig.js +2 -7
  82. package/dist-cjs/runtimeConfig.native.js +0 -4
  83. package/dist-cjs/runtimeConfig.shared.js +0 -4
  84. package/dist-es/GuardDuty.js +0 -1
  85. package/dist-es/GuardDutyClient.js +0 -1
  86. package/dist-es/commands/AcceptInvitationCommand.js +0 -1
  87. package/dist-es/commands/ArchiveFindingsCommand.js +0 -1
  88. package/dist-es/commands/CreateDetectorCommand.js +0 -1
  89. package/dist-es/commands/CreateFilterCommand.js +0 -1
  90. package/dist-es/commands/CreateIPSetCommand.js +0 -1
  91. package/dist-es/commands/CreateMembersCommand.js +0 -1
  92. package/dist-es/commands/CreatePublishingDestinationCommand.js +0 -1
  93. package/dist-es/commands/CreateSampleFindingsCommand.js +0 -1
  94. package/dist-es/commands/CreateThreatIntelSetCommand.js +0 -1
  95. package/dist-es/commands/DeclineInvitationsCommand.js +0 -1
  96. package/dist-es/commands/DeleteDetectorCommand.js +0 -1
  97. package/dist-es/commands/DeleteFilterCommand.js +0 -1
  98. package/dist-es/commands/DeleteIPSetCommand.js +0 -1
  99. package/dist-es/commands/DeleteInvitationsCommand.js +0 -1
  100. package/dist-es/commands/DeleteMembersCommand.js +0 -1
  101. package/dist-es/commands/DeletePublishingDestinationCommand.js +0 -1
  102. package/dist-es/commands/DeleteThreatIntelSetCommand.js +0 -1
  103. package/dist-es/commands/DescribeOrganizationConfigurationCommand.js +0 -1
  104. package/dist-es/commands/DescribePublishingDestinationCommand.js +0 -1
  105. package/dist-es/commands/DisableOrganizationAdminAccountCommand.js +0 -1
  106. package/dist-es/commands/DisassociateFromMasterAccountCommand.js +0 -1
  107. package/dist-es/commands/DisassociateMembersCommand.js +0 -1
  108. package/dist-es/commands/EnableOrganizationAdminAccountCommand.js +0 -1
  109. package/dist-es/commands/GetDetectorCommand.js +0 -1
  110. package/dist-es/commands/GetFilterCommand.js +0 -1
  111. package/dist-es/commands/GetFindingsCommand.js +0 -1
  112. package/dist-es/commands/GetFindingsStatisticsCommand.js +0 -1
  113. package/dist-es/commands/GetIPSetCommand.js +0 -1
  114. package/dist-es/commands/GetInvitationsCountCommand.js +0 -1
  115. package/dist-es/commands/GetMasterAccountCommand.js +0 -1
  116. package/dist-es/commands/GetMemberDetectorsCommand.js +0 -1
  117. package/dist-es/commands/GetMembersCommand.js +0 -1
  118. package/dist-es/commands/GetThreatIntelSetCommand.js +0 -1
  119. package/dist-es/commands/GetUsageStatisticsCommand.js +0 -1
  120. package/dist-es/commands/InviteMembersCommand.js +0 -1
  121. package/dist-es/commands/ListDetectorsCommand.js +0 -1
  122. package/dist-es/commands/ListFiltersCommand.js +0 -1
  123. package/dist-es/commands/ListFindingsCommand.js +0 -1
  124. package/dist-es/commands/ListIPSetsCommand.js +0 -1
  125. package/dist-es/commands/ListInvitationsCommand.js +0 -1
  126. package/dist-es/commands/ListMembersCommand.js +0 -1
  127. package/dist-es/commands/ListOrganizationAdminAccountsCommand.js +0 -1
  128. package/dist-es/commands/ListPublishingDestinationsCommand.js +0 -1
  129. package/dist-es/commands/ListTagsForResourceCommand.js +0 -1
  130. package/dist-es/commands/ListThreatIntelSetsCommand.js +0 -1
  131. package/dist-es/commands/StartMonitoringMembersCommand.js +0 -1
  132. package/dist-es/commands/StopMonitoringMembersCommand.js +0 -1
  133. package/dist-es/commands/TagResourceCommand.js +0 -1
  134. package/dist-es/commands/UnarchiveFindingsCommand.js +0 -1
  135. package/dist-es/commands/UntagResourceCommand.js +0 -1
  136. package/dist-es/commands/UpdateDetectorCommand.js +0 -1
  137. package/dist-es/commands/UpdateFilterCommand.js +0 -1
  138. package/dist-es/commands/UpdateFindingsFeedbackCommand.js +0 -1
  139. package/dist-es/commands/UpdateIPSetCommand.js +0 -1
  140. package/dist-es/commands/UpdateMemberDetectorsCommand.js +0 -1
  141. package/dist-es/commands/UpdateOrganizationConfigurationCommand.js +0 -1
  142. package/dist-es/commands/UpdatePublishingDestinationCommand.js +0 -1
  143. package/dist-es/commands/UpdateThreatIntelSetCommand.js +0 -1
  144. package/dist-es/commands/index.js +58 -0
  145. package/dist-es/endpoints.js +1 -2
  146. package/dist-es/index.js +4 -72
  147. package/dist-es/models/index.js +0 -1
  148. package/dist-es/models/models_0.js +0 -1
  149. package/dist-es/pagination/GetUsageStatisticsPaginator.js +0 -1
  150. package/dist-es/pagination/Interfaces.js +0 -1
  151. package/dist-es/pagination/ListDetectorsPaginator.js +0 -1
  152. package/dist-es/pagination/ListFiltersPaginator.js +0 -1
  153. package/dist-es/pagination/ListFindingsPaginator.js +0 -1
  154. package/dist-es/pagination/ListIPSetsPaginator.js +0 -1
  155. package/dist-es/pagination/ListInvitationsPaginator.js +0 -1
  156. package/dist-es/pagination/ListMembersPaginator.js +0 -1
  157. package/dist-es/pagination/ListOrganizationAdminAccountsPaginator.js +0 -1
  158. package/dist-es/pagination/ListPublishingDestinationsPaginator.js +0 -1
  159. package/dist-es/pagination/ListThreatIntelSetsPaginator.js +0 -1
  160. package/dist-es/pagination/index.js +11 -0
  161. package/dist-es/protocols/Aws_restJson1.js +0 -1
  162. package/dist-es/runtimeConfig.browser.js +1 -2
  163. package/dist-es/runtimeConfig.js +2 -3
  164. package/dist-es/runtimeConfig.native.js +0 -1
  165. package/dist-es/runtimeConfig.shared.js +0 -1
  166. package/dist-types/commands/index.d.ts +58 -0
  167. package/dist-types/index.d.ts +4 -71
  168. package/dist-types/pagination/index.d.ts +11 -0
  169. package/dist-types/ts3.4/GuardDuty.d.ts +59 -249
  170. package/dist-types/ts3.4/GuardDutyClient.d.ts +24 -105
  171. package/dist-types/ts3.4/commands/AcceptInvitationCommand.d.ts +2 -20
  172. package/dist-types/ts3.4/commands/ArchiveFindingsCommand.d.ts +2 -24
  173. package/dist-types/ts3.4/commands/CreateDetectorCommand.d.ts +2 -23
  174. package/dist-types/ts3.4/commands/CreateFilterCommand.d.ts +2 -20
  175. package/dist-types/ts3.4/commands/CreateIPSetCommand.d.ts +2 -23
  176. package/dist-types/ts3.4/commands/CreateMembersCommand.d.ts +2 -31
  177. package/dist-types/ts3.4/commands/CreatePublishingDestinationCommand.d.ts +2 -21
  178. package/dist-types/ts3.4/commands/CreateSampleFindingsCommand.d.ts +2 -22
  179. package/dist-types/ts3.4/commands/CreateThreatIntelSetCommand.d.ts +2 -22
  180. package/dist-types/ts3.4/commands/DeclineInvitationsCommand.d.ts +2 -21
  181. package/dist-types/ts3.4/commands/DeleteDetectorCommand.d.ts +2 -20
  182. package/dist-types/ts3.4/commands/DeleteFilterCommand.d.ts +2 -20
  183. package/dist-types/ts3.4/commands/DeleteIPSetCommand.d.ts +2 -21
  184. package/dist-types/ts3.4/commands/DeleteInvitationsCommand.d.ts +2 -21
  185. package/dist-types/ts3.4/commands/DeleteMembersCommand.d.ts +2 -21
  186. package/dist-types/ts3.4/commands/DeletePublishingDestinationCommand.d.ts +2 -20
  187. package/dist-types/ts3.4/commands/DeleteThreatIntelSetCommand.d.ts +2 -20
  188. package/dist-types/ts3.4/commands/DescribeOrganizationConfigurationCommand.d.ts +2 -21
  189. package/dist-types/ts3.4/commands/DescribePublishingDestinationCommand.d.ts +2 -21
  190. package/dist-types/ts3.4/commands/DisableOrganizationAdminAccountCommand.d.ts +2 -21
  191. package/dist-types/ts3.4/commands/DisassociateFromMasterAccountCommand.d.ts +2 -20
  192. package/dist-types/ts3.4/commands/DisassociateMembersCommand.d.ts +2 -21
  193. package/dist-types/ts3.4/commands/EnableOrganizationAdminAccountCommand.d.ts +2 -21
  194. package/dist-types/ts3.4/commands/GetDetectorCommand.d.ts +2 -20
  195. package/dist-types/ts3.4/commands/GetFilterCommand.d.ts +2 -20
  196. package/dist-types/ts3.4/commands/GetFindingsCommand.d.ts +2 -20
  197. package/dist-types/ts3.4/commands/GetFindingsStatisticsCommand.d.ts +2 -20
  198. package/dist-types/ts3.4/commands/GetIPSetCommand.d.ts +2 -20
  199. package/dist-types/ts3.4/commands/GetInvitationsCountCommand.d.ts +2 -21
  200. package/dist-types/ts3.4/commands/GetMasterAccountCommand.d.ts +2 -21
  201. package/dist-types/ts3.4/commands/GetMemberDetectorsCommand.d.ts +2 -20
  202. package/dist-types/ts3.4/commands/GetMembersCommand.d.ts +2 -21
  203. package/dist-types/ts3.4/commands/GetThreatIntelSetCommand.d.ts +2 -20
  204. package/dist-types/ts3.4/commands/GetUsageStatisticsCommand.d.ts +2 -23
  205. package/dist-types/ts3.4/commands/InviteMembersCommand.d.ts +2 -22
  206. package/dist-types/ts3.4/commands/ListDetectorsCommand.d.ts +2 -20
  207. package/dist-types/ts3.4/commands/ListFiltersCommand.d.ts +2 -20
  208. package/dist-types/ts3.4/commands/ListFindingsCommand.d.ts +2 -20
  209. package/dist-types/ts3.4/commands/ListIPSetsCommand.d.ts +2 -22
  210. package/dist-types/ts3.4/commands/ListInvitationsCommand.d.ts +2 -21
  211. package/dist-types/ts3.4/commands/ListMembersCommand.d.ts +2 -20
  212. package/dist-types/ts3.4/commands/ListOrganizationAdminAccountsCommand.d.ts +2 -20
  213. package/dist-types/ts3.4/commands/ListPublishingDestinationsCommand.d.ts +2 -21
  214. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -22
  215. package/dist-types/ts3.4/commands/ListThreatIntelSetsCommand.d.ts +2 -22
  216. package/dist-types/ts3.4/commands/StartMonitoringMembersCommand.d.ts +2 -22
  217. package/dist-types/ts3.4/commands/StopMonitoringMembersCommand.d.ts +2 -22
  218. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -20
  219. package/dist-types/ts3.4/commands/UnarchiveFindingsCommand.d.ts +2 -20
  220. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -20
  221. package/dist-types/ts3.4/commands/UpdateDetectorCommand.d.ts +2 -20
  222. package/dist-types/ts3.4/commands/UpdateFilterCommand.d.ts +2 -20
  223. package/dist-types/ts3.4/commands/UpdateFindingsFeedbackCommand.d.ts +2 -20
  224. package/dist-types/ts3.4/commands/UpdateIPSetCommand.d.ts +2 -20
  225. package/dist-types/ts3.4/commands/UpdateMemberDetectorsCommand.d.ts +2 -20
  226. package/dist-types/ts3.4/commands/UpdateOrganizationConfigurationCommand.d.ts +2 -20
  227. package/dist-types/ts3.4/commands/UpdatePublishingDestinationCommand.d.ts +2 -21
  228. package/dist-types/ts3.4/commands/UpdateThreatIntelSetCommand.d.ts +2 -20
  229. package/dist-types/ts3.4/commands/index.d.ts +58 -0
  230. package/dist-types/ts3.4/index.d.ts +4 -71
  231. package/dist-types/ts3.4/models/models_0.d.ts +708 -2623
  232. package/dist-types/ts3.4/pagination/index.d.ts +11 -0
  233. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
  234. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
  235. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
  236. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
  237. package/package.json +33 -30
  238. package/dist-cjs/GuardDuty.js.map +0 -1
  239. package/dist-cjs/GuardDutyClient.js.map +0 -1
  240. package/dist-cjs/commands/AcceptInvitationCommand.js.map +0 -1
  241. package/dist-cjs/commands/ArchiveFindingsCommand.js.map +0 -1
  242. package/dist-cjs/commands/CreateDetectorCommand.js.map +0 -1
  243. package/dist-cjs/commands/CreateFilterCommand.js.map +0 -1
  244. package/dist-cjs/commands/CreateIPSetCommand.js.map +0 -1
  245. package/dist-cjs/commands/CreateMembersCommand.js.map +0 -1
  246. package/dist-cjs/commands/CreatePublishingDestinationCommand.js.map +0 -1
  247. package/dist-cjs/commands/CreateSampleFindingsCommand.js.map +0 -1
  248. package/dist-cjs/commands/CreateThreatIntelSetCommand.js.map +0 -1
  249. package/dist-cjs/commands/DeclineInvitationsCommand.js.map +0 -1
  250. package/dist-cjs/commands/DeleteDetectorCommand.js.map +0 -1
  251. package/dist-cjs/commands/DeleteFilterCommand.js.map +0 -1
  252. package/dist-cjs/commands/DeleteIPSetCommand.js.map +0 -1
  253. package/dist-cjs/commands/DeleteInvitationsCommand.js.map +0 -1
  254. package/dist-cjs/commands/DeleteMembersCommand.js.map +0 -1
  255. package/dist-cjs/commands/DeletePublishingDestinationCommand.js.map +0 -1
  256. package/dist-cjs/commands/DeleteThreatIntelSetCommand.js.map +0 -1
  257. package/dist-cjs/commands/DescribeOrganizationConfigurationCommand.js.map +0 -1
  258. package/dist-cjs/commands/DescribePublishingDestinationCommand.js.map +0 -1
  259. package/dist-cjs/commands/DisableOrganizationAdminAccountCommand.js.map +0 -1
  260. package/dist-cjs/commands/DisassociateFromMasterAccountCommand.js.map +0 -1
  261. package/dist-cjs/commands/DisassociateMembersCommand.js.map +0 -1
  262. package/dist-cjs/commands/EnableOrganizationAdminAccountCommand.js.map +0 -1
  263. package/dist-cjs/commands/GetDetectorCommand.js.map +0 -1
  264. package/dist-cjs/commands/GetFilterCommand.js.map +0 -1
  265. package/dist-cjs/commands/GetFindingsCommand.js.map +0 -1
  266. package/dist-cjs/commands/GetFindingsStatisticsCommand.js.map +0 -1
  267. package/dist-cjs/commands/GetIPSetCommand.js.map +0 -1
  268. package/dist-cjs/commands/GetInvitationsCountCommand.js.map +0 -1
  269. package/dist-cjs/commands/GetMasterAccountCommand.js.map +0 -1
  270. package/dist-cjs/commands/GetMemberDetectorsCommand.js.map +0 -1
  271. package/dist-cjs/commands/GetMembersCommand.js.map +0 -1
  272. package/dist-cjs/commands/GetThreatIntelSetCommand.js.map +0 -1
  273. package/dist-cjs/commands/GetUsageStatisticsCommand.js.map +0 -1
  274. package/dist-cjs/commands/InviteMembersCommand.js.map +0 -1
  275. package/dist-cjs/commands/ListDetectorsCommand.js.map +0 -1
  276. package/dist-cjs/commands/ListFiltersCommand.js.map +0 -1
  277. package/dist-cjs/commands/ListFindingsCommand.js.map +0 -1
  278. package/dist-cjs/commands/ListIPSetsCommand.js.map +0 -1
  279. package/dist-cjs/commands/ListInvitationsCommand.js.map +0 -1
  280. package/dist-cjs/commands/ListMembersCommand.js.map +0 -1
  281. package/dist-cjs/commands/ListOrganizationAdminAccountsCommand.js.map +0 -1
  282. package/dist-cjs/commands/ListPublishingDestinationsCommand.js.map +0 -1
  283. package/dist-cjs/commands/ListTagsForResourceCommand.js.map +0 -1
  284. package/dist-cjs/commands/ListThreatIntelSetsCommand.js.map +0 -1
  285. package/dist-cjs/commands/StartMonitoringMembersCommand.js.map +0 -1
  286. package/dist-cjs/commands/StopMonitoringMembersCommand.js.map +0 -1
  287. package/dist-cjs/commands/TagResourceCommand.js.map +0 -1
  288. package/dist-cjs/commands/UnarchiveFindingsCommand.js.map +0 -1
  289. package/dist-cjs/commands/UntagResourceCommand.js.map +0 -1
  290. package/dist-cjs/commands/UpdateDetectorCommand.js.map +0 -1
  291. package/dist-cjs/commands/UpdateFilterCommand.js.map +0 -1
  292. package/dist-cjs/commands/UpdateFindingsFeedbackCommand.js.map +0 -1
  293. package/dist-cjs/commands/UpdateIPSetCommand.js.map +0 -1
  294. package/dist-cjs/commands/UpdateMemberDetectorsCommand.js.map +0 -1
  295. package/dist-cjs/commands/UpdateOrganizationConfigurationCommand.js.map +0 -1
  296. package/dist-cjs/commands/UpdatePublishingDestinationCommand.js.map +0 -1
  297. package/dist-cjs/commands/UpdateThreatIntelSetCommand.js.map +0 -1
  298. package/dist-cjs/endpoints.js.map +0 -1
  299. package/dist-cjs/index.js.map +0 -1
  300. package/dist-cjs/models/index.js.map +0 -1
  301. package/dist-cjs/models/models_0.js.map +0 -1
  302. package/dist-cjs/pagination/GetUsageStatisticsPaginator.js.map +0 -1
  303. package/dist-cjs/pagination/Interfaces.js.map +0 -1
  304. package/dist-cjs/pagination/ListDetectorsPaginator.js.map +0 -1
  305. package/dist-cjs/pagination/ListFiltersPaginator.js.map +0 -1
  306. package/dist-cjs/pagination/ListFindingsPaginator.js.map +0 -1
  307. package/dist-cjs/pagination/ListIPSetsPaginator.js.map +0 -1
  308. package/dist-cjs/pagination/ListInvitationsPaginator.js.map +0 -1
  309. package/dist-cjs/pagination/ListMembersPaginator.js.map +0 -1
  310. package/dist-cjs/pagination/ListOrganizationAdminAccountsPaginator.js.map +0 -1
  311. package/dist-cjs/pagination/ListPublishingDestinationsPaginator.js.map +0 -1
  312. package/dist-cjs/pagination/ListThreatIntelSetsPaginator.js.map +0 -1
  313. package/dist-cjs/protocols/Aws_restJson1.js.map +0 -1
  314. package/dist-cjs/runtimeConfig.browser.js.map +0 -1
  315. package/dist-cjs/runtimeConfig.js.map +0 -1
  316. package/dist-cjs/runtimeConfig.native.js.map +0 -1
  317. package/dist-cjs/runtimeConfig.shared.js.map +0 -1
  318. package/dist-es/GuardDuty.js.map +0 -1
  319. package/dist-es/GuardDutyClient.js.map +0 -1
  320. package/dist-es/commands/AcceptInvitationCommand.js.map +0 -1
  321. package/dist-es/commands/ArchiveFindingsCommand.js.map +0 -1
  322. package/dist-es/commands/CreateDetectorCommand.js.map +0 -1
  323. package/dist-es/commands/CreateFilterCommand.js.map +0 -1
  324. package/dist-es/commands/CreateIPSetCommand.js.map +0 -1
  325. package/dist-es/commands/CreateMembersCommand.js.map +0 -1
  326. package/dist-es/commands/CreatePublishingDestinationCommand.js.map +0 -1
  327. package/dist-es/commands/CreateSampleFindingsCommand.js.map +0 -1
  328. package/dist-es/commands/CreateThreatIntelSetCommand.js.map +0 -1
  329. package/dist-es/commands/DeclineInvitationsCommand.js.map +0 -1
  330. package/dist-es/commands/DeleteDetectorCommand.js.map +0 -1
  331. package/dist-es/commands/DeleteFilterCommand.js.map +0 -1
  332. package/dist-es/commands/DeleteIPSetCommand.js.map +0 -1
  333. package/dist-es/commands/DeleteInvitationsCommand.js.map +0 -1
  334. package/dist-es/commands/DeleteMembersCommand.js.map +0 -1
  335. package/dist-es/commands/DeletePublishingDestinationCommand.js.map +0 -1
  336. package/dist-es/commands/DeleteThreatIntelSetCommand.js.map +0 -1
  337. package/dist-es/commands/DescribeOrganizationConfigurationCommand.js.map +0 -1
  338. package/dist-es/commands/DescribePublishingDestinationCommand.js.map +0 -1
  339. package/dist-es/commands/DisableOrganizationAdminAccountCommand.js.map +0 -1
  340. package/dist-es/commands/DisassociateFromMasterAccountCommand.js.map +0 -1
  341. package/dist-es/commands/DisassociateMembersCommand.js.map +0 -1
  342. package/dist-es/commands/EnableOrganizationAdminAccountCommand.js.map +0 -1
  343. package/dist-es/commands/GetDetectorCommand.js.map +0 -1
  344. package/dist-es/commands/GetFilterCommand.js.map +0 -1
  345. package/dist-es/commands/GetFindingsCommand.js.map +0 -1
  346. package/dist-es/commands/GetFindingsStatisticsCommand.js.map +0 -1
  347. package/dist-es/commands/GetIPSetCommand.js.map +0 -1
  348. package/dist-es/commands/GetInvitationsCountCommand.js.map +0 -1
  349. package/dist-es/commands/GetMasterAccountCommand.js.map +0 -1
  350. package/dist-es/commands/GetMemberDetectorsCommand.js.map +0 -1
  351. package/dist-es/commands/GetMembersCommand.js.map +0 -1
  352. package/dist-es/commands/GetThreatIntelSetCommand.js.map +0 -1
  353. package/dist-es/commands/GetUsageStatisticsCommand.js.map +0 -1
  354. package/dist-es/commands/InviteMembersCommand.js.map +0 -1
  355. package/dist-es/commands/ListDetectorsCommand.js.map +0 -1
  356. package/dist-es/commands/ListFiltersCommand.js.map +0 -1
  357. package/dist-es/commands/ListFindingsCommand.js.map +0 -1
  358. package/dist-es/commands/ListIPSetsCommand.js.map +0 -1
  359. package/dist-es/commands/ListInvitationsCommand.js.map +0 -1
  360. package/dist-es/commands/ListMembersCommand.js.map +0 -1
  361. package/dist-es/commands/ListOrganizationAdminAccountsCommand.js.map +0 -1
  362. package/dist-es/commands/ListPublishingDestinationsCommand.js.map +0 -1
  363. package/dist-es/commands/ListTagsForResourceCommand.js.map +0 -1
  364. package/dist-es/commands/ListThreatIntelSetsCommand.js.map +0 -1
  365. package/dist-es/commands/StartMonitoringMembersCommand.js.map +0 -1
  366. package/dist-es/commands/StopMonitoringMembersCommand.js.map +0 -1
  367. package/dist-es/commands/TagResourceCommand.js.map +0 -1
  368. package/dist-es/commands/UnarchiveFindingsCommand.js.map +0 -1
  369. package/dist-es/commands/UntagResourceCommand.js.map +0 -1
  370. package/dist-es/commands/UpdateDetectorCommand.js.map +0 -1
  371. package/dist-es/commands/UpdateFilterCommand.js.map +0 -1
  372. package/dist-es/commands/UpdateFindingsFeedbackCommand.js.map +0 -1
  373. package/dist-es/commands/UpdateIPSetCommand.js.map +0 -1
  374. package/dist-es/commands/UpdateMemberDetectorsCommand.js.map +0 -1
  375. package/dist-es/commands/UpdateOrganizationConfigurationCommand.js.map +0 -1
  376. package/dist-es/commands/UpdatePublishingDestinationCommand.js.map +0 -1
  377. package/dist-es/commands/UpdateThreatIntelSetCommand.js.map +0 -1
  378. package/dist-es/endpoints.js.map +0 -1
  379. package/dist-es/index.js.map +0 -1
  380. package/dist-es/models/index.js.map +0 -1
  381. package/dist-es/models/models_0.js.map +0 -1
  382. package/dist-es/pagination/GetUsageStatisticsPaginator.js.map +0 -1
  383. package/dist-es/pagination/Interfaces.js.map +0 -1
  384. package/dist-es/pagination/ListDetectorsPaginator.js.map +0 -1
  385. package/dist-es/pagination/ListFiltersPaginator.js.map +0 -1
  386. package/dist-es/pagination/ListFindingsPaginator.js.map +0 -1
  387. package/dist-es/pagination/ListIPSetsPaginator.js.map +0 -1
  388. package/dist-es/pagination/ListInvitationsPaginator.js.map +0 -1
  389. package/dist-es/pagination/ListMembersPaginator.js.map +0 -1
  390. package/dist-es/pagination/ListOrganizationAdminAccountsPaginator.js.map +0 -1
  391. package/dist-es/pagination/ListPublishingDestinationsPaginator.js.map +0 -1
  392. package/dist-es/pagination/ListThreatIntelSetsPaginator.js.map +0 -1
  393. package/dist-es/protocols/Aws_restJson1.js.map +0 -1
  394. package/dist-es/runtimeConfig.browser.js.map +0 -1
  395. package/dist-es/runtimeConfig.js.map +0 -1
  396. package/dist-es/runtimeConfig.native.js.map +0 -1
  397. package/dist-es/runtimeConfig.shared.js.map +0 -1
  398. package/jest.config.js +0 -4
  399. package/src/GuardDuty.ts +0 -2094
  400. package/src/GuardDutyClient.ts +0 -498
  401. package/src/commands/AcceptInvitationCommand.ts +0 -95
  402. package/src/commands/ArchiveFindingsCommand.ts +0 -99
  403. package/src/commands/CreateDetectorCommand.ts +0 -98
  404. package/src/commands/CreateFilterCommand.ts +0 -95
  405. package/src/commands/CreateIPSetCommand.ts +0 -98
  406. package/src/commands/CreateMembersCommand.ts +0 -106
  407. package/src/commands/CreatePublishingDestinationCommand.ts +0 -101
  408. package/src/commands/CreateSampleFindingsCommand.ts +0 -97
  409. package/src/commands/CreateThreatIntelSetCommand.ts +0 -97
  410. package/src/commands/DeclineInvitationsCommand.ts +0 -96
  411. package/src/commands/DeleteDetectorCommand.ts +0 -95
  412. package/src/commands/DeleteFilterCommand.ts +0 -95
  413. package/src/commands/DeleteIPSetCommand.ts +0 -96
  414. package/src/commands/DeleteInvitationsCommand.ts +0 -96
  415. package/src/commands/DeleteMembersCommand.ts +0 -96
  416. package/src/commands/DeletePublishingDestinationCommand.ts +0 -100
  417. package/src/commands/DeleteThreatIntelSetCommand.ts +0 -95
  418. package/src/commands/DescribeOrganizationConfigurationCommand.ts +0 -107
  419. package/src/commands/DescribePublishingDestinationCommand.ts +0 -101
  420. package/src/commands/DisableOrganizationAdminAccountCommand.ts +0 -104
  421. package/src/commands/DisassociateFromMasterAccountCommand.ts +0 -100
  422. package/src/commands/DisassociateMembersCommand.ts +0 -96
  423. package/src/commands/EnableOrganizationAdminAccountCommand.ts +0 -104
  424. package/src/commands/GetDetectorCommand.ts +0 -95
  425. package/src/commands/GetFilterCommand.ts +0 -95
  426. package/src/commands/GetFindingsCommand.ts +0 -95
  427. package/src/commands/GetFindingsStatisticsCommand.ts +0 -95
  428. package/src/commands/GetIPSetCommand.ts +0 -95
  429. package/src/commands/GetInvitationsCountCommand.ts +0 -96
  430. package/src/commands/GetMasterAccountCommand.ts +0 -96
  431. package/src/commands/GetMemberDetectorsCommand.ts +0 -95
  432. package/src/commands/GetMembersCommand.ts +0 -96
  433. package/src/commands/GetThreatIntelSetCommand.ts +0 -95
  434. package/src/commands/GetUsageStatisticsCommand.ts +0 -98
  435. package/src/commands/InviteMembersCommand.ts +0 -97
  436. package/src/commands/ListDetectorsCommand.ts +0 -95
  437. package/src/commands/ListFiltersCommand.ts +0 -95
  438. package/src/commands/ListFindingsCommand.ts +0 -95
  439. package/src/commands/ListIPSetsCommand.ts +0 -97
  440. package/src/commands/ListInvitationsCommand.ts +0 -96
  441. package/src/commands/ListMembersCommand.ts +0 -95
  442. package/src/commands/ListOrganizationAdminAccountsCommand.ts +0 -100
  443. package/src/commands/ListPublishingDestinationsCommand.ts +0 -99
  444. package/src/commands/ListTagsForResourceCommand.ts +0 -97
  445. package/src/commands/ListThreatIntelSetsCommand.ts +0 -97
  446. package/src/commands/StartMonitoringMembersCommand.ts +0 -97
  447. package/src/commands/StopMonitoringMembersCommand.ts +0 -97
  448. package/src/commands/TagResourceCommand.ts +0 -95
  449. package/src/commands/UnarchiveFindingsCommand.ts +0 -95
  450. package/src/commands/UntagResourceCommand.ts +0 -95
  451. package/src/commands/UpdateDetectorCommand.ts +0 -95
  452. package/src/commands/UpdateFilterCommand.ts +0 -95
  453. package/src/commands/UpdateFindingsFeedbackCommand.ts +0 -95
  454. package/src/commands/UpdateIPSetCommand.ts +0 -95
  455. package/src/commands/UpdateMemberDetectorsCommand.ts +0 -95
  456. package/src/commands/UpdateOrganizationConfigurationCommand.ts +0 -103
  457. package/src/commands/UpdatePublishingDestinationCommand.ts +0 -101
  458. package/src/commands/UpdateThreatIntelSetCommand.ts +0 -95
  459. package/src/endpoints.ts +0 -86
  460. package/src/index.ts +0 -72
  461. package/src/models/index.ts +0 -1
  462. package/src/models/models_0.ts +0 -5123
  463. package/src/pagination/GetUsageStatisticsPaginator.ts +0 -59
  464. package/src/pagination/Interfaces.ts +0 -8
  465. package/src/pagination/ListDetectorsPaginator.ts +0 -59
  466. package/src/pagination/ListFiltersPaginator.ts +0 -55
  467. package/src/pagination/ListFindingsPaginator.ts +0 -59
  468. package/src/pagination/ListIPSetsPaginator.ts +0 -55
  469. package/src/pagination/ListInvitationsPaginator.ts +0 -59
  470. package/src/pagination/ListMembersPaginator.ts +0 -55
  471. package/src/pagination/ListOrganizationAdminAccountsPaginator.ts +0 -59
  472. package/src/pagination/ListPublishingDestinationsPaginator.ts +0 -59
  473. package/src/pagination/ListThreatIntelSetsPaginator.ts +0 -59
  474. package/src/protocols/Aws_restJson1.ts +0 -7458
  475. package/src/runtimeConfig.browser.ts +0 -41
  476. package/src/runtimeConfig.native.ts +0 -17
  477. package/src/runtimeConfig.shared.ts +0 -17
  478. package/src/runtimeConfig.ts +0 -46
  479. package/tsconfig.es.json +0 -10
  480. package/tsconfig.json +0 -33
  481. package/tsconfig.types.json +0 -9
@@ -1,96 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { GuardDutyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GuardDutyClient";
15
- import { GetInvitationsCountRequest, GetInvitationsCountResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_restJson1GetInvitationsCountCommand,
18
- serializeAws_restJson1GetInvitationsCountCommand,
19
- } from "../protocols/Aws_restJson1";
20
-
21
- export interface GetInvitationsCountCommandInput extends GetInvitationsCountRequest {}
22
- export interface GetInvitationsCountCommandOutput extends GetInvitationsCountResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Returns the count of all GuardDuty membership invitations that were sent to the current
26
- * member account except the currently accepted invitation.</p>
27
- * @example
28
- * Use a bare-bones client and the command you need to make an API call.
29
- * ```javascript
30
- * import { GuardDutyClient, GetInvitationsCountCommand } from "@aws-sdk/client-guardduty"; // ES Modules import
31
- * // const { GuardDutyClient, GetInvitationsCountCommand } = require("@aws-sdk/client-guardduty"); // CommonJS import
32
- * const client = new GuardDutyClient(config);
33
- * const command = new GetInvitationsCountCommand(input);
34
- * const response = await client.send(command);
35
- * ```
36
- *
37
- * @see {@link GetInvitationsCountCommandInput} for command's `input` shape.
38
- * @see {@link GetInvitationsCountCommandOutput} for command's `response` shape.
39
- * @see {@link GuardDutyClientResolvedConfig | config} for command's `input` shape.
40
- *
41
- */
42
- export class GetInvitationsCountCommand extends $Command<
43
- GetInvitationsCountCommandInput,
44
- GetInvitationsCountCommandOutput,
45
- GuardDutyClientResolvedConfig
46
- > {
47
- // Start section: command_properties
48
- // End section: command_properties
49
-
50
- constructor(readonly input: GetInvitationsCountCommandInput) {
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: GuardDutyClientResolvedConfig,
62
- options?: __HttpHandlerOptions
63
- ): Handler<GetInvitationsCountCommandInput, GetInvitationsCountCommandOutput> {
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 = "GuardDutyClient";
70
- const commandName = "GetInvitationsCountCommand";
71
- const handlerExecutionContext: HandlerExecutionContext = {
72
- logger,
73
- clientName,
74
- commandName,
75
- inputFilterSensitiveLog: GetInvitationsCountRequest.filterSensitiveLog,
76
- outputFilterSensitiveLog: GetInvitationsCountResponse.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: GetInvitationsCountCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
87
- return serializeAws_restJson1GetInvitationsCountCommand(input, context);
88
- }
89
-
90
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetInvitationsCountCommandOutput> {
91
- return deserializeAws_restJson1GetInvitationsCountCommand(output, context);
92
- }
93
-
94
- // Start section: command_body_extra
95
- // End section: command_body_extra
96
- }
@@ -1,96 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { GuardDutyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GuardDutyClient";
15
- import { GetMasterAccountRequest, GetMasterAccountResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_restJson1GetMasterAccountCommand,
18
- serializeAws_restJson1GetMasterAccountCommand,
19
- } from "../protocols/Aws_restJson1";
20
-
21
- export interface GetMasterAccountCommandInput extends GetMasterAccountRequest {}
22
- export interface GetMasterAccountCommandOutput extends GetMasterAccountResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Provides the details for the GuardDuty administrator account associated with the current
26
- * GuardDuty member account.</p>
27
- * @example
28
- * Use a bare-bones client and the command you need to make an API call.
29
- * ```javascript
30
- * import { GuardDutyClient, GetMasterAccountCommand } from "@aws-sdk/client-guardduty"; // ES Modules import
31
- * // const { GuardDutyClient, GetMasterAccountCommand } = require("@aws-sdk/client-guardduty"); // CommonJS import
32
- * const client = new GuardDutyClient(config);
33
- * const command = new GetMasterAccountCommand(input);
34
- * const response = await client.send(command);
35
- * ```
36
- *
37
- * @see {@link GetMasterAccountCommandInput} for command's `input` shape.
38
- * @see {@link GetMasterAccountCommandOutput} for command's `response` shape.
39
- * @see {@link GuardDutyClientResolvedConfig | config} for command's `input` shape.
40
- *
41
- */
42
- export class GetMasterAccountCommand extends $Command<
43
- GetMasterAccountCommandInput,
44
- GetMasterAccountCommandOutput,
45
- GuardDutyClientResolvedConfig
46
- > {
47
- // Start section: command_properties
48
- // End section: command_properties
49
-
50
- constructor(readonly input: GetMasterAccountCommandInput) {
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: GuardDutyClientResolvedConfig,
62
- options?: __HttpHandlerOptions
63
- ): Handler<GetMasterAccountCommandInput, GetMasterAccountCommandOutput> {
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 = "GuardDutyClient";
70
- const commandName = "GetMasterAccountCommand";
71
- const handlerExecutionContext: HandlerExecutionContext = {
72
- logger,
73
- clientName,
74
- commandName,
75
- inputFilterSensitiveLog: GetMasterAccountRequest.filterSensitiveLog,
76
- outputFilterSensitiveLog: GetMasterAccountResponse.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: GetMasterAccountCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
87
- return serializeAws_restJson1GetMasterAccountCommand(input, context);
88
- }
89
-
90
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetMasterAccountCommandOutput> {
91
- return deserializeAws_restJson1GetMasterAccountCommand(output, context);
92
- }
93
-
94
- // Start section: command_body_extra
95
- // End section: command_body_extra
96
- }
@@ -1,95 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { GuardDutyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GuardDutyClient";
15
- import { GetMemberDetectorsRequest, GetMemberDetectorsResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_restJson1GetMemberDetectorsCommand,
18
- serializeAws_restJson1GetMemberDetectorsCommand,
19
- } from "../protocols/Aws_restJson1";
20
-
21
- export interface GetMemberDetectorsCommandInput extends GetMemberDetectorsRequest {}
22
- export interface GetMemberDetectorsCommandOutput extends GetMemberDetectorsResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Describes which data sources are enabled for the member account's detector.</p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { GuardDutyClient, GetMemberDetectorsCommand } from "@aws-sdk/client-guardduty"; // ES Modules import
30
- * // const { GuardDutyClient, GetMemberDetectorsCommand } = require("@aws-sdk/client-guardduty"); // CommonJS import
31
- * const client = new GuardDutyClient(config);
32
- * const command = new GetMemberDetectorsCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link GetMemberDetectorsCommandInput} for command's `input` shape.
37
- * @see {@link GetMemberDetectorsCommandOutput} for command's `response` shape.
38
- * @see {@link GuardDutyClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class GetMemberDetectorsCommand extends $Command<
42
- GetMemberDetectorsCommandInput,
43
- GetMemberDetectorsCommandOutput,
44
- GuardDutyClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: GetMemberDetectorsCommandInput) {
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: GuardDutyClientResolvedConfig,
61
- options?: __HttpHandlerOptions
62
- ): Handler<GetMemberDetectorsCommandInput, GetMemberDetectorsCommandOutput> {
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 = "GuardDutyClient";
69
- const commandName = "GetMemberDetectorsCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: GetMemberDetectorsRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: GetMemberDetectorsResponse.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: GetMemberDetectorsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_restJson1GetMemberDetectorsCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetMemberDetectorsCommandOutput> {
90
- return deserializeAws_restJson1GetMemberDetectorsCommand(output, context);
91
- }
92
-
93
- // Start section: command_body_extra
94
- // End section: command_body_extra
95
- }
@@ -1,96 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { GuardDutyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GuardDutyClient";
15
- import { GetMembersRequest, GetMembersResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_restJson1GetMembersCommand,
18
- serializeAws_restJson1GetMembersCommand,
19
- } from "../protocols/Aws_restJson1";
20
-
21
- export interface GetMembersCommandInput extends GetMembersRequest {}
22
- export interface GetMembersCommandOutput extends GetMembersResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Retrieves GuardDuty member accounts (of the current GuardDuty administrator account) specified by
26
- * the account IDs.</p>
27
- * @example
28
- * Use a bare-bones client and the command you need to make an API call.
29
- * ```javascript
30
- * import { GuardDutyClient, GetMembersCommand } from "@aws-sdk/client-guardduty"; // ES Modules import
31
- * // const { GuardDutyClient, GetMembersCommand } = require("@aws-sdk/client-guardduty"); // CommonJS import
32
- * const client = new GuardDutyClient(config);
33
- * const command = new GetMembersCommand(input);
34
- * const response = await client.send(command);
35
- * ```
36
- *
37
- * @see {@link GetMembersCommandInput} for command's `input` shape.
38
- * @see {@link GetMembersCommandOutput} for command's `response` shape.
39
- * @see {@link GuardDutyClientResolvedConfig | config} for command's `input` shape.
40
- *
41
- */
42
- export class GetMembersCommand extends $Command<
43
- GetMembersCommandInput,
44
- GetMembersCommandOutput,
45
- GuardDutyClientResolvedConfig
46
- > {
47
- // Start section: command_properties
48
- // End section: command_properties
49
-
50
- constructor(readonly input: GetMembersCommandInput) {
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: GuardDutyClientResolvedConfig,
62
- options?: __HttpHandlerOptions
63
- ): Handler<GetMembersCommandInput, GetMembersCommandOutput> {
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 = "GuardDutyClient";
70
- const commandName = "GetMembersCommand";
71
- const handlerExecutionContext: HandlerExecutionContext = {
72
- logger,
73
- clientName,
74
- commandName,
75
- inputFilterSensitiveLog: GetMembersRequest.filterSensitiveLog,
76
- outputFilterSensitiveLog: GetMembersResponse.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: GetMembersCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
87
- return serializeAws_restJson1GetMembersCommand(input, context);
88
- }
89
-
90
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetMembersCommandOutput> {
91
- return deserializeAws_restJson1GetMembersCommand(output, context);
92
- }
93
-
94
- // Start section: command_body_extra
95
- // End section: command_body_extra
96
- }
@@ -1,95 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { GuardDutyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GuardDutyClient";
15
- import { GetThreatIntelSetRequest, GetThreatIntelSetResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_restJson1GetThreatIntelSetCommand,
18
- serializeAws_restJson1GetThreatIntelSetCommand,
19
- } from "../protocols/Aws_restJson1";
20
-
21
- export interface GetThreatIntelSetCommandInput extends GetThreatIntelSetRequest {}
22
- export interface GetThreatIntelSetCommandOutput extends GetThreatIntelSetResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Retrieves the ThreatIntelSet that is specified by the ThreatIntelSet ID.</p>
26
- * @example
27
- * Use a bare-bones client and the command you need to make an API call.
28
- * ```javascript
29
- * import { GuardDutyClient, GetThreatIntelSetCommand } from "@aws-sdk/client-guardduty"; // ES Modules import
30
- * // const { GuardDutyClient, GetThreatIntelSetCommand } = require("@aws-sdk/client-guardduty"); // CommonJS import
31
- * const client = new GuardDutyClient(config);
32
- * const command = new GetThreatIntelSetCommand(input);
33
- * const response = await client.send(command);
34
- * ```
35
- *
36
- * @see {@link GetThreatIntelSetCommandInput} for command's `input` shape.
37
- * @see {@link GetThreatIntelSetCommandOutput} for command's `response` shape.
38
- * @see {@link GuardDutyClientResolvedConfig | config} for command's `input` shape.
39
- *
40
- */
41
- export class GetThreatIntelSetCommand extends $Command<
42
- GetThreatIntelSetCommandInput,
43
- GetThreatIntelSetCommandOutput,
44
- GuardDutyClientResolvedConfig
45
- > {
46
- // Start section: command_properties
47
- // End section: command_properties
48
-
49
- constructor(readonly input: GetThreatIntelSetCommandInput) {
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: GuardDutyClientResolvedConfig,
61
- options?: __HttpHandlerOptions
62
- ): Handler<GetThreatIntelSetCommandInput, GetThreatIntelSetCommandOutput> {
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 = "GuardDutyClient";
69
- const commandName = "GetThreatIntelSetCommand";
70
- const handlerExecutionContext: HandlerExecutionContext = {
71
- logger,
72
- clientName,
73
- commandName,
74
- inputFilterSensitiveLog: GetThreatIntelSetRequest.filterSensitiveLog,
75
- outputFilterSensitiveLog: GetThreatIntelSetResponse.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: GetThreatIntelSetCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
86
- return serializeAws_restJson1GetThreatIntelSetCommand(input, context);
87
- }
88
-
89
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetThreatIntelSetCommandOutput> {
90
- return deserializeAws_restJson1GetThreatIntelSetCommand(output, context);
91
- }
92
-
93
- // Start section: command_body_extra
94
- // End section: command_body_extra
95
- }
@@ -1,98 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { GuardDutyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GuardDutyClient";
15
- import { GetUsageStatisticsRequest, GetUsageStatisticsResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_restJson1GetUsageStatisticsCommand,
18
- serializeAws_restJson1GetUsageStatisticsCommand,
19
- } from "../protocols/Aws_restJson1";
20
-
21
- export interface GetUsageStatisticsCommandInput extends GetUsageStatisticsRequest {}
22
- export interface GetUsageStatisticsCommandOutput extends GetUsageStatisticsResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Lists Amazon GuardDuty usage statistics over the last 30 days for the specified detector
26
- * ID. For newly enabled detectors or data sources the cost returned will include only the usage
27
- * so far under 30 days, this may differ from the cost metrics in the console, which projects
28
- * usage over 30 days to provide a monthly cost estimate. For more information see <a href="https://docs.aws.amazon.com/guardduty/latest/ug/monitoring_costs.html#usage-calculations">Understanding How Usage Costs are Calculated</a>.</p>
29
- * @example
30
- * Use a bare-bones client and the command you need to make an API call.
31
- * ```javascript
32
- * import { GuardDutyClient, GetUsageStatisticsCommand } from "@aws-sdk/client-guardduty"; // ES Modules import
33
- * // const { GuardDutyClient, GetUsageStatisticsCommand } = require("@aws-sdk/client-guardduty"); // CommonJS import
34
- * const client = new GuardDutyClient(config);
35
- * const command = new GetUsageStatisticsCommand(input);
36
- * const response = await client.send(command);
37
- * ```
38
- *
39
- * @see {@link GetUsageStatisticsCommandInput} for command's `input` shape.
40
- * @see {@link GetUsageStatisticsCommandOutput} for command's `response` shape.
41
- * @see {@link GuardDutyClientResolvedConfig | config} for command's `input` shape.
42
- *
43
- */
44
- export class GetUsageStatisticsCommand extends $Command<
45
- GetUsageStatisticsCommandInput,
46
- GetUsageStatisticsCommandOutput,
47
- GuardDutyClientResolvedConfig
48
- > {
49
- // Start section: command_properties
50
- // End section: command_properties
51
-
52
- constructor(readonly input: GetUsageStatisticsCommandInput) {
53
- // Start section: command_constructor
54
- super();
55
- // End section: command_constructor
56
- }
57
-
58
- /**
59
- * @internal
60
- */
61
- resolveMiddleware(
62
- clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
63
- configuration: GuardDutyClientResolvedConfig,
64
- options?: __HttpHandlerOptions
65
- ): Handler<GetUsageStatisticsCommandInput, GetUsageStatisticsCommandOutput> {
66
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
67
-
68
- const stack = clientStack.concat(this.middlewareStack);
69
-
70
- const { logger } = configuration;
71
- const clientName = "GuardDutyClient";
72
- const commandName = "GetUsageStatisticsCommand";
73
- const handlerExecutionContext: HandlerExecutionContext = {
74
- logger,
75
- clientName,
76
- commandName,
77
- inputFilterSensitiveLog: GetUsageStatisticsRequest.filterSensitiveLog,
78
- outputFilterSensitiveLog: GetUsageStatisticsResponse.filterSensitiveLog,
79
- };
80
- const { requestHandler } = configuration;
81
- return stack.resolve(
82
- (request: FinalizeHandlerArguments<any>) =>
83
- requestHandler.handle(request.request as __HttpRequest, options || {}),
84
- handlerExecutionContext
85
- );
86
- }
87
-
88
- private serialize(input: GetUsageStatisticsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
89
- return serializeAws_restJson1GetUsageStatisticsCommand(input, context);
90
- }
91
-
92
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetUsageStatisticsCommandOutput> {
93
- return deserializeAws_restJson1GetUsageStatisticsCommand(output, context);
94
- }
95
-
96
- // Start section: command_body_extra
97
- // End section: command_body_extra
98
- }
@@ -1,97 +0,0 @@
1
- import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
- import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
3
- import { Command as $Command } from "@aws-sdk/smithy-client";
4
- import {
5
- FinalizeHandlerArguments,
6
- Handler,
7
- HandlerExecutionContext,
8
- HttpHandlerOptions as __HttpHandlerOptions,
9
- MetadataBearer as __MetadataBearer,
10
- MiddlewareStack,
11
- SerdeContext as __SerdeContext,
12
- } from "@aws-sdk/types";
13
-
14
- import { GuardDutyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GuardDutyClient";
15
- import { InviteMembersRequest, InviteMembersResponse } from "../models/models_0";
16
- import {
17
- deserializeAws_restJson1InviteMembersCommand,
18
- serializeAws_restJson1InviteMembersCommand,
19
- } from "../protocols/Aws_restJson1";
20
-
21
- export interface InviteMembersCommandInput extends InviteMembersRequest {}
22
- export interface InviteMembersCommandOutput extends InviteMembersResponse, __MetadataBearer {}
23
-
24
- /**
25
- * <p>Invites other AWS accounts (created as members of the current AWS account by
26
- * CreateMembers) to enable GuardDuty, and allow the current AWS account to view and manage these
27
- * accounts' findings on their behalf as the GuardDuty administrator account.</p>
28
- * @example
29
- * Use a bare-bones client and the command you need to make an API call.
30
- * ```javascript
31
- * import { GuardDutyClient, InviteMembersCommand } from "@aws-sdk/client-guardduty"; // ES Modules import
32
- * // const { GuardDutyClient, InviteMembersCommand } = require("@aws-sdk/client-guardduty"); // CommonJS import
33
- * const client = new GuardDutyClient(config);
34
- * const command = new InviteMembersCommand(input);
35
- * const response = await client.send(command);
36
- * ```
37
- *
38
- * @see {@link InviteMembersCommandInput} for command's `input` shape.
39
- * @see {@link InviteMembersCommandOutput} for command's `response` shape.
40
- * @see {@link GuardDutyClientResolvedConfig | config} for command's `input` shape.
41
- *
42
- */
43
- export class InviteMembersCommand extends $Command<
44
- InviteMembersCommandInput,
45
- InviteMembersCommandOutput,
46
- GuardDutyClientResolvedConfig
47
- > {
48
- // Start section: command_properties
49
- // End section: command_properties
50
-
51
- constructor(readonly input: InviteMembersCommandInput) {
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: GuardDutyClientResolvedConfig,
63
- options?: __HttpHandlerOptions
64
- ): Handler<InviteMembersCommandInput, InviteMembersCommandOutput> {
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 = "GuardDutyClient";
71
- const commandName = "InviteMembersCommand";
72
- const handlerExecutionContext: HandlerExecutionContext = {
73
- logger,
74
- clientName,
75
- commandName,
76
- inputFilterSensitiveLog: InviteMembersRequest.filterSensitiveLog,
77
- outputFilterSensitiveLog: InviteMembersResponse.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: InviteMembersCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
88
- return serializeAws_restJson1InviteMembersCommand(input, context);
89
- }
90
-
91
- private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<InviteMembersCommandOutput> {
92
- return deserializeAws_restJson1InviteMembersCommand(output, context);
93
- }
94
-
95
- // Start section: command_body_extra
96
- // End section: command_body_extra
97
- }