@aws-sdk/client-macie2 3.477.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 (385) 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-cjs/pagination/DescribeBucketsPaginator.js +2 -24
  82. package/dist-cjs/pagination/GetUsageStatisticsPaginator.js +2 -24
  83. package/dist-cjs/pagination/ListAllowListsPaginator.js +2 -24
  84. package/dist-cjs/pagination/ListClassificationJobsPaginator.js +2 -24
  85. package/dist-cjs/pagination/ListClassificationScopesPaginator.js +2 -23
  86. package/dist-cjs/pagination/ListCustomDataIdentifiersPaginator.js +2 -24
  87. package/dist-cjs/pagination/ListFindingsFiltersPaginator.js +2 -24
  88. package/dist-cjs/pagination/ListFindingsPaginator.js +2 -24
  89. package/dist-cjs/pagination/ListInvitationsPaginator.js +2 -24
  90. package/dist-cjs/pagination/ListManagedDataIdentifiersPaginator.js +2 -23
  91. package/dist-cjs/pagination/ListMembersPaginator.js +2 -24
  92. package/dist-cjs/pagination/ListOrganizationAdminAccountsPaginator.js +2 -24
  93. package/dist-cjs/pagination/ListResourceProfileArtifactsPaginator.js +2 -23
  94. package/dist-cjs/pagination/ListResourceProfileDetectionsPaginator.js +2 -24
  95. package/dist-cjs/pagination/ListSensitivityInspectionTemplatesPaginator.js +2 -24
  96. package/dist-cjs/pagination/SearchResourcesPaginator.js +2 -24
  97. package/dist-es/commands/AcceptInvitationCommand.js +18 -41
  98. package/dist-es/commands/BatchGetCustomDataIdentifiersCommand.js +18 -41
  99. package/dist-es/commands/CreateAllowListCommand.js +18 -41
  100. package/dist-es/commands/CreateClassificationJobCommand.js +18 -41
  101. package/dist-es/commands/CreateCustomDataIdentifierCommand.js +18 -41
  102. package/dist-es/commands/CreateFindingsFilterCommand.js +18 -41
  103. package/dist-es/commands/CreateInvitationsCommand.js +18 -41
  104. package/dist-es/commands/CreateMemberCommand.js +18 -41
  105. package/dist-es/commands/CreateSampleFindingsCommand.js +18 -41
  106. package/dist-es/commands/DeclineInvitationsCommand.js +18 -41
  107. package/dist-es/commands/DeleteAllowListCommand.js +18 -41
  108. package/dist-es/commands/DeleteCustomDataIdentifierCommand.js +18 -41
  109. package/dist-es/commands/DeleteFindingsFilterCommand.js +18 -41
  110. package/dist-es/commands/DeleteInvitationsCommand.js +18 -41
  111. package/dist-es/commands/DeleteMemberCommand.js +18 -41
  112. package/dist-es/commands/DescribeBucketsCommand.js +18 -41
  113. package/dist-es/commands/DescribeClassificationJobCommand.js +18 -41
  114. package/dist-es/commands/DescribeOrganizationConfigurationCommand.js +18 -41
  115. package/dist-es/commands/DisableMacieCommand.js +18 -41
  116. package/dist-es/commands/DisableOrganizationAdminAccountCommand.js +18 -41
  117. package/dist-es/commands/DisassociateFromAdministratorAccountCommand.js +18 -41
  118. package/dist-es/commands/DisassociateFromMasterAccountCommand.js +18 -41
  119. package/dist-es/commands/DisassociateMemberCommand.js +18 -41
  120. package/dist-es/commands/EnableMacieCommand.js +18 -41
  121. package/dist-es/commands/EnableOrganizationAdminAccountCommand.js +18 -41
  122. package/dist-es/commands/GetAdministratorAccountCommand.js +18 -41
  123. package/dist-es/commands/GetAllowListCommand.js +18 -41
  124. package/dist-es/commands/GetAutomatedDiscoveryConfigurationCommand.js +18 -41
  125. package/dist-es/commands/GetBucketStatisticsCommand.js +18 -41
  126. package/dist-es/commands/GetClassificationExportConfigurationCommand.js +18 -41
  127. package/dist-es/commands/GetClassificationScopeCommand.js +18 -41
  128. package/dist-es/commands/GetCustomDataIdentifierCommand.js +18 -41
  129. package/dist-es/commands/GetFindingStatisticsCommand.js +18 -41
  130. package/dist-es/commands/GetFindingsCommand.js +18 -41
  131. package/dist-es/commands/GetFindingsFilterCommand.js +18 -41
  132. package/dist-es/commands/GetFindingsPublicationConfigurationCommand.js +18 -41
  133. package/dist-es/commands/GetInvitationsCountCommand.js +18 -41
  134. package/dist-es/commands/GetMacieSessionCommand.js +18 -41
  135. package/dist-es/commands/GetMasterAccountCommand.js +18 -41
  136. package/dist-es/commands/GetMemberCommand.js +18 -41
  137. package/dist-es/commands/GetResourceProfileCommand.js +18 -41
  138. package/dist-es/commands/GetRevealConfigurationCommand.js +18 -41
  139. package/dist-es/commands/GetSensitiveDataOccurrencesAvailabilityCommand.js +18 -41
  140. package/dist-es/commands/GetSensitiveDataOccurrencesCommand.js +18 -41
  141. package/dist-es/commands/GetSensitivityInspectionTemplateCommand.js +18 -41
  142. package/dist-es/commands/GetUsageStatisticsCommand.js +18 -41
  143. package/dist-es/commands/GetUsageTotalsCommand.js +18 -41
  144. package/dist-es/commands/ListAllowListsCommand.js +18 -41
  145. package/dist-es/commands/ListClassificationJobsCommand.js +18 -41
  146. package/dist-es/commands/ListClassificationScopesCommand.js +18 -41
  147. package/dist-es/commands/ListCustomDataIdentifiersCommand.js +18 -41
  148. package/dist-es/commands/ListFindingsCommand.js +18 -41
  149. package/dist-es/commands/ListFindingsFiltersCommand.js +18 -41
  150. package/dist-es/commands/ListInvitationsCommand.js +18 -41
  151. package/dist-es/commands/ListManagedDataIdentifiersCommand.js +18 -41
  152. package/dist-es/commands/ListMembersCommand.js +18 -41
  153. package/dist-es/commands/ListOrganizationAdminAccountsCommand.js +18 -41
  154. package/dist-es/commands/ListResourceProfileArtifactsCommand.js +18 -41
  155. package/dist-es/commands/ListResourceProfileDetectionsCommand.js +18 -41
  156. package/dist-es/commands/ListSensitivityInspectionTemplatesCommand.js +18 -41
  157. package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
  158. package/dist-es/commands/PutClassificationExportConfigurationCommand.js +18 -41
  159. package/dist-es/commands/PutFindingsPublicationConfigurationCommand.js +18 -41
  160. package/dist-es/commands/SearchResourcesCommand.js +18 -41
  161. package/dist-es/commands/TagResourceCommand.js +18 -41
  162. package/dist-es/commands/TestCustomDataIdentifierCommand.js +18 -41
  163. package/dist-es/commands/UntagResourceCommand.js +18 -41
  164. package/dist-es/commands/UpdateAllowListCommand.js +18 -41
  165. package/dist-es/commands/UpdateAutomatedDiscoveryConfigurationCommand.js +18 -41
  166. package/dist-es/commands/UpdateClassificationJobCommand.js +18 -41
  167. package/dist-es/commands/UpdateClassificationScopeCommand.js +18 -41
  168. package/dist-es/commands/UpdateFindingsFilterCommand.js +18 -41
  169. package/dist-es/commands/UpdateMacieSessionCommand.js +18 -41
  170. package/dist-es/commands/UpdateMemberSessionCommand.js +18 -41
  171. package/dist-es/commands/UpdateOrganizationConfigurationCommand.js +18 -41
  172. package/dist-es/commands/UpdateResourceProfileCommand.js +18 -41
  173. package/dist-es/commands/UpdateResourceProfileDetectionsCommand.js +18 -41
  174. package/dist-es/commands/UpdateRevealConfigurationCommand.js +18 -41
  175. package/dist-es/commands/UpdateSensitivityInspectionTemplateCommand.js +18 -41
  176. package/dist-es/endpoint/EndpointParameters.js +6 -0
  177. package/dist-es/pagination/DescribeBucketsPaginator.js +2 -23
  178. package/dist-es/pagination/GetUsageStatisticsPaginator.js +2 -23
  179. package/dist-es/pagination/ListAllowListsPaginator.js +2 -23
  180. package/dist-es/pagination/ListClassificationJobsPaginator.js +2 -23
  181. package/dist-es/pagination/ListClassificationScopesPaginator.js +2 -22
  182. package/dist-es/pagination/ListCustomDataIdentifiersPaginator.js +2 -23
  183. package/dist-es/pagination/ListFindingsFiltersPaginator.js +2 -23
  184. package/dist-es/pagination/ListFindingsPaginator.js +2 -23
  185. package/dist-es/pagination/ListInvitationsPaginator.js +2 -23
  186. package/dist-es/pagination/ListManagedDataIdentifiersPaginator.js +2 -22
  187. package/dist-es/pagination/ListMembersPaginator.js +2 -23
  188. package/dist-es/pagination/ListOrganizationAdminAccountsPaginator.js +2 -23
  189. package/dist-es/pagination/ListResourceProfileArtifactsPaginator.js +2 -22
  190. package/dist-es/pagination/ListResourceProfileDetectionsPaginator.js +2 -23
  191. package/dist-es/pagination/ListSensitivityInspectionTemplatesPaginator.js +2 -23
  192. package/dist-es/pagination/SearchResourcesPaginator.js +2 -23
  193. package/dist-types/commands/AcceptInvitationCommand.d.ts +6 -21
  194. package/dist-types/commands/BatchGetCustomDataIdentifiersCommand.d.ts +6 -21
  195. package/dist-types/commands/CreateAllowListCommand.d.ts +6 -21
  196. package/dist-types/commands/CreateClassificationJobCommand.d.ts +6 -21
  197. package/dist-types/commands/CreateCustomDataIdentifierCommand.d.ts +6 -21
  198. package/dist-types/commands/CreateFindingsFilterCommand.d.ts +6 -21
  199. package/dist-types/commands/CreateInvitationsCommand.d.ts +6 -21
  200. package/dist-types/commands/CreateMemberCommand.d.ts +6 -21
  201. package/dist-types/commands/CreateSampleFindingsCommand.d.ts +6 -21
  202. package/dist-types/commands/DeclineInvitationsCommand.d.ts +6 -21
  203. package/dist-types/commands/DeleteAllowListCommand.d.ts +6 -21
  204. package/dist-types/commands/DeleteCustomDataIdentifierCommand.d.ts +6 -21
  205. package/dist-types/commands/DeleteFindingsFilterCommand.d.ts +6 -21
  206. package/dist-types/commands/DeleteInvitationsCommand.d.ts +6 -21
  207. package/dist-types/commands/DeleteMemberCommand.d.ts +6 -21
  208. package/dist-types/commands/DescribeBucketsCommand.d.ts +6 -21
  209. package/dist-types/commands/DescribeClassificationJobCommand.d.ts +6 -21
  210. package/dist-types/commands/DescribeOrganizationConfigurationCommand.d.ts +6 -21
  211. package/dist-types/commands/DisableMacieCommand.d.ts +6 -21
  212. package/dist-types/commands/DisableOrganizationAdminAccountCommand.d.ts +6 -21
  213. package/dist-types/commands/DisassociateFromAdministratorAccountCommand.d.ts +6 -21
  214. package/dist-types/commands/DisassociateFromMasterAccountCommand.d.ts +6 -21
  215. package/dist-types/commands/DisassociateMemberCommand.d.ts +6 -21
  216. package/dist-types/commands/EnableMacieCommand.d.ts +6 -21
  217. package/dist-types/commands/EnableOrganizationAdminAccountCommand.d.ts +6 -21
  218. package/dist-types/commands/GetAdministratorAccountCommand.d.ts +6 -21
  219. package/dist-types/commands/GetAllowListCommand.d.ts +6 -21
  220. package/dist-types/commands/GetAutomatedDiscoveryConfigurationCommand.d.ts +6 -21
  221. package/dist-types/commands/GetBucketStatisticsCommand.d.ts +6 -21
  222. package/dist-types/commands/GetClassificationExportConfigurationCommand.d.ts +6 -21
  223. package/dist-types/commands/GetClassificationScopeCommand.d.ts +6 -21
  224. package/dist-types/commands/GetCustomDataIdentifierCommand.d.ts +6 -21
  225. package/dist-types/commands/GetFindingStatisticsCommand.d.ts +6 -21
  226. package/dist-types/commands/GetFindingsCommand.d.ts +6 -21
  227. package/dist-types/commands/GetFindingsFilterCommand.d.ts +6 -21
  228. package/dist-types/commands/GetFindingsPublicationConfigurationCommand.d.ts +6 -21
  229. package/dist-types/commands/GetInvitationsCountCommand.d.ts +6 -21
  230. package/dist-types/commands/GetMacieSessionCommand.d.ts +6 -21
  231. package/dist-types/commands/GetMasterAccountCommand.d.ts +6 -21
  232. package/dist-types/commands/GetMemberCommand.d.ts +6 -21
  233. package/dist-types/commands/GetResourceProfileCommand.d.ts +6 -21
  234. package/dist-types/commands/GetRevealConfigurationCommand.d.ts +6 -21
  235. package/dist-types/commands/GetSensitiveDataOccurrencesAvailabilityCommand.d.ts +6 -21
  236. package/dist-types/commands/GetSensitiveDataOccurrencesCommand.d.ts +6 -21
  237. package/dist-types/commands/GetSensitivityInspectionTemplateCommand.d.ts +6 -21
  238. package/dist-types/commands/GetUsageStatisticsCommand.d.ts +6 -21
  239. package/dist-types/commands/GetUsageTotalsCommand.d.ts +6 -21
  240. package/dist-types/commands/ListAllowListsCommand.d.ts +6 -21
  241. package/dist-types/commands/ListClassificationJobsCommand.d.ts +6 -21
  242. package/dist-types/commands/ListClassificationScopesCommand.d.ts +6 -21
  243. package/dist-types/commands/ListCustomDataIdentifiersCommand.d.ts +6 -21
  244. package/dist-types/commands/ListFindingsCommand.d.ts +6 -21
  245. package/dist-types/commands/ListFindingsFiltersCommand.d.ts +6 -21
  246. package/dist-types/commands/ListInvitationsCommand.d.ts +6 -21
  247. package/dist-types/commands/ListManagedDataIdentifiersCommand.d.ts +6 -21
  248. package/dist-types/commands/ListMembersCommand.d.ts +6 -21
  249. package/dist-types/commands/ListOrganizationAdminAccountsCommand.d.ts +6 -21
  250. package/dist-types/commands/ListResourceProfileArtifactsCommand.d.ts +6 -21
  251. package/dist-types/commands/ListResourceProfileDetectionsCommand.d.ts +6 -21
  252. package/dist-types/commands/ListSensitivityInspectionTemplatesCommand.d.ts +6 -21
  253. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
  254. package/dist-types/commands/PutClassificationExportConfigurationCommand.d.ts +6 -21
  255. package/dist-types/commands/PutFindingsPublicationConfigurationCommand.d.ts +6 -21
  256. package/dist-types/commands/SearchResourcesCommand.d.ts +6 -21
  257. package/dist-types/commands/TagResourceCommand.d.ts +6 -21
  258. package/dist-types/commands/TestCustomDataIdentifierCommand.d.ts +6 -21
  259. package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
  260. package/dist-types/commands/UpdateAllowListCommand.d.ts +6 -21
  261. package/dist-types/commands/UpdateAutomatedDiscoveryConfigurationCommand.d.ts +6 -21
  262. package/dist-types/commands/UpdateClassificationJobCommand.d.ts +6 -21
  263. package/dist-types/commands/UpdateClassificationScopeCommand.d.ts +6 -21
  264. package/dist-types/commands/UpdateFindingsFilterCommand.d.ts +6 -21
  265. package/dist-types/commands/UpdateMacieSessionCommand.d.ts +6 -21
  266. package/dist-types/commands/UpdateMemberSessionCommand.d.ts +6 -21
  267. package/dist-types/commands/UpdateOrganizationConfigurationCommand.d.ts +6 -21
  268. package/dist-types/commands/UpdateResourceProfileCommand.d.ts +6 -21
  269. package/dist-types/commands/UpdateResourceProfileDetectionsCommand.d.ts +6 -21
  270. package/dist-types/commands/UpdateRevealConfigurationCommand.d.ts +6 -21
  271. package/dist-types/commands/UpdateSensitivityInspectionTemplateCommand.d.ts +6 -21
  272. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  273. package/dist-types/pagination/DescribeBucketsPaginator.d.ts +1 -1
  274. package/dist-types/pagination/GetUsageStatisticsPaginator.d.ts +1 -1
  275. package/dist-types/pagination/ListAllowListsPaginator.d.ts +1 -1
  276. package/dist-types/pagination/ListClassificationJobsPaginator.d.ts +1 -1
  277. package/dist-types/pagination/ListClassificationScopesPaginator.d.ts +1 -1
  278. package/dist-types/pagination/ListCustomDataIdentifiersPaginator.d.ts +1 -1
  279. package/dist-types/pagination/ListFindingsFiltersPaginator.d.ts +1 -1
  280. package/dist-types/pagination/ListFindingsPaginator.d.ts +1 -1
  281. package/dist-types/pagination/ListInvitationsPaginator.d.ts +1 -1
  282. package/dist-types/pagination/ListManagedDataIdentifiersPaginator.d.ts +1 -1
  283. package/dist-types/pagination/ListMembersPaginator.d.ts +1 -1
  284. package/dist-types/pagination/ListOrganizationAdminAccountsPaginator.d.ts +1 -1
  285. package/dist-types/pagination/ListResourceProfileArtifactsPaginator.d.ts +1 -1
  286. package/dist-types/pagination/ListResourceProfileDetectionsPaginator.d.ts +1 -1
  287. package/dist-types/pagination/ListSensitivityInspectionTemplatesPaginator.d.ts +1 -1
  288. package/dist-types/pagination/SearchResourcesPaginator.d.ts +1 -1
  289. package/dist-types/ts3.4/commands/AcceptInvitationCommand.d.ts +14 -23
  290. package/dist-types/ts3.4/commands/BatchGetCustomDataIdentifiersCommand.d.ts +12 -24
  291. package/dist-types/ts3.4/commands/CreateAllowListCommand.d.ts +14 -23
  292. package/dist-types/ts3.4/commands/CreateClassificationJobCommand.d.ts +12 -24
  293. package/dist-types/ts3.4/commands/CreateCustomDataIdentifierCommand.d.ts +12 -24
  294. package/dist-types/ts3.4/commands/CreateFindingsFilterCommand.d.ts +12 -24
  295. package/dist-types/ts3.4/commands/CreateInvitationsCommand.d.ts +14 -23
  296. package/dist-types/ts3.4/commands/CreateMemberCommand.d.ts +14 -23
  297. package/dist-types/ts3.4/commands/CreateSampleFindingsCommand.d.ts +12 -24
  298. package/dist-types/ts3.4/commands/DeclineInvitationsCommand.d.ts +14 -23
  299. package/dist-types/ts3.4/commands/DeleteAllowListCommand.d.ts +14 -23
  300. package/dist-types/ts3.4/commands/DeleteCustomDataIdentifierCommand.d.ts +12 -24
  301. package/dist-types/ts3.4/commands/DeleteFindingsFilterCommand.d.ts +12 -24
  302. package/dist-types/ts3.4/commands/DeleteInvitationsCommand.d.ts +14 -23
  303. package/dist-types/ts3.4/commands/DeleteMemberCommand.d.ts +14 -23
  304. package/dist-types/ts3.4/commands/DescribeBucketsCommand.d.ts +14 -23
  305. package/dist-types/ts3.4/commands/DescribeClassificationJobCommand.d.ts +12 -24
  306. package/dist-types/ts3.4/commands/DescribeOrganizationConfigurationCommand.d.ts +12 -24
  307. package/dist-types/ts3.4/commands/DisableMacieCommand.d.ts +14 -23
  308. package/dist-types/ts3.4/commands/DisableOrganizationAdminAccountCommand.d.ts +12 -24
  309. package/dist-types/ts3.4/commands/DisassociateFromAdministratorAccountCommand.d.ts +12 -24
  310. package/dist-types/ts3.4/commands/DisassociateFromMasterAccountCommand.d.ts +12 -24
  311. package/dist-types/ts3.4/commands/DisassociateMemberCommand.d.ts +14 -23
  312. package/dist-types/ts3.4/commands/EnableMacieCommand.d.ts +14 -23
  313. package/dist-types/ts3.4/commands/EnableOrganizationAdminAccountCommand.d.ts +12 -24
  314. package/dist-types/ts3.4/commands/GetAdministratorAccountCommand.d.ts +12 -24
  315. package/dist-types/ts3.4/commands/GetAllowListCommand.d.ts +14 -23
  316. package/dist-types/ts3.4/commands/GetAutomatedDiscoveryConfigurationCommand.d.ts +12 -24
  317. package/dist-types/ts3.4/commands/GetBucketStatisticsCommand.d.ts +14 -23
  318. package/dist-types/ts3.4/commands/GetClassificationExportConfigurationCommand.d.ts +12 -24
  319. package/dist-types/ts3.4/commands/GetClassificationScopeCommand.d.ts +12 -24
  320. package/dist-types/ts3.4/commands/GetCustomDataIdentifierCommand.d.ts +12 -24
  321. package/dist-types/ts3.4/commands/GetFindingStatisticsCommand.d.ts +12 -24
  322. package/dist-types/ts3.4/commands/GetFindingsCommand.d.ts +14 -23
  323. package/dist-types/ts3.4/commands/GetFindingsFilterCommand.d.ts +14 -23
  324. package/dist-types/ts3.4/commands/GetFindingsPublicationConfigurationCommand.d.ts +12 -24
  325. package/dist-types/ts3.4/commands/GetInvitationsCountCommand.d.ts +14 -23
  326. package/dist-types/ts3.4/commands/GetMacieSessionCommand.d.ts +14 -23
  327. package/dist-types/ts3.4/commands/GetMasterAccountCommand.d.ts +14 -23
  328. package/dist-types/ts3.4/commands/GetMemberCommand.d.ts +14 -23
  329. package/dist-types/ts3.4/commands/GetResourceProfileCommand.d.ts +14 -23
  330. package/dist-types/ts3.4/commands/GetRevealConfigurationCommand.d.ts +12 -24
  331. package/dist-types/ts3.4/commands/GetSensitiveDataOccurrencesAvailabilityCommand.d.ts +12 -24
  332. package/dist-types/ts3.4/commands/GetSensitiveDataOccurrencesCommand.d.ts +12 -24
  333. package/dist-types/ts3.4/commands/GetSensitivityInspectionTemplateCommand.d.ts +12 -24
  334. package/dist-types/ts3.4/commands/GetUsageStatisticsCommand.d.ts +14 -23
  335. package/dist-types/ts3.4/commands/GetUsageTotalsCommand.d.ts +14 -23
  336. package/dist-types/ts3.4/commands/ListAllowListsCommand.d.ts +14 -23
  337. package/dist-types/ts3.4/commands/ListClassificationJobsCommand.d.ts +12 -24
  338. package/dist-types/ts3.4/commands/ListClassificationScopesCommand.d.ts +12 -24
  339. package/dist-types/ts3.4/commands/ListCustomDataIdentifiersCommand.d.ts +12 -24
  340. package/dist-types/ts3.4/commands/ListFindingsCommand.d.ts +14 -23
  341. package/dist-types/ts3.4/commands/ListFindingsFiltersCommand.d.ts +14 -23
  342. package/dist-types/ts3.4/commands/ListInvitationsCommand.d.ts +14 -23
  343. package/dist-types/ts3.4/commands/ListManagedDataIdentifiersCommand.d.ts +12 -24
  344. package/dist-types/ts3.4/commands/ListMembersCommand.d.ts +14 -23
  345. package/dist-types/ts3.4/commands/ListOrganizationAdminAccountsCommand.d.ts +12 -24
  346. package/dist-types/ts3.4/commands/ListResourceProfileArtifactsCommand.d.ts +12 -24
  347. package/dist-types/ts3.4/commands/ListResourceProfileDetectionsCommand.d.ts +12 -24
  348. package/dist-types/ts3.4/commands/ListSensitivityInspectionTemplatesCommand.d.ts +12 -24
  349. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
  350. package/dist-types/ts3.4/commands/PutClassificationExportConfigurationCommand.d.ts +12 -24
  351. package/dist-types/ts3.4/commands/PutFindingsPublicationConfigurationCommand.d.ts +12 -24
  352. package/dist-types/ts3.4/commands/SearchResourcesCommand.d.ts +14 -23
  353. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
  354. package/dist-types/ts3.4/commands/TestCustomDataIdentifierCommand.d.ts +12 -24
  355. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
  356. package/dist-types/ts3.4/commands/UpdateAllowListCommand.d.ts +14 -23
  357. package/dist-types/ts3.4/commands/UpdateAutomatedDiscoveryConfigurationCommand.d.ts +12 -24
  358. package/dist-types/ts3.4/commands/UpdateClassificationJobCommand.d.ts +12 -24
  359. package/dist-types/ts3.4/commands/UpdateClassificationScopeCommand.d.ts +12 -24
  360. package/dist-types/ts3.4/commands/UpdateFindingsFilterCommand.d.ts +12 -24
  361. package/dist-types/ts3.4/commands/UpdateMacieSessionCommand.d.ts +14 -23
  362. package/dist-types/ts3.4/commands/UpdateMemberSessionCommand.d.ts +14 -23
  363. package/dist-types/ts3.4/commands/UpdateOrganizationConfigurationCommand.d.ts +12 -24
  364. package/dist-types/ts3.4/commands/UpdateResourceProfileCommand.d.ts +12 -24
  365. package/dist-types/ts3.4/commands/UpdateResourceProfileDetectionsCommand.d.ts +12 -24
  366. package/dist-types/ts3.4/commands/UpdateRevealConfigurationCommand.d.ts +12 -24
  367. package/dist-types/ts3.4/commands/UpdateSensitivityInspectionTemplateCommand.d.ts +12 -24
  368. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  369. package/dist-types/ts3.4/pagination/DescribeBucketsPaginator.d.ts +3 -3
  370. package/dist-types/ts3.4/pagination/GetUsageStatisticsPaginator.d.ts +3 -3
  371. package/dist-types/ts3.4/pagination/ListAllowListsPaginator.d.ts +3 -3
  372. package/dist-types/ts3.4/pagination/ListClassificationJobsPaginator.d.ts +3 -3
  373. package/dist-types/ts3.4/pagination/ListClassificationScopesPaginator.d.ts +3 -3
  374. package/dist-types/ts3.4/pagination/ListCustomDataIdentifiersPaginator.d.ts +3 -3
  375. package/dist-types/ts3.4/pagination/ListFindingsFiltersPaginator.d.ts +3 -3
  376. package/dist-types/ts3.4/pagination/ListFindingsPaginator.d.ts +3 -3
  377. package/dist-types/ts3.4/pagination/ListInvitationsPaginator.d.ts +3 -3
  378. package/dist-types/ts3.4/pagination/ListManagedDataIdentifiersPaginator.d.ts +3 -3
  379. package/dist-types/ts3.4/pagination/ListMembersPaginator.d.ts +3 -3
  380. package/dist-types/ts3.4/pagination/ListOrganizationAdminAccountsPaginator.d.ts +3 -3
  381. package/dist-types/ts3.4/pagination/ListResourceProfileArtifactsPaginator.d.ts +3 -3
  382. package/dist-types/ts3.4/pagination/ListResourceProfileDetectionsPaginator.d.ts +3 -3
  383. package/dist-types/ts3.4/pagination/ListSensitivityInspectionTemplatesPaginator.d.ts +3 -3
  384. package/dist-types/ts3.4/pagination/SearchResourcesPaginator.d.ts +3 -3
  385. package/package.json +11 -11
@@ -1,28 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListClassificationScopes = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ListClassificationScopesCommand_1 = require("../commands/ListClassificationScopesCommand");
5
6
  const Macie2Client_1 = require("../Macie2Client");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListClassificationScopesCommand_1.ListClassificationScopesCommand(input), ...args);
8
- };
9
- async function* paginateListClassificationScopes(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.nextToken = token;
15
- if (config.client instanceof Macie2Client_1.Macie2Client) {
16
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
17
- }
18
- else {
19
- throw new Error("Invalid client, expected Macie2 | Macie2Client");
20
- }
21
- yield page;
22
- const prevToken = token;
23
- token = page.nextToken;
24
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
25
- }
26
- return undefined;
27
- }
28
- exports.paginateListClassificationScopes = paginateListClassificationScopes;
7
+ exports.paginateListClassificationScopes = (0, core_1.createPaginator)(Macie2Client_1.Macie2Client, ListClassificationScopesCommand_1.ListClassificationScopesCommand, "nextToken", "nextToken", "");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListCustomDataIdentifiers = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ListCustomDataIdentifiersCommand_1 = require("../commands/ListCustomDataIdentifiersCommand");
5
6
  const Macie2Client_1 = require("../Macie2Client");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListCustomDataIdentifiersCommand_1.ListCustomDataIdentifiersCommand(input), ...args);
8
- };
9
- async function* paginateListCustomDataIdentifiers(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.nextToken = token;
15
- input["maxResults"] = config.pageSize;
16
- if (config.client instanceof Macie2Client_1.Macie2Client) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected Macie2 | Macie2Client");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.nextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateListCustomDataIdentifiers = paginateListCustomDataIdentifiers;
7
+ exports.paginateListCustomDataIdentifiers = (0, core_1.createPaginator)(Macie2Client_1.Macie2Client, ListCustomDataIdentifiersCommand_1.ListCustomDataIdentifiersCommand, "nextToken", "nextToken", "maxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListFindingsFilters = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ListFindingsFiltersCommand_1 = require("../commands/ListFindingsFiltersCommand");
5
6
  const Macie2Client_1 = require("../Macie2Client");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListFindingsFiltersCommand_1.ListFindingsFiltersCommand(input), ...args);
8
- };
9
- async function* paginateListFindingsFilters(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.nextToken = token;
15
- input["maxResults"] = config.pageSize;
16
- if (config.client instanceof Macie2Client_1.Macie2Client) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected Macie2 | Macie2Client");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.nextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateListFindingsFilters = paginateListFindingsFilters;
7
+ exports.paginateListFindingsFilters = (0, core_1.createPaginator)(Macie2Client_1.Macie2Client, ListFindingsFiltersCommand_1.ListFindingsFiltersCommand, "nextToken", "nextToken", "maxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListFindings = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ListFindingsCommand_1 = require("../commands/ListFindingsCommand");
5
6
  const Macie2Client_1 = require("../Macie2Client");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListFindingsCommand_1.ListFindingsCommand(input), ...args);
8
- };
9
- async function* paginateListFindings(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.nextToken = token;
15
- input["maxResults"] = config.pageSize;
16
- if (config.client instanceof Macie2Client_1.Macie2Client) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected Macie2 | Macie2Client");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.nextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateListFindings = paginateListFindings;
7
+ exports.paginateListFindings = (0, core_1.createPaginator)(Macie2Client_1.Macie2Client, ListFindingsCommand_1.ListFindingsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListInvitations = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ListInvitationsCommand_1 = require("../commands/ListInvitationsCommand");
5
6
  const Macie2Client_1 = require("../Macie2Client");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListInvitationsCommand_1.ListInvitationsCommand(input), ...args);
8
- };
9
- async function* paginateListInvitations(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.nextToken = token;
15
- input["maxResults"] = config.pageSize;
16
- if (config.client instanceof Macie2Client_1.Macie2Client) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected Macie2 | Macie2Client");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.nextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateListInvitations = paginateListInvitations;
7
+ exports.paginateListInvitations = (0, core_1.createPaginator)(Macie2Client_1.Macie2Client, ListInvitationsCommand_1.ListInvitationsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,28 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListManagedDataIdentifiers = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ListManagedDataIdentifiersCommand_1 = require("../commands/ListManagedDataIdentifiersCommand");
5
6
  const Macie2Client_1 = require("../Macie2Client");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListManagedDataIdentifiersCommand_1.ListManagedDataIdentifiersCommand(input), ...args);
8
- };
9
- async function* paginateListManagedDataIdentifiers(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.nextToken = token;
15
- if (config.client instanceof Macie2Client_1.Macie2Client) {
16
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
17
- }
18
- else {
19
- throw new Error("Invalid client, expected Macie2 | Macie2Client");
20
- }
21
- yield page;
22
- const prevToken = token;
23
- token = page.nextToken;
24
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
25
- }
26
- return undefined;
27
- }
28
- exports.paginateListManagedDataIdentifiers = paginateListManagedDataIdentifiers;
7
+ exports.paginateListManagedDataIdentifiers = (0, core_1.createPaginator)(Macie2Client_1.Macie2Client, ListManagedDataIdentifiersCommand_1.ListManagedDataIdentifiersCommand, "nextToken", "nextToken", "");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListMembers = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ListMembersCommand_1 = require("../commands/ListMembersCommand");
5
6
  const Macie2Client_1 = require("../Macie2Client");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListMembersCommand_1.ListMembersCommand(input), ...args);
8
- };
9
- async function* paginateListMembers(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.nextToken = token;
15
- input["maxResults"] = config.pageSize;
16
- if (config.client instanceof Macie2Client_1.Macie2Client) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected Macie2 | Macie2Client");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.nextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateListMembers = paginateListMembers;
7
+ exports.paginateListMembers = (0, core_1.createPaginator)(Macie2Client_1.Macie2Client, ListMembersCommand_1.ListMembersCommand, "nextToken", "nextToken", "maxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListOrganizationAdminAccounts = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ListOrganizationAdminAccountsCommand_1 = require("../commands/ListOrganizationAdminAccountsCommand");
5
6
  const Macie2Client_1 = require("../Macie2Client");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListOrganizationAdminAccountsCommand_1.ListOrganizationAdminAccountsCommand(input), ...args);
8
- };
9
- async function* paginateListOrganizationAdminAccounts(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.nextToken = token;
15
- input["maxResults"] = config.pageSize;
16
- if (config.client instanceof Macie2Client_1.Macie2Client) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected Macie2 | Macie2Client");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.nextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateListOrganizationAdminAccounts = paginateListOrganizationAdminAccounts;
7
+ exports.paginateListOrganizationAdminAccounts = (0, core_1.createPaginator)(Macie2Client_1.Macie2Client, ListOrganizationAdminAccountsCommand_1.ListOrganizationAdminAccountsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,28 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListResourceProfileArtifacts = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ListResourceProfileArtifactsCommand_1 = require("../commands/ListResourceProfileArtifactsCommand");
5
6
  const Macie2Client_1 = require("../Macie2Client");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListResourceProfileArtifactsCommand_1.ListResourceProfileArtifactsCommand(input), ...args);
8
- };
9
- async function* paginateListResourceProfileArtifacts(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.nextToken = token;
15
- if (config.client instanceof Macie2Client_1.Macie2Client) {
16
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
17
- }
18
- else {
19
- throw new Error("Invalid client, expected Macie2 | Macie2Client");
20
- }
21
- yield page;
22
- const prevToken = token;
23
- token = page.nextToken;
24
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
25
- }
26
- return undefined;
27
- }
28
- exports.paginateListResourceProfileArtifacts = paginateListResourceProfileArtifacts;
7
+ exports.paginateListResourceProfileArtifacts = (0, core_1.createPaginator)(Macie2Client_1.Macie2Client, ListResourceProfileArtifactsCommand_1.ListResourceProfileArtifactsCommand, "nextToken", "nextToken", "");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListResourceProfileDetections = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ListResourceProfileDetectionsCommand_1 = require("../commands/ListResourceProfileDetectionsCommand");
5
6
  const Macie2Client_1 = require("../Macie2Client");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListResourceProfileDetectionsCommand_1.ListResourceProfileDetectionsCommand(input), ...args);
8
- };
9
- async function* paginateListResourceProfileDetections(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.nextToken = token;
15
- input["maxResults"] = config.pageSize;
16
- if (config.client instanceof Macie2Client_1.Macie2Client) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected Macie2 | Macie2Client");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.nextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateListResourceProfileDetections = paginateListResourceProfileDetections;
7
+ exports.paginateListResourceProfileDetections = (0, core_1.createPaginator)(Macie2Client_1.Macie2Client, ListResourceProfileDetectionsCommand_1.ListResourceProfileDetectionsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateListSensitivityInspectionTemplates = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const ListSensitivityInspectionTemplatesCommand_1 = require("../commands/ListSensitivityInspectionTemplatesCommand");
5
6
  const Macie2Client_1 = require("../Macie2Client");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new ListSensitivityInspectionTemplatesCommand_1.ListSensitivityInspectionTemplatesCommand(input), ...args);
8
- };
9
- async function* paginateListSensitivityInspectionTemplates(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.nextToken = token;
15
- input["maxResults"] = config.pageSize;
16
- if (config.client instanceof Macie2Client_1.Macie2Client) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected Macie2 | Macie2Client");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.nextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateListSensitivityInspectionTemplates = paginateListSensitivityInspectionTemplates;
7
+ exports.paginateListSensitivityInspectionTemplates = (0, core_1.createPaginator)(Macie2Client_1.Macie2Client, ListSensitivityInspectionTemplatesCommand_1.ListSensitivityInspectionTemplatesCommand, "nextToken", "nextToken", "maxResults");
@@ -1,29 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.paginateSearchResources = void 0;
4
+ const core_1 = require("@smithy/core");
4
5
  const SearchResourcesCommand_1 = require("../commands/SearchResourcesCommand");
5
6
  const Macie2Client_1 = require("../Macie2Client");
6
- const makePagedClientRequest = async (client, input, ...args) => {
7
- return await client.send(new SearchResourcesCommand_1.SearchResourcesCommand(input), ...args);
8
- };
9
- async function* paginateSearchResources(config, input, ...additionalArguments) {
10
- let token = config.startingToken || undefined;
11
- let hasNext = true;
12
- let page;
13
- while (hasNext) {
14
- input.nextToken = token;
15
- input["maxResults"] = config.pageSize;
16
- if (config.client instanceof Macie2Client_1.Macie2Client) {
17
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
18
- }
19
- else {
20
- throw new Error("Invalid client, expected Macie2 | Macie2Client");
21
- }
22
- yield page;
23
- const prevToken = token;
24
- token = page.nextToken;
25
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
26
- }
27
- return undefined;
28
- }
29
- exports.paginateSearchResources = paginateSearchResources;
7
+ exports.paginateSearchResources = (0, core_1.createPaginator)(Macie2Client_1.Macie2Client, SearchResourcesCommand_1.SearchResourcesCommand, "nextToken", "nextToken", "maxResults");
@@ -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 = "Macie2Client";
26
- const commandName = "AcceptInvitationCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "Macie2",
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("Macie2", "AcceptInvitation", {})
19
+ .n("Macie2Client", "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_BatchGetCustomDataIdentifiersCommand, se_BatchGetCustomDataIdentifiersCommand, } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class BatchGetCustomDataIdentifiersCommand 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, BatchGetCustomDataIdentifiersCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "Macie2Client";
26
- const commandName = "BatchGetCustomDataIdentifiersCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "Macie2",
35
- operation: "BatchGetCustomDataIdentifiers",
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_BatchGetCustomDataIdentifiersCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_BatchGetCustomDataIdentifiersCommand(output, context);
46
- }
7
+ export class BatchGetCustomDataIdentifiersCommand 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", "BatchGetCustomDataIdentifiers", {})
19
+ .n("Macie2Client", "BatchGetCustomDataIdentifiersCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_BatchGetCustomDataIdentifiersCommand)
22
+ .de(de_BatchGetCustomDataIdentifiersCommand)
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_CreateAllowListCommand, se_CreateAllowListCommand } from "../protocols/Aws_restJson1";
6
6
  export { $Command };
7
- export class CreateAllowListCommand 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, CreateAllowListCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "Macie2Client";
26
- const commandName = "CreateAllowListCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "Macie2",
35
- operation: "CreateAllowList",
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_CreateAllowListCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_CreateAllowListCommand(output, context);
46
- }
7
+ export class CreateAllowListCommand 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", "CreateAllowList", {})
19
+ .n("Macie2Client", "CreateAllowListCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_CreateAllowListCommand)
22
+ .de(de_CreateAllowListCommand)
23
+ .build() {
47
24
  }