@aws-sdk/client-macie2 3.477.0 → 3.478.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 (65) hide show
  1. package/dist-cjs/pagination/DescribeBucketsPaginator.js +2 -24
  2. package/dist-cjs/pagination/GetUsageStatisticsPaginator.js +2 -24
  3. package/dist-cjs/pagination/ListAllowListsPaginator.js +2 -24
  4. package/dist-cjs/pagination/ListClassificationJobsPaginator.js +2 -24
  5. package/dist-cjs/pagination/ListClassificationScopesPaginator.js +2 -23
  6. package/dist-cjs/pagination/ListCustomDataIdentifiersPaginator.js +2 -24
  7. package/dist-cjs/pagination/ListFindingsFiltersPaginator.js +2 -24
  8. package/dist-cjs/pagination/ListFindingsPaginator.js +2 -24
  9. package/dist-cjs/pagination/ListInvitationsPaginator.js +2 -24
  10. package/dist-cjs/pagination/ListManagedDataIdentifiersPaginator.js +2 -23
  11. package/dist-cjs/pagination/ListMembersPaginator.js +2 -24
  12. package/dist-cjs/pagination/ListOrganizationAdminAccountsPaginator.js +2 -24
  13. package/dist-cjs/pagination/ListResourceProfileArtifactsPaginator.js +2 -23
  14. package/dist-cjs/pagination/ListResourceProfileDetectionsPaginator.js +2 -24
  15. package/dist-cjs/pagination/ListSensitivityInspectionTemplatesPaginator.js +2 -24
  16. package/dist-cjs/pagination/SearchResourcesPaginator.js +2 -24
  17. package/dist-es/pagination/DescribeBucketsPaginator.js +2 -23
  18. package/dist-es/pagination/GetUsageStatisticsPaginator.js +2 -23
  19. package/dist-es/pagination/ListAllowListsPaginator.js +2 -23
  20. package/dist-es/pagination/ListClassificationJobsPaginator.js +2 -23
  21. package/dist-es/pagination/ListClassificationScopesPaginator.js +2 -22
  22. package/dist-es/pagination/ListCustomDataIdentifiersPaginator.js +2 -23
  23. package/dist-es/pagination/ListFindingsFiltersPaginator.js +2 -23
  24. package/dist-es/pagination/ListFindingsPaginator.js +2 -23
  25. package/dist-es/pagination/ListInvitationsPaginator.js +2 -23
  26. package/dist-es/pagination/ListManagedDataIdentifiersPaginator.js +2 -22
  27. package/dist-es/pagination/ListMembersPaginator.js +2 -23
  28. package/dist-es/pagination/ListOrganizationAdminAccountsPaginator.js +2 -23
  29. package/dist-es/pagination/ListResourceProfileArtifactsPaginator.js +2 -22
  30. package/dist-es/pagination/ListResourceProfileDetectionsPaginator.js +2 -23
  31. package/dist-es/pagination/ListSensitivityInspectionTemplatesPaginator.js +2 -23
  32. package/dist-es/pagination/SearchResourcesPaginator.js +2 -23
  33. package/dist-types/pagination/DescribeBucketsPaginator.d.ts +1 -1
  34. package/dist-types/pagination/GetUsageStatisticsPaginator.d.ts +1 -1
  35. package/dist-types/pagination/ListAllowListsPaginator.d.ts +1 -1
  36. package/dist-types/pagination/ListClassificationJobsPaginator.d.ts +1 -1
  37. package/dist-types/pagination/ListClassificationScopesPaginator.d.ts +1 -1
  38. package/dist-types/pagination/ListCustomDataIdentifiersPaginator.d.ts +1 -1
  39. package/dist-types/pagination/ListFindingsFiltersPaginator.d.ts +1 -1
  40. package/dist-types/pagination/ListFindingsPaginator.d.ts +1 -1
  41. package/dist-types/pagination/ListInvitationsPaginator.d.ts +1 -1
  42. package/dist-types/pagination/ListManagedDataIdentifiersPaginator.d.ts +1 -1
  43. package/dist-types/pagination/ListMembersPaginator.d.ts +1 -1
  44. package/dist-types/pagination/ListOrganizationAdminAccountsPaginator.d.ts +1 -1
  45. package/dist-types/pagination/ListResourceProfileArtifactsPaginator.d.ts +1 -1
  46. package/dist-types/pagination/ListResourceProfileDetectionsPaginator.d.ts +1 -1
  47. package/dist-types/pagination/ListSensitivityInspectionTemplatesPaginator.d.ts +1 -1
  48. package/dist-types/pagination/SearchResourcesPaginator.d.ts +1 -1
  49. package/dist-types/ts3.4/pagination/DescribeBucketsPaginator.d.ts +3 -3
  50. package/dist-types/ts3.4/pagination/GetUsageStatisticsPaginator.d.ts +3 -3
  51. package/dist-types/ts3.4/pagination/ListAllowListsPaginator.d.ts +3 -3
  52. package/dist-types/ts3.4/pagination/ListClassificationJobsPaginator.d.ts +3 -3
  53. package/dist-types/ts3.4/pagination/ListClassificationScopesPaginator.d.ts +3 -3
  54. package/dist-types/ts3.4/pagination/ListCustomDataIdentifiersPaginator.d.ts +3 -3
  55. package/dist-types/ts3.4/pagination/ListFindingsFiltersPaginator.d.ts +3 -3
  56. package/dist-types/ts3.4/pagination/ListFindingsPaginator.d.ts +3 -3
  57. package/dist-types/ts3.4/pagination/ListInvitationsPaginator.d.ts +3 -3
  58. package/dist-types/ts3.4/pagination/ListManagedDataIdentifiersPaginator.d.ts +3 -3
  59. package/dist-types/ts3.4/pagination/ListMembersPaginator.d.ts +3 -3
  60. package/dist-types/ts3.4/pagination/ListOrganizationAdminAccountsPaginator.d.ts +3 -3
  61. package/dist-types/ts3.4/pagination/ListResourceProfileArtifactsPaginator.d.ts +3 -3
  62. package/dist-types/ts3.4/pagination/ListResourceProfileDetectionsPaginator.d.ts +3 -3
  63. package/dist-types/ts3.4/pagination/ListSensitivityInspectionTemplatesPaginator.d.ts +3 -3
  64. package/dist-types/ts3.4/pagination/SearchResourcesPaginator.d.ts +3 -3
  65. package/package.json +5 -5
@@ -1,24 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListClassificationScopesCommand, } from "../commands/ListClassificationScopesCommand";
2
3
  import { Macie2Client } from "../Macie2Client";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListClassificationScopesCommand(input), ...args);
5
- };
6
- export async function* paginateListClassificationScopes(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.nextToken = token;
12
- if (config.client instanceof Macie2Client) {
13
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
14
- }
15
- else {
16
- throw new Error("Invalid client, expected Macie2 | Macie2Client");
17
- }
18
- yield page;
19
- const prevToken = token;
20
- token = page.nextToken;
21
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
22
- }
23
- return undefined;
24
- }
4
+ export const paginateListClassificationScopes = createPaginator(Macie2Client, ListClassificationScopesCommand, "nextToken", "nextToken", "");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListCustomDataIdentifiersCommand, } from "../commands/ListCustomDataIdentifiersCommand";
2
3
  import { Macie2Client } from "../Macie2Client";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListCustomDataIdentifiersCommand(input), ...args);
5
- };
6
- export async function* paginateListCustomDataIdentifiers(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.nextToken = token;
12
- input["maxResults"] = config.pageSize;
13
- if (config.client instanceof Macie2Client) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected Macie2 | Macie2Client");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.nextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListCustomDataIdentifiers = createPaginator(Macie2Client, ListCustomDataIdentifiersCommand, "nextToken", "nextToken", "maxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListFindingsFiltersCommand, } from "../commands/ListFindingsFiltersCommand";
2
3
  import { Macie2Client } from "../Macie2Client";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListFindingsFiltersCommand(input), ...args);
5
- };
6
- export async function* paginateListFindingsFilters(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.nextToken = token;
12
- input["maxResults"] = config.pageSize;
13
- if (config.client instanceof Macie2Client) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected Macie2 | Macie2Client");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.nextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListFindingsFilters = createPaginator(Macie2Client, ListFindingsFiltersCommand, "nextToken", "nextToken", "maxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListFindingsCommand, } from "../commands/ListFindingsCommand";
2
3
  import { Macie2Client } from "../Macie2Client";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListFindingsCommand(input), ...args);
5
- };
6
- export async function* paginateListFindings(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.nextToken = token;
12
- input["maxResults"] = config.pageSize;
13
- if (config.client instanceof Macie2Client) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected Macie2 | Macie2Client");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.nextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListFindings = createPaginator(Macie2Client, ListFindingsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListInvitationsCommand, } from "../commands/ListInvitationsCommand";
2
3
  import { Macie2Client } from "../Macie2Client";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListInvitationsCommand(input), ...args);
5
- };
6
- export async function* paginateListInvitations(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.nextToken = token;
12
- input["maxResults"] = config.pageSize;
13
- if (config.client instanceof Macie2Client) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected Macie2 | Macie2Client");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.nextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListInvitations = createPaginator(Macie2Client, ListInvitationsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,24 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListManagedDataIdentifiersCommand, } from "../commands/ListManagedDataIdentifiersCommand";
2
3
  import { Macie2Client } from "../Macie2Client";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListManagedDataIdentifiersCommand(input), ...args);
5
- };
6
- export async function* paginateListManagedDataIdentifiers(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.nextToken = token;
12
- if (config.client instanceof Macie2Client) {
13
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
14
- }
15
- else {
16
- throw new Error("Invalid client, expected Macie2 | Macie2Client");
17
- }
18
- yield page;
19
- const prevToken = token;
20
- token = page.nextToken;
21
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
22
- }
23
- return undefined;
24
- }
4
+ export const paginateListManagedDataIdentifiers = createPaginator(Macie2Client, ListManagedDataIdentifiersCommand, "nextToken", "nextToken", "");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListMembersCommand } from "../commands/ListMembersCommand";
2
3
  import { Macie2Client } from "../Macie2Client";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListMembersCommand(input), ...args);
5
- };
6
- export async function* paginateListMembers(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.nextToken = token;
12
- input["maxResults"] = config.pageSize;
13
- if (config.client instanceof Macie2Client) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected Macie2 | Macie2Client");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.nextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListMembers = createPaginator(Macie2Client, ListMembersCommand, "nextToken", "nextToken", "maxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListOrganizationAdminAccountsCommand, } from "../commands/ListOrganizationAdminAccountsCommand";
2
3
  import { Macie2Client } from "../Macie2Client";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListOrganizationAdminAccountsCommand(input), ...args);
5
- };
6
- export async function* paginateListOrganizationAdminAccounts(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.nextToken = token;
12
- input["maxResults"] = config.pageSize;
13
- if (config.client instanceof Macie2Client) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected Macie2 | Macie2Client");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.nextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListOrganizationAdminAccounts = createPaginator(Macie2Client, ListOrganizationAdminAccountsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,24 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListResourceProfileArtifactsCommand, } from "../commands/ListResourceProfileArtifactsCommand";
2
3
  import { Macie2Client } from "../Macie2Client";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListResourceProfileArtifactsCommand(input), ...args);
5
- };
6
- export async function* paginateListResourceProfileArtifacts(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.nextToken = token;
12
- if (config.client instanceof Macie2Client) {
13
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
14
- }
15
- else {
16
- throw new Error("Invalid client, expected Macie2 | Macie2Client");
17
- }
18
- yield page;
19
- const prevToken = token;
20
- token = page.nextToken;
21
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
22
- }
23
- return undefined;
24
- }
4
+ export const paginateListResourceProfileArtifacts = createPaginator(Macie2Client, ListResourceProfileArtifactsCommand, "nextToken", "nextToken", "");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListResourceProfileDetectionsCommand, } from "../commands/ListResourceProfileDetectionsCommand";
2
3
  import { Macie2Client } from "../Macie2Client";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListResourceProfileDetectionsCommand(input), ...args);
5
- };
6
- export async function* paginateListResourceProfileDetections(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.nextToken = token;
12
- input["maxResults"] = config.pageSize;
13
- if (config.client instanceof Macie2Client) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected Macie2 | Macie2Client");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.nextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListResourceProfileDetections = createPaginator(Macie2Client, ListResourceProfileDetectionsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { ListSensitivityInspectionTemplatesCommand, } from "../commands/ListSensitivityInspectionTemplatesCommand";
2
3
  import { Macie2Client } from "../Macie2Client";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new ListSensitivityInspectionTemplatesCommand(input), ...args);
5
- };
6
- export async function* paginateListSensitivityInspectionTemplates(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.nextToken = token;
12
- input["maxResults"] = config.pageSize;
13
- if (config.client instanceof Macie2Client) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected Macie2 | Macie2Client");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.nextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateListSensitivityInspectionTemplates = createPaginator(Macie2Client, ListSensitivityInspectionTemplatesCommand, "nextToken", "nextToken", "maxResults");
@@ -1,25 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
1
2
  import { SearchResourcesCommand, } from "../commands/SearchResourcesCommand";
2
3
  import { Macie2Client } from "../Macie2Client";
3
- const makePagedClientRequest = async (client, input, ...args) => {
4
- return await client.send(new SearchResourcesCommand(input), ...args);
5
- };
6
- export async function* paginateSearchResources(config, input, ...additionalArguments) {
7
- let token = config.startingToken || undefined;
8
- let hasNext = true;
9
- let page;
10
- while (hasNext) {
11
- input.nextToken = token;
12
- input["maxResults"] = config.pageSize;
13
- if (config.client instanceof Macie2Client) {
14
- page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
- }
16
- else {
17
- throw new Error("Invalid client, expected Macie2 | Macie2Client");
18
- }
19
- yield page;
20
- const prevToken = token;
21
- token = page.nextToken;
22
- hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
- }
24
- return undefined;
25
- }
4
+ export const paginateSearchResources = createPaginator(Macie2Client, SearchResourcesCommand, "nextToken", "nextToken", "maxResults");
@@ -4,4 +4,4 @@ import { Macie2PaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateDescribeBuckets(config: Macie2PaginationConfiguration, input: DescribeBucketsCommandInput, ...additionalArguments: any): Paginator<DescribeBucketsCommandOutput>;
7
+ export declare const paginateDescribeBuckets: (config: Macie2PaginationConfiguration, input: DescribeBucketsCommandInput, ...rest: any[]) => Paginator<DescribeBucketsCommandOutput>;
@@ -4,4 +4,4 @@ import { Macie2PaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateGetUsageStatistics(config: Macie2PaginationConfiguration, input: GetUsageStatisticsCommandInput, ...additionalArguments: any): Paginator<GetUsageStatisticsCommandOutput>;
7
+ export declare const paginateGetUsageStatistics: (config: Macie2PaginationConfiguration, input: GetUsageStatisticsCommandInput, ...rest: any[]) => Paginator<GetUsageStatisticsCommandOutput>;
@@ -4,4 +4,4 @@ import { Macie2PaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateListAllowLists(config: Macie2PaginationConfiguration, input: ListAllowListsCommandInput, ...additionalArguments: any): Paginator<ListAllowListsCommandOutput>;
7
+ export declare const paginateListAllowLists: (config: Macie2PaginationConfiguration, input: ListAllowListsCommandInput, ...rest: any[]) => Paginator<ListAllowListsCommandOutput>;
@@ -4,4 +4,4 @@ import { Macie2PaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateListClassificationJobs(config: Macie2PaginationConfiguration, input: ListClassificationJobsCommandInput, ...additionalArguments: any): Paginator<ListClassificationJobsCommandOutput>;
7
+ export declare const paginateListClassificationJobs: (config: Macie2PaginationConfiguration, input: ListClassificationJobsCommandInput, ...rest: any[]) => Paginator<ListClassificationJobsCommandOutput>;
@@ -4,4 +4,4 @@ import { Macie2PaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateListClassificationScopes(config: Macie2PaginationConfiguration, input: ListClassificationScopesCommandInput, ...additionalArguments: any): Paginator<ListClassificationScopesCommandOutput>;
7
+ export declare const paginateListClassificationScopes: (config: Macie2PaginationConfiguration, input: ListClassificationScopesCommandInput, ...rest: any[]) => Paginator<ListClassificationScopesCommandOutput>;
@@ -4,4 +4,4 @@ import { Macie2PaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateListCustomDataIdentifiers(config: Macie2PaginationConfiguration, input: ListCustomDataIdentifiersCommandInput, ...additionalArguments: any): Paginator<ListCustomDataIdentifiersCommandOutput>;
7
+ export declare const paginateListCustomDataIdentifiers: (config: Macie2PaginationConfiguration, input: ListCustomDataIdentifiersCommandInput, ...rest: any[]) => Paginator<ListCustomDataIdentifiersCommandOutput>;
@@ -4,4 +4,4 @@ import { Macie2PaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateListFindingsFilters(config: Macie2PaginationConfiguration, input: ListFindingsFiltersCommandInput, ...additionalArguments: any): Paginator<ListFindingsFiltersCommandOutput>;
7
+ export declare const paginateListFindingsFilters: (config: Macie2PaginationConfiguration, input: ListFindingsFiltersCommandInput, ...rest: any[]) => Paginator<ListFindingsFiltersCommandOutput>;
@@ -4,4 +4,4 @@ import { Macie2PaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateListFindings(config: Macie2PaginationConfiguration, input: ListFindingsCommandInput, ...additionalArguments: any): Paginator<ListFindingsCommandOutput>;
7
+ export declare const paginateListFindings: (config: Macie2PaginationConfiguration, input: ListFindingsCommandInput, ...rest: any[]) => Paginator<ListFindingsCommandOutput>;
@@ -4,4 +4,4 @@ import { Macie2PaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateListInvitations(config: Macie2PaginationConfiguration, input: ListInvitationsCommandInput, ...additionalArguments: any): Paginator<ListInvitationsCommandOutput>;
7
+ export declare const paginateListInvitations: (config: Macie2PaginationConfiguration, input: ListInvitationsCommandInput, ...rest: any[]) => Paginator<ListInvitationsCommandOutput>;
@@ -4,4 +4,4 @@ import { Macie2PaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateListManagedDataIdentifiers(config: Macie2PaginationConfiguration, input: ListManagedDataIdentifiersCommandInput, ...additionalArguments: any): Paginator<ListManagedDataIdentifiersCommandOutput>;
7
+ export declare const paginateListManagedDataIdentifiers: (config: Macie2PaginationConfiguration, input: ListManagedDataIdentifiersCommandInput, ...rest: any[]) => Paginator<ListManagedDataIdentifiersCommandOutput>;
@@ -4,4 +4,4 @@ import { Macie2PaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateListMembers(config: Macie2PaginationConfiguration, input: ListMembersCommandInput, ...additionalArguments: any): Paginator<ListMembersCommandOutput>;
7
+ export declare const paginateListMembers: (config: Macie2PaginationConfiguration, input: ListMembersCommandInput, ...rest: any[]) => Paginator<ListMembersCommandOutput>;
@@ -4,4 +4,4 @@ import { Macie2PaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateListOrganizationAdminAccounts(config: Macie2PaginationConfiguration, input: ListOrganizationAdminAccountsCommandInput, ...additionalArguments: any): Paginator<ListOrganizationAdminAccountsCommandOutput>;
7
+ export declare const paginateListOrganizationAdminAccounts: (config: Macie2PaginationConfiguration, input: ListOrganizationAdminAccountsCommandInput, ...rest: any[]) => Paginator<ListOrganizationAdminAccountsCommandOutput>;
@@ -4,4 +4,4 @@ import { Macie2PaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateListResourceProfileArtifacts(config: Macie2PaginationConfiguration, input: ListResourceProfileArtifactsCommandInput, ...additionalArguments: any): Paginator<ListResourceProfileArtifactsCommandOutput>;
7
+ export declare const paginateListResourceProfileArtifacts: (config: Macie2PaginationConfiguration, input: ListResourceProfileArtifactsCommandInput, ...rest: any[]) => Paginator<ListResourceProfileArtifactsCommandOutput>;
@@ -4,4 +4,4 @@ import { Macie2PaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateListResourceProfileDetections(config: Macie2PaginationConfiguration, input: ListResourceProfileDetectionsCommandInput, ...additionalArguments: any): Paginator<ListResourceProfileDetectionsCommandOutput>;
7
+ export declare const paginateListResourceProfileDetections: (config: Macie2PaginationConfiguration, input: ListResourceProfileDetectionsCommandInput, ...rest: any[]) => Paginator<ListResourceProfileDetectionsCommandOutput>;
@@ -4,4 +4,4 @@ import { Macie2PaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateListSensitivityInspectionTemplates(config: Macie2PaginationConfiguration, input: ListSensitivityInspectionTemplatesCommandInput, ...additionalArguments: any): Paginator<ListSensitivityInspectionTemplatesCommandOutput>;
7
+ export declare const paginateListSensitivityInspectionTemplates: (config: Macie2PaginationConfiguration, input: ListSensitivityInspectionTemplatesCommandInput, ...rest: any[]) => Paginator<ListSensitivityInspectionTemplatesCommandOutput>;
@@ -4,4 +4,4 @@ import { Macie2PaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
7
- export declare function paginateSearchResources(config: Macie2PaginationConfiguration, input: SearchResourcesCommandInput, ...additionalArguments: any): Paginator<SearchResourcesCommandOutput>;
7
+ export declare const paginateSearchResources: (config: Macie2PaginationConfiguration, input: SearchResourcesCommandInput, ...rest: any[]) => Paginator<SearchResourcesCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  DescribeBucketsCommandOutput,
5
5
  } from "../commands/DescribeBucketsCommand";
6
6
  import { Macie2PaginationConfiguration } from "./Interfaces";
7
- export declare function paginateDescribeBuckets(
7
+ export declare const paginateDescribeBuckets: (
8
8
  config: Macie2PaginationConfiguration,
9
9
  input: DescribeBucketsCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<DescribeBucketsCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<DescribeBucketsCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  GetUsageStatisticsCommandOutput,
5
5
  } from "../commands/GetUsageStatisticsCommand";
6
6
  import { Macie2PaginationConfiguration } from "./Interfaces";
7
- export declare function paginateGetUsageStatistics(
7
+ export declare const paginateGetUsageStatistics: (
8
8
  config: Macie2PaginationConfiguration,
9
9
  input: GetUsageStatisticsCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<GetUsageStatisticsCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<GetUsageStatisticsCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  ListAllowListsCommandOutput,
5
5
  } from "../commands/ListAllowListsCommand";
6
6
  import { Macie2PaginationConfiguration } from "./Interfaces";
7
- export declare function paginateListAllowLists(
7
+ export declare const paginateListAllowLists: (
8
8
  config: Macie2PaginationConfiguration,
9
9
  input: ListAllowListsCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<ListAllowListsCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<ListAllowListsCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  ListClassificationJobsCommandOutput,
5
5
  } from "../commands/ListClassificationJobsCommand";
6
6
  import { Macie2PaginationConfiguration } from "./Interfaces";
7
- export declare function paginateListClassificationJobs(
7
+ export declare const paginateListClassificationJobs: (
8
8
  config: Macie2PaginationConfiguration,
9
9
  input: ListClassificationJobsCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<ListClassificationJobsCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<ListClassificationJobsCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  ListClassificationScopesCommandOutput,
5
5
  } from "../commands/ListClassificationScopesCommand";
6
6
  import { Macie2PaginationConfiguration } from "./Interfaces";
7
- export declare function paginateListClassificationScopes(
7
+ export declare const paginateListClassificationScopes: (
8
8
  config: Macie2PaginationConfiguration,
9
9
  input: ListClassificationScopesCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<ListClassificationScopesCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<ListClassificationScopesCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  ListCustomDataIdentifiersCommandOutput,
5
5
  } from "../commands/ListCustomDataIdentifiersCommand";
6
6
  import { Macie2PaginationConfiguration } from "./Interfaces";
7
- export declare function paginateListCustomDataIdentifiers(
7
+ export declare const paginateListCustomDataIdentifiers: (
8
8
  config: Macie2PaginationConfiguration,
9
9
  input: ListCustomDataIdentifiersCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<ListCustomDataIdentifiersCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<ListCustomDataIdentifiersCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  ListFindingsFiltersCommandOutput,
5
5
  } from "../commands/ListFindingsFiltersCommand";
6
6
  import { Macie2PaginationConfiguration } from "./Interfaces";
7
- export declare function paginateListFindingsFilters(
7
+ export declare const paginateListFindingsFilters: (
8
8
  config: Macie2PaginationConfiguration,
9
9
  input: ListFindingsFiltersCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<ListFindingsFiltersCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<ListFindingsFiltersCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  ListFindingsCommandOutput,
5
5
  } from "../commands/ListFindingsCommand";
6
6
  import { Macie2PaginationConfiguration } from "./Interfaces";
7
- export declare function paginateListFindings(
7
+ export declare const paginateListFindings: (
8
8
  config: Macie2PaginationConfiguration,
9
9
  input: ListFindingsCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<ListFindingsCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<ListFindingsCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  ListInvitationsCommandOutput,
5
5
  } from "../commands/ListInvitationsCommand";
6
6
  import { Macie2PaginationConfiguration } from "./Interfaces";
7
- export declare function paginateListInvitations(
7
+ export declare const paginateListInvitations: (
8
8
  config: Macie2PaginationConfiguration,
9
9
  input: ListInvitationsCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<ListInvitationsCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<ListInvitationsCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  ListManagedDataIdentifiersCommandOutput,
5
5
  } from "../commands/ListManagedDataIdentifiersCommand";
6
6
  import { Macie2PaginationConfiguration } from "./Interfaces";
7
- export declare function paginateListManagedDataIdentifiers(
7
+ export declare const paginateListManagedDataIdentifiers: (
8
8
  config: Macie2PaginationConfiguration,
9
9
  input: ListManagedDataIdentifiersCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<ListManagedDataIdentifiersCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<ListManagedDataIdentifiersCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  ListMembersCommandOutput,
5
5
  } from "../commands/ListMembersCommand";
6
6
  import { Macie2PaginationConfiguration } from "./Interfaces";
7
- export declare function paginateListMembers(
7
+ export declare const paginateListMembers: (
8
8
  config: Macie2PaginationConfiguration,
9
9
  input: ListMembersCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<ListMembersCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<ListMembersCommandOutput>;
@@ -4,8 +4,8 @@ import {
4
4
  ListOrganizationAdminAccountsCommandOutput,
5
5
  } from "../commands/ListOrganizationAdminAccountsCommand";
6
6
  import { Macie2PaginationConfiguration } from "./Interfaces";
7
- export declare function paginateListOrganizationAdminAccounts(
7
+ export declare const paginateListOrganizationAdminAccounts: (
8
8
  config: Macie2PaginationConfiguration,
9
9
  input: ListOrganizationAdminAccountsCommandInput,
10
- ...additionalArguments: any
11
- ): Paginator<ListOrganizationAdminAccountsCommandOutput>;
10
+ ...rest: any[]
11
+ ) => Paginator<ListOrganizationAdminAccountsCommandOutput>;