@aws-sdk/client-guardduty 3.1076.0 → 3.1078.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 (290) hide show
  1. package/dist-cjs/index.js +101 -905
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/AcceptAdministratorInvitationCommand.js +2 -14
  4. package/dist-es/commands/AcceptInvitationCommand.js +2 -14
  5. package/dist-es/commands/ArchiveFindingsCommand.js +2 -14
  6. package/dist-es/commands/CreateDetectorCommand.js +2 -14
  7. package/dist-es/commands/CreateFilterCommand.js +2 -14
  8. package/dist-es/commands/CreateIPSetCommand.js +2 -14
  9. package/dist-es/commands/CreateInvestigationCommand.js +2 -14
  10. package/dist-es/commands/CreateMalwareProtectionPlanCommand.js +2 -14
  11. package/dist-es/commands/CreateMembersCommand.js +2 -14
  12. package/dist-es/commands/CreatePublishingDestinationCommand.js +2 -14
  13. package/dist-es/commands/CreateSampleFindingsCommand.js +2 -14
  14. package/dist-es/commands/CreateThreatEntitySetCommand.js +2 -14
  15. package/dist-es/commands/CreateThreatIntelSetCommand.js +2 -14
  16. package/dist-es/commands/CreateTrustedEntitySetCommand.js +2 -14
  17. package/dist-es/commands/DeclineInvitationsCommand.js +2 -14
  18. package/dist-es/commands/DeleteDetectorCommand.js +2 -14
  19. package/dist-es/commands/DeleteFilterCommand.js +2 -14
  20. package/dist-es/commands/DeleteIPSetCommand.js +2 -14
  21. package/dist-es/commands/DeleteInvitationsCommand.js +2 -14
  22. package/dist-es/commands/DeleteMalwareProtectionPlanCommand.js +2 -14
  23. package/dist-es/commands/DeleteMembersCommand.js +2 -14
  24. package/dist-es/commands/DeletePublishingDestinationCommand.js +2 -14
  25. package/dist-es/commands/DeleteThreatEntitySetCommand.js +2 -14
  26. package/dist-es/commands/DeleteThreatIntelSetCommand.js +2 -14
  27. package/dist-es/commands/DeleteTrustedEntitySetCommand.js +2 -14
  28. package/dist-es/commands/DescribeMalwareScansCommand.js +2 -14
  29. package/dist-es/commands/DescribeOrganizationConfigurationCommand.js +2 -14
  30. package/dist-es/commands/DescribePublishingDestinationCommand.js +2 -14
  31. package/dist-es/commands/DisableOrganizationAdminAccountCommand.js +2 -14
  32. package/dist-es/commands/DisassociateFromAdministratorAccountCommand.js +2 -14
  33. package/dist-es/commands/DisassociateFromMasterAccountCommand.js +2 -14
  34. package/dist-es/commands/DisassociateMembersCommand.js +2 -14
  35. package/dist-es/commands/EnableOrganizationAdminAccountCommand.js +2 -14
  36. package/dist-es/commands/GetAdministratorAccountCommand.js +2 -14
  37. package/dist-es/commands/GetCoverageStatisticsCommand.js +2 -14
  38. package/dist-es/commands/GetDetectorCommand.js +2 -14
  39. package/dist-es/commands/GetFilterCommand.js +2 -14
  40. package/dist-es/commands/GetFindingsCommand.js +2 -14
  41. package/dist-es/commands/GetFindingsStatisticsCommand.js +2 -14
  42. package/dist-es/commands/GetIPSetCommand.js +2 -14
  43. package/dist-es/commands/GetInvestigationCommand.js +2 -14
  44. package/dist-es/commands/GetInvitationsCountCommand.js +2 -14
  45. package/dist-es/commands/GetMalwareProtectionPlanCommand.js +2 -14
  46. package/dist-es/commands/GetMalwareScanCommand.js +2 -14
  47. package/dist-es/commands/GetMalwareScanSettingsCommand.js +2 -14
  48. package/dist-es/commands/GetMasterAccountCommand.js +2 -14
  49. package/dist-es/commands/GetMemberDetectorsCommand.js +2 -14
  50. package/dist-es/commands/GetMembersCommand.js +2 -14
  51. package/dist-es/commands/GetOrganizationStatisticsCommand.js +2 -14
  52. package/dist-es/commands/GetRemainingFreeTrialDaysCommand.js +2 -14
  53. package/dist-es/commands/GetThreatEntitySetCommand.js +2 -14
  54. package/dist-es/commands/GetThreatIntelSetCommand.js +2 -14
  55. package/dist-es/commands/GetTrustedEntitySetCommand.js +2 -14
  56. package/dist-es/commands/GetUsageStatisticsCommand.js +2 -14
  57. package/dist-es/commands/InviteMembersCommand.js +2 -14
  58. package/dist-es/commands/ListCoverageCommand.js +2 -14
  59. package/dist-es/commands/ListDetectorsCommand.js +2 -14
  60. package/dist-es/commands/ListFiltersCommand.js +2 -14
  61. package/dist-es/commands/ListFindingsCommand.js +2 -14
  62. package/dist-es/commands/ListIPSetsCommand.js +2 -14
  63. package/dist-es/commands/ListInvestigationsCommand.js +2 -14
  64. package/dist-es/commands/ListInvitationsCommand.js +2 -14
  65. package/dist-es/commands/ListMalwareProtectionPlansCommand.js +2 -14
  66. package/dist-es/commands/ListMalwareScansCommand.js +2 -14
  67. package/dist-es/commands/ListMembersCommand.js +2 -14
  68. package/dist-es/commands/ListOrganizationAdminAccountsCommand.js +2 -14
  69. package/dist-es/commands/ListPublishingDestinationsCommand.js +2 -14
  70. package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
  71. package/dist-es/commands/ListThreatEntitySetsCommand.js +2 -14
  72. package/dist-es/commands/ListThreatIntelSetsCommand.js +2 -14
  73. package/dist-es/commands/ListTrustedEntitySetsCommand.js +2 -14
  74. package/dist-es/commands/SendObjectMalwareScanCommand.js +2 -14
  75. package/dist-es/commands/StartMalwareScanCommand.js +2 -14
  76. package/dist-es/commands/StartMonitoringMembersCommand.js +2 -14
  77. package/dist-es/commands/StopMonitoringMembersCommand.js +2 -14
  78. package/dist-es/commands/TagResourceCommand.js +2 -14
  79. package/dist-es/commands/UnarchiveFindingsCommand.js +2 -14
  80. package/dist-es/commands/UntagResourceCommand.js +2 -14
  81. package/dist-es/commands/UpdateDetectorCommand.js +2 -14
  82. package/dist-es/commands/UpdateFilterCommand.js +2 -14
  83. package/dist-es/commands/UpdateFindingsFeedbackCommand.js +2 -14
  84. package/dist-es/commands/UpdateIPSetCommand.js +2 -14
  85. package/dist-es/commands/UpdateMalwareProtectionPlanCommand.js +2 -14
  86. package/dist-es/commands/UpdateMalwareScanSettingsCommand.js +2 -14
  87. package/dist-es/commands/UpdateMemberDetectorsCommand.js +2 -14
  88. package/dist-es/commands/UpdateOrganizationConfigurationCommand.js +2 -14
  89. package/dist-es/commands/UpdatePublishingDestinationCommand.js +2 -14
  90. package/dist-es/commands/UpdateThreatEntitySetCommand.js +2 -14
  91. package/dist-es/commands/UpdateThreatIntelSetCommand.js +2 -14
  92. package/dist-es/commands/UpdateTrustedEntitySetCommand.js +2 -14
  93. package/dist-es/index.js +1 -0
  94. package/dist-es/runtimeConfig.browser.js +0 -2
  95. package/dist-es/runtimeConfig.js +1 -2
  96. package/dist-es/runtimeConfig.native.js +0 -2
  97. package/dist-es/runtimeConfig.shared.js +2 -0
  98. package/dist-types/commandBuilder.d.ts +18 -0
  99. package/dist-types/commands/AcceptAdministratorInvitationCommand.d.ts +3 -8
  100. package/dist-types/commands/AcceptInvitationCommand.d.ts +3 -8
  101. package/dist-types/commands/ArchiveFindingsCommand.d.ts +3 -8
  102. package/dist-types/commands/CreateDetectorCommand.d.ts +3 -8
  103. package/dist-types/commands/CreateFilterCommand.d.ts +3 -8
  104. package/dist-types/commands/CreateIPSetCommand.d.ts +3 -8
  105. package/dist-types/commands/CreateInvestigationCommand.d.ts +3 -8
  106. package/dist-types/commands/CreateMalwareProtectionPlanCommand.d.ts +3 -8
  107. package/dist-types/commands/CreateMembersCommand.d.ts +3 -8
  108. package/dist-types/commands/CreatePublishingDestinationCommand.d.ts +3 -8
  109. package/dist-types/commands/CreateSampleFindingsCommand.d.ts +3 -8
  110. package/dist-types/commands/CreateThreatEntitySetCommand.d.ts +3 -8
  111. package/dist-types/commands/CreateThreatIntelSetCommand.d.ts +3 -8
  112. package/dist-types/commands/CreateTrustedEntitySetCommand.d.ts +3 -8
  113. package/dist-types/commands/DeclineInvitationsCommand.d.ts +3 -8
  114. package/dist-types/commands/DeleteDetectorCommand.d.ts +3 -8
  115. package/dist-types/commands/DeleteFilterCommand.d.ts +3 -8
  116. package/dist-types/commands/DeleteIPSetCommand.d.ts +3 -8
  117. package/dist-types/commands/DeleteInvitationsCommand.d.ts +3 -8
  118. package/dist-types/commands/DeleteMalwareProtectionPlanCommand.d.ts +3 -8
  119. package/dist-types/commands/DeleteMembersCommand.d.ts +3 -8
  120. package/dist-types/commands/DeletePublishingDestinationCommand.d.ts +3 -8
  121. package/dist-types/commands/DeleteThreatEntitySetCommand.d.ts +3 -8
  122. package/dist-types/commands/DeleteThreatIntelSetCommand.d.ts +3 -8
  123. package/dist-types/commands/DeleteTrustedEntitySetCommand.d.ts +3 -8
  124. package/dist-types/commands/DescribeMalwareScansCommand.d.ts +3 -8
  125. package/dist-types/commands/DescribeOrganizationConfigurationCommand.d.ts +3 -8
  126. package/dist-types/commands/DescribePublishingDestinationCommand.d.ts +3 -8
  127. package/dist-types/commands/DisableOrganizationAdminAccountCommand.d.ts +3 -8
  128. package/dist-types/commands/DisassociateFromAdministratorAccountCommand.d.ts +3 -8
  129. package/dist-types/commands/DisassociateFromMasterAccountCommand.d.ts +3 -8
  130. package/dist-types/commands/DisassociateMembersCommand.d.ts +3 -8
  131. package/dist-types/commands/EnableOrganizationAdminAccountCommand.d.ts +3 -8
  132. package/dist-types/commands/GetAdministratorAccountCommand.d.ts +3 -8
  133. package/dist-types/commands/GetCoverageStatisticsCommand.d.ts +3 -8
  134. package/dist-types/commands/GetDetectorCommand.d.ts +3 -8
  135. package/dist-types/commands/GetFilterCommand.d.ts +3 -8
  136. package/dist-types/commands/GetFindingsCommand.d.ts +3 -8
  137. package/dist-types/commands/GetFindingsStatisticsCommand.d.ts +3 -8
  138. package/dist-types/commands/GetIPSetCommand.d.ts +3 -8
  139. package/dist-types/commands/GetInvestigationCommand.d.ts +3 -8
  140. package/dist-types/commands/GetInvitationsCountCommand.d.ts +3 -8
  141. package/dist-types/commands/GetMalwareProtectionPlanCommand.d.ts +3 -8
  142. package/dist-types/commands/GetMalwareScanCommand.d.ts +3 -8
  143. package/dist-types/commands/GetMalwareScanSettingsCommand.d.ts +3 -8
  144. package/dist-types/commands/GetMasterAccountCommand.d.ts +3 -8
  145. package/dist-types/commands/GetMemberDetectorsCommand.d.ts +3 -8
  146. package/dist-types/commands/GetMembersCommand.d.ts +3 -8
  147. package/dist-types/commands/GetOrganizationStatisticsCommand.d.ts +3 -8
  148. package/dist-types/commands/GetRemainingFreeTrialDaysCommand.d.ts +3 -8
  149. package/dist-types/commands/GetThreatEntitySetCommand.d.ts +3 -8
  150. package/dist-types/commands/GetThreatIntelSetCommand.d.ts +3 -8
  151. package/dist-types/commands/GetTrustedEntitySetCommand.d.ts +3 -8
  152. package/dist-types/commands/GetUsageStatisticsCommand.d.ts +3 -8
  153. package/dist-types/commands/InviteMembersCommand.d.ts +3 -8
  154. package/dist-types/commands/ListCoverageCommand.d.ts +3 -8
  155. package/dist-types/commands/ListDetectorsCommand.d.ts +3 -8
  156. package/dist-types/commands/ListFiltersCommand.d.ts +3 -8
  157. package/dist-types/commands/ListFindingsCommand.d.ts +3 -8
  158. package/dist-types/commands/ListIPSetsCommand.d.ts +3 -8
  159. package/dist-types/commands/ListInvestigationsCommand.d.ts +3 -8
  160. package/dist-types/commands/ListInvitationsCommand.d.ts +3 -8
  161. package/dist-types/commands/ListMalwareProtectionPlansCommand.d.ts +3 -8
  162. package/dist-types/commands/ListMalwareScansCommand.d.ts +3 -8
  163. package/dist-types/commands/ListMembersCommand.d.ts +3 -8
  164. package/dist-types/commands/ListOrganizationAdminAccountsCommand.d.ts +3 -8
  165. package/dist-types/commands/ListPublishingDestinationsCommand.d.ts +3 -8
  166. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
  167. package/dist-types/commands/ListThreatEntitySetsCommand.d.ts +3 -8
  168. package/dist-types/commands/ListThreatIntelSetsCommand.d.ts +3 -8
  169. package/dist-types/commands/ListTrustedEntitySetsCommand.d.ts +3 -8
  170. package/dist-types/commands/SendObjectMalwareScanCommand.d.ts +3 -8
  171. package/dist-types/commands/StartMalwareScanCommand.d.ts +3 -8
  172. package/dist-types/commands/StartMonitoringMembersCommand.d.ts +3 -8
  173. package/dist-types/commands/StopMonitoringMembersCommand.d.ts +3 -8
  174. package/dist-types/commands/TagResourceCommand.d.ts +3 -8
  175. package/dist-types/commands/UnarchiveFindingsCommand.d.ts +3 -8
  176. package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  177. package/dist-types/commands/UpdateDetectorCommand.d.ts +3 -8
  178. package/dist-types/commands/UpdateFilterCommand.d.ts +3 -8
  179. package/dist-types/commands/UpdateFindingsFeedbackCommand.d.ts +3 -8
  180. package/dist-types/commands/UpdateIPSetCommand.d.ts +3 -8
  181. package/dist-types/commands/UpdateMalwareProtectionPlanCommand.d.ts +3 -8
  182. package/dist-types/commands/UpdateMalwareScanSettingsCommand.d.ts +3 -8
  183. package/dist-types/commands/UpdateMemberDetectorsCommand.d.ts +3 -8
  184. package/dist-types/commands/UpdateOrganizationConfigurationCommand.d.ts +3 -8
  185. package/dist-types/commands/UpdatePublishingDestinationCommand.d.ts +3 -8
  186. package/dist-types/commands/UpdateThreatEntitySetCommand.d.ts +3 -8
  187. package/dist-types/commands/UpdateThreatIntelSetCommand.d.ts +3 -8
  188. package/dist-types/commands/UpdateTrustedEntitySetCommand.d.ts +3 -8
  189. package/dist-types/index.d.ts +1 -0
  190. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  191. package/dist-types/runtimeConfig.d.ts +1 -1
  192. package/dist-types/runtimeConfig.native.d.ts +1 -1
  193. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  194. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  195. package/dist-types/ts3.4/commands/AcceptAdministratorInvitationCommand.d.ts +7 -16
  196. package/dist-types/ts3.4/commands/AcceptInvitationCommand.d.ts +7 -16
  197. package/dist-types/ts3.4/commands/ArchiveFindingsCommand.d.ts +7 -16
  198. package/dist-types/ts3.4/commands/CreateDetectorCommand.d.ts +7 -16
  199. package/dist-types/ts3.4/commands/CreateFilterCommand.d.ts +7 -16
  200. package/dist-types/ts3.4/commands/CreateIPSetCommand.d.ts +7 -16
  201. package/dist-types/ts3.4/commands/CreateInvestigationCommand.d.ts +7 -16
  202. package/dist-types/ts3.4/commands/CreateMalwareProtectionPlanCommand.d.ts +7 -16
  203. package/dist-types/ts3.4/commands/CreateMembersCommand.d.ts +7 -16
  204. package/dist-types/ts3.4/commands/CreatePublishingDestinationCommand.d.ts +7 -16
  205. package/dist-types/ts3.4/commands/CreateSampleFindingsCommand.d.ts +7 -16
  206. package/dist-types/ts3.4/commands/CreateThreatEntitySetCommand.d.ts +7 -16
  207. package/dist-types/ts3.4/commands/CreateThreatIntelSetCommand.d.ts +7 -16
  208. package/dist-types/ts3.4/commands/CreateTrustedEntitySetCommand.d.ts +7 -16
  209. package/dist-types/ts3.4/commands/DeclineInvitationsCommand.d.ts +7 -16
  210. package/dist-types/ts3.4/commands/DeleteDetectorCommand.d.ts +7 -16
  211. package/dist-types/ts3.4/commands/DeleteFilterCommand.d.ts +7 -16
  212. package/dist-types/ts3.4/commands/DeleteIPSetCommand.d.ts +7 -16
  213. package/dist-types/ts3.4/commands/DeleteInvitationsCommand.d.ts +7 -16
  214. package/dist-types/ts3.4/commands/DeleteMalwareProtectionPlanCommand.d.ts +7 -16
  215. package/dist-types/ts3.4/commands/DeleteMembersCommand.d.ts +7 -16
  216. package/dist-types/ts3.4/commands/DeletePublishingDestinationCommand.d.ts +7 -16
  217. package/dist-types/ts3.4/commands/DeleteThreatEntitySetCommand.d.ts +7 -16
  218. package/dist-types/ts3.4/commands/DeleteThreatIntelSetCommand.d.ts +7 -16
  219. package/dist-types/ts3.4/commands/DeleteTrustedEntitySetCommand.d.ts +7 -16
  220. package/dist-types/ts3.4/commands/DescribeMalwareScansCommand.d.ts +7 -16
  221. package/dist-types/ts3.4/commands/DescribeOrganizationConfigurationCommand.d.ts +7 -16
  222. package/dist-types/ts3.4/commands/DescribePublishingDestinationCommand.d.ts +7 -16
  223. package/dist-types/ts3.4/commands/DisableOrganizationAdminAccountCommand.d.ts +7 -16
  224. package/dist-types/ts3.4/commands/DisassociateFromAdministratorAccountCommand.d.ts +7 -16
  225. package/dist-types/ts3.4/commands/DisassociateFromMasterAccountCommand.d.ts +7 -16
  226. package/dist-types/ts3.4/commands/DisassociateMembersCommand.d.ts +7 -16
  227. package/dist-types/ts3.4/commands/EnableOrganizationAdminAccountCommand.d.ts +7 -16
  228. package/dist-types/ts3.4/commands/GetAdministratorAccountCommand.d.ts +7 -16
  229. package/dist-types/ts3.4/commands/GetCoverageStatisticsCommand.d.ts +7 -16
  230. package/dist-types/ts3.4/commands/GetDetectorCommand.d.ts +7 -16
  231. package/dist-types/ts3.4/commands/GetFilterCommand.d.ts +7 -16
  232. package/dist-types/ts3.4/commands/GetFindingsCommand.d.ts +7 -16
  233. package/dist-types/ts3.4/commands/GetFindingsStatisticsCommand.d.ts +7 -16
  234. package/dist-types/ts3.4/commands/GetIPSetCommand.d.ts +7 -16
  235. package/dist-types/ts3.4/commands/GetInvestigationCommand.d.ts +7 -16
  236. package/dist-types/ts3.4/commands/GetInvitationsCountCommand.d.ts +7 -16
  237. package/dist-types/ts3.4/commands/GetMalwareProtectionPlanCommand.d.ts +7 -16
  238. package/dist-types/ts3.4/commands/GetMalwareScanCommand.d.ts +7 -16
  239. package/dist-types/ts3.4/commands/GetMalwareScanSettingsCommand.d.ts +7 -16
  240. package/dist-types/ts3.4/commands/GetMasterAccountCommand.d.ts +7 -16
  241. package/dist-types/ts3.4/commands/GetMemberDetectorsCommand.d.ts +7 -16
  242. package/dist-types/ts3.4/commands/GetMembersCommand.d.ts +7 -16
  243. package/dist-types/ts3.4/commands/GetOrganizationStatisticsCommand.d.ts +7 -16
  244. package/dist-types/ts3.4/commands/GetRemainingFreeTrialDaysCommand.d.ts +7 -16
  245. package/dist-types/ts3.4/commands/GetThreatEntitySetCommand.d.ts +7 -16
  246. package/dist-types/ts3.4/commands/GetThreatIntelSetCommand.d.ts +7 -16
  247. package/dist-types/ts3.4/commands/GetTrustedEntitySetCommand.d.ts +7 -16
  248. package/dist-types/ts3.4/commands/GetUsageStatisticsCommand.d.ts +7 -16
  249. package/dist-types/ts3.4/commands/InviteMembersCommand.d.ts +7 -16
  250. package/dist-types/ts3.4/commands/ListCoverageCommand.d.ts +7 -16
  251. package/dist-types/ts3.4/commands/ListDetectorsCommand.d.ts +7 -16
  252. package/dist-types/ts3.4/commands/ListFiltersCommand.d.ts +7 -16
  253. package/dist-types/ts3.4/commands/ListFindingsCommand.d.ts +7 -16
  254. package/dist-types/ts3.4/commands/ListIPSetsCommand.d.ts +7 -16
  255. package/dist-types/ts3.4/commands/ListInvestigationsCommand.d.ts +7 -16
  256. package/dist-types/ts3.4/commands/ListInvitationsCommand.d.ts +7 -16
  257. package/dist-types/ts3.4/commands/ListMalwareProtectionPlansCommand.d.ts +7 -16
  258. package/dist-types/ts3.4/commands/ListMalwareScansCommand.d.ts +7 -16
  259. package/dist-types/ts3.4/commands/ListMembersCommand.d.ts +7 -16
  260. package/dist-types/ts3.4/commands/ListOrganizationAdminAccountsCommand.d.ts +7 -16
  261. package/dist-types/ts3.4/commands/ListPublishingDestinationsCommand.d.ts +7 -16
  262. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
  263. package/dist-types/ts3.4/commands/ListThreatEntitySetsCommand.d.ts +7 -16
  264. package/dist-types/ts3.4/commands/ListThreatIntelSetsCommand.d.ts +7 -16
  265. package/dist-types/ts3.4/commands/ListTrustedEntitySetsCommand.d.ts +7 -16
  266. package/dist-types/ts3.4/commands/SendObjectMalwareScanCommand.d.ts +7 -16
  267. package/dist-types/ts3.4/commands/StartMalwareScanCommand.d.ts +7 -16
  268. package/dist-types/ts3.4/commands/StartMonitoringMembersCommand.d.ts +7 -16
  269. package/dist-types/ts3.4/commands/StopMonitoringMembersCommand.d.ts +7 -16
  270. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  271. package/dist-types/ts3.4/commands/UnarchiveFindingsCommand.d.ts +7 -16
  272. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  273. package/dist-types/ts3.4/commands/UpdateDetectorCommand.d.ts +7 -16
  274. package/dist-types/ts3.4/commands/UpdateFilterCommand.d.ts +7 -16
  275. package/dist-types/ts3.4/commands/UpdateFindingsFeedbackCommand.d.ts +7 -16
  276. package/dist-types/ts3.4/commands/UpdateIPSetCommand.d.ts +7 -16
  277. package/dist-types/ts3.4/commands/UpdateMalwareProtectionPlanCommand.d.ts +7 -16
  278. package/dist-types/ts3.4/commands/UpdateMalwareScanSettingsCommand.d.ts +7 -16
  279. package/dist-types/ts3.4/commands/UpdateMemberDetectorsCommand.d.ts +7 -16
  280. package/dist-types/ts3.4/commands/UpdateOrganizationConfigurationCommand.d.ts +7 -16
  281. package/dist-types/ts3.4/commands/UpdatePublishingDestinationCommand.d.ts +7 -16
  282. package/dist-types/ts3.4/commands/UpdateThreatEntitySetCommand.d.ts +7 -16
  283. package/dist-types/ts3.4/commands/UpdateThreatIntelSetCommand.d.ts +7 -16
  284. package/dist-types/ts3.4/commands/UpdateTrustedEntitySetCommand.d.ts +7 -16
  285. package/dist-types/ts3.4/index.d.ts +1 -0
  286. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  287. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  288. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
  289. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
  290. package/package.json +8 -10
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListMalwareProtectionPlans$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListMalwareProtectionPlansCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("GuardDutyAPIService", "ListMalwareProtectionPlans", {})
13
- .n("GuardDutyClient", "ListMalwareProtectionPlansCommand")
14
- .sc(ListMalwareProtectionPlans$)
15
- .build() {
3
+ export class ListMalwareProtectionPlansCommand extends command(_ep0, _mw0, "ListMalwareProtectionPlans", ListMalwareProtectionPlans$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListMalwareScans$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListMalwareScansCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("GuardDutyAPIService", "ListMalwareScans", {})
13
- .n("GuardDutyClient", "ListMalwareScansCommand")
14
- .sc(ListMalwareScans$)
15
- .build() {
3
+ export class ListMalwareScansCommand extends command(_ep0, _mw0, "ListMalwareScans", ListMalwareScans$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListMembers$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListMembersCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("GuardDutyAPIService", "ListMembers", {})
13
- .n("GuardDutyClient", "ListMembersCommand")
14
- .sc(ListMembers$)
15
- .build() {
3
+ export class ListMembersCommand extends command(_ep0, _mw0, "ListMembers", ListMembers$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListOrganizationAdminAccounts$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListOrganizationAdminAccountsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("GuardDutyAPIService", "ListOrganizationAdminAccounts", {})
13
- .n("GuardDutyClient", "ListOrganizationAdminAccountsCommand")
14
- .sc(ListOrganizationAdminAccounts$)
15
- .build() {
3
+ export class ListOrganizationAdminAccountsCommand extends command(_ep0, _mw0, "ListOrganizationAdminAccounts", ListOrganizationAdminAccounts$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListPublishingDestinations$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListPublishingDestinationsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("GuardDutyAPIService", "ListPublishingDestinations", {})
13
- .n("GuardDutyClient", "ListPublishingDestinationsCommand")
14
- .sc(ListPublishingDestinations$)
15
- .build() {
3
+ export class ListPublishingDestinationsCommand extends command(_ep0, _mw0, "ListPublishingDestinations", ListPublishingDestinations$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListTagsForResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListTagsForResourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("GuardDutyAPIService", "ListTagsForResource", {})
13
- .n("GuardDutyClient", "ListTagsForResourceCommand")
14
- .sc(ListTagsForResource$)
15
- .build() {
3
+ export class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListThreatEntitySets$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListThreatEntitySetsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("GuardDutyAPIService", "ListThreatEntitySets", {})
13
- .n("GuardDutyClient", "ListThreatEntitySetsCommand")
14
- .sc(ListThreatEntitySets$)
15
- .build() {
3
+ export class ListThreatEntitySetsCommand extends command(_ep0, _mw0, "ListThreatEntitySets", ListThreatEntitySets$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListThreatIntelSets$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListThreatIntelSetsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("GuardDutyAPIService", "ListThreatIntelSets", {})
13
- .n("GuardDutyClient", "ListThreatIntelSetsCommand")
14
- .sc(ListThreatIntelSets$)
15
- .build() {
3
+ export class ListThreatIntelSetsCommand extends command(_ep0, _mw0, "ListThreatIntelSets", ListThreatIntelSets$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListTrustedEntitySets$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListTrustedEntitySetsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("GuardDutyAPIService", "ListTrustedEntitySets", {})
13
- .n("GuardDutyClient", "ListTrustedEntitySetsCommand")
14
- .sc(ListTrustedEntitySets$)
15
- .build() {
3
+ export class ListTrustedEntitySetsCommand extends command(_ep0, _mw0, "ListTrustedEntitySets", ListTrustedEntitySets$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { SendObjectMalwareScan$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class SendObjectMalwareScanCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("GuardDutyAPIService", "SendObjectMalwareScan", {})
13
- .n("GuardDutyClient", "SendObjectMalwareScanCommand")
14
- .sc(SendObjectMalwareScan$)
15
- .build() {
3
+ export class SendObjectMalwareScanCommand extends command(_ep0, _mw0, "SendObjectMalwareScan", SendObjectMalwareScan$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { StartMalwareScan$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class StartMalwareScanCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("GuardDutyAPIService", "StartMalwareScan", {})
13
- .n("GuardDutyClient", "StartMalwareScanCommand")
14
- .sc(StartMalwareScan$)
15
- .build() {
3
+ export class StartMalwareScanCommand extends command(_ep0, _mw0, "StartMalwareScan", StartMalwareScan$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { StartMonitoringMembers$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class StartMonitoringMembersCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("GuardDutyAPIService", "StartMonitoringMembers", {})
13
- .n("GuardDutyClient", "StartMonitoringMembersCommand")
14
- .sc(StartMonitoringMembers$)
15
- .build() {
3
+ export class StartMonitoringMembersCommand extends command(_ep0, _mw0, "StartMonitoringMembers", StartMonitoringMembers$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { StopMonitoringMembers$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class StopMonitoringMembersCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("GuardDutyAPIService", "StopMonitoringMembers", {})
13
- .n("GuardDutyClient", "StopMonitoringMembersCommand")
14
- .sc(StopMonitoringMembers$)
15
- .build() {
3
+ export class StopMonitoringMembersCommand extends command(_ep0, _mw0, "StopMonitoringMembers", StopMonitoringMembers$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { TagResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class TagResourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("GuardDutyAPIService", "TagResource", {})
13
- .n("GuardDutyClient", "TagResourceCommand")
14
- .sc(TagResource$)
15
- .build() {
3
+ export class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UnarchiveFindings$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UnarchiveFindingsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("GuardDutyAPIService", "UnarchiveFindings", {})
13
- .n("GuardDutyClient", "UnarchiveFindingsCommand")
14
- .sc(UnarchiveFindings$)
15
- .build() {
3
+ export class UnarchiveFindingsCommand extends command(_ep0, _mw0, "UnarchiveFindings", UnarchiveFindings$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UntagResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UntagResourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("GuardDutyAPIService", "UntagResource", {})
13
- .n("GuardDutyClient", "UntagResourceCommand")
14
- .sc(UntagResource$)
15
- .build() {
3
+ export class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UpdateDetector$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateDetectorCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("GuardDutyAPIService", "UpdateDetector", {})
13
- .n("GuardDutyClient", "UpdateDetectorCommand")
14
- .sc(UpdateDetector$)
15
- .build() {
3
+ export class UpdateDetectorCommand extends command(_ep0, _mw0, "UpdateDetector", UpdateDetector$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UpdateFilter$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateFilterCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("GuardDutyAPIService", "UpdateFilter", {})
13
- .n("GuardDutyClient", "UpdateFilterCommand")
14
- .sc(UpdateFilter$)
15
- .build() {
3
+ export class UpdateFilterCommand extends command(_ep0, _mw0, "UpdateFilter", UpdateFilter$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UpdateFindingsFeedback$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateFindingsFeedbackCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("GuardDutyAPIService", "UpdateFindingsFeedback", {})
13
- .n("GuardDutyClient", "UpdateFindingsFeedbackCommand")
14
- .sc(UpdateFindingsFeedback$)
15
- .build() {
3
+ export class UpdateFindingsFeedbackCommand extends command(_ep0, _mw0, "UpdateFindingsFeedback", UpdateFindingsFeedback$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UpdateIPSet$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateIPSetCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("GuardDutyAPIService", "UpdateIPSet", {})
13
- .n("GuardDutyClient", "UpdateIPSetCommand")
14
- .sc(UpdateIPSet$)
15
- .build() {
3
+ export class UpdateIPSetCommand extends command(_ep0, _mw0, "UpdateIPSet", UpdateIPSet$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UpdateMalwareProtectionPlan$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateMalwareProtectionPlanCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("GuardDutyAPIService", "UpdateMalwareProtectionPlan", {})
13
- .n("GuardDutyClient", "UpdateMalwareProtectionPlanCommand")
14
- .sc(UpdateMalwareProtectionPlan$)
15
- .build() {
3
+ export class UpdateMalwareProtectionPlanCommand extends command(_ep0, _mw0, "UpdateMalwareProtectionPlan", UpdateMalwareProtectionPlan$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UpdateMalwareScanSettings$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateMalwareScanSettingsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("GuardDutyAPIService", "UpdateMalwareScanSettings", {})
13
- .n("GuardDutyClient", "UpdateMalwareScanSettingsCommand")
14
- .sc(UpdateMalwareScanSettings$)
15
- .build() {
3
+ export class UpdateMalwareScanSettingsCommand extends command(_ep0, _mw0, "UpdateMalwareScanSettings", UpdateMalwareScanSettings$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UpdateMemberDetectors$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateMemberDetectorsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("GuardDutyAPIService", "UpdateMemberDetectors", {})
13
- .n("GuardDutyClient", "UpdateMemberDetectorsCommand")
14
- .sc(UpdateMemberDetectors$)
15
- .build() {
3
+ export class UpdateMemberDetectorsCommand extends command(_ep0, _mw0, "UpdateMemberDetectors", UpdateMemberDetectors$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UpdateOrganizationConfiguration$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateOrganizationConfigurationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("GuardDutyAPIService", "UpdateOrganizationConfiguration", {})
13
- .n("GuardDutyClient", "UpdateOrganizationConfigurationCommand")
14
- .sc(UpdateOrganizationConfiguration$)
15
- .build() {
3
+ export class UpdateOrganizationConfigurationCommand extends command(_ep0, _mw0, "UpdateOrganizationConfiguration", UpdateOrganizationConfiguration$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UpdatePublishingDestination$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdatePublishingDestinationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("GuardDutyAPIService", "UpdatePublishingDestination", {})
13
- .n("GuardDutyClient", "UpdatePublishingDestinationCommand")
14
- .sc(UpdatePublishingDestination$)
15
- .build() {
3
+ export class UpdatePublishingDestinationCommand extends command(_ep0, _mw0, "UpdatePublishingDestination", UpdatePublishingDestination$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UpdateThreatEntitySet$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateThreatEntitySetCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("GuardDutyAPIService", "UpdateThreatEntitySet", {})
13
- .n("GuardDutyClient", "UpdateThreatEntitySetCommand")
14
- .sc(UpdateThreatEntitySet$)
15
- .build() {
3
+ export class UpdateThreatEntitySetCommand extends command(_ep0, _mw0, "UpdateThreatEntitySet", UpdateThreatEntitySet$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UpdateThreatIntelSet$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateThreatIntelSetCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("GuardDutyAPIService", "UpdateThreatIntelSet", {})
13
- .n("GuardDutyClient", "UpdateThreatIntelSetCommand")
14
- .sc(UpdateThreatIntelSet$)
15
- .build() {
3
+ export class UpdateThreatIntelSetCommand extends command(_ep0, _mw0, "UpdateThreatIntelSet", UpdateThreatIntelSet$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UpdateTrustedEntitySet$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateTrustedEntitySetCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("GuardDutyAPIService", "UpdateTrustedEntitySet", {})
13
- .n("GuardDutyClient", "UpdateTrustedEntitySetCommand")
14
- .sc(UpdateTrustedEntitySet$)
15
- .build() {
3
+ export class UpdateTrustedEntitySetCommand extends command(_ep0, _mw0, "UpdateTrustedEntitySet", UpdateTrustedEntitySet$) {
16
4
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./GuardDutyClient";
2
2
  export * from "./GuardDuty";
3
3
  export * from "./commands";
4
+ export { Command as $Command } from "@smithy/core/client";
4
5
  export * from "./schemas/schemas_0";
5
6
  export * from "./pagination";
6
7
  export * from "./models/enums";
@@ -1,5 +1,4 @@
1
1
  import packageInfo from "../package.json";
2
- import { Sha256 } from "@aws-crypto/sha256-browser";
3
2
  import { createDefaultUserAgentProvider } from "@aws-sdk/core/client";
4
3
  import { invalidProvider, loadConfigsForDefaultMode } from "@smithy/core/client";
5
4
  import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT, resolveDefaultsModeConfig, } from "@smithy/core/config";
@@ -23,7 +22,6 @@ export const getRuntimeConfig = (config) => {
23
22
  region: config?.region ?? invalidProvider("Region is missing"),
24
23
  requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
25
24
  retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE),
26
- sha256: config?.sha256 ?? Sha256,
27
25
  streamCollector: config?.streamCollector ?? streamCollector,
28
26
  useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT)),
29
27
  useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT)),
@@ -5,7 +5,7 @@ import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credentia
5
5
  import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/core/client";
6
6
  import { loadConfig as loadNodeConfig, NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, resolveDefaultsModeConfig, } from "@smithy/core/config";
7
7
  import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@smithy/core/retry";
8
- import { calculateBodyLength, Hash } from "@smithy/core/serde";
8
+ import { calculateBodyLength } from "@smithy/core/serde";
9
9
  import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
10
10
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
11
11
  export const getRuntimeConfig = (config) => {
@@ -35,7 +35,6 @@ export const getRuntimeConfig = (config) => {
35
35
  ...NODE_RETRY_MODE_CONFIG_OPTIONS,
36
36
  default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
37
37
  }, config),
38
- sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
39
38
  streamCollector: config?.streamCollector ?? streamCollector,
40
39
  useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
41
40
  useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
@@ -1,4 +1,3 @@
1
- import { Sha256 } from "@aws-crypto/sha256-js";
2
1
  import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.browser";
3
2
  export const getRuntimeConfig = (config) => {
4
3
  const browserDefaults = getBrowserRuntimeConfig(config);
@@ -6,6 +5,5 @@ export const getRuntimeConfig = (config) => {
6
5
  ...browserDefaults,
7
6
  ...config,
8
7
  runtime: "react-native",
9
- sha256: config?.sha256 ?? Sha256,
10
8
  };
11
9
  };
@@ -1,5 +1,6 @@
1
1
  import { AwsSdkSigV4Signer } from "@aws-sdk/core/httpAuthSchemes";
2
2
  import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
3
+ import { Sha256 } from "@smithy/core/checksum";
3
4
  import { NoOpLogger } from "@smithy/core/client";
4
5
  import { parseUrl } from "@smithy/core/protocols";
5
6
  import { fromBase64, fromUtf8, toBase64, toUtf8 } from "@smithy/core/serde";
@@ -31,6 +32,7 @@ export const getRuntimeConfig = (config) => {
31
32
  serviceTarget: "GuardDutyAPIService",
32
33
  },
33
34
  serviceId: config?.serviceId ?? "GuardDuty",
35
+ sha256: config?.sha256 ?? Sha256,
34
36
  urlParser: config?.urlParser ?? parseUrl,
35
37
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,
36
38
  utf8Encoder: config?.utf8Encoder ?? toUtf8,