@aws-sdk/client-guardduty 3.478.0 → 3.481.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 (281) hide show
  1. package/dist-cjs/commands/AcceptAdministratorInvitationCommand.js +18 -41
  2. package/dist-cjs/commands/AcceptInvitationCommand.js +18 -41
  3. package/dist-cjs/commands/ArchiveFindingsCommand.js +18 -41
  4. package/dist-cjs/commands/CreateDetectorCommand.js +18 -41
  5. package/dist-cjs/commands/CreateFilterCommand.js +18 -41
  6. package/dist-cjs/commands/CreateIPSetCommand.js +18 -41
  7. package/dist-cjs/commands/CreateMembersCommand.js +18 -41
  8. package/dist-cjs/commands/CreatePublishingDestinationCommand.js +18 -41
  9. package/dist-cjs/commands/CreateSampleFindingsCommand.js +18 -41
  10. package/dist-cjs/commands/CreateThreatIntelSetCommand.js +18 -41
  11. package/dist-cjs/commands/DeclineInvitationsCommand.js +18 -41
  12. package/dist-cjs/commands/DeleteDetectorCommand.js +18 -41
  13. package/dist-cjs/commands/DeleteFilterCommand.js +18 -41
  14. package/dist-cjs/commands/DeleteIPSetCommand.js +18 -41
  15. package/dist-cjs/commands/DeleteInvitationsCommand.js +18 -41
  16. package/dist-cjs/commands/DeleteMembersCommand.js +18 -41
  17. package/dist-cjs/commands/DeletePublishingDestinationCommand.js +18 -41
  18. package/dist-cjs/commands/DeleteThreatIntelSetCommand.js +18 -41
  19. package/dist-cjs/commands/DescribeMalwareScansCommand.js +18 -41
  20. package/dist-cjs/commands/DescribeOrganizationConfigurationCommand.js +18 -41
  21. package/dist-cjs/commands/DescribePublishingDestinationCommand.js +18 -41
  22. package/dist-cjs/commands/DisableOrganizationAdminAccountCommand.js +18 -41
  23. package/dist-cjs/commands/DisassociateFromAdministratorAccountCommand.js +18 -41
  24. package/dist-cjs/commands/DisassociateFromMasterAccountCommand.js +18 -41
  25. package/dist-cjs/commands/DisassociateMembersCommand.js +18 -41
  26. package/dist-cjs/commands/EnableOrganizationAdminAccountCommand.js +18 -41
  27. package/dist-cjs/commands/GetAdministratorAccountCommand.js +18 -41
  28. package/dist-cjs/commands/GetCoverageStatisticsCommand.js +18 -41
  29. package/dist-cjs/commands/GetDetectorCommand.js +18 -41
  30. package/dist-cjs/commands/GetFilterCommand.js +18 -41
  31. package/dist-cjs/commands/GetFindingsCommand.js +18 -41
  32. package/dist-cjs/commands/GetFindingsStatisticsCommand.js +18 -41
  33. package/dist-cjs/commands/GetIPSetCommand.js +18 -41
  34. package/dist-cjs/commands/GetInvitationsCountCommand.js +18 -41
  35. package/dist-cjs/commands/GetMalwareScanSettingsCommand.js +18 -41
  36. package/dist-cjs/commands/GetMasterAccountCommand.js +18 -41
  37. package/dist-cjs/commands/GetMemberDetectorsCommand.js +18 -41
  38. package/dist-cjs/commands/GetMembersCommand.js +18 -41
  39. package/dist-cjs/commands/GetOrganizationStatisticsCommand.js +18 -41
  40. package/dist-cjs/commands/GetRemainingFreeTrialDaysCommand.js +18 -41
  41. package/dist-cjs/commands/GetThreatIntelSetCommand.js +18 -41
  42. package/dist-cjs/commands/GetUsageStatisticsCommand.js +18 -41
  43. package/dist-cjs/commands/InviteMembersCommand.js +18 -41
  44. package/dist-cjs/commands/ListCoverageCommand.js +18 -41
  45. package/dist-cjs/commands/ListDetectorsCommand.js +18 -41
  46. package/dist-cjs/commands/ListFiltersCommand.js +18 -41
  47. package/dist-cjs/commands/ListFindingsCommand.js +18 -41
  48. package/dist-cjs/commands/ListIPSetsCommand.js +18 -41
  49. package/dist-cjs/commands/ListInvitationsCommand.js +18 -41
  50. package/dist-cjs/commands/ListMembersCommand.js +18 -41
  51. package/dist-cjs/commands/ListOrganizationAdminAccountsCommand.js +18 -41
  52. package/dist-cjs/commands/ListPublishingDestinationsCommand.js +18 -41
  53. package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
  54. package/dist-cjs/commands/ListThreatIntelSetsCommand.js +18 -41
  55. package/dist-cjs/commands/StartMalwareScanCommand.js +18 -41
  56. package/dist-cjs/commands/StartMonitoringMembersCommand.js +18 -41
  57. package/dist-cjs/commands/StopMonitoringMembersCommand.js +18 -41
  58. package/dist-cjs/commands/TagResourceCommand.js +18 -41
  59. package/dist-cjs/commands/UnarchiveFindingsCommand.js +18 -41
  60. package/dist-cjs/commands/UntagResourceCommand.js +18 -41
  61. package/dist-cjs/commands/UpdateDetectorCommand.js +18 -41
  62. package/dist-cjs/commands/UpdateFilterCommand.js +18 -41
  63. package/dist-cjs/commands/UpdateFindingsFeedbackCommand.js +18 -41
  64. package/dist-cjs/commands/UpdateIPSetCommand.js +18 -41
  65. package/dist-cjs/commands/UpdateMalwareScanSettingsCommand.js +18 -41
  66. package/dist-cjs/commands/UpdateMemberDetectorsCommand.js +18 -41
  67. package/dist-cjs/commands/UpdateOrganizationConfigurationCommand.js +18 -41
  68. package/dist-cjs/commands/UpdatePublishingDestinationCommand.js +18 -41
  69. package/dist-cjs/commands/UpdateThreatIntelSetCommand.js +18 -41
  70. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  71. package/dist-es/commands/AcceptAdministratorInvitationCommand.js +18 -41
  72. package/dist-es/commands/AcceptInvitationCommand.js +18 -41
  73. package/dist-es/commands/ArchiveFindingsCommand.js +18 -41
  74. package/dist-es/commands/CreateDetectorCommand.js +18 -41
  75. package/dist-es/commands/CreateFilterCommand.js +18 -41
  76. package/dist-es/commands/CreateIPSetCommand.js +18 -41
  77. package/dist-es/commands/CreateMembersCommand.js +18 -41
  78. package/dist-es/commands/CreatePublishingDestinationCommand.js +18 -41
  79. package/dist-es/commands/CreateSampleFindingsCommand.js +18 -41
  80. package/dist-es/commands/CreateThreatIntelSetCommand.js +18 -41
  81. package/dist-es/commands/DeclineInvitationsCommand.js +18 -41
  82. package/dist-es/commands/DeleteDetectorCommand.js +18 -41
  83. package/dist-es/commands/DeleteFilterCommand.js +18 -41
  84. package/dist-es/commands/DeleteIPSetCommand.js +18 -41
  85. package/dist-es/commands/DeleteInvitationsCommand.js +18 -41
  86. package/dist-es/commands/DeleteMembersCommand.js +18 -41
  87. package/dist-es/commands/DeletePublishingDestinationCommand.js +18 -41
  88. package/dist-es/commands/DeleteThreatIntelSetCommand.js +18 -41
  89. package/dist-es/commands/DescribeMalwareScansCommand.js +18 -41
  90. package/dist-es/commands/DescribeOrganizationConfigurationCommand.js +18 -41
  91. package/dist-es/commands/DescribePublishingDestinationCommand.js +18 -41
  92. package/dist-es/commands/DisableOrganizationAdminAccountCommand.js +18 -41
  93. package/dist-es/commands/DisassociateFromAdministratorAccountCommand.js +18 -41
  94. package/dist-es/commands/DisassociateFromMasterAccountCommand.js +18 -41
  95. package/dist-es/commands/DisassociateMembersCommand.js +18 -41
  96. package/dist-es/commands/EnableOrganizationAdminAccountCommand.js +18 -41
  97. package/dist-es/commands/GetAdministratorAccountCommand.js +18 -41
  98. package/dist-es/commands/GetCoverageStatisticsCommand.js +18 -41
  99. package/dist-es/commands/GetDetectorCommand.js +18 -41
  100. package/dist-es/commands/GetFilterCommand.js +18 -41
  101. package/dist-es/commands/GetFindingsCommand.js +18 -41
  102. package/dist-es/commands/GetFindingsStatisticsCommand.js +18 -41
  103. package/dist-es/commands/GetIPSetCommand.js +18 -41
  104. package/dist-es/commands/GetInvitationsCountCommand.js +18 -41
  105. package/dist-es/commands/GetMalwareScanSettingsCommand.js +18 -41
  106. package/dist-es/commands/GetMasterAccountCommand.js +18 -41
  107. package/dist-es/commands/GetMemberDetectorsCommand.js +18 -41
  108. package/dist-es/commands/GetMembersCommand.js +18 -41
  109. package/dist-es/commands/GetOrganizationStatisticsCommand.js +18 -41
  110. package/dist-es/commands/GetRemainingFreeTrialDaysCommand.js +18 -41
  111. package/dist-es/commands/GetThreatIntelSetCommand.js +18 -41
  112. package/dist-es/commands/GetUsageStatisticsCommand.js +18 -41
  113. package/dist-es/commands/InviteMembersCommand.js +18 -41
  114. package/dist-es/commands/ListCoverageCommand.js +18 -41
  115. package/dist-es/commands/ListDetectorsCommand.js +18 -41
  116. package/dist-es/commands/ListFiltersCommand.js +18 -41
  117. package/dist-es/commands/ListFindingsCommand.js +18 -41
  118. package/dist-es/commands/ListIPSetsCommand.js +18 -41
  119. package/dist-es/commands/ListInvitationsCommand.js +18 -41
  120. package/dist-es/commands/ListMembersCommand.js +18 -41
  121. package/dist-es/commands/ListOrganizationAdminAccountsCommand.js +18 -41
  122. package/dist-es/commands/ListPublishingDestinationsCommand.js +18 -41
  123. package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
  124. package/dist-es/commands/ListThreatIntelSetsCommand.js +18 -41
  125. package/dist-es/commands/StartMalwareScanCommand.js +18 -41
  126. package/dist-es/commands/StartMonitoringMembersCommand.js +18 -41
  127. package/dist-es/commands/StopMonitoringMembersCommand.js +18 -41
  128. package/dist-es/commands/TagResourceCommand.js +18 -41
  129. package/dist-es/commands/UnarchiveFindingsCommand.js +18 -41
  130. package/dist-es/commands/UntagResourceCommand.js +18 -41
  131. package/dist-es/commands/UpdateDetectorCommand.js +18 -41
  132. package/dist-es/commands/UpdateFilterCommand.js +18 -41
  133. package/dist-es/commands/UpdateFindingsFeedbackCommand.js +18 -41
  134. package/dist-es/commands/UpdateIPSetCommand.js +18 -41
  135. package/dist-es/commands/UpdateMalwareScanSettingsCommand.js +18 -41
  136. package/dist-es/commands/UpdateMemberDetectorsCommand.js +18 -41
  137. package/dist-es/commands/UpdateOrganizationConfigurationCommand.js +18 -41
  138. package/dist-es/commands/UpdatePublishingDestinationCommand.js +18 -41
  139. package/dist-es/commands/UpdateThreatIntelSetCommand.js +18 -41
  140. package/dist-es/endpoint/EndpointParameters.js +6 -0
  141. package/dist-types/commands/AcceptAdministratorInvitationCommand.d.ts +6 -21
  142. package/dist-types/commands/AcceptInvitationCommand.d.ts +6 -21
  143. package/dist-types/commands/ArchiveFindingsCommand.d.ts +6 -21
  144. package/dist-types/commands/CreateDetectorCommand.d.ts +6 -21
  145. package/dist-types/commands/CreateFilterCommand.d.ts +6 -21
  146. package/dist-types/commands/CreateIPSetCommand.d.ts +6 -21
  147. package/dist-types/commands/CreateMembersCommand.d.ts +6 -21
  148. package/dist-types/commands/CreatePublishingDestinationCommand.d.ts +6 -21
  149. package/dist-types/commands/CreateSampleFindingsCommand.d.ts +6 -21
  150. package/dist-types/commands/CreateThreatIntelSetCommand.d.ts +6 -21
  151. package/dist-types/commands/DeclineInvitationsCommand.d.ts +6 -21
  152. package/dist-types/commands/DeleteDetectorCommand.d.ts +6 -21
  153. package/dist-types/commands/DeleteFilterCommand.d.ts +6 -21
  154. package/dist-types/commands/DeleteIPSetCommand.d.ts +6 -21
  155. package/dist-types/commands/DeleteInvitationsCommand.d.ts +6 -21
  156. package/dist-types/commands/DeleteMembersCommand.d.ts +6 -21
  157. package/dist-types/commands/DeletePublishingDestinationCommand.d.ts +6 -21
  158. package/dist-types/commands/DeleteThreatIntelSetCommand.d.ts +6 -21
  159. package/dist-types/commands/DescribeMalwareScansCommand.d.ts +6 -21
  160. package/dist-types/commands/DescribeOrganizationConfigurationCommand.d.ts +6 -21
  161. package/dist-types/commands/DescribePublishingDestinationCommand.d.ts +6 -21
  162. package/dist-types/commands/DisableOrganizationAdminAccountCommand.d.ts +6 -21
  163. package/dist-types/commands/DisassociateFromAdministratorAccountCommand.d.ts +6 -21
  164. package/dist-types/commands/DisassociateFromMasterAccountCommand.d.ts +6 -21
  165. package/dist-types/commands/DisassociateMembersCommand.d.ts +6 -21
  166. package/dist-types/commands/EnableOrganizationAdminAccountCommand.d.ts +6 -21
  167. package/dist-types/commands/GetAdministratorAccountCommand.d.ts +6 -21
  168. package/dist-types/commands/GetCoverageStatisticsCommand.d.ts +6 -21
  169. package/dist-types/commands/GetDetectorCommand.d.ts +6 -21
  170. package/dist-types/commands/GetFilterCommand.d.ts +6 -21
  171. package/dist-types/commands/GetFindingsCommand.d.ts +6 -21
  172. package/dist-types/commands/GetFindingsStatisticsCommand.d.ts +6 -21
  173. package/dist-types/commands/GetIPSetCommand.d.ts +6 -21
  174. package/dist-types/commands/GetInvitationsCountCommand.d.ts +6 -21
  175. package/dist-types/commands/GetMalwareScanSettingsCommand.d.ts +6 -21
  176. package/dist-types/commands/GetMasterAccountCommand.d.ts +6 -21
  177. package/dist-types/commands/GetMemberDetectorsCommand.d.ts +6 -21
  178. package/dist-types/commands/GetMembersCommand.d.ts +6 -21
  179. package/dist-types/commands/GetOrganizationStatisticsCommand.d.ts +6 -21
  180. package/dist-types/commands/GetRemainingFreeTrialDaysCommand.d.ts +6 -21
  181. package/dist-types/commands/GetThreatIntelSetCommand.d.ts +6 -21
  182. package/dist-types/commands/GetUsageStatisticsCommand.d.ts +6 -21
  183. package/dist-types/commands/InviteMembersCommand.d.ts +6 -21
  184. package/dist-types/commands/ListCoverageCommand.d.ts +6 -21
  185. package/dist-types/commands/ListDetectorsCommand.d.ts +6 -21
  186. package/dist-types/commands/ListFiltersCommand.d.ts +6 -21
  187. package/dist-types/commands/ListFindingsCommand.d.ts +6 -21
  188. package/dist-types/commands/ListIPSetsCommand.d.ts +6 -21
  189. package/dist-types/commands/ListInvitationsCommand.d.ts +6 -21
  190. package/dist-types/commands/ListMembersCommand.d.ts +6 -21
  191. package/dist-types/commands/ListOrganizationAdminAccountsCommand.d.ts +6 -21
  192. package/dist-types/commands/ListPublishingDestinationsCommand.d.ts +6 -21
  193. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
  194. package/dist-types/commands/ListThreatIntelSetsCommand.d.ts +6 -21
  195. package/dist-types/commands/StartMalwareScanCommand.d.ts +6 -21
  196. package/dist-types/commands/StartMonitoringMembersCommand.d.ts +6 -21
  197. package/dist-types/commands/StopMonitoringMembersCommand.d.ts +6 -21
  198. package/dist-types/commands/TagResourceCommand.d.ts +6 -21
  199. package/dist-types/commands/UnarchiveFindingsCommand.d.ts +6 -21
  200. package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
  201. package/dist-types/commands/UpdateDetectorCommand.d.ts +6 -21
  202. package/dist-types/commands/UpdateFilterCommand.d.ts +6 -21
  203. package/dist-types/commands/UpdateFindingsFeedbackCommand.d.ts +6 -21
  204. package/dist-types/commands/UpdateIPSetCommand.d.ts +6 -21
  205. package/dist-types/commands/UpdateMalwareScanSettingsCommand.d.ts +6 -21
  206. package/dist-types/commands/UpdateMemberDetectorsCommand.d.ts +6 -21
  207. package/dist-types/commands/UpdateOrganizationConfigurationCommand.d.ts +6 -21
  208. package/dist-types/commands/UpdatePublishingDestinationCommand.d.ts +6 -21
  209. package/dist-types/commands/UpdateThreatIntelSetCommand.d.ts +6 -21
  210. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  211. package/dist-types/ts3.4/commands/AcceptAdministratorInvitationCommand.d.ts +12 -24
  212. package/dist-types/ts3.4/commands/AcceptInvitationCommand.d.ts +14 -23
  213. package/dist-types/ts3.4/commands/ArchiveFindingsCommand.d.ts +14 -23
  214. package/dist-types/ts3.4/commands/CreateDetectorCommand.d.ts +14 -23
  215. package/dist-types/ts3.4/commands/CreateFilterCommand.d.ts +14 -23
  216. package/dist-types/ts3.4/commands/CreateIPSetCommand.d.ts +14 -23
  217. package/dist-types/ts3.4/commands/CreateMembersCommand.d.ts +14 -23
  218. package/dist-types/ts3.4/commands/CreatePublishingDestinationCommand.d.ts +12 -24
  219. package/dist-types/ts3.4/commands/CreateSampleFindingsCommand.d.ts +12 -24
  220. package/dist-types/ts3.4/commands/CreateThreatIntelSetCommand.d.ts +12 -24
  221. package/dist-types/ts3.4/commands/DeclineInvitationsCommand.d.ts +14 -23
  222. package/dist-types/ts3.4/commands/DeleteDetectorCommand.d.ts +14 -23
  223. package/dist-types/ts3.4/commands/DeleteFilterCommand.d.ts +14 -23
  224. package/dist-types/ts3.4/commands/DeleteIPSetCommand.d.ts +14 -23
  225. package/dist-types/ts3.4/commands/DeleteInvitationsCommand.d.ts +14 -23
  226. package/dist-types/ts3.4/commands/DeleteMembersCommand.d.ts +14 -23
  227. package/dist-types/ts3.4/commands/DeletePublishingDestinationCommand.d.ts +12 -24
  228. package/dist-types/ts3.4/commands/DeleteThreatIntelSetCommand.d.ts +12 -24
  229. package/dist-types/ts3.4/commands/DescribeMalwareScansCommand.d.ts +12 -24
  230. package/dist-types/ts3.4/commands/DescribeOrganizationConfigurationCommand.d.ts +12 -24
  231. package/dist-types/ts3.4/commands/DescribePublishingDestinationCommand.d.ts +12 -24
  232. package/dist-types/ts3.4/commands/DisableOrganizationAdminAccountCommand.d.ts +12 -24
  233. package/dist-types/ts3.4/commands/DisassociateFromAdministratorAccountCommand.d.ts +12 -24
  234. package/dist-types/ts3.4/commands/DisassociateFromMasterAccountCommand.d.ts +12 -24
  235. package/dist-types/ts3.4/commands/DisassociateMembersCommand.d.ts +14 -23
  236. package/dist-types/ts3.4/commands/EnableOrganizationAdminAccountCommand.d.ts +12 -24
  237. package/dist-types/ts3.4/commands/GetAdministratorAccountCommand.d.ts +12 -24
  238. package/dist-types/ts3.4/commands/GetCoverageStatisticsCommand.d.ts +12 -24
  239. package/dist-types/ts3.4/commands/GetDetectorCommand.d.ts +14 -23
  240. package/dist-types/ts3.4/commands/GetFilterCommand.d.ts +14 -23
  241. package/dist-types/ts3.4/commands/GetFindingsCommand.d.ts +14 -23
  242. package/dist-types/ts3.4/commands/GetFindingsStatisticsCommand.d.ts +12 -24
  243. package/dist-types/ts3.4/commands/GetIPSetCommand.d.ts +14 -23
  244. package/dist-types/ts3.4/commands/GetInvitationsCountCommand.d.ts +14 -23
  245. package/dist-types/ts3.4/commands/GetMalwareScanSettingsCommand.d.ts +12 -24
  246. package/dist-types/ts3.4/commands/GetMasterAccountCommand.d.ts +14 -23
  247. package/dist-types/ts3.4/commands/GetMemberDetectorsCommand.d.ts +14 -23
  248. package/dist-types/ts3.4/commands/GetMembersCommand.d.ts +14 -23
  249. package/dist-types/ts3.4/commands/GetOrganizationStatisticsCommand.d.ts +12 -24
  250. package/dist-types/ts3.4/commands/GetRemainingFreeTrialDaysCommand.d.ts +12 -24
  251. package/dist-types/ts3.4/commands/GetThreatIntelSetCommand.d.ts +14 -23
  252. package/dist-types/ts3.4/commands/GetUsageStatisticsCommand.d.ts +14 -23
  253. package/dist-types/ts3.4/commands/InviteMembersCommand.d.ts +14 -23
  254. package/dist-types/ts3.4/commands/ListCoverageCommand.d.ts +14 -23
  255. package/dist-types/ts3.4/commands/ListDetectorsCommand.d.ts +14 -23
  256. package/dist-types/ts3.4/commands/ListFiltersCommand.d.ts +14 -23
  257. package/dist-types/ts3.4/commands/ListFindingsCommand.d.ts +14 -23
  258. package/dist-types/ts3.4/commands/ListIPSetsCommand.d.ts +14 -23
  259. package/dist-types/ts3.4/commands/ListInvitationsCommand.d.ts +14 -23
  260. package/dist-types/ts3.4/commands/ListMembersCommand.d.ts +14 -23
  261. package/dist-types/ts3.4/commands/ListOrganizationAdminAccountsCommand.d.ts +12 -24
  262. package/dist-types/ts3.4/commands/ListPublishingDestinationsCommand.d.ts +12 -24
  263. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
  264. package/dist-types/ts3.4/commands/ListThreatIntelSetsCommand.d.ts +14 -23
  265. package/dist-types/ts3.4/commands/StartMalwareScanCommand.d.ts +14 -23
  266. package/dist-types/ts3.4/commands/StartMonitoringMembersCommand.d.ts +12 -24
  267. package/dist-types/ts3.4/commands/StopMonitoringMembersCommand.d.ts +12 -24
  268. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
  269. package/dist-types/ts3.4/commands/UnarchiveFindingsCommand.d.ts +14 -23
  270. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
  271. package/dist-types/ts3.4/commands/UpdateDetectorCommand.d.ts +14 -23
  272. package/dist-types/ts3.4/commands/UpdateFilterCommand.d.ts +14 -23
  273. package/dist-types/ts3.4/commands/UpdateFindingsFeedbackCommand.d.ts +12 -24
  274. package/dist-types/ts3.4/commands/UpdateIPSetCommand.d.ts +14 -23
  275. package/dist-types/ts3.4/commands/UpdateMalwareScanSettingsCommand.d.ts +12 -24
  276. package/dist-types/ts3.4/commands/UpdateMemberDetectorsCommand.d.ts +12 -24
  277. package/dist-types/ts3.4/commands/UpdateOrganizationConfigurationCommand.d.ts +12 -24
  278. package/dist-types/ts3.4/commands/UpdatePublishingDestinationCommand.d.ts +12 -24
  279. package/dist-types/ts3.4/commands/UpdateThreatIntelSetCommand.d.ts +12 -24
  280. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  281. package/package.json +9 -9
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_CreateDetectorCommand, se_CreateDetectorCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class CreateDetectorCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, CreateDetectorCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "GuardDutyClient";
26
- const commandName = "CreateDetectorCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "GuardDutyAPIService",
35
- operation: "CreateDetector",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_CreateDetectorCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_CreateDetectorCommand(output, context);
46
- }
7
+ export class CreateDetectorCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("GuardDutyAPIService", "CreateDetector", {})
19
+ .n("GuardDutyClient", "CreateDetectorCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_CreateDetectorCommand)
22
+ .de(de_CreateDetectorCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_CreateFilterCommand, se_CreateFilterCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class CreateFilterCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, CreateFilterCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "GuardDutyClient";
26
- const commandName = "CreateFilterCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "GuardDutyAPIService",
35
- operation: "CreateFilter",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_CreateFilterCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_CreateFilterCommand(output, context);
46
- }
7
+ export class CreateFilterCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("GuardDutyAPIService", "CreateFilter", {})
19
+ .n("GuardDutyClient", "CreateFilterCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_CreateFilterCommand)
22
+ .de(de_CreateFilterCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_CreateIPSetCommand, se_CreateIPSetCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class CreateIPSetCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, CreateIPSetCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "GuardDutyClient";
26
- const commandName = "CreateIPSetCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "GuardDutyAPIService",
35
- operation: "CreateIPSet",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_CreateIPSetCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_CreateIPSetCommand(output, context);
46
- }
7
+ export class CreateIPSetCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("GuardDutyAPIService", "CreateIPSet", {})
19
+ .n("GuardDutyClient", "CreateIPSetCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_CreateIPSetCommand)
22
+ .de(de_CreateIPSetCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_CreateMembersCommand, se_CreateMembersCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class CreateMembersCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, CreateMembersCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "GuardDutyClient";
26
- const commandName = "CreateMembersCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "GuardDutyAPIService",
35
- operation: "CreateMembers",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_CreateMembersCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_CreateMembersCommand(output, context);
46
- }
7
+ export class CreateMembersCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("GuardDutyAPIService", "CreateMembers", {})
19
+ .n("GuardDutyClient", "CreateMembersCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_CreateMembersCommand)
22
+ .de(de_CreateMembersCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_CreatePublishingDestinationCommand, se_CreatePublishingDestinationCommand, } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class CreatePublishingDestinationCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, CreatePublishingDestinationCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "GuardDutyClient";
26
- const commandName = "CreatePublishingDestinationCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "GuardDutyAPIService",
35
- operation: "CreatePublishingDestination",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_CreatePublishingDestinationCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_CreatePublishingDestinationCommand(output, context);
46
- }
7
+ export class CreatePublishingDestinationCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("GuardDutyAPIService", "CreatePublishingDestination", {})
19
+ .n("GuardDutyClient", "CreatePublishingDestinationCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_CreatePublishingDestinationCommand)
22
+ .de(de_CreatePublishingDestinationCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_CreateSampleFindingsCommand, se_CreateSampleFindingsCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class CreateSampleFindingsCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, CreateSampleFindingsCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "GuardDutyClient";
26
- const commandName = "CreateSampleFindingsCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "GuardDutyAPIService",
35
- operation: "CreateSampleFindings",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_CreateSampleFindingsCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_CreateSampleFindingsCommand(output, context);
46
- }
7
+ export class CreateSampleFindingsCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("GuardDutyAPIService", "CreateSampleFindings", {})
19
+ .n("GuardDutyClient", "CreateSampleFindingsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_CreateSampleFindingsCommand)
22
+ .de(de_CreateSampleFindingsCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_CreateThreatIntelSetCommand, se_CreateThreatIntelSetCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class CreateThreatIntelSetCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, CreateThreatIntelSetCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "GuardDutyClient";
26
- const commandName = "CreateThreatIntelSetCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "GuardDutyAPIService",
35
- operation: "CreateThreatIntelSet",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_CreateThreatIntelSetCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_CreateThreatIntelSetCommand(output, context);
46
- }
7
+ export class CreateThreatIntelSetCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("GuardDutyAPIService", "CreateThreatIntelSet", {})
19
+ .n("GuardDutyClient", "CreateThreatIntelSetCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_CreateThreatIntelSetCommand)
22
+ .de(de_CreateThreatIntelSetCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_DeclineInvitationsCommand, se_DeclineInvitationsCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class DeclineInvitationsCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, DeclineInvitationsCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "GuardDutyClient";
26
- const commandName = "DeclineInvitationsCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "GuardDutyAPIService",
35
- operation: "DeclineInvitations",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_DeclineInvitationsCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DeclineInvitationsCommand(output, context);
46
- }
7
+ export class DeclineInvitationsCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("GuardDutyAPIService", "DeclineInvitations", {})
19
+ .n("GuardDutyClient", "DeclineInvitationsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DeclineInvitationsCommand)
22
+ .de(de_DeclineInvitationsCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_DeleteDetectorCommand, se_DeleteDetectorCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class DeleteDetectorCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, DeleteDetectorCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "GuardDutyClient";
26
- const commandName = "DeleteDetectorCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "GuardDutyAPIService",
35
- operation: "DeleteDetector",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_DeleteDetectorCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DeleteDetectorCommand(output, context);
46
- }
7
+ export class DeleteDetectorCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("GuardDutyAPIService", "DeleteDetector", {})
19
+ .n("GuardDutyClient", "DeleteDetectorCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DeleteDetectorCommand)
22
+ .de(de_DeleteDetectorCommand)
23
+ .build() {
47
24
  }