@aws-sdk/client-lakeformation 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/GetEffectivePermissionsForPathPaginator.js +2 -24
- package/dist-cjs/pagination/GetTableObjectsPaginator.js +2 -24
- package/dist-cjs/pagination/GetWorkUnitsPaginator.js +2 -24
- package/dist-cjs/pagination/ListDataCellsFilterPaginator.js +2 -24
- package/dist-cjs/pagination/ListLFTagsPaginator.js +2 -24
- package/dist-cjs/pagination/ListLakeFormationOptInsPaginator.js +2 -24
- package/dist-cjs/pagination/ListPermissionsPaginator.js +2 -24
- package/dist-cjs/pagination/ListResourcesPaginator.js +2 -24
- package/dist-cjs/pagination/ListTableStorageOptimizersPaginator.js +2 -24
- package/dist-cjs/pagination/ListTransactionsPaginator.js +2 -24
- package/dist-cjs/pagination/SearchDatabasesByLFTagsPaginator.js +2 -24
- package/dist-cjs/pagination/SearchTablesByLFTagsPaginator.js +2 -24
- package/dist-es/pagination/GetEffectivePermissionsForPathPaginator.js +2 -23
- package/dist-es/pagination/GetTableObjectsPaginator.js +2 -23
- package/dist-es/pagination/GetWorkUnitsPaginator.js +2 -23
- package/dist-es/pagination/ListDataCellsFilterPaginator.js +2 -23
- package/dist-es/pagination/ListLFTagsPaginator.js +2 -23
- package/dist-es/pagination/ListLakeFormationOptInsPaginator.js +2 -23
- package/dist-es/pagination/ListPermissionsPaginator.js +2 -23
- package/dist-es/pagination/ListResourcesPaginator.js +2 -23
- package/dist-es/pagination/ListTableStorageOptimizersPaginator.js +2 -23
- package/dist-es/pagination/ListTransactionsPaginator.js +2 -23
- package/dist-es/pagination/SearchDatabasesByLFTagsPaginator.js +2 -23
- package/dist-es/pagination/SearchTablesByLFTagsPaginator.js +2 -23
- package/dist-types/pagination/GetEffectivePermissionsForPathPaginator.d.ts +1 -1
- package/dist-types/pagination/GetTableObjectsPaginator.d.ts +1 -1
- package/dist-types/pagination/GetWorkUnitsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListDataCellsFilterPaginator.d.ts +1 -1
- package/dist-types/pagination/ListLFTagsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListLakeFormationOptInsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListPermissionsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListResourcesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListTableStorageOptimizersPaginator.d.ts +1 -1
- package/dist-types/pagination/ListTransactionsPaginator.d.ts +1 -1
- package/dist-types/pagination/SearchDatabasesByLFTagsPaginator.d.ts +1 -1
- package/dist-types/pagination/SearchTablesByLFTagsPaginator.d.ts +1 -1
- package/dist-types/ts3.4/pagination/GetEffectivePermissionsForPathPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/GetTableObjectsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/GetWorkUnitsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListDataCellsFilterPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListLFTagsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListLakeFormationOptInsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListPermissionsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListResourcesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListTableStorageOptimizersPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListTransactionsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/SearchDatabasesByLFTagsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/SearchTablesByLFTagsPaginator.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.paginateGetEffectivePermissionsForPath = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const GetEffectivePermissionsForPathCommand_1 = require("../commands/GetEffectivePermissionsForPathCommand");
|
|
5
6
|
const LakeFormationClient_1 = require("../LakeFormationClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new GetEffectivePermissionsForPathCommand_1.GetEffectivePermissionsForPathCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateGetEffectivePermissionsForPath(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 LakeFormationClient_1.LakeFormationClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected LakeFormation | LakeFormationClient");
|
|
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.paginateGetEffectivePermissionsForPath = paginateGetEffectivePermissionsForPath;
|
|
7
|
+
exports.paginateGetEffectivePermissionsForPath = (0, core_1.createPaginator)(LakeFormationClient_1.LakeFormationClient, GetEffectivePermissionsForPathCommand_1.GetEffectivePermissionsForPathCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateGetTableObjects = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const GetTableObjectsCommand_1 = require("../commands/GetTableObjectsCommand");
|
|
5
6
|
const LakeFormationClient_1 = require("../LakeFormationClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new GetTableObjectsCommand_1.GetTableObjectsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateGetTableObjects(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 LakeFormationClient_1.LakeFormationClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected LakeFormation | LakeFormationClient");
|
|
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.paginateGetTableObjects = paginateGetTableObjects;
|
|
7
|
+
exports.paginateGetTableObjects = (0, core_1.createPaginator)(LakeFormationClient_1.LakeFormationClient, GetTableObjectsCommand_1.GetTableObjectsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateGetWorkUnits = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const GetWorkUnitsCommand_1 = require("../commands/GetWorkUnitsCommand");
|
|
5
6
|
const LakeFormationClient_1 = require("../LakeFormationClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new GetWorkUnitsCommand_1.GetWorkUnitsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateGetWorkUnits(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["PageSize"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof LakeFormationClient_1.LakeFormationClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected LakeFormation | LakeFormationClient");
|
|
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.paginateGetWorkUnits = paginateGetWorkUnits;
|
|
7
|
+
exports.paginateGetWorkUnits = (0, core_1.createPaginator)(LakeFormationClient_1.LakeFormationClient, GetWorkUnitsCommand_1.GetWorkUnitsCommand, "NextToken", "NextToken", "PageSize");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListDataCellsFilter = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListDataCellsFilterCommand_1 = require("../commands/ListDataCellsFilterCommand");
|
|
5
6
|
const LakeFormationClient_1 = require("../LakeFormationClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListDataCellsFilterCommand_1.ListDataCellsFilterCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListDataCellsFilter(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 LakeFormationClient_1.LakeFormationClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected LakeFormation | LakeFormationClient");
|
|
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.paginateListDataCellsFilter = paginateListDataCellsFilter;
|
|
7
|
+
exports.paginateListDataCellsFilter = (0, core_1.createPaginator)(LakeFormationClient_1.LakeFormationClient, ListDataCellsFilterCommand_1.ListDataCellsFilterCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListLFTags = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListLFTagsCommand_1 = require("../commands/ListLFTagsCommand");
|
|
5
6
|
const LakeFormationClient_1 = require("../LakeFormationClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListLFTagsCommand_1.ListLFTagsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListLFTags(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 LakeFormationClient_1.LakeFormationClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected LakeFormation | LakeFormationClient");
|
|
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.paginateListLFTags = paginateListLFTags;
|
|
7
|
+
exports.paginateListLFTags = (0, core_1.createPaginator)(LakeFormationClient_1.LakeFormationClient, ListLFTagsCommand_1.ListLFTagsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListLakeFormationOptIns = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListLakeFormationOptInsCommand_1 = require("../commands/ListLakeFormationOptInsCommand");
|
|
5
6
|
const LakeFormationClient_1 = require("../LakeFormationClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListLakeFormationOptInsCommand_1.ListLakeFormationOptInsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListLakeFormationOptIns(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 LakeFormationClient_1.LakeFormationClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected LakeFormation | LakeFormationClient");
|
|
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.paginateListLakeFormationOptIns = paginateListLakeFormationOptIns;
|
|
7
|
+
exports.paginateListLakeFormationOptIns = (0, core_1.createPaginator)(LakeFormationClient_1.LakeFormationClient, ListLakeFormationOptInsCommand_1.ListLakeFormationOptInsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListPermissions = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListPermissionsCommand_1 = require("../commands/ListPermissionsCommand");
|
|
5
6
|
const LakeFormationClient_1 = require("../LakeFormationClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListPermissionsCommand_1.ListPermissionsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListPermissions(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 LakeFormationClient_1.LakeFormationClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected LakeFormation | LakeFormationClient");
|
|
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.paginateListPermissions = paginateListPermissions;
|
|
7
|
+
exports.paginateListPermissions = (0, core_1.createPaginator)(LakeFormationClient_1.LakeFormationClient, ListPermissionsCommand_1.ListPermissionsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListResources = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListResourcesCommand_1 = require("../commands/ListResourcesCommand");
|
|
5
6
|
const LakeFormationClient_1 = require("../LakeFormationClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListResourcesCommand_1.ListResourcesCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListResources(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 LakeFormationClient_1.LakeFormationClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected LakeFormation | LakeFormationClient");
|
|
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.paginateListResources = paginateListResources;
|
|
7
|
+
exports.paginateListResources = (0, core_1.createPaginator)(LakeFormationClient_1.LakeFormationClient, ListResourcesCommand_1.ListResourcesCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListTableStorageOptimizers = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListTableStorageOptimizersCommand_1 = require("../commands/ListTableStorageOptimizersCommand");
|
|
5
6
|
const LakeFormationClient_1 = require("../LakeFormationClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListTableStorageOptimizersCommand_1.ListTableStorageOptimizersCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListTableStorageOptimizers(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 LakeFormationClient_1.LakeFormationClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected LakeFormation | LakeFormationClient");
|
|
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.paginateListTableStorageOptimizers = paginateListTableStorageOptimizers;
|
|
7
|
+
exports.paginateListTableStorageOptimizers = (0, core_1.createPaginator)(LakeFormationClient_1.LakeFormationClient, ListTableStorageOptimizersCommand_1.ListTableStorageOptimizersCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListTransactions = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListTransactionsCommand_1 = require("../commands/ListTransactionsCommand");
|
|
5
6
|
const LakeFormationClient_1 = require("../LakeFormationClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListTransactionsCommand_1.ListTransactionsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListTransactions(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 LakeFormationClient_1.LakeFormationClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected LakeFormation | LakeFormationClient");
|
|
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.paginateListTransactions = paginateListTransactions;
|
|
7
|
+
exports.paginateListTransactions = (0, core_1.createPaginator)(LakeFormationClient_1.LakeFormationClient, ListTransactionsCommand_1.ListTransactionsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateSearchDatabasesByLFTags = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const SearchDatabasesByLFTagsCommand_1 = require("../commands/SearchDatabasesByLFTagsCommand");
|
|
5
6
|
const LakeFormationClient_1 = require("../LakeFormationClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new SearchDatabasesByLFTagsCommand_1.SearchDatabasesByLFTagsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateSearchDatabasesByLFTags(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 LakeFormationClient_1.LakeFormationClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected LakeFormation | LakeFormationClient");
|
|
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.paginateSearchDatabasesByLFTags = paginateSearchDatabasesByLFTags;
|
|
7
|
+
exports.paginateSearchDatabasesByLFTags = (0, core_1.createPaginator)(LakeFormationClient_1.LakeFormationClient, SearchDatabasesByLFTagsCommand_1.SearchDatabasesByLFTagsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateSearchTablesByLFTags = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const SearchTablesByLFTagsCommand_1 = require("../commands/SearchTablesByLFTagsCommand");
|
|
5
6
|
const LakeFormationClient_1 = require("../LakeFormationClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new SearchTablesByLFTagsCommand_1.SearchTablesByLFTagsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateSearchTablesByLFTags(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 LakeFormationClient_1.LakeFormationClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected LakeFormation | LakeFormationClient");
|
|
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.paginateSearchTablesByLFTags = paginateSearchTablesByLFTags;
|
|
7
|
+
exports.paginateSearchTablesByLFTags = (0, core_1.createPaginator)(LakeFormationClient_1.LakeFormationClient, SearchTablesByLFTagsCommand_1.SearchTablesByLFTagsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { GetEffectivePermissionsForPathCommand, } from "../commands/GetEffectivePermissionsForPathCommand";
|
|
2
3
|
import { LakeFormationClient } from "../LakeFormationClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new GetEffectivePermissionsForPathCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateGetEffectivePermissionsForPath(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 LakeFormationClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected LakeFormation | LakeFormationClient");
|
|
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 paginateGetEffectivePermissionsForPath = createPaginator(LakeFormationClient, GetEffectivePermissionsForPathCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { GetTableObjectsCommand, } from "../commands/GetTableObjectsCommand";
|
|
2
3
|
import { LakeFormationClient } from "../LakeFormationClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new GetTableObjectsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateGetTableObjects(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 LakeFormationClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected LakeFormation | LakeFormationClient");
|
|
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 paginateGetTableObjects = createPaginator(LakeFormationClient, GetTableObjectsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { GetWorkUnitsCommand, } from "../commands/GetWorkUnitsCommand";
|
|
2
3
|
import { LakeFormationClient } from "../LakeFormationClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new GetWorkUnitsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateGetWorkUnits(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["PageSize"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof LakeFormationClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected LakeFormation | LakeFormationClient");
|
|
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 paginateGetWorkUnits = createPaginator(LakeFormationClient, GetWorkUnitsCommand, "NextToken", "NextToken", "PageSize");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListDataCellsFilterCommand, } from "../commands/ListDataCellsFilterCommand";
|
|
2
3
|
import { LakeFormationClient } from "../LakeFormationClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListDataCellsFilterCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListDataCellsFilter(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 LakeFormationClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected LakeFormation | LakeFormationClient");
|
|
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 paginateListDataCellsFilter = createPaginator(LakeFormationClient, ListDataCellsFilterCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListLFTagsCommand } from "../commands/ListLFTagsCommand";
|
|
2
3
|
import { LakeFormationClient } from "../LakeFormationClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListLFTagsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListLFTags(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 LakeFormationClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected LakeFormation | LakeFormationClient");
|
|
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 paginateListLFTags = createPaginator(LakeFormationClient, ListLFTagsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListLakeFormationOptInsCommand, } from "../commands/ListLakeFormationOptInsCommand";
|
|
2
3
|
import { LakeFormationClient } from "../LakeFormationClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListLakeFormationOptInsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListLakeFormationOptIns(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 LakeFormationClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected LakeFormation | LakeFormationClient");
|
|
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 paginateListLakeFormationOptIns = createPaginator(LakeFormationClient, ListLakeFormationOptInsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListPermissionsCommand, } from "../commands/ListPermissionsCommand";
|
|
2
3
|
import { LakeFormationClient } from "../LakeFormationClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListPermissionsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListPermissions(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 LakeFormationClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected LakeFormation | LakeFormationClient");
|
|
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 paginateListPermissions = createPaginator(LakeFormationClient, ListPermissionsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListResourcesCommand, } from "../commands/ListResourcesCommand";
|
|
2
3
|
import { LakeFormationClient } from "../LakeFormationClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListResourcesCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListResources(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 LakeFormationClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected LakeFormation | LakeFormationClient");
|
|
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 paginateListResources = createPaginator(LakeFormationClient, ListResourcesCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListTableStorageOptimizersCommand, } from "../commands/ListTableStorageOptimizersCommand";
|
|
2
3
|
import { LakeFormationClient } from "../LakeFormationClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListTableStorageOptimizersCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListTableStorageOptimizers(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 LakeFormationClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected LakeFormation | LakeFormationClient");
|
|
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 paginateListTableStorageOptimizers = createPaginator(LakeFormationClient, ListTableStorageOptimizersCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { ListTransactionsCommand, } from "../commands/ListTransactionsCommand";
|
|
2
3
|
import { LakeFormationClient } from "../LakeFormationClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListTransactionsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListTransactions(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 LakeFormationClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected LakeFormation | LakeFormationClient");
|
|
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 paginateListTransactions = createPaginator(LakeFormationClient, ListTransactionsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { SearchDatabasesByLFTagsCommand, } from "../commands/SearchDatabasesByLFTagsCommand";
|
|
2
3
|
import { LakeFormationClient } from "../LakeFormationClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new SearchDatabasesByLFTagsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateSearchDatabasesByLFTags(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 LakeFormationClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected LakeFormation | LakeFormationClient");
|
|
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 paginateSearchDatabasesByLFTags = createPaginator(LakeFormationClient, SearchDatabasesByLFTagsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { SearchTablesByLFTagsCommand, } from "../commands/SearchTablesByLFTagsCommand";
|
|
2
3
|
import { LakeFormationClient } from "../LakeFormationClient";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new SearchTablesByLFTagsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateSearchTablesByLFTags(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 LakeFormationClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected LakeFormation | LakeFormationClient");
|
|
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 paginateSearchTablesByLFTags = createPaginator(LakeFormationClient, SearchTablesByLFTagsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -4,4 +4,4 @@ import { LakeFormationPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateGetEffectivePermissionsForPath: (config: LakeFormationPaginationConfiguration, input: GetEffectivePermissionsForPathCommandInput, ...rest: any[]) => Paginator<GetEffectivePermissionsForPathCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { LakeFormationPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateGetTableObjects: (config: LakeFormationPaginationConfiguration, input: GetTableObjectsCommandInput, ...rest: any[]) => Paginator<GetTableObjectsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { LakeFormationPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateGetWorkUnits: (config: LakeFormationPaginationConfiguration, input: GetWorkUnitsCommandInput, ...rest: any[]) => Paginator<GetWorkUnitsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { LakeFormationPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListDataCellsFilter: (config: LakeFormationPaginationConfiguration, input: ListDataCellsFilterCommandInput, ...rest: any[]) => Paginator<ListDataCellsFilterCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { LakeFormationPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListLFTags: (config: LakeFormationPaginationConfiguration, input: ListLFTagsCommandInput, ...rest: any[]) => Paginator<ListLFTagsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { LakeFormationPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListLakeFormationOptIns: (config: LakeFormationPaginationConfiguration, input: ListLakeFormationOptInsCommandInput, ...rest: any[]) => Paginator<ListLakeFormationOptInsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { LakeFormationPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListPermissions: (config: LakeFormationPaginationConfiguration, input: ListPermissionsCommandInput, ...rest: any[]) => Paginator<ListPermissionsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { LakeFormationPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListResources: (config: LakeFormationPaginationConfiguration, input: ListResourcesCommandInput, ...rest: any[]) => Paginator<ListResourcesCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { LakeFormationPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListTableStorageOptimizers: (config: LakeFormationPaginationConfiguration, input: ListTableStorageOptimizersCommandInput, ...rest: any[]) => Paginator<ListTableStorageOptimizersCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { LakeFormationPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListTransactions: (config: LakeFormationPaginationConfiguration, input: ListTransactionsCommandInput, ...rest: any[]) => Paginator<ListTransactionsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { LakeFormationPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateSearchDatabasesByLFTags: (config: LakeFormationPaginationConfiguration, input: SearchDatabasesByLFTagsCommandInput, ...rest: any[]) => Paginator<SearchDatabasesByLFTagsCommandOutput>;
|
|
@@ -4,4 +4,4 @@ import { LakeFormationPaginationConfiguration } from "./Interfaces";
|
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateSearchTablesByLFTags: (config: LakeFormationPaginationConfiguration, input: SearchTablesByLFTagsCommandInput, ...rest: any[]) => Paginator<SearchTablesByLFTagsCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
GetEffectivePermissionsForPathCommandOutput,
|
|
5
5
|
} from "../commands/GetEffectivePermissionsForPathCommand";
|
|
6
6
|
import { LakeFormationPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateGetEffectivePermissionsForPath: (
|
|
8
8
|
config: LakeFormationPaginationConfiguration,
|
|
9
9
|
input: GetEffectivePermissionsForPathCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<GetEffectivePermissionsForPathCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
GetTableObjectsCommandOutput,
|
|
5
5
|
} from "../commands/GetTableObjectsCommand";
|
|
6
6
|
import { LakeFormationPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateGetTableObjects: (
|
|
8
8
|
config: LakeFormationPaginationConfiguration,
|
|
9
9
|
input: GetTableObjectsCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<GetTableObjectsCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
GetWorkUnitsCommandOutput,
|
|
5
5
|
} from "../commands/GetWorkUnitsCommand";
|
|
6
6
|
import { LakeFormationPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateGetWorkUnits: (
|
|
8
8
|
config: LakeFormationPaginationConfiguration,
|
|
9
9
|
input: GetWorkUnitsCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<GetWorkUnitsCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
ListDataCellsFilterCommandOutput,
|
|
5
5
|
} from "../commands/ListDataCellsFilterCommand";
|
|
6
6
|
import { LakeFormationPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListDataCellsFilter: (
|
|
8
8
|
config: LakeFormationPaginationConfiguration,
|
|
9
9
|
input: ListDataCellsFilterCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListDataCellsFilterCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
ListLFTagsCommandOutput,
|
|
5
5
|
} from "../commands/ListLFTagsCommand";
|
|
6
6
|
import { LakeFormationPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListLFTags: (
|
|
8
8
|
config: LakeFormationPaginationConfiguration,
|
|
9
9
|
input: ListLFTagsCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListLFTagsCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
ListLakeFormationOptInsCommandOutput,
|
|
5
5
|
} from "../commands/ListLakeFormationOptInsCommand";
|
|
6
6
|
import { LakeFormationPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListLakeFormationOptIns: (
|
|
8
8
|
config: LakeFormationPaginationConfiguration,
|
|
9
9
|
input: ListLakeFormationOptInsCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListLakeFormationOptInsCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
ListPermissionsCommandOutput,
|
|
5
5
|
} from "../commands/ListPermissionsCommand";
|
|
6
6
|
import { LakeFormationPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListPermissions: (
|
|
8
8
|
config: LakeFormationPaginationConfiguration,
|
|
9
9
|
input: ListPermissionsCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListPermissionsCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
ListResourcesCommandOutput,
|
|
5
5
|
} from "../commands/ListResourcesCommand";
|
|
6
6
|
import { LakeFormationPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListResources: (
|
|
8
8
|
config: LakeFormationPaginationConfiguration,
|
|
9
9
|
input: ListResourcesCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListResourcesCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
ListTableStorageOptimizersCommandOutput,
|
|
5
5
|
} from "../commands/ListTableStorageOptimizersCommand";
|
|
6
6
|
import { LakeFormationPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListTableStorageOptimizers: (
|
|
8
8
|
config: LakeFormationPaginationConfiguration,
|
|
9
9
|
input: ListTableStorageOptimizersCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListTableStorageOptimizersCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
ListTransactionsCommandOutput,
|
|
5
5
|
} from "../commands/ListTransactionsCommand";
|
|
6
6
|
import { LakeFormationPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateListTransactions: (
|
|
8
8
|
config: LakeFormationPaginationConfiguration,
|
|
9
9
|
input: ListTransactionsCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListTransactionsCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
SearchDatabasesByLFTagsCommandOutput,
|
|
5
5
|
} from "../commands/SearchDatabasesByLFTagsCommand";
|
|
6
6
|
import { LakeFormationPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateSearchDatabasesByLFTags: (
|
|
8
8
|
config: LakeFormationPaginationConfiguration,
|
|
9
9
|
input: SearchDatabasesByLFTagsCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<SearchDatabasesByLFTagsCommandOutput>;
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
SearchTablesByLFTagsCommandOutput,
|
|
5
5
|
} from "../commands/SearchTablesByLFTagsCommand";
|
|
6
6
|
import { LakeFormationPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
export declare
|
|
7
|
+
export declare const paginateSearchTablesByLFTags: (
|
|
8
8
|
config: LakeFormationPaginationConfiguration,
|
|
9
9
|
input: SearchTablesByLFTagsCommandInput,
|
|
10
|
-
...
|
|
11
|
-
)
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<SearchTablesByLFTagsCommandOutput>;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-lakeformation",
|
|
3
3
|
"description": "AWS SDK for JavaScript Lakeformation Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.478.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -20,17 +20,17 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.478.0",
|
|
24
24
|
"@aws-sdk/core": "3.477.0",
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.478.0",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "3.468.0",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.468.0",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "3.468.0",
|
|
29
29
|
"@aws-sdk/middleware-signing": "3.468.0",
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.478.0",
|
|
31
31
|
"@aws-sdk/region-config-resolver": "3.470.0",
|
|
32
32
|
"@aws-sdk/types": "3.468.0",
|
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.478.0",
|
|
34
34
|
"@aws-sdk/util-user-agent-browser": "3.468.0",
|
|
35
35
|
"@aws-sdk/util-user-agent-node": "3.470.0",
|
|
36
36
|
"@smithy/config-resolver": "^2.0.21",
|