@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
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class UpdateIPSetCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateIPSetCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "GuardDutyClient";
29
- const commandName = "UpdateIPSetCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "GuardDutyAPIService",
38
- operation: "UpdateIPSet",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_restJson1_1.se_UpdateIPSetCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_UpdateIPSetCommand)(output, context);
49
- }
10
+ class UpdateIPSetCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("GuardDutyAPIService", "UpdateIPSet", {})
22
+ .n("GuardDutyClient", "UpdateIPSetCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_UpdateIPSetCommand)
25
+ .de(Aws_restJson1_1.de_UpdateIPSetCommand)
26
+ .build() {
50
27
  }
51
28
  exports.UpdateIPSetCommand = UpdateIPSetCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class UpdateMalwareScanSettingsCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateMalwareScanSettingsCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "GuardDutyClient";
29
- const commandName = "UpdateMalwareScanSettingsCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "GuardDutyAPIService",
38
- operation: "UpdateMalwareScanSettings",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_restJson1_1.se_UpdateMalwareScanSettingsCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_UpdateMalwareScanSettingsCommand)(output, context);
49
- }
10
+ class UpdateMalwareScanSettingsCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("GuardDutyAPIService", "UpdateMalwareScanSettings", {})
22
+ .n("GuardDutyClient", "UpdateMalwareScanSettingsCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_UpdateMalwareScanSettingsCommand)
25
+ .de(Aws_restJson1_1.de_UpdateMalwareScanSettingsCommand)
26
+ .build() {
50
27
  }
51
28
  exports.UpdateMalwareScanSettingsCommand = UpdateMalwareScanSettingsCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class UpdateMemberDetectorsCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateMemberDetectorsCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "GuardDutyClient";
29
- const commandName = "UpdateMemberDetectorsCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "GuardDutyAPIService",
38
- operation: "UpdateMemberDetectors",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_restJson1_1.se_UpdateMemberDetectorsCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_UpdateMemberDetectorsCommand)(output, context);
49
- }
10
+ class UpdateMemberDetectorsCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("GuardDutyAPIService", "UpdateMemberDetectors", {})
22
+ .n("GuardDutyClient", "UpdateMemberDetectorsCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_UpdateMemberDetectorsCommand)
25
+ .de(Aws_restJson1_1.de_UpdateMemberDetectorsCommand)
26
+ .build() {
50
27
  }
51
28
  exports.UpdateMemberDetectorsCommand = UpdateMemberDetectorsCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class UpdateOrganizationConfigurationCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateOrganizationConfigurationCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "GuardDutyClient";
29
- const commandName = "UpdateOrganizationConfigurationCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "GuardDutyAPIService",
38
- operation: "UpdateOrganizationConfiguration",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_restJson1_1.se_UpdateOrganizationConfigurationCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_UpdateOrganizationConfigurationCommand)(output, context);
49
- }
10
+ class UpdateOrganizationConfigurationCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("GuardDutyAPIService", "UpdateOrganizationConfiguration", {})
22
+ .n("GuardDutyClient", "UpdateOrganizationConfigurationCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_UpdateOrganizationConfigurationCommand)
25
+ .de(Aws_restJson1_1.de_UpdateOrganizationConfigurationCommand)
26
+ .build() {
50
27
  }
51
28
  exports.UpdateOrganizationConfigurationCommand = UpdateOrganizationConfigurationCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class UpdatePublishingDestinationCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdatePublishingDestinationCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "GuardDutyClient";
29
- const commandName = "UpdatePublishingDestinationCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "GuardDutyAPIService",
38
- operation: "UpdatePublishingDestination",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_restJson1_1.se_UpdatePublishingDestinationCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_UpdatePublishingDestinationCommand)(output, context);
49
- }
10
+ class UpdatePublishingDestinationCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("GuardDutyAPIService", "UpdatePublishingDestination", {})
22
+ .n("GuardDutyClient", "UpdatePublishingDestinationCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_UpdatePublishingDestinationCommand)
25
+ .de(Aws_restJson1_1.de_UpdatePublishingDestinationCommand)
26
+ .build() {
50
27
  }
51
28
  exports.UpdatePublishingDestinationCommand = UpdatePublishingDestinationCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class UpdateThreatIntelSetCommand extends smithy_client_1.Command {
11
- static getEndpointParameterInstructions() {
12
- return {
13
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
- Endpoint: { type: "builtInParams", name: "endpoint" },
15
- Region: { type: "builtInParams", name: "region" },
16
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
- };
18
- }
19
- constructor(input) {
20
- super();
21
- this.input = input;
22
- }
23
- resolveMiddleware(clientStack, configuration, options) {
24
- this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
- this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateThreatIntelSetCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "GuardDutyClient";
29
- const commandName = "UpdateThreatIntelSetCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "GuardDutyAPIService",
38
- operation: "UpdateThreatIntelSet",
39
- },
40
- };
41
- const { requestHandler } = configuration;
42
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
- }
44
- serialize(input, context) {
45
- return (0, Aws_restJson1_1.se_UpdateThreatIntelSetCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_UpdateThreatIntelSetCommand)(output, context);
49
- }
10
+ class UpdateThreatIntelSetCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("GuardDutyAPIService", "UpdateThreatIntelSet", {})
22
+ .n("GuardDutyClient", "UpdateThreatIntelSetCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_UpdateThreatIntelSetCommand)
25
+ .de(Aws_restJson1_1.de_UpdateThreatIntelSetCommand)
26
+ .build() {
50
27
  }
51
28
  exports.UpdateThreatIntelSetCommand = UpdateThreatIntelSetCommand;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.resolveClientEndpointParameters = void 0;
3
+ exports.commonParams = exports.resolveClientEndpointParameters = void 0;
4
4
  const resolveClientEndpointParameters = (options) => {
5
5
  return {
6
6
  ...options,
@@ -10,3 +10,9 @@ const resolveClientEndpointParameters = (options) => {
10
10
  };
11
11
  };
12
12
  exports.resolveClientEndpointParameters = resolveClientEndpointParameters;
13
+ exports.commonParams = {
14
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
15
+ Endpoint: { type: "builtInParams", name: "endpoint" },
16
+ Region: { type: "builtInParams", name: "region" },
17
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
18
+ };
@@ -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_AcceptAdministratorInvitationCommand, se_AcceptAdministratorInvitationCommand, } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class AcceptAdministratorInvitationCommand 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, AcceptAdministratorInvitationCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "GuardDutyClient";
26
- const commandName = "AcceptAdministratorInvitationCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "GuardDutyAPIService",
35
- operation: "AcceptAdministratorInvitation",
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_AcceptAdministratorInvitationCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_AcceptAdministratorInvitationCommand(output, context);
46
- }
7
+ export class AcceptAdministratorInvitationCommand 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", "AcceptAdministratorInvitation", {})
19
+ .n("GuardDutyClient", "AcceptAdministratorInvitationCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_AcceptAdministratorInvitationCommand)
22
+ .de(de_AcceptAdministratorInvitationCommand)
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_AcceptInvitationCommand, se_AcceptInvitationCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class AcceptInvitationCommand 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, AcceptInvitationCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "GuardDutyClient";
26
- const commandName = "AcceptInvitationCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "GuardDutyAPIService",
35
- operation: "AcceptInvitation",
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_AcceptInvitationCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_AcceptInvitationCommand(output, context);
46
- }
7
+ export class AcceptInvitationCommand 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", "AcceptInvitation", {})
19
+ .n("GuardDutyClient", "AcceptInvitationCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_AcceptInvitationCommand)
22
+ .de(de_AcceptInvitationCommand)
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_ArchiveFindingsCommand, se_ArchiveFindingsCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class ArchiveFindingsCommand 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, ArchiveFindingsCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "GuardDutyClient";
26
- const commandName = "ArchiveFindingsCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "GuardDutyAPIService",
35
- operation: "ArchiveFindings",
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_ArchiveFindingsCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_ArchiveFindingsCommand(output, context);
46
- }
7
+ export class ArchiveFindingsCommand 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", "ArchiveFindings", {})
19
+ .n("GuardDutyClient", "ArchiveFindingsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ArchiveFindingsCommand)
22
+ .de(de_ArchiveFindingsCommand)
23
+ .build() {
47
24
  }