@aws-sdk/client-finspace 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 +21 -13
- package/dist-es/Finspace.js +15 -1
- package/dist-types/Finspace.d.ts +43 -1
- package/dist-types/ts3.4/Finspace.d.ts +47 -1
- package/package.json +17 -17
package/dist-cjs/index.js
CHANGED
|
@@ -2191,6 +2191,18 @@ class UpdateKxVolumeCommand extends smithyClient.Command
|
|
|
2191
2191
|
.build() {
|
|
2192
2192
|
}
|
|
2193
2193
|
|
|
2194
|
+
const paginateListKxChangesets = core.createPaginator(FinspaceClient, ListKxChangesetsCommand, "nextToken", "nextToken", "maxResults");
|
|
2195
|
+
|
|
2196
|
+
const paginateListKxClusterNodes = core.createPaginator(FinspaceClient, ListKxClusterNodesCommand, "nextToken", "nextToken", "maxResults");
|
|
2197
|
+
|
|
2198
|
+
const paginateListKxDatabases = core.createPaginator(FinspaceClient, ListKxDatabasesCommand, "nextToken", "nextToken", "maxResults");
|
|
2199
|
+
|
|
2200
|
+
const paginateListKxDataviews = core.createPaginator(FinspaceClient, ListKxDataviewsCommand, "nextToken", "nextToken", "maxResults");
|
|
2201
|
+
|
|
2202
|
+
const paginateListKxEnvironments = core.createPaginator(FinspaceClient, ListKxEnvironmentsCommand, "nextToken", "nextToken", "maxResults");
|
|
2203
|
+
|
|
2204
|
+
const paginateListKxScalingGroups = core.createPaginator(FinspaceClient, ListKxScalingGroupsCommand, "nextToken", "nextToken", "maxResults");
|
|
2205
|
+
|
|
2194
2206
|
const commands = {
|
|
2195
2207
|
CreateEnvironmentCommand,
|
|
2196
2208
|
CreateKxChangesetCommand,
|
|
@@ -2243,21 +2255,17 @@ const commands = {
|
|
|
2243
2255
|
UpdateKxUserCommand,
|
|
2244
2256
|
UpdateKxVolumeCommand,
|
|
2245
2257
|
};
|
|
2258
|
+
const paginators = {
|
|
2259
|
+
paginateListKxChangesets,
|
|
2260
|
+
paginateListKxClusterNodes,
|
|
2261
|
+
paginateListKxDatabases,
|
|
2262
|
+
paginateListKxDataviews,
|
|
2263
|
+
paginateListKxEnvironments,
|
|
2264
|
+
paginateListKxScalingGroups,
|
|
2265
|
+
};
|
|
2246
2266
|
class Finspace extends FinspaceClient {
|
|
2247
2267
|
}
|
|
2248
|
-
smithyClient.createAggregatedClient(commands, Finspace);
|
|
2249
|
-
|
|
2250
|
-
const paginateListKxChangesets = core.createPaginator(FinspaceClient, ListKxChangesetsCommand, "nextToken", "nextToken", "maxResults");
|
|
2251
|
-
|
|
2252
|
-
const paginateListKxClusterNodes = core.createPaginator(FinspaceClient, ListKxClusterNodesCommand, "nextToken", "nextToken", "maxResults");
|
|
2253
|
-
|
|
2254
|
-
const paginateListKxDatabases = core.createPaginator(FinspaceClient, ListKxDatabasesCommand, "nextToken", "nextToken", "maxResults");
|
|
2255
|
-
|
|
2256
|
-
const paginateListKxDataviews = core.createPaginator(FinspaceClient, ListKxDataviewsCommand, "nextToken", "nextToken", "maxResults");
|
|
2257
|
-
|
|
2258
|
-
const paginateListKxEnvironments = core.createPaginator(FinspaceClient, ListKxEnvironmentsCommand, "nextToken", "nextToken", "maxResults");
|
|
2259
|
-
|
|
2260
|
-
const paginateListKxScalingGroups = core.createPaginator(FinspaceClient, ListKxScalingGroupsCommand, "nextToken", "nextToken", "maxResults");
|
|
2268
|
+
smithyClient.createAggregatedClient(commands, Finspace, { paginators });
|
|
2261
2269
|
|
|
2262
2270
|
const AutoScalingMetric = {
|
|
2263
2271
|
CPU_UTILIZATION_PERCENTAGE: "CPU_UTILIZATION_PERCENTAGE",
|
package/dist-es/Finspace.js
CHANGED
|
@@ -50,6 +50,12 @@ import { UpdateKxEnvironmentNetworkCommand, } from "./commands/UpdateKxEnvironme
|
|
|
50
50
|
import { UpdateKxUserCommand, } from "./commands/UpdateKxUserCommand";
|
|
51
51
|
import { UpdateKxVolumeCommand, } from "./commands/UpdateKxVolumeCommand";
|
|
52
52
|
import { FinspaceClient } from "./FinspaceClient";
|
|
53
|
+
import { paginateListKxChangesets } from "./pagination/ListKxChangesetsPaginator";
|
|
54
|
+
import { paginateListKxClusterNodes } from "./pagination/ListKxClusterNodesPaginator";
|
|
55
|
+
import { paginateListKxDatabases } from "./pagination/ListKxDatabasesPaginator";
|
|
56
|
+
import { paginateListKxDataviews } from "./pagination/ListKxDataviewsPaginator";
|
|
57
|
+
import { paginateListKxEnvironments } from "./pagination/ListKxEnvironmentsPaginator";
|
|
58
|
+
import { paginateListKxScalingGroups } from "./pagination/ListKxScalingGroupsPaginator";
|
|
53
59
|
const commands = {
|
|
54
60
|
CreateEnvironmentCommand,
|
|
55
61
|
CreateKxChangesetCommand,
|
|
@@ -102,6 +108,14 @@ const commands = {
|
|
|
102
108
|
UpdateKxUserCommand,
|
|
103
109
|
UpdateKxVolumeCommand,
|
|
104
110
|
};
|
|
111
|
+
const paginators = {
|
|
112
|
+
paginateListKxChangesets,
|
|
113
|
+
paginateListKxClusterNodes,
|
|
114
|
+
paginateListKxDatabases,
|
|
115
|
+
paginateListKxDataviews,
|
|
116
|
+
paginateListKxEnvironments,
|
|
117
|
+
paginateListKxScalingGroups,
|
|
118
|
+
};
|
|
105
119
|
export class Finspace extends FinspaceClient {
|
|
106
120
|
}
|
|
107
|
-
createAggregatedClient(commands, Finspace);
|
|
121
|
+
createAggregatedClient(commands, Finspace, { paginators });
|
package/dist-types/Finspace.d.ts
CHANGED
|
@@ -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 { CreateEnvironmentCommandInput, CreateEnvironmentCommandOutput } from "./commands/CreateEnvironmentCommand";
|
|
3
3
|
import { CreateKxChangesetCommandInput, CreateKxChangesetCommandOutput } from "./commands/CreateKxChangesetCommand";
|
|
4
4
|
import { CreateKxClusterCommandInput, CreateKxClusterCommandOutput } from "./commands/CreateKxClusterCommand";
|
|
@@ -353,6 +353,48 @@ export interface Finspace {
|
|
|
353
353
|
updateKxVolume(args: UpdateKxVolumeCommandInput, options?: __HttpHandlerOptions): Promise<UpdateKxVolumeCommandOutput>;
|
|
354
354
|
updateKxVolume(args: UpdateKxVolumeCommandInput, cb: (err: any, data?: UpdateKxVolumeCommandOutput) => void): void;
|
|
355
355
|
updateKxVolume(args: UpdateKxVolumeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateKxVolumeCommandOutput) => void): void;
|
|
356
|
+
/**
|
|
357
|
+
* @see {@link ListKxChangesetsCommand}
|
|
358
|
+
* @param args - command input.
|
|
359
|
+
* @param paginationConfig - optional pagination config.
|
|
360
|
+
* @returns AsyncIterable of {@link ListKxChangesetsCommandOutput}.
|
|
361
|
+
*/
|
|
362
|
+
paginateListKxChangesets(args: ListKxChangesetsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListKxChangesetsCommandOutput>;
|
|
363
|
+
/**
|
|
364
|
+
* @see {@link ListKxClusterNodesCommand}
|
|
365
|
+
* @param args - command input.
|
|
366
|
+
* @param paginationConfig - optional pagination config.
|
|
367
|
+
* @returns AsyncIterable of {@link ListKxClusterNodesCommandOutput}.
|
|
368
|
+
*/
|
|
369
|
+
paginateListKxClusterNodes(args: ListKxClusterNodesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListKxClusterNodesCommandOutput>;
|
|
370
|
+
/**
|
|
371
|
+
* @see {@link ListKxDatabasesCommand}
|
|
372
|
+
* @param args - command input.
|
|
373
|
+
* @param paginationConfig - optional pagination config.
|
|
374
|
+
* @returns AsyncIterable of {@link ListKxDatabasesCommandOutput}.
|
|
375
|
+
*/
|
|
376
|
+
paginateListKxDatabases(args: ListKxDatabasesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListKxDatabasesCommandOutput>;
|
|
377
|
+
/**
|
|
378
|
+
* @see {@link ListKxDataviewsCommand}
|
|
379
|
+
* @param args - command input.
|
|
380
|
+
* @param paginationConfig - optional pagination config.
|
|
381
|
+
* @returns AsyncIterable of {@link ListKxDataviewsCommandOutput}.
|
|
382
|
+
*/
|
|
383
|
+
paginateListKxDataviews(args: ListKxDataviewsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListKxDataviewsCommandOutput>;
|
|
384
|
+
/**
|
|
385
|
+
* @see {@link ListKxEnvironmentsCommand}
|
|
386
|
+
* @param args - command input.
|
|
387
|
+
* @param paginationConfig - optional pagination config.
|
|
388
|
+
* @returns AsyncIterable of {@link ListKxEnvironmentsCommandOutput}.
|
|
389
|
+
*/
|
|
390
|
+
paginateListKxEnvironments(args?: ListKxEnvironmentsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListKxEnvironmentsCommandOutput>;
|
|
391
|
+
/**
|
|
392
|
+
* @see {@link ListKxScalingGroupsCommand}
|
|
393
|
+
* @param args - command input.
|
|
394
|
+
* @param paginationConfig - optional pagination config.
|
|
395
|
+
* @returns AsyncIterable of {@link ListKxScalingGroupsCommandOutput}.
|
|
396
|
+
*/
|
|
397
|
+
paginateListKxScalingGroups(args: ListKxScalingGroupsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListKxScalingGroupsCommandOutput>;
|
|
356
398
|
}
|
|
357
399
|
/**
|
|
358
400
|
* <p>The FinSpace management service provides the APIs for managing FinSpace environments.</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
|
CreateEnvironmentCommandInput,
|
|
4
8
|
CreateEnvironmentCommandOutput,
|
|
@@ -853,5 +857,47 @@ export interface Finspace {
|
|
|
853
857
|
options: __HttpHandlerOptions,
|
|
854
858
|
cb: (err: any, data?: UpdateKxVolumeCommandOutput) => void
|
|
855
859
|
): void;
|
|
860
|
+
paginateListKxChangesets(
|
|
861
|
+
args: ListKxChangesetsCommandInput,
|
|
862
|
+
paginationConfig?: Pick<
|
|
863
|
+
PaginationConfiguration,
|
|
864
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
865
|
+
>
|
|
866
|
+
): Paginator<ListKxChangesetsCommandOutput>;
|
|
867
|
+
paginateListKxClusterNodes(
|
|
868
|
+
args: ListKxClusterNodesCommandInput,
|
|
869
|
+
paginationConfig?: Pick<
|
|
870
|
+
PaginationConfiguration,
|
|
871
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
872
|
+
>
|
|
873
|
+
): Paginator<ListKxClusterNodesCommandOutput>;
|
|
874
|
+
paginateListKxDatabases(
|
|
875
|
+
args: ListKxDatabasesCommandInput,
|
|
876
|
+
paginationConfig?: Pick<
|
|
877
|
+
PaginationConfiguration,
|
|
878
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
879
|
+
>
|
|
880
|
+
): Paginator<ListKxDatabasesCommandOutput>;
|
|
881
|
+
paginateListKxDataviews(
|
|
882
|
+
args: ListKxDataviewsCommandInput,
|
|
883
|
+
paginationConfig?: Pick<
|
|
884
|
+
PaginationConfiguration,
|
|
885
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
886
|
+
>
|
|
887
|
+
): Paginator<ListKxDataviewsCommandOutput>;
|
|
888
|
+
paginateListKxEnvironments(
|
|
889
|
+
args?: ListKxEnvironmentsCommandInput,
|
|
890
|
+
paginationConfig?: Pick<
|
|
891
|
+
PaginationConfiguration,
|
|
892
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
893
|
+
>
|
|
894
|
+
): Paginator<ListKxEnvironmentsCommandOutput>;
|
|
895
|
+
paginateListKxScalingGroups(
|
|
896
|
+
args: ListKxScalingGroupsCommandInput,
|
|
897
|
+
paginationConfig?: Pick<
|
|
898
|
+
PaginationConfiguration,
|
|
899
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
900
|
+
>
|
|
901
|
+
): Paginator<ListKxScalingGroupsCommandOutput>;
|
|
856
902
|
}
|
|
857
903
|
export declare class Finspace extends FinspaceClient implements Finspace {}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-finspace",
|
|
3
3
|
"description": "AWS SDK for JavaScript Finspace 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",
|
|
@@ -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",
|