@aws-sdk/client-macie2 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 (321) hide show
  1. package/dist-cjs/commands/AcceptInvitationCommand.js +18 -41
  2. package/dist-cjs/commands/BatchGetCustomDataIdentifiersCommand.js +18 -41
  3. package/dist-cjs/commands/CreateAllowListCommand.js +18 -41
  4. package/dist-cjs/commands/CreateClassificationJobCommand.js +18 -41
  5. package/dist-cjs/commands/CreateCustomDataIdentifierCommand.js +18 -41
  6. package/dist-cjs/commands/CreateFindingsFilterCommand.js +18 -41
  7. package/dist-cjs/commands/CreateInvitationsCommand.js +18 -41
  8. package/dist-cjs/commands/CreateMemberCommand.js +18 -41
  9. package/dist-cjs/commands/CreateSampleFindingsCommand.js +18 -41
  10. package/dist-cjs/commands/DeclineInvitationsCommand.js +18 -41
  11. package/dist-cjs/commands/DeleteAllowListCommand.js +18 -41
  12. package/dist-cjs/commands/DeleteCustomDataIdentifierCommand.js +18 -41
  13. package/dist-cjs/commands/DeleteFindingsFilterCommand.js +18 -41
  14. package/dist-cjs/commands/DeleteInvitationsCommand.js +18 -41
  15. package/dist-cjs/commands/DeleteMemberCommand.js +18 -41
  16. package/dist-cjs/commands/DescribeBucketsCommand.js +18 -41
  17. package/dist-cjs/commands/DescribeClassificationJobCommand.js +18 -41
  18. package/dist-cjs/commands/DescribeOrganizationConfigurationCommand.js +18 -41
  19. package/dist-cjs/commands/DisableMacieCommand.js +18 -41
  20. package/dist-cjs/commands/DisableOrganizationAdminAccountCommand.js +18 -41
  21. package/dist-cjs/commands/DisassociateFromAdministratorAccountCommand.js +18 -41
  22. package/dist-cjs/commands/DisassociateFromMasterAccountCommand.js +18 -41
  23. package/dist-cjs/commands/DisassociateMemberCommand.js +18 -41
  24. package/dist-cjs/commands/EnableMacieCommand.js +18 -41
  25. package/dist-cjs/commands/EnableOrganizationAdminAccountCommand.js +18 -41
  26. package/dist-cjs/commands/GetAdministratorAccountCommand.js +18 -41
  27. package/dist-cjs/commands/GetAllowListCommand.js +18 -41
  28. package/dist-cjs/commands/GetAutomatedDiscoveryConfigurationCommand.js +18 -41
  29. package/dist-cjs/commands/GetBucketStatisticsCommand.js +18 -41
  30. package/dist-cjs/commands/GetClassificationExportConfigurationCommand.js +18 -41
  31. package/dist-cjs/commands/GetClassificationScopeCommand.js +18 -41
  32. package/dist-cjs/commands/GetCustomDataIdentifierCommand.js +18 -41
  33. package/dist-cjs/commands/GetFindingStatisticsCommand.js +18 -41
  34. package/dist-cjs/commands/GetFindingsCommand.js +18 -41
  35. package/dist-cjs/commands/GetFindingsFilterCommand.js +18 -41
  36. package/dist-cjs/commands/GetFindingsPublicationConfigurationCommand.js +18 -41
  37. package/dist-cjs/commands/GetInvitationsCountCommand.js +18 -41
  38. package/dist-cjs/commands/GetMacieSessionCommand.js +18 -41
  39. package/dist-cjs/commands/GetMasterAccountCommand.js +18 -41
  40. package/dist-cjs/commands/GetMemberCommand.js +18 -41
  41. package/dist-cjs/commands/GetResourceProfileCommand.js +18 -41
  42. package/dist-cjs/commands/GetRevealConfigurationCommand.js +18 -41
  43. package/dist-cjs/commands/GetSensitiveDataOccurrencesAvailabilityCommand.js +18 -41
  44. package/dist-cjs/commands/GetSensitiveDataOccurrencesCommand.js +18 -41
  45. package/dist-cjs/commands/GetSensitivityInspectionTemplateCommand.js +18 -41
  46. package/dist-cjs/commands/GetUsageStatisticsCommand.js +18 -41
  47. package/dist-cjs/commands/GetUsageTotalsCommand.js +18 -41
  48. package/dist-cjs/commands/ListAllowListsCommand.js +18 -41
  49. package/dist-cjs/commands/ListClassificationJobsCommand.js +18 -41
  50. package/dist-cjs/commands/ListClassificationScopesCommand.js +18 -41
  51. package/dist-cjs/commands/ListCustomDataIdentifiersCommand.js +18 -41
  52. package/dist-cjs/commands/ListFindingsCommand.js +18 -41
  53. package/dist-cjs/commands/ListFindingsFiltersCommand.js +18 -41
  54. package/dist-cjs/commands/ListInvitationsCommand.js +18 -41
  55. package/dist-cjs/commands/ListManagedDataIdentifiersCommand.js +18 -41
  56. package/dist-cjs/commands/ListMembersCommand.js +18 -41
  57. package/dist-cjs/commands/ListOrganizationAdminAccountsCommand.js +18 -41
  58. package/dist-cjs/commands/ListResourceProfileArtifactsCommand.js +18 -41
  59. package/dist-cjs/commands/ListResourceProfileDetectionsCommand.js +18 -41
  60. package/dist-cjs/commands/ListSensitivityInspectionTemplatesCommand.js +18 -41
  61. package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
  62. package/dist-cjs/commands/PutClassificationExportConfigurationCommand.js +18 -41
  63. package/dist-cjs/commands/PutFindingsPublicationConfigurationCommand.js +18 -41
  64. package/dist-cjs/commands/SearchResourcesCommand.js +18 -41
  65. package/dist-cjs/commands/TagResourceCommand.js +18 -41
  66. package/dist-cjs/commands/TestCustomDataIdentifierCommand.js +18 -41
  67. package/dist-cjs/commands/UntagResourceCommand.js +18 -41
  68. package/dist-cjs/commands/UpdateAllowListCommand.js +18 -41
  69. package/dist-cjs/commands/UpdateAutomatedDiscoveryConfigurationCommand.js +18 -41
  70. package/dist-cjs/commands/UpdateClassificationJobCommand.js +18 -41
  71. package/dist-cjs/commands/UpdateClassificationScopeCommand.js +18 -41
  72. package/dist-cjs/commands/UpdateFindingsFilterCommand.js +18 -41
  73. package/dist-cjs/commands/UpdateMacieSessionCommand.js +18 -41
  74. package/dist-cjs/commands/UpdateMemberSessionCommand.js +18 -41
  75. package/dist-cjs/commands/UpdateOrganizationConfigurationCommand.js +18 -41
  76. package/dist-cjs/commands/UpdateResourceProfileCommand.js +18 -41
  77. package/dist-cjs/commands/UpdateResourceProfileDetectionsCommand.js +18 -41
  78. package/dist-cjs/commands/UpdateRevealConfigurationCommand.js +18 -41
  79. package/dist-cjs/commands/UpdateSensitivityInspectionTemplateCommand.js +18 -41
  80. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  81. package/dist-es/commands/AcceptInvitationCommand.js +18 -41
  82. package/dist-es/commands/BatchGetCustomDataIdentifiersCommand.js +18 -41
  83. package/dist-es/commands/CreateAllowListCommand.js +18 -41
  84. package/dist-es/commands/CreateClassificationJobCommand.js +18 -41
  85. package/dist-es/commands/CreateCustomDataIdentifierCommand.js +18 -41
  86. package/dist-es/commands/CreateFindingsFilterCommand.js +18 -41
  87. package/dist-es/commands/CreateInvitationsCommand.js +18 -41
  88. package/dist-es/commands/CreateMemberCommand.js +18 -41
  89. package/dist-es/commands/CreateSampleFindingsCommand.js +18 -41
  90. package/dist-es/commands/DeclineInvitationsCommand.js +18 -41
  91. package/dist-es/commands/DeleteAllowListCommand.js +18 -41
  92. package/dist-es/commands/DeleteCustomDataIdentifierCommand.js +18 -41
  93. package/dist-es/commands/DeleteFindingsFilterCommand.js +18 -41
  94. package/dist-es/commands/DeleteInvitationsCommand.js +18 -41
  95. package/dist-es/commands/DeleteMemberCommand.js +18 -41
  96. package/dist-es/commands/DescribeBucketsCommand.js +18 -41
  97. package/dist-es/commands/DescribeClassificationJobCommand.js +18 -41
  98. package/dist-es/commands/DescribeOrganizationConfigurationCommand.js +18 -41
  99. package/dist-es/commands/DisableMacieCommand.js +18 -41
  100. package/dist-es/commands/DisableOrganizationAdminAccountCommand.js +18 -41
  101. package/dist-es/commands/DisassociateFromAdministratorAccountCommand.js +18 -41
  102. package/dist-es/commands/DisassociateFromMasterAccountCommand.js +18 -41
  103. package/dist-es/commands/DisassociateMemberCommand.js +18 -41
  104. package/dist-es/commands/EnableMacieCommand.js +18 -41
  105. package/dist-es/commands/EnableOrganizationAdminAccountCommand.js +18 -41
  106. package/dist-es/commands/GetAdministratorAccountCommand.js +18 -41
  107. package/dist-es/commands/GetAllowListCommand.js +18 -41
  108. package/dist-es/commands/GetAutomatedDiscoveryConfigurationCommand.js +18 -41
  109. package/dist-es/commands/GetBucketStatisticsCommand.js +18 -41
  110. package/dist-es/commands/GetClassificationExportConfigurationCommand.js +18 -41
  111. package/dist-es/commands/GetClassificationScopeCommand.js +18 -41
  112. package/dist-es/commands/GetCustomDataIdentifierCommand.js +18 -41
  113. package/dist-es/commands/GetFindingStatisticsCommand.js +18 -41
  114. package/dist-es/commands/GetFindingsCommand.js +18 -41
  115. package/dist-es/commands/GetFindingsFilterCommand.js +18 -41
  116. package/dist-es/commands/GetFindingsPublicationConfigurationCommand.js +18 -41
  117. package/dist-es/commands/GetInvitationsCountCommand.js +18 -41
  118. package/dist-es/commands/GetMacieSessionCommand.js +18 -41
  119. package/dist-es/commands/GetMasterAccountCommand.js +18 -41
  120. package/dist-es/commands/GetMemberCommand.js +18 -41
  121. package/dist-es/commands/GetResourceProfileCommand.js +18 -41
  122. package/dist-es/commands/GetRevealConfigurationCommand.js +18 -41
  123. package/dist-es/commands/GetSensitiveDataOccurrencesAvailabilityCommand.js +18 -41
  124. package/dist-es/commands/GetSensitiveDataOccurrencesCommand.js +18 -41
  125. package/dist-es/commands/GetSensitivityInspectionTemplateCommand.js +18 -41
  126. package/dist-es/commands/GetUsageStatisticsCommand.js +18 -41
  127. package/dist-es/commands/GetUsageTotalsCommand.js +18 -41
  128. package/dist-es/commands/ListAllowListsCommand.js +18 -41
  129. package/dist-es/commands/ListClassificationJobsCommand.js +18 -41
  130. package/dist-es/commands/ListClassificationScopesCommand.js +18 -41
  131. package/dist-es/commands/ListCustomDataIdentifiersCommand.js +18 -41
  132. package/dist-es/commands/ListFindingsCommand.js +18 -41
  133. package/dist-es/commands/ListFindingsFiltersCommand.js +18 -41
  134. package/dist-es/commands/ListInvitationsCommand.js +18 -41
  135. package/dist-es/commands/ListManagedDataIdentifiersCommand.js +18 -41
  136. package/dist-es/commands/ListMembersCommand.js +18 -41
  137. package/dist-es/commands/ListOrganizationAdminAccountsCommand.js +18 -41
  138. package/dist-es/commands/ListResourceProfileArtifactsCommand.js +18 -41
  139. package/dist-es/commands/ListResourceProfileDetectionsCommand.js +18 -41
  140. package/dist-es/commands/ListSensitivityInspectionTemplatesCommand.js +18 -41
  141. package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
  142. package/dist-es/commands/PutClassificationExportConfigurationCommand.js +18 -41
  143. package/dist-es/commands/PutFindingsPublicationConfigurationCommand.js +18 -41
  144. package/dist-es/commands/SearchResourcesCommand.js +18 -41
  145. package/dist-es/commands/TagResourceCommand.js +18 -41
  146. package/dist-es/commands/TestCustomDataIdentifierCommand.js +18 -41
  147. package/dist-es/commands/UntagResourceCommand.js +18 -41
  148. package/dist-es/commands/UpdateAllowListCommand.js +18 -41
  149. package/dist-es/commands/UpdateAutomatedDiscoveryConfigurationCommand.js +18 -41
  150. package/dist-es/commands/UpdateClassificationJobCommand.js +18 -41
  151. package/dist-es/commands/UpdateClassificationScopeCommand.js +18 -41
  152. package/dist-es/commands/UpdateFindingsFilterCommand.js +18 -41
  153. package/dist-es/commands/UpdateMacieSessionCommand.js +18 -41
  154. package/dist-es/commands/UpdateMemberSessionCommand.js +18 -41
  155. package/dist-es/commands/UpdateOrganizationConfigurationCommand.js +18 -41
  156. package/dist-es/commands/UpdateResourceProfileCommand.js +18 -41
  157. package/dist-es/commands/UpdateResourceProfileDetectionsCommand.js +18 -41
  158. package/dist-es/commands/UpdateRevealConfigurationCommand.js +18 -41
  159. package/dist-es/commands/UpdateSensitivityInspectionTemplateCommand.js +18 -41
  160. package/dist-es/endpoint/EndpointParameters.js +6 -0
  161. package/dist-types/commands/AcceptInvitationCommand.d.ts +6 -21
  162. package/dist-types/commands/BatchGetCustomDataIdentifiersCommand.d.ts +6 -21
  163. package/dist-types/commands/CreateAllowListCommand.d.ts +6 -21
  164. package/dist-types/commands/CreateClassificationJobCommand.d.ts +6 -21
  165. package/dist-types/commands/CreateCustomDataIdentifierCommand.d.ts +6 -21
  166. package/dist-types/commands/CreateFindingsFilterCommand.d.ts +6 -21
  167. package/dist-types/commands/CreateInvitationsCommand.d.ts +6 -21
  168. package/dist-types/commands/CreateMemberCommand.d.ts +6 -21
  169. package/dist-types/commands/CreateSampleFindingsCommand.d.ts +6 -21
  170. package/dist-types/commands/DeclineInvitationsCommand.d.ts +6 -21
  171. package/dist-types/commands/DeleteAllowListCommand.d.ts +6 -21
  172. package/dist-types/commands/DeleteCustomDataIdentifierCommand.d.ts +6 -21
  173. package/dist-types/commands/DeleteFindingsFilterCommand.d.ts +6 -21
  174. package/dist-types/commands/DeleteInvitationsCommand.d.ts +6 -21
  175. package/dist-types/commands/DeleteMemberCommand.d.ts +6 -21
  176. package/dist-types/commands/DescribeBucketsCommand.d.ts +6 -21
  177. package/dist-types/commands/DescribeClassificationJobCommand.d.ts +6 -21
  178. package/dist-types/commands/DescribeOrganizationConfigurationCommand.d.ts +6 -21
  179. package/dist-types/commands/DisableMacieCommand.d.ts +6 -21
  180. package/dist-types/commands/DisableOrganizationAdminAccountCommand.d.ts +6 -21
  181. package/dist-types/commands/DisassociateFromAdministratorAccountCommand.d.ts +6 -21
  182. package/dist-types/commands/DisassociateFromMasterAccountCommand.d.ts +6 -21
  183. package/dist-types/commands/DisassociateMemberCommand.d.ts +6 -21
  184. package/dist-types/commands/EnableMacieCommand.d.ts +6 -21
  185. package/dist-types/commands/EnableOrganizationAdminAccountCommand.d.ts +6 -21
  186. package/dist-types/commands/GetAdministratorAccountCommand.d.ts +6 -21
  187. package/dist-types/commands/GetAllowListCommand.d.ts +6 -21
  188. package/dist-types/commands/GetAutomatedDiscoveryConfigurationCommand.d.ts +6 -21
  189. package/dist-types/commands/GetBucketStatisticsCommand.d.ts +6 -21
  190. package/dist-types/commands/GetClassificationExportConfigurationCommand.d.ts +6 -21
  191. package/dist-types/commands/GetClassificationScopeCommand.d.ts +6 -21
  192. package/dist-types/commands/GetCustomDataIdentifierCommand.d.ts +6 -21
  193. package/dist-types/commands/GetFindingStatisticsCommand.d.ts +6 -21
  194. package/dist-types/commands/GetFindingsCommand.d.ts +6 -21
  195. package/dist-types/commands/GetFindingsFilterCommand.d.ts +6 -21
  196. package/dist-types/commands/GetFindingsPublicationConfigurationCommand.d.ts +6 -21
  197. package/dist-types/commands/GetInvitationsCountCommand.d.ts +6 -21
  198. package/dist-types/commands/GetMacieSessionCommand.d.ts +6 -21
  199. package/dist-types/commands/GetMasterAccountCommand.d.ts +6 -21
  200. package/dist-types/commands/GetMemberCommand.d.ts +6 -21
  201. package/dist-types/commands/GetResourceProfileCommand.d.ts +6 -21
  202. package/dist-types/commands/GetRevealConfigurationCommand.d.ts +6 -21
  203. package/dist-types/commands/GetSensitiveDataOccurrencesAvailabilityCommand.d.ts +6 -21
  204. package/dist-types/commands/GetSensitiveDataOccurrencesCommand.d.ts +6 -21
  205. package/dist-types/commands/GetSensitivityInspectionTemplateCommand.d.ts +6 -21
  206. package/dist-types/commands/GetUsageStatisticsCommand.d.ts +6 -21
  207. package/dist-types/commands/GetUsageTotalsCommand.d.ts +6 -21
  208. package/dist-types/commands/ListAllowListsCommand.d.ts +6 -21
  209. package/dist-types/commands/ListClassificationJobsCommand.d.ts +6 -21
  210. package/dist-types/commands/ListClassificationScopesCommand.d.ts +6 -21
  211. package/dist-types/commands/ListCustomDataIdentifiersCommand.d.ts +6 -21
  212. package/dist-types/commands/ListFindingsCommand.d.ts +6 -21
  213. package/dist-types/commands/ListFindingsFiltersCommand.d.ts +6 -21
  214. package/dist-types/commands/ListInvitationsCommand.d.ts +6 -21
  215. package/dist-types/commands/ListManagedDataIdentifiersCommand.d.ts +6 -21
  216. package/dist-types/commands/ListMembersCommand.d.ts +6 -21
  217. package/dist-types/commands/ListOrganizationAdminAccountsCommand.d.ts +6 -21
  218. package/dist-types/commands/ListResourceProfileArtifactsCommand.d.ts +6 -21
  219. package/dist-types/commands/ListResourceProfileDetectionsCommand.d.ts +6 -21
  220. package/dist-types/commands/ListSensitivityInspectionTemplatesCommand.d.ts +6 -21
  221. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
  222. package/dist-types/commands/PutClassificationExportConfigurationCommand.d.ts +6 -21
  223. package/dist-types/commands/PutFindingsPublicationConfigurationCommand.d.ts +6 -21
  224. package/dist-types/commands/SearchResourcesCommand.d.ts +6 -21
  225. package/dist-types/commands/TagResourceCommand.d.ts +6 -21
  226. package/dist-types/commands/TestCustomDataIdentifierCommand.d.ts +6 -21
  227. package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
  228. package/dist-types/commands/UpdateAllowListCommand.d.ts +6 -21
  229. package/dist-types/commands/UpdateAutomatedDiscoveryConfigurationCommand.d.ts +6 -21
  230. package/dist-types/commands/UpdateClassificationJobCommand.d.ts +6 -21
  231. package/dist-types/commands/UpdateClassificationScopeCommand.d.ts +6 -21
  232. package/dist-types/commands/UpdateFindingsFilterCommand.d.ts +6 -21
  233. package/dist-types/commands/UpdateMacieSessionCommand.d.ts +6 -21
  234. package/dist-types/commands/UpdateMemberSessionCommand.d.ts +6 -21
  235. package/dist-types/commands/UpdateOrganizationConfigurationCommand.d.ts +6 -21
  236. package/dist-types/commands/UpdateResourceProfileCommand.d.ts +6 -21
  237. package/dist-types/commands/UpdateResourceProfileDetectionsCommand.d.ts +6 -21
  238. package/dist-types/commands/UpdateRevealConfigurationCommand.d.ts +6 -21
  239. package/dist-types/commands/UpdateSensitivityInspectionTemplateCommand.d.ts +6 -21
  240. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  241. package/dist-types/ts3.4/commands/AcceptInvitationCommand.d.ts +14 -23
  242. package/dist-types/ts3.4/commands/BatchGetCustomDataIdentifiersCommand.d.ts +12 -24
  243. package/dist-types/ts3.4/commands/CreateAllowListCommand.d.ts +14 -23
  244. package/dist-types/ts3.4/commands/CreateClassificationJobCommand.d.ts +12 -24
  245. package/dist-types/ts3.4/commands/CreateCustomDataIdentifierCommand.d.ts +12 -24
  246. package/dist-types/ts3.4/commands/CreateFindingsFilterCommand.d.ts +12 -24
  247. package/dist-types/ts3.4/commands/CreateInvitationsCommand.d.ts +14 -23
  248. package/dist-types/ts3.4/commands/CreateMemberCommand.d.ts +14 -23
  249. package/dist-types/ts3.4/commands/CreateSampleFindingsCommand.d.ts +12 -24
  250. package/dist-types/ts3.4/commands/DeclineInvitationsCommand.d.ts +14 -23
  251. package/dist-types/ts3.4/commands/DeleteAllowListCommand.d.ts +14 -23
  252. package/dist-types/ts3.4/commands/DeleteCustomDataIdentifierCommand.d.ts +12 -24
  253. package/dist-types/ts3.4/commands/DeleteFindingsFilterCommand.d.ts +12 -24
  254. package/dist-types/ts3.4/commands/DeleteInvitationsCommand.d.ts +14 -23
  255. package/dist-types/ts3.4/commands/DeleteMemberCommand.d.ts +14 -23
  256. package/dist-types/ts3.4/commands/DescribeBucketsCommand.d.ts +14 -23
  257. package/dist-types/ts3.4/commands/DescribeClassificationJobCommand.d.ts +12 -24
  258. package/dist-types/ts3.4/commands/DescribeOrganizationConfigurationCommand.d.ts +12 -24
  259. package/dist-types/ts3.4/commands/DisableMacieCommand.d.ts +14 -23
  260. package/dist-types/ts3.4/commands/DisableOrganizationAdminAccountCommand.d.ts +12 -24
  261. package/dist-types/ts3.4/commands/DisassociateFromAdministratorAccountCommand.d.ts +12 -24
  262. package/dist-types/ts3.4/commands/DisassociateFromMasterAccountCommand.d.ts +12 -24
  263. package/dist-types/ts3.4/commands/DisassociateMemberCommand.d.ts +14 -23
  264. package/dist-types/ts3.4/commands/EnableMacieCommand.d.ts +14 -23
  265. package/dist-types/ts3.4/commands/EnableOrganizationAdminAccountCommand.d.ts +12 -24
  266. package/dist-types/ts3.4/commands/GetAdministratorAccountCommand.d.ts +12 -24
  267. package/dist-types/ts3.4/commands/GetAllowListCommand.d.ts +14 -23
  268. package/dist-types/ts3.4/commands/GetAutomatedDiscoveryConfigurationCommand.d.ts +12 -24
  269. package/dist-types/ts3.4/commands/GetBucketStatisticsCommand.d.ts +14 -23
  270. package/dist-types/ts3.4/commands/GetClassificationExportConfigurationCommand.d.ts +12 -24
  271. package/dist-types/ts3.4/commands/GetClassificationScopeCommand.d.ts +12 -24
  272. package/dist-types/ts3.4/commands/GetCustomDataIdentifierCommand.d.ts +12 -24
  273. package/dist-types/ts3.4/commands/GetFindingStatisticsCommand.d.ts +12 -24
  274. package/dist-types/ts3.4/commands/GetFindingsCommand.d.ts +14 -23
  275. package/dist-types/ts3.4/commands/GetFindingsFilterCommand.d.ts +14 -23
  276. package/dist-types/ts3.4/commands/GetFindingsPublicationConfigurationCommand.d.ts +12 -24
  277. package/dist-types/ts3.4/commands/GetInvitationsCountCommand.d.ts +14 -23
  278. package/dist-types/ts3.4/commands/GetMacieSessionCommand.d.ts +14 -23
  279. package/dist-types/ts3.4/commands/GetMasterAccountCommand.d.ts +14 -23
  280. package/dist-types/ts3.4/commands/GetMemberCommand.d.ts +14 -23
  281. package/dist-types/ts3.4/commands/GetResourceProfileCommand.d.ts +14 -23
  282. package/dist-types/ts3.4/commands/GetRevealConfigurationCommand.d.ts +12 -24
  283. package/dist-types/ts3.4/commands/GetSensitiveDataOccurrencesAvailabilityCommand.d.ts +12 -24
  284. package/dist-types/ts3.4/commands/GetSensitiveDataOccurrencesCommand.d.ts +12 -24
  285. package/dist-types/ts3.4/commands/GetSensitivityInspectionTemplateCommand.d.ts +12 -24
  286. package/dist-types/ts3.4/commands/GetUsageStatisticsCommand.d.ts +14 -23
  287. package/dist-types/ts3.4/commands/GetUsageTotalsCommand.d.ts +14 -23
  288. package/dist-types/ts3.4/commands/ListAllowListsCommand.d.ts +14 -23
  289. package/dist-types/ts3.4/commands/ListClassificationJobsCommand.d.ts +12 -24
  290. package/dist-types/ts3.4/commands/ListClassificationScopesCommand.d.ts +12 -24
  291. package/dist-types/ts3.4/commands/ListCustomDataIdentifiersCommand.d.ts +12 -24
  292. package/dist-types/ts3.4/commands/ListFindingsCommand.d.ts +14 -23
  293. package/dist-types/ts3.4/commands/ListFindingsFiltersCommand.d.ts +14 -23
  294. package/dist-types/ts3.4/commands/ListInvitationsCommand.d.ts +14 -23
  295. package/dist-types/ts3.4/commands/ListManagedDataIdentifiersCommand.d.ts +12 -24
  296. package/dist-types/ts3.4/commands/ListMembersCommand.d.ts +14 -23
  297. package/dist-types/ts3.4/commands/ListOrganizationAdminAccountsCommand.d.ts +12 -24
  298. package/dist-types/ts3.4/commands/ListResourceProfileArtifactsCommand.d.ts +12 -24
  299. package/dist-types/ts3.4/commands/ListResourceProfileDetectionsCommand.d.ts +12 -24
  300. package/dist-types/ts3.4/commands/ListSensitivityInspectionTemplatesCommand.d.ts +12 -24
  301. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
  302. package/dist-types/ts3.4/commands/PutClassificationExportConfigurationCommand.d.ts +12 -24
  303. package/dist-types/ts3.4/commands/PutFindingsPublicationConfigurationCommand.d.ts +12 -24
  304. package/dist-types/ts3.4/commands/SearchResourcesCommand.d.ts +14 -23
  305. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
  306. package/dist-types/ts3.4/commands/TestCustomDataIdentifierCommand.d.ts +12 -24
  307. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
  308. package/dist-types/ts3.4/commands/UpdateAllowListCommand.d.ts +14 -23
  309. package/dist-types/ts3.4/commands/UpdateAutomatedDiscoveryConfigurationCommand.d.ts +12 -24
  310. package/dist-types/ts3.4/commands/UpdateClassificationJobCommand.d.ts +12 -24
  311. package/dist-types/ts3.4/commands/UpdateClassificationScopeCommand.d.ts +12 -24
  312. package/dist-types/ts3.4/commands/UpdateFindingsFilterCommand.d.ts +12 -24
  313. package/dist-types/ts3.4/commands/UpdateMacieSessionCommand.d.ts +14 -23
  314. package/dist-types/ts3.4/commands/UpdateMemberSessionCommand.d.ts +14 -23
  315. package/dist-types/ts3.4/commands/UpdateOrganizationConfigurationCommand.d.ts +12 -24
  316. package/dist-types/ts3.4/commands/UpdateResourceProfileCommand.d.ts +12 -24
  317. package/dist-types/ts3.4/commands/UpdateResourceProfileDetectionsCommand.d.ts +12 -24
  318. package/dist-types/ts3.4/commands/UpdateRevealConfigurationCommand.d.ts +12 -24
  319. package/dist-types/ts3.4/commands/UpdateSensitivityInspectionTemplateCommand.d.ts +12 -24
  320. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  321. 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_GetMasterAccountCommand, se_GetMasterAccountCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class GetMasterAccountCommand 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, GetMasterAccountCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "Macie2Client";
26
- const commandName = "GetMasterAccountCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "Macie2",
35
- operation: "GetMasterAccount",
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_GetMasterAccountCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_GetMasterAccountCommand(output, context);
46
- }
7
+ export class GetMasterAccountCommand 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("Macie2", "GetMasterAccount", {})
19
+ .n("Macie2Client", "GetMasterAccountCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_GetMasterAccountCommand)
22
+ .de(de_GetMasterAccountCommand)
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_GetMemberCommand, se_GetMemberCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class GetMemberCommand 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, GetMemberCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "Macie2Client";
26
- const commandName = "GetMemberCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "Macie2",
35
- operation: "GetMember",
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_GetMemberCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_GetMemberCommand(output, context);
46
- }
7
+ export class GetMemberCommand 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("Macie2", "GetMember", {})
19
+ .n("Macie2Client", "GetMemberCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_GetMemberCommand)
22
+ .de(de_GetMemberCommand)
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_GetResourceProfileCommand, se_GetResourceProfileCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class GetResourceProfileCommand 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, GetResourceProfileCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "Macie2Client";
26
- const commandName = "GetResourceProfileCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "Macie2",
35
- operation: "GetResourceProfile",
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_GetResourceProfileCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_GetResourceProfileCommand(output, context);
46
- }
7
+ export class GetResourceProfileCommand 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("Macie2", "GetResourceProfile", {})
19
+ .n("Macie2Client", "GetResourceProfileCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_GetResourceProfileCommand)
22
+ .de(de_GetResourceProfileCommand)
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_GetRevealConfigurationCommand, se_GetRevealConfigurationCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class GetRevealConfigurationCommand 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, GetRevealConfigurationCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "Macie2Client";
26
- const commandName = "GetRevealConfigurationCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "Macie2",
35
- operation: "GetRevealConfiguration",
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_GetRevealConfigurationCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_GetRevealConfigurationCommand(output, context);
46
- }
7
+ export class GetRevealConfigurationCommand 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("Macie2", "GetRevealConfiguration", {})
19
+ .n("Macie2Client", "GetRevealConfigurationCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_GetRevealConfigurationCommand)
22
+ .de(de_GetRevealConfigurationCommand)
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_GetSensitiveDataOccurrencesAvailabilityCommand, se_GetSensitiveDataOccurrencesAvailabilityCommand, } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class GetSensitiveDataOccurrencesAvailabilityCommand 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, GetSensitiveDataOccurrencesAvailabilityCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "Macie2Client";
26
- const commandName = "GetSensitiveDataOccurrencesAvailabilityCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "Macie2",
35
- operation: "GetSensitiveDataOccurrencesAvailability",
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_GetSensitiveDataOccurrencesAvailabilityCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_GetSensitiveDataOccurrencesAvailabilityCommand(output, context);
46
- }
7
+ export class GetSensitiveDataOccurrencesAvailabilityCommand 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("Macie2", "GetSensitiveDataOccurrencesAvailability", {})
19
+ .n("Macie2Client", "GetSensitiveDataOccurrencesAvailabilityCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_GetSensitiveDataOccurrencesAvailabilityCommand)
22
+ .de(de_GetSensitiveDataOccurrencesAvailabilityCommand)
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_GetSensitiveDataOccurrencesCommand, se_GetSensitiveDataOccurrencesCommand, } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class GetSensitiveDataOccurrencesCommand 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, GetSensitiveDataOccurrencesCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "Macie2Client";
26
- const commandName = "GetSensitiveDataOccurrencesCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "Macie2",
35
- operation: "GetSensitiveDataOccurrences",
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_GetSensitiveDataOccurrencesCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_GetSensitiveDataOccurrencesCommand(output, context);
46
- }
7
+ export class GetSensitiveDataOccurrencesCommand 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("Macie2", "GetSensitiveDataOccurrences", {})
19
+ .n("Macie2Client", "GetSensitiveDataOccurrencesCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_GetSensitiveDataOccurrencesCommand)
22
+ .de(de_GetSensitiveDataOccurrencesCommand)
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_GetSensitivityInspectionTemplateCommand, se_GetSensitivityInspectionTemplateCommand, } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class GetSensitivityInspectionTemplateCommand 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, GetSensitivityInspectionTemplateCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "Macie2Client";
26
- const commandName = "GetSensitivityInspectionTemplateCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "Macie2",
35
- operation: "GetSensitivityInspectionTemplate",
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_GetSensitivityInspectionTemplateCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_GetSensitivityInspectionTemplateCommand(output, context);
46
- }
7
+ export class GetSensitivityInspectionTemplateCommand 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("Macie2", "GetSensitivityInspectionTemplate", {})
19
+ .n("Macie2Client", "GetSensitivityInspectionTemplateCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_GetSensitivityInspectionTemplateCommand)
22
+ .de(de_GetSensitivityInspectionTemplateCommand)
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_GetUsageStatisticsCommand, se_GetUsageStatisticsCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class GetUsageStatisticsCommand 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, GetUsageStatisticsCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "Macie2Client";
26
- const commandName = "GetUsageStatisticsCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "Macie2",
35
- operation: "GetUsageStatistics",
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_GetUsageStatisticsCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_GetUsageStatisticsCommand(output, context);
46
- }
7
+ export class GetUsageStatisticsCommand 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("Macie2", "GetUsageStatistics", {})
19
+ .n("Macie2Client", "GetUsageStatisticsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_GetUsageStatisticsCommand)
22
+ .de(de_GetUsageStatisticsCommand)
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_GetUsageTotalsCommand, se_GetUsageTotalsCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class GetUsageTotalsCommand 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, GetUsageTotalsCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "Macie2Client";
26
- const commandName = "GetUsageTotalsCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "Macie2",
35
- operation: "GetUsageTotals",
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_GetUsageTotalsCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_GetUsageTotalsCommand(output, context);
46
- }
7
+ export class GetUsageTotalsCommand 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("Macie2", "GetUsageTotals", {})
19
+ .n("Macie2Client", "GetUsageTotalsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_GetUsageTotalsCommand)
22
+ .de(de_GetUsageTotalsCommand)
23
+ .build() {
47
24
  }