@aws-sdk/client-finspace 3.466.0 → 3.470.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/README.md +112 -0
- package/dist-cjs/Finspace.js +28 -0
- package/dist-cjs/commands/CreateKxDataviewCommand.js +51 -0
- package/dist-cjs/commands/CreateKxScalingGroupCommand.js +51 -0
- package/dist-cjs/commands/CreateKxVolumeCommand.js +51 -0
- package/dist-cjs/commands/DeleteKxDataviewCommand.js +51 -0
- package/dist-cjs/commands/DeleteKxScalingGroupCommand.js +51 -0
- package/dist-cjs/commands/DeleteKxVolumeCommand.js +51 -0
- package/dist-cjs/commands/GetKxDataviewCommand.js +51 -0
- package/dist-cjs/commands/GetKxScalingGroupCommand.js +51 -0
- package/dist-cjs/commands/GetKxVolumeCommand.js +51 -0
- package/dist-cjs/commands/ListKxDataviewsCommand.js +51 -0
- package/dist-cjs/commands/ListKxScalingGroupsCommand.js +51 -0
- package/dist-cjs/commands/ListKxVolumesCommand.js +51 -0
- package/dist-cjs/commands/UpdateKxDataviewCommand.js +51 -0
- package/dist-cjs/commands/UpdateKxVolumeCommand.js +51 -0
- package/dist-cjs/commands/index.js +14 -0
- package/dist-cjs/models/models_0.js +39 -1
- package/dist-cjs/pagination/ListKxDataviewsPaginator.js +29 -0
- package/dist-cjs/pagination/ListKxScalingGroupsPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +2 -0
- package/dist-cjs/protocols/Aws_restJson1.js +1477 -207
- package/dist-es/Finspace.js +28 -0
- package/dist-es/commands/CreateKxDataviewCommand.js +47 -0
- package/dist-es/commands/CreateKxScalingGroupCommand.js +47 -0
- package/dist-es/commands/CreateKxVolumeCommand.js +47 -0
- package/dist-es/commands/DeleteKxDataviewCommand.js +47 -0
- package/dist-es/commands/DeleteKxScalingGroupCommand.js +47 -0
- package/dist-es/commands/DeleteKxVolumeCommand.js +47 -0
- package/dist-es/commands/GetKxDataviewCommand.js +47 -0
- package/dist-es/commands/GetKxScalingGroupCommand.js +47 -0
- package/dist-es/commands/GetKxVolumeCommand.js +47 -0
- package/dist-es/commands/ListKxDataviewsCommand.js +47 -0
- package/dist-es/commands/ListKxScalingGroupsCommand.js +47 -0
- package/dist-es/commands/ListKxVolumesCommand.js +47 -0
- package/dist-es/commands/UpdateKxDataviewCommand.js +47 -0
- package/dist-es/commands/UpdateKxVolumeCommand.js +47 -0
- package/dist-es/commands/index.js +14 -0
- package/dist-es/models/models_0.js +38 -0
- package/dist-es/pagination/ListKxDataviewsPaginator.js +25 -0
- package/dist-es/pagination/ListKxScalingGroupsPaginator.js +25 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +1397 -155
- package/dist-types/Finspace.d.ts +98 -0
- package/dist-types/FinspaceClient.d.ts +16 -2
- package/dist-types/commands/CreateKxClusterCommand.d.ts +68 -6
- package/dist-types/commands/CreateKxDataviewCommand.d.ts +136 -0
- package/dist-types/commands/CreateKxScalingGroupCommand.d.ts +108 -0
- package/dist-types/commands/CreateKxVolumeCommand.d.ts +129 -0
- package/dist-types/commands/DeleteKxDataviewCommand.d.ts +94 -0
- package/dist-types/commands/DeleteKxEnvironmentCommand.d.ts +4 -0
- package/dist-types/commands/DeleteKxScalingGroupCommand.d.ts +96 -0
- package/dist-types/commands/DeleteKxUserCommand.d.ts +4 -0
- package/dist-types/commands/DeleteKxVolumeCommand.d.ts +98 -0
- package/dist-types/commands/GetKxClusterCommand.d.ts +37 -3
- package/dist-types/commands/GetKxDataviewCommand.d.ts +130 -0
- package/dist-types/commands/GetKxEnvironmentCommand.d.ts +3 -0
- package/dist-types/commands/GetKxScalingGroupCommand.d.ts +107 -0
- package/dist-types/commands/GetKxVolumeCommand.d.ts +120 -0
- package/dist-types/commands/ListEnvironmentsCommand.d.ts +3 -0
- package/dist-types/commands/ListKxClustersCommand.d.ts +8 -2
- package/dist-types/commands/ListKxDataviewsCommand.d.ts +135 -0
- package/dist-types/commands/ListKxEnvironmentsCommand.d.ts +3 -0
- package/dist-types/commands/ListKxScalingGroupsCommand.d.ts +112 -0
- package/dist-types/commands/ListKxVolumesCommand.d.ts +115 -0
- package/dist-types/commands/UpdateKxClusterDatabasesCommand.d.ts +15 -0
- package/dist-types/commands/UpdateKxDataviewCommand.d.ts +145 -0
- package/dist-types/commands/UpdateKxVolumeCommand.d.ts +128 -0
- package/dist-types/commands/index.d.ts +14 -0
- package/dist-types/models/models_0.d.ts +2214 -214
- package/dist-types/pagination/ListKxDataviewsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListKxScalingGroupsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +126 -0
- package/dist-types/ts3.4/Finspace.d.ts +238 -0
- package/dist-types/ts3.4/FinspaceClient.d.ts +86 -2
- package/dist-types/ts3.4/commands/CreateKxDataviewCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/CreateKxScalingGroupCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/CreateKxVolumeCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteKxDataviewCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteKxScalingGroupCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DeleteKxVolumeCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetKxDataviewCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetKxScalingGroupCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/GetKxVolumeCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/ListKxDataviewsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListKxScalingGroupsCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListKxVolumesCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UpdateKxDataviewCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UpdateKxVolumeCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/index.d.ts +14 -0
- package/dist-types/ts3.4/models/models_0.d.ts +360 -4
- package/dist-types/ts3.4/pagination/ListKxDataviewsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListKxScalingGroupsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +168 -0
- package/package.json +34 -34
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetKxDataviewCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
9
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
+
class GetKxDataviewCommand extends smithy_client_1.Command {
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
constructor(input) {
|
|
20
|
+
super();
|
|
21
|
+
this.input = input;
|
|
22
|
+
}
|
|
23
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
24
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
25
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetKxDataviewCommand.getEndpointParameterInstructions()));
|
|
26
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
27
|
+
const { logger } = configuration;
|
|
28
|
+
const clientName = "FinspaceClient";
|
|
29
|
+
const commandName = "GetKxDataviewCommand";
|
|
30
|
+
const handlerExecutionContext = {
|
|
31
|
+
logger,
|
|
32
|
+
clientName,
|
|
33
|
+
commandName,
|
|
34
|
+
inputFilterSensitiveLog: (_) => _,
|
|
35
|
+
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "AWSHabaneroManagementService",
|
|
38
|
+
operation: "GetKxDataview",
|
|
39
|
+
},
|
|
40
|
+
};
|
|
41
|
+
const { requestHandler } = configuration;
|
|
42
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
+
}
|
|
44
|
+
serialize(input, context) {
|
|
45
|
+
return (0, Aws_restJson1_1.se_GetKxDataviewCommand)(input, context);
|
|
46
|
+
}
|
|
47
|
+
deserialize(output, context) {
|
|
48
|
+
return (0, Aws_restJson1_1.de_GetKxDataviewCommand)(output, context);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
exports.GetKxDataviewCommand = GetKxDataviewCommand;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetKxScalingGroupCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
9
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
+
class GetKxScalingGroupCommand extends smithy_client_1.Command {
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
constructor(input) {
|
|
20
|
+
super();
|
|
21
|
+
this.input = input;
|
|
22
|
+
}
|
|
23
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
24
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
25
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetKxScalingGroupCommand.getEndpointParameterInstructions()));
|
|
26
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
27
|
+
const { logger } = configuration;
|
|
28
|
+
const clientName = "FinspaceClient";
|
|
29
|
+
const commandName = "GetKxScalingGroupCommand";
|
|
30
|
+
const handlerExecutionContext = {
|
|
31
|
+
logger,
|
|
32
|
+
clientName,
|
|
33
|
+
commandName,
|
|
34
|
+
inputFilterSensitiveLog: (_) => _,
|
|
35
|
+
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "AWSHabaneroManagementService",
|
|
38
|
+
operation: "GetKxScalingGroup",
|
|
39
|
+
},
|
|
40
|
+
};
|
|
41
|
+
const { requestHandler } = configuration;
|
|
42
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
+
}
|
|
44
|
+
serialize(input, context) {
|
|
45
|
+
return (0, Aws_restJson1_1.se_GetKxScalingGroupCommand)(input, context);
|
|
46
|
+
}
|
|
47
|
+
deserialize(output, context) {
|
|
48
|
+
return (0, Aws_restJson1_1.de_GetKxScalingGroupCommand)(output, context);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
exports.GetKxScalingGroupCommand = GetKxScalingGroupCommand;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetKxVolumeCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
9
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
+
class GetKxVolumeCommand extends smithy_client_1.Command {
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
constructor(input) {
|
|
20
|
+
super();
|
|
21
|
+
this.input = input;
|
|
22
|
+
}
|
|
23
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
24
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
25
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetKxVolumeCommand.getEndpointParameterInstructions()));
|
|
26
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
27
|
+
const { logger } = configuration;
|
|
28
|
+
const clientName = "FinspaceClient";
|
|
29
|
+
const commandName = "GetKxVolumeCommand";
|
|
30
|
+
const handlerExecutionContext = {
|
|
31
|
+
logger,
|
|
32
|
+
clientName,
|
|
33
|
+
commandName,
|
|
34
|
+
inputFilterSensitiveLog: (_) => _,
|
|
35
|
+
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "AWSHabaneroManagementService",
|
|
38
|
+
operation: "GetKxVolume",
|
|
39
|
+
},
|
|
40
|
+
};
|
|
41
|
+
const { requestHandler } = configuration;
|
|
42
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
+
}
|
|
44
|
+
serialize(input, context) {
|
|
45
|
+
return (0, Aws_restJson1_1.se_GetKxVolumeCommand)(input, context);
|
|
46
|
+
}
|
|
47
|
+
deserialize(output, context) {
|
|
48
|
+
return (0, Aws_restJson1_1.de_GetKxVolumeCommand)(output, context);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
exports.GetKxVolumeCommand = GetKxVolumeCommand;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListKxDataviewsCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
9
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
+
class ListKxDataviewsCommand extends smithy_client_1.Command {
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
constructor(input) {
|
|
20
|
+
super();
|
|
21
|
+
this.input = input;
|
|
22
|
+
}
|
|
23
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
24
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
25
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListKxDataviewsCommand.getEndpointParameterInstructions()));
|
|
26
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
27
|
+
const { logger } = configuration;
|
|
28
|
+
const clientName = "FinspaceClient";
|
|
29
|
+
const commandName = "ListKxDataviewsCommand";
|
|
30
|
+
const handlerExecutionContext = {
|
|
31
|
+
logger,
|
|
32
|
+
clientName,
|
|
33
|
+
commandName,
|
|
34
|
+
inputFilterSensitiveLog: (_) => _,
|
|
35
|
+
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "AWSHabaneroManagementService",
|
|
38
|
+
operation: "ListKxDataviews",
|
|
39
|
+
},
|
|
40
|
+
};
|
|
41
|
+
const { requestHandler } = configuration;
|
|
42
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
+
}
|
|
44
|
+
serialize(input, context) {
|
|
45
|
+
return (0, Aws_restJson1_1.se_ListKxDataviewsCommand)(input, context);
|
|
46
|
+
}
|
|
47
|
+
deserialize(output, context) {
|
|
48
|
+
return (0, Aws_restJson1_1.de_ListKxDataviewsCommand)(output, context);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
exports.ListKxDataviewsCommand = ListKxDataviewsCommand;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListKxScalingGroupsCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
9
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
+
class ListKxScalingGroupsCommand extends smithy_client_1.Command {
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
constructor(input) {
|
|
20
|
+
super();
|
|
21
|
+
this.input = input;
|
|
22
|
+
}
|
|
23
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
24
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
25
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListKxScalingGroupsCommand.getEndpointParameterInstructions()));
|
|
26
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
27
|
+
const { logger } = configuration;
|
|
28
|
+
const clientName = "FinspaceClient";
|
|
29
|
+
const commandName = "ListKxScalingGroupsCommand";
|
|
30
|
+
const handlerExecutionContext = {
|
|
31
|
+
logger,
|
|
32
|
+
clientName,
|
|
33
|
+
commandName,
|
|
34
|
+
inputFilterSensitiveLog: (_) => _,
|
|
35
|
+
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "AWSHabaneroManagementService",
|
|
38
|
+
operation: "ListKxScalingGroups",
|
|
39
|
+
},
|
|
40
|
+
};
|
|
41
|
+
const { requestHandler } = configuration;
|
|
42
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
+
}
|
|
44
|
+
serialize(input, context) {
|
|
45
|
+
return (0, Aws_restJson1_1.se_ListKxScalingGroupsCommand)(input, context);
|
|
46
|
+
}
|
|
47
|
+
deserialize(output, context) {
|
|
48
|
+
return (0, Aws_restJson1_1.de_ListKxScalingGroupsCommand)(output, context);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
exports.ListKxScalingGroupsCommand = ListKxScalingGroupsCommand;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListKxVolumesCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
9
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
+
class ListKxVolumesCommand extends smithy_client_1.Command {
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
constructor(input) {
|
|
20
|
+
super();
|
|
21
|
+
this.input = input;
|
|
22
|
+
}
|
|
23
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
24
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
25
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListKxVolumesCommand.getEndpointParameterInstructions()));
|
|
26
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
27
|
+
const { logger } = configuration;
|
|
28
|
+
const clientName = "FinspaceClient";
|
|
29
|
+
const commandName = "ListKxVolumesCommand";
|
|
30
|
+
const handlerExecutionContext = {
|
|
31
|
+
logger,
|
|
32
|
+
clientName,
|
|
33
|
+
commandName,
|
|
34
|
+
inputFilterSensitiveLog: (_) => _,
|
|
35
|
+
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "AWSHabaneroManagementService",
|
|
38
|
+
operation: "ListKxVolumes",
|
|
39
|
+
},
|
|
40
|
+
};
|
|
41
|
+
const { requestHandler } = configuration;
|
|
42
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
+
}
|
|
44
|
+
serialize(input, context) {
|
|
45
|
+
return (0, Aws_restJson1_1.se_ListKxVolumesCommand)(input, context);
|
|
46
|
+
}
|
|
47
|
+
deserialize(output, context) {
|
|
48
|
+
return (0, Aws_restJson1_1.de_ListKxVolumesCommand)(output, context);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
exports.ListKxVolumesCommand = ListKxVolumesCommand;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UpdateKxDataviewCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
9
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
+
class UpdateKxDataviewCommand extends smithy_client_1.Command {
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
constructor(input) {
|
|
20
|
+
super();
|
|
21
|
+
this.input = input;
|
|
22
|
+
}
|
|
23
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
24
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
25
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateKxDataviewCommand.getEndpointParameterInstructions()));
|
|
26
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
27
|
+
const { logger } = configuration;
|
|
28
|
+
const clientName = "FinspaceClient";
|
|
29
|
+
const commandName = "UpdateKxDataviewCommand";
|
|
30
|
+
const handlerExecutionContext = {
|
|
31
|
+
logger,
|
|
32
|
+
clientName,
|
|
33
|
+
commandName,
|
|
34
|
+
inputFilterSensitiveLog: (_) => _,
|
|
35
|
+
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "AWSHabaneroManagementService",
|
|
38
|
+
operation: "UpdateKxDataview",
|
|
39
|
+
},
|
|
40
|
+
};
|
|
41
|
+
const { requestHandler } = configuration;
|
|
42
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
+
}
|
|
44
|
+
serialize(input, context) {
|
|
45
|
+
return (0, Aws_restJson1_1.se_UpdateKxDataviewCommand)(input, context);
|
|
46
|
+
}
|
|
47
|
+
deserialize(output, context) {
|
|
48
|
+
return (0, Aws_restJson1_1.de_UpdateKxDataviewCommand)(output, context);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
exports.UpdateKxDataviewCommand = UpdateKxDataviewCommand;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UpdateKxVolumeCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
9
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
+
class UpdateKxVolumeCommand extends smithy_client_1.Command {
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
constructor(input) {
|
|
20
|
+
super();
|
|
21
|
+
this.input = input;
|
|
22
|
+
}
|
|
23
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
24
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
25
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateKxVolumeCommand.getEndpointParameterInstructions()));
|
|
26
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
27
|
+
const { logger } = configuration;
|
|
28
|
+
const clientName = "FinspaceClient";
|
|
29
|
+
const commandName = "UpdateKxVolumeCommand";
|
|
30
|
+
const handlerExecutionContext = {
|
|
31
|
+
logger,
|
|
32
|
+
clientName,
|
|
33
|
+
commandName,
|
|
34
|
+
inputFilterSensitiveLog: (_) => _,
|
|
35
|
+
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "AWSHabaneroManagementService",
|
|
38
|
+
operation: "UpdateKxVolume",
|
|
39
|
+
},
|
|
40
|
+
};
|
|
41
|
+
const { requestHandler } = configuration;
|
|
42
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
+
}
|
|
44
|
+
serialize(input, context) {
|
|
45
|
+
return (0, Aws_restJson1_1.se_UpdateKxVolumeCommand)(input, context);
|
|
46
|
+
}
|
|
47
|
+
deserialize(output, context) {
|
|
48
|
+
return (0, Aws_restJson1_1.de_UpdateKxVolumeCommand)(output, context);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
exports.UpdateKxVolumeCommand = UpdateKxVolumeCommand;
|
|
@@ -5,27 +5,39 @@ tslib_1.__exportStar(require("./CreateEnvironmentCommand"), exports);
|
|
|
5
5
|
tslib_1.__exportStar(require("./CreateKxChangesetCommand"), exports);
|
|
6
6
|
tslib_1.__exportStar(require("./CreateKxClusterCommand"), exports);
|
|
7
7
|
tslib_1.__exportStar(require("./CreateKxDatabaseCommand"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./CreateKxDataviewCommand"), exports);
|
|
8
9
|
tslib_1.__exportStar(require("./CreateKxEnvironmentCommand"), exports);
|
|
10
|
+
tslib_1.__exportStar(require("./CreateKxScalingGroupCommand"), exports);
|
|
9
11
|
tslib_1.__exportStar(require("./CreateKxUserCommand"), exports);
|
|
12
|
+
tslib_1.__exportStar(require("./CreateKxVolumeCommand"), exports);
|
|
10
13
|
tslib_1.__exportStar(require("./DeleteEnvironmentCommand"), exports);
|
|
11
14
|
tslib_1.__exportStar(require("./DeleteKxClusterCommand"), exports);
|
|
12
15
|
tslib_1.__exportStar(require("./DeleteKxDatabaseCommand"), exports);
|
|
16
|
+
tslib_1.__exportStar(require("./DeleteKxDataviewCommand"), exports);
|
|
13
17
|
tslib_1.__exportStar(require("./DeleteKxEnvironmentCommand"), exports);
|
|
18
|
+
tslib_1.__exportStar(require("./DeleteKxScalingGroupCommand"), exports);
|
|
14
19
|
tslib_1.__exportStar(require("./DeleteKxUserCommand"), exports);
|
|
20
|
+
tslib_1.__exportStar(require("./DeleteKxVolumeCommand"), exports);
|
|
15
21
|
tslib_1.__exportStar(require("./GetEnvironmentCommand"), exports);
|
|
16
22
|
tslib_1.__exportStar(require("./GetKxChangesetCommand"), exports);
|
|
17
23
|
tslib_1.__exportStar(require("./GetKxClusterCommand"), exports);
|
|
18
24
|
tslib_1.__exportStar(require("./GetKxConnectionStringCommand"), exports);
|
|
19
25
|
tslib_1.__exportStar(require("./GetKxDatabaseCommand"), exports);
|
|
26
|
+
tslib_1.__exportStar(require("./GetKxDataviewCommand"), exports);
|
|
20
27
|
tslib_1.__exportStar(require("./GetKxEnvironmentCommand"), exports);
|
|
28
|
+
tslib_1.__exportStar(require("./GetKxScalingGroupCommand"), exports);
|
|
21
29
|
tslib_1.__exportStar(require("./GetKxUserCommand"), exports);
|
|
30
|
+
tslib_1.__exportStar(require("./GetKxVolumeCommand"), exports);
|
|
22
31
|
tslib_1.__exportStar(require("./ListEnvironmentsCommand"), exports);
|
|
23
32
|
tslib_1.__exportStar(require("./ListKxChangesetsCommand"), exports);
|
|
24
33
|
tslib_1.__exportStar(require("./ListKxClusterNodesCommand"), exports);
|
|
25
34
|
tslib_1.__exportStar(require("./ListKxClustersCommand"), exports);
|
|
26
35
|
tslib_1.__exportStar(require("./ListKxDatabasesCommand"), exports);
|
|
36
|
+
tslib_1.__exportStar(require("./ListKxDataviewsCommand"), exports);
|
|
27
37
|
tslib_1.__exportStar(require("./ListKxEnvironmentsCommand"), exports);
|
|
38
|
+
tslib_1.__exportStar(require("./ListKxScalingGroupsCommand"), exports);
|
|
28
39
|
tslib_1.__exportStar(require("./ListKxUsersCommand"), exports);
|
|
40
|
+
tslib_1.__exportStar(require("./ListKxVolumesCommand"), exports);
|
|
29
41
|
tslib_1.__exportStar(require("./ListTagsForResourceCommand"), exports);
|
|
30
42
|
tslib_1.__exportStar(require("./TagResourceCommand"), exports);
|
|
31
43
|
tslib_1.__exportStar(require("./UntagResourceCommand"), exports);
|
|
@@ -33,6 +45,8 @@ tslib_1.__exportStar(require("./UpdateEnvironmentCommand"), exports);
|
|
|
33
45
|
tslib_1.__exportStar(require("./UpdateKxClusterCodeConfigurationCommand"), exports);
|
|
34
46
|
tslib_1.__exportStar(require("./UpdateKxClusterDatabasesCommand"), exports);
|
|
35
47
|
tslib_1.__exportStar(require("./UpdateKxDatabaseCommand"), exports);
|
|
48
|
+
tslib_1.__exportStar(require("./UpdateKxDataviewCommand"), exports);
|
|
36
49
|
tslib_1.__exportStar(require("./UpdateKxEnvironmentCommand"), exports);
|
|
37
50
|
tslib_1.__exportStar(require("./UpdateKxEnvironmentNetworkCommand"), exports);
|
|
38
51
|
tslib_1.__exportStar(require("./UpdateKxUserCommand"), exports);
|
|
52
|
+
tslib_1.__exportStar(require("./UpdateKxVolumeCommand"), exports);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.GetKxConnectionStringResponseFilterSensitiveLog = exports.CreateEnvironmentRequestFilterSensitiveLog = exports.SuperuserParametersFilterSensitiveLog = exports.KxDeploymentStrategy = exports.KxClusterCodeDeploymentStrategy = exports.InvalidRequestException = exports.RuleAction = exports.TgwStatus = exports.DnsStatus = exports.EnvironmentStatus = exports.ResourceAlreadyExistsException = exports.KxClusterStatus = exports.IPAddressType = exports.KxSavedownStorageType = exports.KxClusterType = exports.KxAzMode = exports.ResourceNotFoundException = exports.ChangesetStatus = exports.ErrorDetails = exports.ChangeType = exports.ConflictException = exports.ValidationException = exports.ThrottlingException = exports.ServiceQuotaExceededException = exports.LimitExceededException = exports.InternalServerException = exports.FederationMode = exports.AutoScalingMetric = exports.AccessDeniedException = void 0;
|
|
3
|
+
exports.GetKxConnectionStringResponseFilterSensitiveLog = exports.CreateEnvironmentRequestFilterSensitiveLog = exports.SuperuserParametersFilterSensitiveLog = exports.KxDeploymentStrategy = exports.KxClusterCodeDeploymentStrategy = exports.InvalidRequestException = exports.RuleAction = exports.TgwStatus = exports.DnsStatus = exports.KxVolumeStatus = exports.KxVolumeType = exports.KxNAS1Type = exports.KxScalingGroupStatus = exports.EnvironmentStatus = exports.KxDataviewStatus = exports.ResourceAlreadyExistsException = exports.VolumeType = exports.KxClusterStatus = exports.IPAddressType = exports.KxSavedownStorageType = exports.KxClusterType = exports.KxAzMode = exports.ResourceNotFoundException = exports.ChangesetStatus = exports.ErrorDetails = exports.ChangeType = exports.ConflictException = exports.ValidationException = exports.ThrottlingException = exports.ServiceQuotaExceededException = exports.LimitExceededException = exports.InternalServerException = exports.FederationMode = exports.AutoScalingMetric = exports.AccessDeniedException = void 0;
|
|
4
4
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
5
|
const FinspaceServiceException_1 = require("./FinspaceServiceException");
|
|
6
6
|
class AccessDeniedException extends FinspaceServiceException_1.FinspaceServiceException {
|
|
@@ -144,6 +144,7 @@ exports.KxClusterType = {
|
|
|
144
144
|
GP: "GP",
|
|
145
145
|
HDB: "HDB",
|
|
146
146
|
RDB: "RDB",
|
|
147
|
+
TICKERPLANT: "TICKERPLANT",
|
|
147
148
|
};
|
|
148
149
|
exports.KxSavedownStorageType = {
|
|
149
150
|
SDS01: "SDS01",
|
|
@@ -161,6 +162,9 @@ exports.KxClusterStatus = {
|
|
|
161
162
|
RUNNING: "RUNNING",
|
|
162
163
|
UPDATING: "UPDATING",
|
|
163
164
|
};
|
|
165
|
+
exports.VolumeType = {
|
|
166
|
+
NAS_1: "NAS_1",
|
|
167
|
+
};
|
|
164
168
|
class ResourceAlreadyExistsException extends FinspaceServiceException_1.FinspaceServiceException {
|
|
165
169
|
constructor(opts) {
|
|
166
170
|
super({
|
|
@@ -174,6 +178,13 @@ class ResourceAlreadyExistsException extends FinspaceServiceException_1.Finspace
|
|
|
174
178
|
}
|
|
175
179
|
}
|
|
176
180
|
exports.ResourceAlreadyExistsException = ResourceAlreadyExistsException;
|
|
181
|
+
exports.KxDataviewStatus = {
|
|
182
|
+
ACTIVE: "ACTIVE",
|
|
183
|
+
CREATING: "CREATING",
|
|
184
|
+
DELETING: "DELETING",
|
|
185
|
+
FAILED: "FAILED",
|
|
186
|
+
UPDATING: "UPDATING",
|
|
187
|
+
};
|
|
177
188
|
exports.EnvironmentStatus = {
|
|
178
189
|
CREATED: "CREATED",
|
|
179
190
|
CREATE_REQUESTED: "CREATE_REQUESTED",
|
|
@@ -189,6 +200,33 @@ exports.EnvironmentStatus = {
|
|
|
189
200
|
UPDATE_NETWORK_REQUESTED: "UPDATE_NETWORK_REQUESTED",
|
|
190
201
|
UPDATING_NETWORK: "UPDATING_NETWORK",
|
|
191
202
|
};
|
|
203
|
+
exports.KxScalingGroupStatus = {
|
|
204
|
+
ACTIVE: "ACTIVE",
|
|
205
|
+
CREATE_FAILED: "CREATE_FAILED",
|
|
206
|
+
CREATING: "CREATING",
|
|
207
|
+
DELETED: "DELETED",
|
|
208
|
+
DELETE_FAILED: "DELETE_FAILED",
|
|
209
|
+
DELETING: "DELETING",
|
|
210
|
+
};
|
|
211
|
+
exports.KxNAS1Type = {
|
|
212
|
+
HDD_12: "HDD_12",
|
|
213
|
+
SSD_1000: "SSD_1000",
|
|
214
|
+
SSD_250: "SSD_250",
|
|
215
|
+
};
|
|
216
|
+
exports.KxVolumeType = {
|
|
217
|
+
NAS_1: "NAS_1",
|
|
218
|
+
};
|
|
219
|
+
exports.KxVolumeStatus = {
|
|
220
|
+
ACTIVE: "ACTIVE",
|
|
221
|
+
CREATE_FAILED: "CREATE_FAILED",
|
|
222
|
+
CREATING: "CREATING",
|
|
223
|
+
DELETED: "DELETED",
|
|
224
|
+
DELETE_FAILED: "DELETE_FAILED",
|
|
225
|
+
DELETING: "DELETING",
|
|
226
|
+
UPDATED: "UPDATED",
|
|
227
|
+
UPDATE_FAILED: "UPDATE_FAILED",
|
|
228
|
+
UPDATING: "UPDATING",
|
|
229
|
+
};
|
|
192
230
|
exports.DnsStatus = {
|
|
193
231
|
FAILED_UPDATE: "FAILED_UPDATE",
|
|
194
232
|
NONE: "NONE",
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListKxDataviews = void 0;
|
|
4
|
+
const ListKxDataviewsCommand_1 = require("../commands/ListKxDataviewsCommand");
|
|
5
|
+
const FinspaceClient_1 = require("../FinspaceClient");
|
|
6
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
7
|
+
return await client.send(new ListKxDataviewsCommand_1.ListKxDataviewsCommand(input), ...args);
|
|
8
|
+
};
|
|
9
|
+
async function* paginateListKxDataviews(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 FinspaceClient_1.FinspaceClient) {
|
|
17
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
+
}
|
|
19
|
+
else {
|
|
20
|
+
throw new Error("Invalid client, expected Finspace | FinspaceClient");
|
|
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.paginateListKxDataviews = paginateListKxDataviews;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListKxScalingGroups = void 0;
|
|
4
|
+
const ListKxScalingGroupsCommand_1 = require("../commands/ListKxScalingGroupsCommand");
|
|
5
|
+
const FinspaceClient_1 = require("../FinspaceClient");
|
|
6
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
7
|
+
return await client.send(new ListKxScalingGroupsCommand_1.ListKxScalingGroupsCommand(input), ...args);
|
|
8
|
+
};
|
|
9
|
+
async function* paginateListKxScalingGroups(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 FinspaceClient_1.FinspaceClient) {
|
|
17
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
+
}
|
|
19
|
+
else {
|
|
20
|
+
throw new Error("Invalid client, expected Finspace | FinspaceClient");
|
|
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.paginateListKxScalingGroups = paginateListKxScalingGroups;
|
|
@@ -5,4 +5,6 @@ tslib_1.__exportStar(require("./Interfaces"), exports);
|
|
|
5
5
|
tslib_1.__exportStar(require("./ListKxChangesetsPaginator"), exports);
|
|
6
6
|
tslib_1.__exportStar(require("./ListKxClusterNodesPaginator"), exports);
|
|
7
7
|
tslib_1.__exportStar(require("./ListKxDatabasesPaginator"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./ListKxDataviewsPaginator"), exports);
|
|
8
9
|
tslib_1.__exportStar(require("./ListKxEnvironmentsPaginator"), exports);
|
|
10
|
+
tslib_1.__exportStar(require("./ListKxScalingGroupsPaginator"), exports);
|