@aws-sdk/client-finspace-data 3.975.0 → 3.978.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/index.js +18 -11
- package/dist-es/FinspaceData.js +13 -1
- package/dist-types/FinspaceData.d.ts +36 -1
- package/dist-types/ts3.4/FinspaceData.d.ts +40 -1
- package/package.json +17 -17
package/dist-cjs/index.js
CHANGED
|
@@ -1395,6 +1395,16 @@ class UpdateUserCommand extends smithyClient.Command
|
|
|
1395
1395
|
.build() {
|
|
1396
1396
|
}
|
|
1397
1397
|
|
|
1398
|
+
const paginateListChangesets = core.createPaginator(FinspaceDataClient, ListChangesetsCommand, "nextToken", "nextToken", "maxResults");
|
|
1399
|
+
|
|
1400
|
+
const paginateListDatasets = core.createPaginator(FinspaceDataClient, ListDatasetsCommand, "nextToken", "nextToken", "maxResults");
|
|
1401
|
+
|
|
1402
|
+
const paginateListDataViews = core.createPaginator(FinspaceDataClient, ListDataViewsCommand, "nextToken", "nextToken", "maxResults");
|
|
1403
|
+
|
|
1404
|
+
const paginateListPermissionGroups = core.createPaginator(FinspaceDataClient, ListPermissionGroupsCommand, "nextToken", "nextToken", "maxResults");
|
|
1405
|
+
|
|
1406
|
+
const paginateListUsers = core.createPaginator(FinspaceDataClient, ListUsersCommand, "nextToken", "nextToken", "maxResults");
|
|
1407
|
+
|
|
1398
1408
|
const commands = {
|
|
1399
1409
|
AssociateUserToPermissionGroupCommand,
|
|
1400
1410
|
CreateChangesetCommand,
|
|
@@ -1428,19 +1438,16 @@ const commands = {
|
|
|
1428
1438
|
UpdatePermissionGroupCommand,
|
|
1429
1439
|
UpdateUserCommand,
|
|
1430
1440
|
};
|
|
1441
|
+
const paginators = {
|
|
1442
|
+
paginateListChangesets,
|
|
1443
|
+
paginateListDatasets,
|
|
1444
|
+
paginateListDataViews,
|
|
1445
|
+
paginateListPermissionGroups,
|
|
1446
|
+
paginateListUsers,
|
|
1447
|
+
};
|
|
1431
1448
|
class FinspaceData extends FinspaceDataClient {
|
|
1432
1449
|
}
|
|
1433
|
-
smithyClient.createAggregatedClient(commands, FinspaceData);
|
|
1434
|
-
|
|
1435
|
-
const paginateListChangesets = core.createPaginator(FinspaceDataClient, ListChangesetsCommand, "nextToken", "nextToken", "maxResults");
|
|
1436
|
-
|
|
1437
|
-
const paginateListDatasets = core.createPaginator(FinspaceDataClient, ListDatasetsCommand, "nextToken", "nextToken", "maxResults");
|
|
1438
|
-
|
|
1439
|
-
const paginateListDataViews = core.createPaginator(FinspaceDataClient, ListDataViewsCommand, "nextToken", "nextToken", "maxResults");
|
|
1440
|
-
|
|
1441
|
-
const paginateListPermissionGroups = core.createPaginator(FinspaceDataClient, ListPermissionGroupsCommand, "nextToken", "nextToken", "maxResults");
|
|
1442
|
-
|
|
1443
|
-
const paginateListUsers = core.createPaginator(FinspaceDataClient, ListUsersCommand, "nextToken", "nextToken", "maxResults");
|
|
1450
|
+
smithyClient.createAggregatedClient(commands, FinspaceData, { paginators });
|
|
1444
1451
|
|
|
1445
1452
|
const ApiAccess = {
|
|
1446
1453
|
DISABLED: "DISABLED",
|
package/dist-es/FinspaceData.js
CHANGED
|
@@ -31,6 +31,11 @@ import { UpdateDatasetCommand, } from "./commands/UpdateDatasetCommand";
|
|
|
31
31
|
import { UpdatePermissionGroupCommand, } from "./commands/UpdatePermissionGroupCommand";
|
|
32
32
|
import { UpdateUserCommand } from "./commands/UpdateUserCommand";
|
|
33
33
|
import { FinspaceDataClient } from "./FinspaceDataClient";
|
|
34
|
+
import { paginateListChangesets } from "./pagination/ListChangesetsPaginator";
|
|
35
|
+
import { paginateListDatasets } from "./pagination/ListDatasetsPaginator";
|
|
36
|
+
import { paginateListDataViews } from "./pagination/ListDataViewsPaginator";
|
|
37
|
+
import { paginateListPermissionGroups } from "./pagination/ListPermissionGroupsPaginator";
|
|
38
|
+
import { paginateListUsers } from "./pagination/ListUsersPaginator";
|
|
34
39
|
const commands = {
|
|
35
40
|
AssociateUserToPermissionGroupCommand,
|
|
36
41
|
CreateChangesetCommand,
|
|
@@ -64,6 +69,13 @@ const commands = {
|
|
|
64
69
|
UpdatePermissionGroupCommand,
|
|
65
70
|
UpdateUserCommand,
|
|
66
71
|
};
|
|
72
|
+
const paginators = {
|
|
73
|
+
paginateListChangesets,
|
|
74
|
+
paginateListDatasets,
|
|
75
|
+
paginateListDataViews,
|
|
76
|
+
paginateListPermissionGroups,
|
|
77
|
+
paginateListUsers,
|
|
78
|
+
};
|
|
67
79
|
export class FinspaceData extends FinspaceDataClient {
|
|
68
80
|
}
|
|
69
|
-
createAggregatedClient(commands, FinspaceData);
|
|
81
|
+
createAggregatedClient(commands, FinspaceData, { paginators });
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
1
|
+
import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator } from "@smithy/types";
|
|
2
2
|
import { AssociateUserToPermissionGroupCommandInput, AssociateUserToPermissionGroupCommandOutput } from "./commands/AssociateUserToPermissionGroupCommand";
|
|
3
3
|
import { CreateChangesetCommandInput, CreateChangesetCommandOutput } from "./commands/CreateChangesetCommand";
|
|
4
4
|
import { CreateDatasetCommandInput, CreateDatasetCommandOutput } from "./commands/CreateDatasetCommand";
|
|
@@ -220,6 +220,41 @@ export interface FinspaceData {
|
|
|
220
220
|
updateUser(args: UpdateUserCommandInput, options?: __HttpHandlerOptions): Promise<UpdateUserCommandOutput>;
|
|
221
221
|
updateUser(args: UpdateUserCommandInput, cb: (err: any, data?: UpdateUserCommandOutput) => void): void;
|
|
222
222
|
updateUser(args: UpdateUserCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateUserCommandOutput) => void): void;
|
|
223
|
+
/**
|
|
224
|
+
* @see {@link ListChangesetsCommand}
|
|
225
|
+
* @param args - command input.
|
|
226
|
+
* @param paginationConfig - optional pagination config.
|
|
227
|
+
* @returns AsyncIterable of {@link ListChangesetsCommandOutput}.
|
|
228
|
+
*/
|
|
229
|
+
paginateListChangesets(args: ListChangesetsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListChangesetsCommandOutput>;
|
|
230
|
+
/**
|
|
231
|
+
* @see {@link ListDatasetsCommand}
|
|
232
|
+
* @param args - command input.
|
|
233
|
+
* @param paginationConfig - optional pagination config.
|
|
234
|
+
* @returns AsyncIterable of {@link ListDatasetsCommandOutput}.
|
|
235
|
+
*/
|
|
236
|
+
paginateListDatasets(args?: ListDatasetsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListDatasetsCommandOutput>;
|
|
237
|
+
/**
|
|
238
|
+
* @see {@link ListDataViewsCommand}
|
|
239
|
+
* @param args - command input.
|
|
240
|
+
* @param paginationConfig - optional pagination config.
|
|
241
|
+
* @returns AsyncIterable of {@link ListDataViewsCommandOutput}.
|
|
242
|
+
*/
|
|
243
|
+
paginateListDataViews(args: ListDataViewsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListDataViewsCommandOutput>;
|
|
244
|
+
/**
|
|
245
|
+
* @see {@link ListPermissionGroupsCommand}
|
|
246
|
+
* @param args - command input.
|
|
247
|
+
* @param paginationConfig - optional pagination config.
|
|
248
|
+
* @returns AsyncIterable of {@link ListPermissionGroupsCommandOutput}.
|
|
249
|
+
*/
|
|
250
|
+
paginateListPermissionGroups(args: ListPermissionGroupsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListPermissionGroupsCommandOutput>;
|
|
251
|
+
/**
|
|
252
|
+
* @see {@link ListUsersCommand}
|
|
253
|
+
* @param args - command input.
|
|
254
|
+
* @param paginationConfig - optional pagination config.
|
|
255
|
+
* @returns AsyncIterable of {@link ListUsersCommandOutput}.
|
|
256
|
+
*/
|
|
257
|
+
paginateListUsers(args: ListUsersCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListUsersCommandOutput>;
|
|
223
258
|
}
|
|
224
259
|
/**
|
|
225
260
|
* <p> The FinSpace APIs let you take actions inside the FinSpace.</p>
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
3
|
+
PaginationConfiguration,
|
|
4
|
+
Paginator,
|
|
5
|
+
} from "@smithy/types";
|
|
2
6
|
import {
|
|
3
7
|
AssociateUserToPermissionGroupCommandInput,
|
|
4
8
|
AssociateUserToPermissionGroupCommandOutput,
|
|
@@ -536,6 +540,41 @@ export interface FinspaceData {
|
|
|
536
540
|
options: __HttpHandlerOptions,
|
|
537
541
|
cb: (err: any, data?: UpdateUserCommandOutput) => void
|
|
538
542
|
): void;
|
|
543
|
+
paginateListChangesets(
|
|
544
|
+
args: ListChangesetsCommandInput,
|
|
545
|
+
paginationConfig?: Pick<
|
|
546
|
+
PaginationConfiguration,
|
|
547
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
548
|
+
>
|
|
549
|
+
): Paginator<ListChangesetsCommandOutput>;
|
|
550
|
+
paginateListDatasets(
|
|
551
|
+
args?: ListDatasetsCommandInput,
|
|
552
|
+
paginationConfig?: Pick<
|
|
553
|
+
PaginationConfiguration,
|
|
554
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
555
|
+
>
|
|
556
|
+
): Paginator<ListDatasetsCommandOutput>;
|
|
557
|
+
paginateListDataViews(
|
|
558
|
+
args: ListDataViewsCommandInput,
|
|
559
|
+
paginationConfig?: Pick<
|
|
560
|
+
PaginationConfiguration,
|
|
561
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
562
|
+
>
|
|
563
|
+
): Paginator<ListDataViewsCommandOutput>;
|
|
564
|
+
paginateListPermissionGroups(
|
|
565
|
+
args: ListPermissionGroupsCommandInput,
|
|
566
|
+
paginationConfig?: Pick<
|
|
567
|
+
PaginationConfiguration,
|
|
568
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
569
|
+
>
|
|
570
|
+
): Paginator<ListPermissionGroupsCommandOutput>;
|
|
571
|
+
paginateListUsers(
|
|
572
|
+
args: ListUsersCommandInput,
|
|
573
|
+
paginationConfig?: Pick<
|
|
574
|
+
PaginationConfiguration,
|
|
575
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
576
|
+
>
|
|
577
|
+
): Paginator<ListUsersCommandOutput>;
|
|
539
578
|
}
|
|
540
579
|
export declare class FinspaceData
|
|
541
580
|
extends FinspaceDataClient
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-finspace-data",
|
|
3
3
|
"description": "AWS SDK for JavaScript Finspace Data Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.978.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-finspace-data",
|
|
@@ -21,38 +21,38 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
|
-
"@aws-sdk/core": "^3.973.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "^3.972.
|
|
27
|
-
"@aws-sdk/middleware-logger": "^3.972.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "^3.972.
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
30
|
-
"@aws-sdk/region-config-resolver": "^3.972.
|
|
31
|
-
"@aws-sdk/types": "^3.973.
|
|
24
|
+
"@aws-sdk/core": "^3.973.4",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "^3.972.2",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "^3.972.2",
|
|
27
|
+
"@aws-sdk/middleware-logger": "^3.972.2",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "^3.972.2",
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "^3.972.4",
|
|
30
|
+
"@aws-sdk/region-config-resolver": "^3.972.2",
|
|
31
|
+
"@aws-sdk/types": "^3.973.1",
|
|
32
32
|
"@aws-sdk/util-endpoints": "3.972.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-browser": "^3.972.
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "^3.972.
|
|
33
|
+
"@aws-sdk/util-user-agent-browser": "^3.972.2",
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "^3.972.2",
|
|
35
35
|
"@smithy/config-resolver": "^4.4.6",
|
|
36
|
-
"@smithy/core": "^3.
|
|
36
|
+
"@smithy/core": "^3.22.0",
|
|
37
37
|
"@smithy/fetch-http-handler": "^5.3.9",
|
|
38
38
|
"@smithy/hash-node": "^4.2.8",
|
|
39
39
|
"@smithy/invalid-dependency": "^4.2.8",
|
|
40
40
|
"@smithy/middleware-content-length": "^4.2.8",
|
|
41
|
-
"@smithy/middleware-endpoint": "^4.4.
|
|
42
|
-
"@smithy/middleware-retry": "^4.4.
|
|
41
|
+
"@smithy/middleware-endpoint": "^4.4.12",
|
|
42
|
+
"@smithy/middleware-retry": "^4.4.29",
|
|
43
43
|
"@smithy/middleware-serde": "^4.2.9",
|
|
44
44
|
"@smithy/middleware-stack": "^4.2.8",
|
|
45
45
|
"@smithy/node-config-provider": "^4.3.8",
|
|
46
46
|
"@smithy/node-http-handler": "^4.4.8",
|
|
47
47
|
"@smithy/protocol-http": "^5.3.8",
|
|
48
|
-
"@smithy/smithy-client": "^4.
|
|
48
|
+
"@smithy/smithy-client": "^4.11.1",
|
|
49
49
|
"@smithy/types": "^4.12.0",
|
|
50
50
|
"@smithy/url-parser": "^4.2.8",
|
|
51
51
|
"@smithy/util-base64": "^4.3.0",
|
|
52
52
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
53
53
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^4.3.28",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^4.2.31",
|
|
56
56
|
"@smithy/util-endpoints": "^3.2.8",
|
|
57
57
|
"@smithy/util-middleware": "^4.2.8",
|
|
58
58
|
"@smithy/util-retry": "^4.2.8",
|