@aws-sdk/client-quicksight 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.
- package/dist-cjs/pagination/DescribeFolderPermissionsPaginator.js +2 -24
- package/dist-cjs/pagination/DescribeFolderResolvedPermissionsPaginator.js +2 -24
- package/dist-cjs/pagination/ListAnalysesPaginator.js +2 -24
- package/dist-cjs/pagination/ListAssetBundleExportJobsPaginator.js +2 -24
- package/dist-cjs/pagination/ListAssetBundleImportJobsPaginator.js +2 -24
- package/dist-cjs/pagination/ListDashboardVersionsPaginator.js +2 -24
- package/dist-cjs/pagination/ListDashboardsPaginator.js +2 -24
- package/dist-cjs/pagination/ListDataSetsPaginator.js +2 -24
- package/dist-cjs/pagination/ListDataSourcesPaginator.js +2 -24
- package/dist-cjs/pagination/ListFolderMembersPaginator.js +2 -24
- package/dist-cjs/pagination/ListFoldersPaginator.js +2 -24
- package/dist-cjs/pagination/ListGroupMembershipsPaginator.js +2 -24
- package/dist-cjs/pagination/ListGroupsPaginator.js +2 -24
- package/dist-cjs/pagination/ListIAMPolicyAssignmentsForUserPaginator.js +2 -24
- package/dist-cjs/pagination/ListIAMPolicyAssignmentsPaginator.js +2 -24
- package/dist-cjs/pagination/ListIngestionsPaginator.js +2 -24
- package/dist-cjs/pagination/ListNamespacesPaginator.js +2 -24
- package/dist-cjs/pagination/ListRoleMembershipsPaginator.js +2 -24
- package/dist-cjs/pagination/ListTemplateAliasesPaginator.js +2 -24
- package/dist-cjs/pagination/ListTemplateVersionsPaginator.js +2 -24
- package/dist-cjs/pagination/ListTemplatesPaginator.js +2 -24
- package/dist-cjs/pagination/ListThemeVersionsPaginator.js +2 -24
- package/dist-cjs/pagination/ListThemesPaginator.js +2 -24
- package/dist-cjs/pagination/ListTopicsPaginator.js +2 -24
- package/dist-cjs/pagination/ListUserGroupsPaginator.js +2 -24
- package/dist-cjs/pagination/ListUsersPaginator.js +2 -24
- package/dist-cjs/pagination/ListVPCConnectionsPaginator.js +2 -24
- package/dist-cjs/pagination/SearchAnalysesPaginator.js +2 -24
- package/dist-cjs/pagination/SearchDashboardsPaginator.js +2 -24
- package/dist-cjs/pagination/SearchDataSetsPaginator.js +2 -24
- package/dist-cjs/pagination/SearchDataSourcesPaginator.js +2 -24
- package/dist-cjs/pagination/SearchFoldersPaginator.js +2 -24
- package/dist-cjs/pagination/SearchGroupsPaginator.js +2 -24
- package/dist-es/pagination/DescribeFolderPermissionsPaginator.js +2 -23
- package/dist-es/pagination/DescribeFolderResolvedPermissionsPaginator.js +2 -23
- package/dist-es/pagination/ListAnalysesPaginator.js +2 -23
- package/dist-es/pagination/ListAssetBundleExportJobsPaginator.js +2 -23
- package/dist-es/pagination/ListAssetBundleImportJobsPaginator.js +2 -23
- package/dist-es/pagination/ListDashboardVersionsPaginator.js +2 -23
- package/dist-es/pagination/ListDashboardsPaginator.js +2 -23
- package/dist-es/pagination/ListDataSetsPaginator.js +2 -23
- package/dist-es/pagination/ListDataSourcesPaginator.js +2 -23
- package/dist-es/pagination/ListFolderMembersPaginator.js +2 -23
- package/dist-es/pagination/ListFoldersPaginator.js +2 -23
- package/dist-es/pagination/ListGroupMembershipsPaginator.js +2 -23
- package/dist-es/pagination/ListGroupsPaginator.js +2 -23
- package/dist-es/pagination/ListIAMPolicyAssignmentsForUserPaginator.js +2 -23
- package/dist-es/pagination/ListIAMPolicyAssignmentsPaginator.js +2 -23
- package/dist-es/pagination/ListIngestionsPaginator.js +2 -23
- package/dist-es/pagination/ListNamespacesPaginator.js +2 -23
- package/dist-es/pagination/ListRoleMembershipsPaginator.js +2 -23
- package/dist-es/pagination/ListTemplateAliasesPaginator.js +2 -23
- package/dist-es/pagination/ListTemplateVersionsPaginator.js +2 -23
- package/dist-es/pagination/ListTemplatesPaginator.js +2 -23
- package/dist-es/pagination/ListThemeVersionsPaginator.js +2 -23
- package/dist-es/pagination/ListThemesPaginator.js +2 -23
- package/dist-es/pagination/ListTopicsPaginator.js +2 -23
- package/dist-es/pagination/ListUserGroupsPaginator.js +2 -23
- package/dist-es/pagination/ListUsersPaginator.js +2 -23
- package/dist-es/pagination/ListVPCConnectionsPaginator.js +2 -23
- package/dist-es/pagination/SearchAnalysesPaginator.js +2 -23
- package/dist-es/pagination/SearchDashboardsPaginator.js +2 -23
- package/dist-es/pagination/SearchDataSetsPaginator.js +2 -23
- package/dist-es/pagination/SearchDataSourcesPaginator.js +2 -23
- package/dist-es/pagination/SearchFoldersPaginator.js +2 -23
- package/dist-es/pagination/SearchGroupsPaginator.js +2 -23
- package/dist-types/pagination/DescribeFolderPermissionsPaginator.d.ts +1 -1
- package/dist-types/pagination/DescribeFolderResolvedPermissionsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListAnalysesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListAssetBundleExportJobsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListAssetBundleImportJobsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListDashboardVersionsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListDashboardsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListDataSetsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListDataSourcesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListFolderMembersPaginator.d.ts +1 -1
- package/dist-types/pagination/ListFoldersPaginator.d.ts +1 -1
- package/dist-types/pagination/ListGroupMembershipsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListGroupsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListIAMPolicyAssignmentsForUserPaginator.d.ts +1 -1
- package/dist-types/pagination/ListIAMPolicyAssignmentsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListIngestionsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListNamespacesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListRoleMembershipsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListTemplateAliasesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListTemplateVersionsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListTemplatesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListThemeVersionsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListThemesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListTopicsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListUserGroupsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListUsersPaginator.d.ts +1 -1
- package/dist-types/pagination/ListVPCConnectionsPaginator.d.ts +1 -1
- package/dist-types/pagination/SearchAnalysesPaginator.d.ts +1 -1
- package/dist-types/pagination/SearchDashboardsPaginator.d.ts +1 -1
- package/dist-types/pagination/SearchDataSetsPaginator.d.ts +1 -1
- package/dist-types/pagination/SearchDataSourcesPaginator.d.ts +1 -1
- package/dist-types/pagination/SearchFoldersPaginator.d.ts +1 -1
- package/dist-types/pagination/SearchGroupsPaginator.d.ts +1 -1
- package/dist-types/ts3.4/pagination/DescribeFolderPermissionsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/DescribeFolderResolvedPermissionsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListAnalysesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListAssetBundleExportJobsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListAssetBundleImportJobsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListDashboardVersionsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListDashboardsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListDataSetsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListDataSourcesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListFolderMembersPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListFoldersPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListGroupMembershipsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListGroupsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListIAMPolicyAssignmentsForUserPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListIAMPolicyAssignmentsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListIngestionsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListNamespacesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListRoleMembershipsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListTemplateAliasesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListTemplateVersionsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListTemplatesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListThemeVersionsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListThemesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListTopicsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListUserGroupsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListUsersPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListVPCConnectionsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/SearchAnalysesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/SearchDashboardsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/SearchDataSetsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/SearchDataSourcesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/SearchFoldersPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/SearchGroupsPaginator.d.ts +3 -3
- package/package.json +5 -5
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListDashboardsCommand, } from "../commands/ListDashboardsCommand";
|
|
2
3
|
import { QuickSightClient } from "../QuickSightClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListDashboardsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListDashboards(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 QuickSightClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected QuickSight | QuickSightClient");
|
|
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 paginateListDashboards = createPaginator(QuickSightClient, ListDashboardsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListDataSetsCommand, } from "../commands/ListDataSetsCommand";
|
|
2
3
|
import { QuickSightClient } from "../QuickSightClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListDataSetsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListDataSets(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 QuickSightClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected QuickSight | QuickSightClient");
|
|
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 paginateListDataSets = createPaginator(QuickSightClient, ListDataSetsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListDataSourcesCommand, } from "../commands/ListDataSourcesCommand";
|
|
2
3
|
import { QuickSightClient } from "../QuickSightClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListDataSourcesCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListDataSources(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 QuickSightClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected QuickSight | QuickSightClient");
|
|
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 paginateListDataSources = createPaginator(QuickSightClient, ListDataSourcesCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListFolderMembersCommand, } from "../commands/ListFolderMembersCommand";
|
|
2
3
|
import { QuickSightClient } from "../QuickSightClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListFolderMembersCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListFolderMembers(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 QuickSightClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected QuickSight | QuickSightClient");
|
|
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 paginateListFolderMembers = createPaginator(QuickSightClient, ListFolderMembersCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListFoldersCommand } from "../commands/ListFoldersCommand";
|
|
2
3
|
import { QuickSightClient } from "../QuickSightClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListFoldersCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListFolders(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 QuickSightClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected QuickSight | QuickSightClient");
|
|
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 paginateListFolders = createPaginator(QuickSightClient, ListFoldersCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListGroupMembershipsCommand, } from "../commands/ListGroupMembershipsCommand";
|
|
2
3
|
import { QuickSightClient } from "../QuickSightClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListGroupMembershipsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListGroupMemberships(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 QuickSightClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected QuickSight | QuickSightClient");
|
|
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 paginateListGroupMemberships = createPaginator(QuickSightClient, ListGroupMembershipsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListGroupsCommand } from "../commands/ListGroupsCommand";
|
|
2
3
|
import { QuickSightClient } from "../QuickSightClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListGroupsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListGroups(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 QuickSightClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected QuickSight | QuickSightClient");
|
|
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 paginateListGroups = createPaginator(QuickSightClient, ListGroupsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListIAMPolicyAssignmentsForUserCommand, } from "../commands/ListIAMPolicyAssignmentsForUserCommand";
|
|
2
3
|
import { QuickSightClient } from "../QuickSightClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListIAMPolicyAssignmentsForUserCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListIAMPolicyAssignmentsForUser(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 QuickSightClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected QuickSight | QuickSightClient");
|
|
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 paginateListIAMPolicyAssignmentsForUser = createPaginator(QuickSightClient, ListIAMPolicyAssignmentsForUserCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListIAMPolicyAssignmentsCommand, } from "../commands/ListIAMPolicyAssignmentsCommand";
|
|
2
3
|
import { QuickSightClient } from "../QuickSightClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListIAMPolicyAssignmentsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListIAMPolicyAssignments(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 QuickSightClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected QuickSight | QuickSightClient");
|
|
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 paginateListIAMPolicyAssignments = createPaginator(QuickSightClient, ListIAMPolicyAssignmentsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListIngestionsCommand, } from "../commands/ListIngestionsCommand";
|
|
2
3
|
import { QuickSightClient } from "../QuickSightClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListIngestionsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListIngestions(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 QuickSightClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected QuickSight | QuickSightClient");
|
|
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 paginateListIngestions = createPaginator(QuickSightClient, ListIngestionsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListNamespacesCommand, } from "../commands/ListNamespacesCommand";
|
|
2
3
|
import { QuickSightClient } from "../QuickSightClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListNamespacesCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListNamespaces(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 QuickSightClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected QuickSight | QuickSightClient");
|
|
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 paginateListNamespaces = createPaginator(QuickSightClient, ListNamespacesCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListRoleMembershipsCommand, } from "../commands/ListRoleMembershipsCommand";
|
|
2
3
|
import { QuickSightClient } from "../QuickSightClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListRoleMembershipsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListRoleMemberships(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 QuickSightClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected QuickSight | QuickSightClient");
|
|
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 paginateListRoleMemberships = createPaginator(QuickSightClient, ListRoleMembershipsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListTemplateAliasesCommand, } from "../commands/ListTemplateAliasesCommand";
|
|
2
3
|
import { QuickSightClient } from "../QuickSightClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListTemplateAliasesCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListTemplateAliases(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 QuickSightClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected QuickSight | QuickSightClient");
|
|
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 paginateListTemplateAliases = createPaginator(QuickSightClient, ListTemplateAliasesCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListTemplateVersionsCommand, } from "../commands/ListTemplateVersionsCommand";
|
|
2
3
|
import { QuickSightClient } from "../QuickSightClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListTemplateVersionsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListTemplateVersions(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 QuickSightClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected QuickSight | QuickSightClient");
|
|
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 paginateListTemplateVersions = createPaginator(QuickSightClient, ListTemplateVersionsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListTemplatesCommand, } from "../commands/ListTemplatesCommand";
|
|
2
3
|
import { QuickSightClient } from "../QuickSightClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListTemplatesCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListTemplates(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 QuickSightClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected QuickSight | QuickSightClient");
|
|
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 paginateListTemplates = createPaginator(QuickSightClient, ListTemplatesCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListThemeVersionsCommand, } from "../commands/ListThemeVersionsCommand";
|
|
2
3
|
import { QuickSightClient } from "../QuickSightClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListThemeVersionsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListThemeVersions(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 QuickSightClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected QuickSight | QuickSightClient");
|
|
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 paginateListThemeVersions = createPaginator(QuickSightClient, ListThemeVersionsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListThemesCommand } from "../commands/ListThemesCommand";
|
|
2
3
|
import { QuickSightClient } from "../QuickSightClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListThemesCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListThemes(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 QuickSightClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected QuickSight | QuickSightClient");
|
|
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 paginateListThemes = createPaginator(QuickSightClient, ListThemesCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListTopicsCommand } from "../commands/ListTopicsCommand";
|
|
2
3
|
import { QuickSightClient } from "../QuickSightClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListTopicsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListTopics(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 QuickSightClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected QuickSight | QuickSightClient");
|
|
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 paginateListTopics = createPaginator(QuickSightClient, ListTopicsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListUserGroupsCommand, } from "../commands/ListUserGroupsCommand";
|
|
2
3
|
import { QuickSightClient } from "../QuickSightClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListUserGroupsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListUserGroups(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 QuickSightClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected QuickSight | QuickSightClient");
|
|
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 paginateListUserGroups = createPaginator(QuickSightClient, ListUserGroupsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListUsersCommand } from "../commands/ListUsersCommand";
|
|
2
3
|
import { QuickSightClient } from "../QuickSightClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListUsersCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListUsers(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 QuickSightClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected QuickSight | QuickSightClient");
|
|
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 paginateListUsers = createPaginator(QuickSightClient, ListUsersCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListVPCConnectionsCommand, } from "../commands/ListVPCConnectionsCommand";
|
|
2
3
|
import { QuickSightClient } from "../QuickSightClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListVPCConnectionsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListVPCConnections(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 QuickSightClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected QuickSight | QuickSightClient");
|
|
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 paginateListVPCConnections = createPaginator(QuickSightClient, ListVPCConnectionsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { SearchAnalysesCommand, } from "../commands/SearchAnalysesCommand";
|
|
2
3
|
import { QuickSightClient } from "../QuickSightClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new SearchAnalysesCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateSearchAnalyses(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 QuickSightClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected QuickSight | QuickSightClient");
|
|
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 paginateSearchAnalyses = createPaginator(QuickSightClient, SearchAnalysesCommand, "NextToken", "NextToken", "MaxResults");
|