@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,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeFolderPermissions = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const DescribeFolderPermissionsCommand_1 = require("../commands/DescribeFolderPermissionsCommand");
|
|
5
6
|
const QuickSightClient_1 = require("../QuickSightClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeFolderPermissionsCommand_1.DescribeFolderPermissionsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeFolderPermissions(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 QuickSightClient_1.QuickSightClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected QuickSight | QuickSightClient");
|
|
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.paginateDescribeFolderPermissions = paginateDescribeFolderPermissions;
|
|
7
|
+
exports.paginateDescribeFolderPermissions = (0, core_1.createPaginator)(QuickSightClient_1.QuickSightClient, DescribeFolderPermissionsCommand_1.DescribeFolderPermissionsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateDescribeFolderResolvedPermissions = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const DescribeFolderResolvedPermissionsCommand_1 = require("../commands/DescribeFolderResolvedPermissionsCommand");
|
|
5
6
|
const QuickSightClient_1 = require("../QuickSightClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new DescribeFolderResolvedPermissionsCommand_1.DescribeFolderResolvedPermissionsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateDescribeFolderResolvedPermissions(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 QuickSightClient_1.QuickSightClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected QuickSight | QuickSightClient");
|
|
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.paginateDescribeFolderResolvedPermissions = paginateDescribeFolderResolvedPermissions;
|
|
7
|
+
exports.paginateDescribeFolderResolvedPermissions = (0, core_1.createPaginator)(QuickSightClient_1.QuickSightClient, DescribeFolderResolvedPermissionsCommand_1.DescribeFolderResolvedPermissionsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListAnalyses = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListAnalysesCommand_1 = require("../commands/ListAnalysesCommand");
|
|
5
6
|
const QuickSightClient_1 = require("../QuickSightClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListAnalysesCommand_1.ListAnalysesCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListAnalyses(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 QuickSightClient_1.QuickSightClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected QuickSight | QuickSightClient");
|
|
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.paginateListAnalyses = paginateListAnalyses;
|
|
7
|
+
exports.paginateListAnalyses = (0, core_1.createPaginator)(QuickSightClient_1.QuickSightClient, ListAnalysesCommand_1.ListAnalysesCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListAssetBundleExportJobs = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListAssetBundleExportJobsCommand_1 = require("../commands/ListAssetBundleExportJobsCommand");
|
|
5
6
|
const QuickSightClient_1 = require("../QuickSightClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListAssetBundleExportJobsCommand_1.ListAssetBundleExportJobsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListAssetBundleExportJobs(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 QuickSightClient_1.QuickSightClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected QuickSight | QuickSightClient");
|
|
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.paginateListAssetBundleExportJobs = paginateListAssetBundleExportJobs;
|
|
7
|
+
exports.paginateListAssetBundleExportJobs = (0, core_1.createPaginator)(QuickSightClient_1.QuickSightClient, ListAssetBundleExportJobsCommand_1.ListAssetBundleExportJobsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListAssetBundleImportJobs = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListAssetBundleImportJobsCommand_1 = require("../commands/ListAssetBundleImportJobsCommand");
|
|
5
6
|
const QuickSightClient_1 = require("../QuickSightClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListAssetBundleImportJobsCommand_1.ListAssetBundleImportJobsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListAssetBundleImportJobs(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 QuickSightClient_1.QuickSightClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected QuickSight | QuickSightClient");
|
|
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.paginateListAssetBundleImportJobs = paginateListAssetBundleImportJobs;
|
|
7
|
+
exports.paginateListAssetBundleImportJobs = (0, core_1.createPaginator)(QuickSightClient_1.QuickSightClient, ListAssetBundleImportJobsCommand_1.ListAssetBundleImportJobsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListDashboardVersions = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListDashboardVersionsCommand_1 = require("../commands/ListDashboardVersionsCommand");
|
|
5
6
|
const QuickSightClient_1 = require("../QuickSightClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListDashboardVersionsCommand_1.ListDashboardVersionsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListDashboardVersions(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 QuickSightClient_1.QuickSightClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected QuickSight | QuickSightClient");
|
|
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.paginateListDashboardVersions = paginateListDashboardVersions;
|
|
7
|
+
exports.paginateListDashboardVersions = (0, core_1.createPaginator)(QuickSightClient_1.QuickSightClient, ListDashboardVersionsCommand_1.ListDashboardVersionsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListDashboards = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListDashboardsCommand_1 = require("../commands/ListDashboardsCommand");
|
|
5
6
|
const QuickSightClient_1 = require("../QuickSightClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListDashboardsCommand_1.ListDashboardsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListDashboards(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 QuickSightClient_1.QuickSightClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected QuickSight | QuickSightClient");
|
|
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.paginateListDashboards = paginateListDashboards;
|
|
7
|
+
exports.paginateListDashboards = (0, core_1.createPaginator)(QuickSightClient_1.QuickSightClient, ListDashboardsCommand_1.ListDashboardsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListDataSets = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListDataSetsCommand_1 = require("../commands/ListDataSetsCommand");
|
|
5
6
|
const QuickSightClient_1 = require("../QuickSightClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListDataSetsCommand_1.ListDataSetsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListDataSets(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 QuickSightClient_1.QuickSightClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected QuickSight | QuickSightClient");
|
|
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.paginateListDataSets = paginateListDataSets;
|
|
7
|
+
exports.paginateListDataSets = (0, core_1.createPaginator)(QuickSightClient_1.QuickSightClient, ListDataSetsCommand_1.ListDataSetsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListDataSources = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListDataSourcesCommand_1 = require("../commands/ListDataSourcesCommand");
|
|
5
6
|
const QuickSightClient_1 = require("../QuickSightClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListDataSourcesCommand_1.ListDataSourcesCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListDataSources(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 QuickSightClient_1.QuickSightClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected QuickSight | QuickSightClient");
|
|
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.paginateListDataSources = paginateListDataSources;
|
|
7
|
+
exports.paginateListDataSources = (0, core_1.createPaginator)(QuickSightClient_1.QuickSightClient, ListDataSourcesCommand_1.ListDataSourcesCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListFolderMembers = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListFolderMembersCommand_1 = require("../commands/ListFolderMembersCommand");
|
|
5
6
|
const QuickSightClient_1 = require("../QuickSightClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListFolderMembersCommand_1.ListFolderMembersCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListFolderMembers(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 QuickSightClient_1.QuickSightClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected QuickSight | QuickSightClient");
|
|
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.paginateListFolderMembers = paginateListFolderMembers;
|
|
7
|
+
exports.paginateListFolderMembers = (0, core_1.createPaginator)(QuickSightClient_1.QuickSightClient, ListFolderMembersCommand_1.ListFolderMembersCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListFolders = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListFoldersCommand_1 = require("../commands/ListFoldersCommand");
|
|
5
6
|
const QuickSightClient_1 = require("../QuickSightClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListFoldersCommand_1.ListFoldersCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListFolders(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 QuickSightClient_1.QuickSightClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected QuickSight | QuickSightClient");
|
|
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.paginateListFolders = paginateListFolders;
|
|
7
|
+
exports.paginateListFolders = (0, core_1.createPaginator)(QuickSightClient_1.QuickSightClient, ListFoldersCommand_1.ListFoldersCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListGroupMemberships = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListGroupMembershipsCommand_1 = require("../commands/ListGroupMembershipsCommand");
|
|
5
6
|
const QuickSightClient_1 = require("../QuickSightClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListGroupMembershipsCommand_1.ListGroupMembershipsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListGroupMemberships(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 QuickSightClient_1.QuickSightClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected QuickSight | QuickSightClient");
|
|
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.paginateListGroupMemberships = paginateListGroupMemberships;
|
|
7
|
+
exports.paginateListGroupMemberships = (0, core_1.createPaginator)(QuickSightClient_1.QuickSightClient, ListGroupMembershipsCommand_1.ListGroupMembershipsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListGroups = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListGroupsCommand_1 = require("../commands/ListGroupsCommand");
|
|
5
6
|
const QuickSightClient_1 = require("../QuickSightClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListGroupsCommand_1.ListGroupsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListGroups(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 QuickSightClient_1.QuickSightClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected QuickSight | QuickSightClient");
|
|
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.paginateListGroups = paginateListGroups;
|
|
7
|
+
exports.paginateListGroups = (0, core_1.createPaginator)(QuickSightClient_1.QuickSightClient, ListGroupsCommand_1.ListGroupsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListIAMPolicyAssignmentsForUser = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListIAMPolicyAssignmentsForUserCommand_1 = require("../commands/ListIAMPolicyAssignmentsForUserCommand");
|
|
5
6
|
const QuickSightClient_1 = require("../QuickSightClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListIAMPolicyAssignmentsForUserCommand_1.ListIAMPolicyAssignmentsForUserCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListIAMPolicyAssignmentsForUser(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 QuickSightClient_1.QuickSightClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected QuickSight | QuickSightClient");
|
|
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.paginateListIAMPolicyAssignmentsForUser = paginateListIAMPolicyAssignmentsForUser;
|
|
7
|
+
exports.paginateListIAMPolicyAssignmentsForUser = (0, core_1.createPaginator)(QuickSightClient_1.QuickSightClient, ListIAMPolicyAssignmentsForUserCommand_1.ListIAMPolicyAssignmentsForUserCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListIAMPolicyAssignments = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListIAMPolicyAssignmentsCommand_1 = require("../commands/ListIAMPolicyAssignmentsCommand");
|
|
5
6
|
const QuickSightClient_1 = require("../QuickSightClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListIAMPolicyAssignmentsCommand_1.ListIAMPolicyAssignmentsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListIAMPolicyAssignments(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 QuickSightClient_1.QuickSightClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected QuickSight | QuickSightClient");
|
|
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.paginateListIAMPolicyAssignments = paginateListIAMPolicyAssignments;
|
|
7
|
+
exports.paginateListIAMPolicyAssignments = (0, core_1.createPaginator)(QuickSightClient_1.QuickSightClient, ListIAMPolicyAssignmentsCommand_1.ListIAMPolicyAssignmentsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListIngestions = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListIngestionsCommand_1 = require("../commands/ListIngestionsCommand");
|
|
5
6
|
const QuickSightClient_1 = require("../QuickSightClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListIngestionsCommand_1.ListIngestionsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListIngestions(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 QuickSightClient_1.QuickSightClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected QuickSight | QuickSightClient");
|
|
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.paginateListIngestions = paginateListIngestions;
|
|
7
|
+
exports.paginateListIngestions = (0, core_1.createPaginator)(QuickSightClient_1.QuickSightClient, ListIngestionsCommand_1.ListIngestionsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListNamespaces = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListNamespacesCommand_1 = require("../commands/ListNamespacesCommand");
|
|
5
6
|
const QuickSightClient_1 = require("../QuickSightClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListNamespacesCommand_1.ListNamespacesCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListNamespaces(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 QuickSightClient_1.QuickSightClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected QuickSight | QuickSightClient");
|
|
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.paginateListNamespaces = paginateListNamespaces;
|
|
7
|
+
exports.paginateListNamespaces = (0, core_1.createPaginator)(QuickSightClient_1.QuickSightClient, ListNamespacesCommand_1.ListNamespacesCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListRoleMemberships = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListRoleMembershipsCommand_1 = require("../commands/ListRoleMembershipsCommand");
|
|
5
6
|
const QuickSightClient_1 = require("../QuickSightClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListRoleMembershipsCommand_1.ListRoleMembershipsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListRoleMemberships(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 QuickSightClient_1.QuickSightClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected QuickSight | QuickSightClient");
|
|
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.paginateListRoleMemberships = paginateListRoleMemberships;
|
|
7
|
+
exports.paginateListRoleMemberships = (0, core_1.createPaginator)(QuickSightClient_1.QuickSightClient, ListRoleMembershipsCommand_1.ListRoleMembershipsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListTemplateAliases = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListTemplateAliasesCommand_1 = require("../commands/ListTemplateAliasesCommand");
|
|
5
6
|
const QuickSightClient_1 = require("../QuickSightClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListTemplateAliasesCommand_1.ListTemplateAliasesCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListTemplateAliases(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 QuickSightClient_1.QuickSightClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected QuickSight | QuickSightClient");
|
|
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.paginateListTemplateAliases = paginateListTemplateAliases;
|
|
7
|
+
exports.paginateListTemplateAliases = (0, core_1.createPaginator)(QuickSightClient_1.QuickSightClient, ListTemplateAliasesCommand_1.ListTemplateAliasesCommand, "NextToken", "NextToken", "MaxResults");
|