@aws-sdk/client-finspace 3.468.0 → 3.473.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 +13 -13
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { FinspaceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../FinspaceClient";
|
|
5
|
+
import { CreateKxScalingGroupRequest, CreateKxScalingGroupResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link CreateKxScalingGroupCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreateKxScalingGroupCommandInput extends CreateKxScalingGroupRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreateKxScalingGroupCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateKxScalingGroupCommandOutput extends CreateKxScalingGroupResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Creates a new scaling group. </p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { FinspaceClient, CreateKxScalingGroupCommand } from "@aws-sdk/client-finspace"; // ES Modules import
|
|
31
|
+
* // const { FinspaceClient, CreateKxScalingGroupCommand } = require("@aws-sdk/client-finspace"); // CommonJS import
|
|
32
|
+
* const client = new FinspaceClient(config);
|
|
33
|
+
* const input = { // CreateKxScalingGroupRequest
|
|
34
|
+
* clientToken: "STRING_VALUE", // required
|
|
35
|
+
* environmentId: "STRING_VALUE", // required
|
|
36
|
+
* scalingGroupName: "STRING_VALUE", // required
|
|
37
|
+
* hostType: "STRING_VALUE", // required
|
|
38
|
+
* availabilityZoneId: "STRING_VALUE", // required
|
|
39
|
+
* tags: { // TagMap
|
|
40
|
+
* "<keys>": "STRING_VALUE",
|
|
41
|
+
* },
|
|
42
|
+
* };
|
|
43
|
+
* const command = new CreateKxScalingGroupCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // { // CreateKxScalingGroupResponse
|
|
46
|
+
* // environmentId: "STRING_VALUE",
|
|
47
|
+
* // scalingGroupName: "STRING_VALUE",
|
|
48
|
+
* // hostType: "STRING_VALUE",
|
|
49
|
+
* // availabilityZoneId: "STRING_VALUE",
|
|
50
|
+
* // status: "CREATING" || "CREATE_FAILED" || "ACTIVE" || "DELETING" || "DELETED" || "DELETE_FAILED",
|
|
51
|
+
* // lastModifiedTimestamp: new Date("TIMESTAMP"),
|
|
52
|
+
* // createdTimestamp: new Date("TIMESTAMP"),
|
|
53
|
+
* // };
|
|
54
|
+
*
|
|
55
|
+
* ```
|
|
56
|
+
*
|
|
57
|
+
* @param CreateKxScalingGroupCommandInput - {@link CreateKxScalingGroupCommandInput}
|
|
58
|
+
* @returns {@link CreateKxScalingGroupCommandOutput}
|
|
59
|
+
* @see {@link CreateKxScalingGroupCommandInput} for command's `input` shape.
|
|
60
|
+
* @see {@link CreateKxScalingGroupCommandOutput} for command's `response` shape.
|
|
61
|
+
* @see {@link FinspaceClientResolvedConfig | config} for FinspaceClient's `config` shape.
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
64
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link ConflictException} (client fault)
|
|
67
|
+
* <p>There was a conflict with this action, and it could not be completed.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link InternalServerException} (server fault)
|
|
70
|
+
* <p>The request processing has failed because of an unknown error, exception or
|
|
71
|
+
* failure.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link LimitExceededException} (client fault)
|
|
74
|
+
* <p>A service limit or quota is exceeded.</p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
77
|
+
* <p>One or more resources can't be found.</p>
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
80
|
+
* <p>The request was denied due to request throttling.</p>
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link ValidationException} (client fault)
|
|
83
|
+
* <p>The input fails to satisfy the constraints specified by an AWS service.</p>
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link FinspaceServiceException}
|
|
86
|
+
* <p>Base exception class for all service exceptions from Finspace service.</p>
|
|
87
|
+
*
|
|
88
|
+
*/
|
|
89
|
+
export declare class CreateKxScalingGroupCommand extends $Command<CreateKxScalingGroupCommandInput, CreateKxScalingGroupCommandOutput, FinspaceClientResolvedConfig> {
|
|
90
|
+
readonly input: CreateKxScalingGroupCommandInput;
|
|
91
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
92
|
+
/**
|
|
93
|
+
* @public
|
|
94
|
+
*/
|
|
95
|
+
constructor(input: CreateKxScalingGroupCommandInput);
|
|
96
|
+
/**
|
|
97
|
+
* @internal
|
|
98
|
+
*/
|
|
99
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: FinspaceClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateKxScalingGroupCommandInput, CreateKxScalingGroupCommandOutput>;
|
|
100
|
+
/**
|
|
101
|
+
* @internal
|
|
102
|
+
*/
|
|
103
|
+
private serialize;
|
|
104
|
+
/**
|
|
105
|
+
* @internal
|
|
106
|
+
*/
|
|
107
|
+
private deserialize;
|
|
108
|
+
}
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { FinspaceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../FinspaceClient";
|
|
5
|
+
import { CreateKxVolumeRequest, CreateKxVolumeResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link CreateKxVolumeCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreateKxVolumeCommandInput extends CreateKxVolumeRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreateKxVolumeCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateKxVolumeCommandOutput extends CreateKxVolumeResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>
|
|
27
|
+
* Creates a new volume with a specific amount of throughput and storage capacity. </p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { FinspaceClient, CreateKxVolumeCommand } from "@aws-sdk/client-finspace"; // ES Modules import
|
|
32
|
+
* // const { FinspaceClient, CreateKxVolumeCommand } = require("@aws-sdk/client-finspace"); // CommonJS import
|
|
33
|
+
* const client = new FinspaceClient(config);
|
|
34
|
+
* const input = { // CreateKxVolumeRequest
|
|
35
|
+
* clientToken: "STRING_VALUE",
|
|
36
|
+
* environmentId: "STRING_VALUE", // required
|
|
37
|
+
* volumeType: "NAS_1", // required
|
|
38
|
+
* volumeName: "STRING_VALUE", // required
|
|
39
|
+
* description: "STRING_VALUE",
|
|
40
|
+
* nas1Configuration: { // KxNAS1Configuration
|
|
41
|
+
* type: "SSD_1000" || "SSD_250" || "HDD_12",
|
|
42
|
+
* size: Number("int"),
|
|
43
|
+
* },
|
|
44
|
+
* azMode: "SINGLE" || "MULTI", // required
|
|
45
|
+
* availabilityZoneIds: [ // AvailabilityZoneIds // required
|
|
46
|
+
* "STRING_VALUE",
|
|
47
|
+
* ],
|
|
48
|
+
* tags: { // TagMap
|
|
49
|
+
* "<keys>": "STRING_VALUE",
|
|
50
|
+
* },
|
|
51
|
+
* };
|
|
52
|
+
* const command = new CreateKxVolumeCommand(input);
|
|
53
|
+
* const response = await client.send(command);
|
|
54
|
+
* // { // CreateKxVolumeResponse
|
|
55
|
+
* // environmentId: "STRING_VALUE",
|
|
56
|
+
* // volumeName: "STRING_VALUE",
|
|
57
|
+
* // volumeType: "NAS_1",
|
|
58
|
+
* // volumeArn: "STRING_VALUE",
|
|
59
|
+
* // nas1Configuration: { // KxNAS1Configuration
|
|
60
|
+
* // type: "SSD_1000" || "SSD_250" || "HDD_12",
|
|
61
|
+
* // size: Number("int"),
|
|
62
|
+
* // },
|
|
63
|
+
* // status: "CREATING" || "CREATE_FAILED" || "ACTIVE" || "UPDATING" || "UPDATED" || "UPDATE_FAILED" || "DELETING" || "DELETED" || "DELETE_FAILED",
|
|
64
|
+
* // statusReason: "STRING_VALUE",
|
|
65
|
+
* // azMode: "SINGLE" || "MULTI",
|
|
66
|
+
* // description: "STRING_VALUE",
|
|
67
|
+
* // availabilityZoneIds: [ // AvailabilityZoneIds
|
|
68
|
+
* // "STRING_VALUE",
|
|
69
|
+
* // ],
|
|
70
|
+
* // createdTimestamp: new Date("TIMESTAMP"),
|
|
71
|
+
* // };
|
|
72
|
+
*
|
|
73
|
+
* ```
|
|
74
|
+
*
|
|
75
|
+
* @param CreateKxVolumeCommandInput - {@link CreateKxVolumeCommandInput}
|
|
76
|
+
* @returns {@link CreateKxVolumeCommandOutput}
|
|
77
|
+
* @see {@link CreateKxVolumeCommandInput} for command's `input` shape.
|
|
78
|
+
* @see {@link CreateKxVolumeCommandOutput} for command's `response` shape.
|
|
79
|
+
* @see {@link FinspaceClientResolvedConfig | config} for FinspaceClient's `config` shape.
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
82
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link ConflictException} (client fault)
|
|
85
|
+
* <p>There was a conflict with this action, and it could not be completed.</p>
|
|
86
|
+
*
|
|
87
|
+
* @throws {@link InternalServerException} (server fault)
|
|
88
|
+
* <p>The request processing has failed because of an unknown error, exception or
|
|
89
|
+
* failure.</p>
|
|
90
|
+
*
|
|
91
|
+
* @throws {@link LimitExceededException} (client fault)
|
|
92
|
+
* <p>A service limit or quota is exceeded.</p>
|
|
93
|
+
*
|
|
94
|
+
* @throws {@link ResourceAlreadyExistsException} (client fault)
|
|
95
|
+
* <p>The specified resource group already exists.</p>
|
|
96
|
+
*
|
|
97
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
98
|
+
* <p>One or more resources can't be found.</p>
|
|
99
|
+
*
|
|
100
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
101
|
+
* <p>The request was denied due to request throttling.</p>
|
|
102
|
+
*
|
|
103
|
+
* @throws {@link ValidationException} (client fault)
|
|
104
|
+
* <p>The input fails to satisfy the constraints specified by an AWS service.</p>
|
|
105
|
+
*
|
|
106
|
+
* @throws {@link FinspaceServiceException}
|
|
107
|
+
* <p>Base exception class for all service exceptions from Finspace service.</p>
|
|
108
|
+
*
|
|
109
|
+
*/
|
|
110
|
+
export declare class CreateKxVolumeCommand extends $Command<CreateKxVolumeCommandInput, CreateKxVolumeCommandOutput, FinspaceClientResolvedConfig> {
|
|
111
|
+
readonly input: CreateKxVolumeCommandInput;
|
|
112
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
113
|
+
/**
|
|
114
|
+
* @public
|
|
115
|
+
*/
|
|
116
|
+
constructor(input: CreateKxVolumeCommandInput);
|
|
117
|
+
/**
|
|
118
|
+
* @internal
|
|
119
|
+
*/
|
|
120
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: FinspaceClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateKxVolumeCommandInput, CreateKxVolumeCommandOutput>;
|
|
121
|
+
/**
|
|
122
|
+
* @internal
|
|
123
|
+
*/
|
|
124
|
+
private serialize;
|
|
125
|
+
/**
|
|
126
|
+
* @internal
|
|
127
|
+
*/
|
|
128
|
+
private deserialize;
|
|
129
|
+
}
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { FinspaceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../FinspaceClient";
|
|
5
|
+
import { DeleteKxDataviewRequest, DeleteKxDataviewResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DeleteKxDataviewCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeleteKxDataviewCommandInput extends DeleteKxDataviewRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeleteKxDataviewCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteKxDataviewCommandOutput extends DeleteKxDataviewResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>
|
|
27
|
+
* Deletes the specified dataview. Before deleting a dataview, make sure that it is not in use by any cluster. </p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { FinspaceClient, DeleteKxDataviewCommand } from "@aws-sdk/client-finspace"; // ES Modules import
|
|
32
|
+
* // const { FinspaceClient, DeleteKxDataviewCommand } = require("@aws-sdk/client-finspace"); // CommonJS import
|
|
33
|
+
* const client = new FinspaceClient(config);
|
|
34
|
+
* const input = { // DeleteKxDataviewRequest
|
|
35
|
+
* environmentId: "STRING_VALUE", // required
|
|
36
|
+
* databaseName: "STRING_VALUE", // required
|
|
37
|
+
* dataviewName: "STRING_VALUE", // required
|
|
38
|
+
* clientToken: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
40
|
+
* const command = new DeleteKxDataviewCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // {};
|
|
43
|
+
*
|
|
44
|
+
* ```
|
|
45
|
+
*
|
|
46
|
+
* @param DeleteKxDataviewCommandInput - {@link DeleteKxDataviewCommandInput}
|
|
47
|
+
* @returns {@link DeleteKxDataviewCommandOutput}
|
|
48
|
+
* @see {@link DeleteKxDataviewCommandInput} for command's `input` shape.
|
|
49
|
+
* @see {@link DeleteKxDataviewCommandOutput} for command's `response` shape.
|
|
50
|
+
* @see {@link FinspaceClientResolvedConfig | config} for FinspaceClient's `config` shape.
|
|
51
|
+
*
|
|
52
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
53
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
54
|
+
*
|
|
55
|
+
* @throws {@link ConflictException} (client fault)
|
|
56
|
+
* <p>There was a conflict with this action, and it could not be completed.</p>
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link InternalServerException} (server fault)
|
|
59
|
+
* <p>The request processing has failed because of an unknown error, exception or
|
|
60
|
+
* failure.</p>
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
63
|
+
* <p>One or more resources can't be found.</p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
66
|
+
* <p>The request was denied due to request throttling.</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link ValidationException} (client fault)
|
|
69
|
+
* <p>The input fails to satisfy the constraints specified by an AWS service.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link FinspaceServiceException}
|
|
72
|
+
* <p>Base exception class for all service exceptions from Finspace service.</p>
|
|
73
|
+
*
|
|
74
|
+
*/
|
|
75
|
+
export declare class DeleteKxDataviewCommand extends $Command<DeleteKxDataviewCommandInput, DeleteKxDataviewCommandOutput, FinspaceClientResolvedConfig> {
|
|
76
|
+
readonly input: DeleteKxDataviewCommandInput;
|
|
77
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
78
|
+
/**
|
|
79
|
+
* @public
|
|
80
|
+
*/
|
|
81
|
+
constructor(input: DeleteKxDataviewCommandInput);
|
|
82
|
+
/**
|
|
83
|
+
* @internal
|
|
84
|
+
*/
|
|
85
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: FinspaceClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteKxDataviewCommandInput, DeleteKxDataviewCommandOutput>;
|
|
86
|
+
/**
|
|
87
|
+
* @internal
|
|
88
|
+
*/
|
|
89
|
+
private serialize;
|
|
90
|
+
/**
|
|
91
|
+
* @internal
|
|
92
|
+
*/
|
|
93
|
+
private deserialize;
|
|
94
|
+
}
|
|
@@ -32,6 +32,7 @@ export interface DeleteKxEnvironmentCommandOutput extends DeleteKxEnvironmentRes
|
|
|
32
32
|
* const client = new FinspaceClient(config);
|
|
33
33
|
* const input = { // DeleteKxEnvironmentRequest
|
|
34
34
|
* environmentId: "STRING_VALUE", // required
|
|
35
|
+
* clientToken: "STRING_VALUE",
|
|
35
36
|
* };
|
|
36
37
|
* const command = new DeleteKxEnvironmentCommand(input);
|
|
37
38
|
* const response = await client.send(command);
|
|
@@ -48,6 +49,9 @@ export interface DeleteKxEnvironmentCommandOutput extends DeleteKxEnvironmentRes
|
|
|
48
49
|
* @throws {@link AccessDeniedException} (client fault)
|
|
49
50
|
* <p>You do not have sufficient access to perform this action.</p>
|
|
50
51
|
*
|
|
52
|
+
* @throws {@link ConflictException} (client fault)
|
|
53
|
+
* <p>There was a conflict with this action, and it could not be completed.</p>
|
|
54
|
+
*
|
|
51
55
|
* @throws {@link InternalServerException} (server fault)
|
|
52
56
|
* <p>The request processing has failed because of an unknown error, exception or
|
|
53
57
|
* failure.</p>
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { FinspaceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../FinspaceClient";
|
|
5
|
+
import { DeleteKxScalingGroupRequest, DeleteKxScalingGroupResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DeleteKxScalingGroupCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeleteKxScalingGroupCommandInput extends DeleteKxScalingGroupRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeleteKxScalingGroupCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteKxScalingGroupCommandOutput extends DeleteKxScalingGroupResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>
|
|
27
|
+
* Deletes the specified scaling group. This action is irreversible. You cannot delete a scaling group until all the clusters running on it have been deleted.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { FinspaceClient, DeleteKxScalingGroupCommand } from "@aws-sdk/client-finspace"; // ES Modules import
|
|
32
|
+
* // const { FinspaceClient, DeleteKxScalingGroupCommand } = require("@aws-sdk/client-finspace"); // CommonJS import
|
|
33
|
+
* const client = new FinspaceClient(config);
|
|
34
|
+
* const input = { // DeleteKxScalingGroupRequest
|
|
35
|
+
* environmentId: "STRING_VALUE", // required
|
|
36
|
+
* scalingGroupName: "STRING_VALUE", // required
|
|
37
|
+
* clientToken: "STRING_VALUE",
|
|
38
|
+
* };
|
|
39
|
+
* const command = new DeleteKxScalingGroupCommand(input);
|
|
40
|
+
* const response = await client.send(command);
|
|
41
|
+
* // {};
|
|
42
|
+
*
|
|
43
|
+
* ```
|
|
44
|
+
*
|
|
45
|
+
* @param DeleteKxScalingGroupCommandInput - {@link DeleteKxScalingGroupCommandInput}
|
|
46
|
+
* @returns {@link DeleteKxScalingGroupCommandOutput}
|
|
47
|
+
* @see {@link DeleteKxScalingGroupCommandInput} for command's `input` shape.
|
|
48
|
+
* @see {@link DeleteKxScalingGroupCommandOutput} for command's `response` shape.
|
|
49
|
+
* @see {@link FinspaceClientResolvedConfig | config} for FinspaceClient's `config` shape.
|
|
50
|
+
*
|
|
51
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
52
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
53
|
+
*
|
|
54
|
+
* @throws {@link ConflictException} (client fault)
|
|
55
|
+
* <p>There was a conflict with this action, and it could not be completed.</p>
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link InternalServerException} (server fault)
|
|
58
|
+
* <p>The request processing has failed because of an unknown error, exception or
|
|
59
|
+
* failure.</p>
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link LimitExceededException} (client fault)
|
|
62
|
+
* <p>A service limit or quota is exceeded.</p>
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
65
|
+
* <p>One or more resources can't be found.</p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
68
|
+
* <p>The request was denied due to request throttling.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link ValidationException} (client fault)
|
|
71
|
+
* <p>The input fails to satisfy the constraints specified by an AWS service.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link FinspaceServiceException}
|
|
74
|
+
* <p>Base exception class for all service exceptions from Finspace service.</p>
|
|
75
|
+
*
|
|
76
|
+
*/
|
|
77
|
+
export declare class DeleteKxScalingGroupCommand extends $Command<DeleteKxScalingGroupCommandInput, DeleteKxScalingGroupCommandOutput, FinspaceClientResolvedConfig> {
|
|
78
|
+
readonly input: DeleteKxScalingGroupCommandInput;
|
|
79
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
80
|
+
/**
|
|
81
|
+
* @public
|
|
82
|
+
*/
|
|
83
|
+
constructor(input: DeleteKxScalingGroupCommandInput);
|
|
84
|
+
/**
|
|
85
|
+
* @internal
|
|
86
|
+
*/
|
|
87
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: FinspaceClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteKxScalingGroupCommandInput, DeleteKxScalingGroupCommandOutput>;
|
|
88
|
+
/**
|
|
89
|
+
* @internal
|
|
90
|
+
*/
|
|
91
|
+
private serialize;
|
|
92
|
+
/**
|
|
93
|
+
* @internal
|
|
94
|
+
*/
|
|
95
|
+
private deserialize;
|
|
96
|
+
}
|
|
@@ -33,6 +33,7 @@ export interface DeleteKxUserCommandOutput extends DeleteKxUserResponse, __Metad
|
|
|
33
33
|
* const input = { // DeleteKxUserRequest
|
|
34
34
|
* userName: "STRING_VALUE", // required
|
|
35
35
|
* environmentId: "STRING_VALUE", // required
|
|
36
|
+
* clientToken: "STRING_VALUE",
|
|
36
37
|
* };
|
|
37
38
|
* const command = new DeleteKxUserCommand(input);
|
|
38
39
|
* const response = await client.send(command);
|
|
@@ -49,6 +50,9 @@ export interface DeleteKxUserCommandOutput extends DeleteKxUserResponse, __Metad
|
|
|
49
50
|
* @throws {@link AccessDeniedException} (client fault)
|
|
50
51
|
* <p>You do not have sufficient access to perform this action.</p>
|
|
51
52
|
*
|
|
53
|
+
* @throws {@link ConflictException} (client fault)
|
|
54
|
+
* <p>There was a conflict with this action, and it could not be completed.</p>
|
|
55
|
+
*
|
|
52
56
|
* @throws {@link InternalServerException} (server fault)
|
|
53
57
|
* <p>The request processing has failed because of an unknown error, exception or
|
|
54
58
|
* failure.</p>
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { FinspaceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../FinspaceClient";
|
|
5
|
+
import { DeleteKxVolumeRequest, DeleteKxVolumeResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DeleteKxVolumeCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeleteKxVolumeCommandInput extends DeleteKxVolumeRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeleteKxVolumeCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteKxVolumeCommandOutput extends DeleteKxVolumeResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>
|
|
27
|
+
* Deletes a volume. You can only delete a volume if it's not attached to a cluster or a dataview. When a volume is deleted, any data on the volume is lost. This action is irreversible.
|
|
28
|
+
*
|
|
29
|
+
* </p>
|
|
30
|
+
* @example
|
|
31
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
32
|
+
* ```javascript
|
|
33
|
+
* import { FinspaceClient, DeleteKxVolumeCommand } from "@aws-sdk/client-finspace"; // ES Modules import
|
|
34
|
+
* // const { FinspaceClient, DeleteKxVolumeCommand } = require("@aws-sdk/client-finspace"); // CommonJS import
|
|
35
|
+
* const client = new FinspaceClient(config);
|
|
36
|
+
* const input = { // DeleteKxVolumeRequest
|
|
37
|
+
* environmentId: "STRING_VALUE", // required
|
|
38
|
+
* volumeName: "STRING_VALUE", // required
|
|
39
|
+
* clientToken: "STRING_VALUE",
|
|
40
|
+
* };
|
|
41
|
+
* const command = new DeleteKxVolumeCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* // {};
|
|
44
|
+
*
|
|
45
|
+
* ```
|
|
46
|
+
*
|
|
47
|
+
* @param DeleteKxVolumeCommandInput - {@link DeleteKxVolumeCommandInput}
|
|
48
|
+
* @returns {@link DeleteKxVolumeCommandOutput}
|
|
49
|
+
* @see {@link DeleteKxVolumeCommandInput} for command's `input` shape.
|
|
50
|
+
* @see {@link DeleteKxVolumeCommandOutput} for command's `response` shape.
|
|
51
|
+
* @see {@link FinspaceClientResolvedConfig | config} for FinspaceClient's `config` shape.
|
|
52
|
+
*
|
|
53
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
54
|
+
* <p>You do not have sufficient access to perform this action.</p>
|
|
55
|
+
*
|
|
56
|
+
* @throws {@link ConflictException} (client fault)
|
|
57
|
+
* <p>There was a conflict with this action, and it could not be completed.</p>
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link InternalServerException} (server fault)
|
|
60
|
+
* <p>The request processing has failed because of an unknown error, exception or
|
|
61
|
+
* failure.</p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link LimitExceededException} (client fault)
|
|
64
|
+
* <p>A service limit or quota is exceeded.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
67
|
+
* <p>One or more resources can't be found.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
70
|
+
* <p>The request was denied due to request throttling.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link ValidationException} (client fault)
|
|
73
|
+
* <p>The input fails to satisfy the constraints specified by an AWS service.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link FinspaceServiceException}
|
|
76
|
+
* <p>Base exception class for all service exceptions from Finspace service.</p>
|
|
77
|
+
*
|
|
78
|
+
*/
|
|
79
|
+
export declare class DeleteKxVolumeCommand extends $Command<DeleteKxVolumeCommandInput, DeleteKxVolumeCommandOutput, FinspaceClientResolvedConfig> {
|
|
80
|
+
readonly input: DeleteKxVolumeCommandInput;
|
|
81
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
82
|
+
/**
|
|
83
|
+
* @public
|
|
84
|
+
*/
|
|
85
|
+
constructor(input: DeleteKxVolumeCommandInput);
|
|
86
|
+
/**
|
|
87
|
+
* @internal
|
|
88
|
+
*/
|
|
89
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: FinspaceClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteKxVolumeCommandInput, DeleteKxVolumeCommandOutput>;
|
|
90
|
+
/**
|
|
91
|
+
* @internal
|
|
92
|
+
*/
|
|
93
|
+
private serialize;
|
|
94
|
+
/**
|
|
95
|
+
* @internal
|
|
96
|
+
*/
|
|
97
|
+
private deserialize;
|
|
98
|
+
}
|
|
@@ -40,7 +40,18 @@ export interface GetKxClusterCommandOutput extends GetKxClusterResponse, __Metad
|
|
|
40
40
|
* // status: "PENDING" || "CREATING" || "CREATE_FAILED" || "RUNNING" || "UPDATING" || "DELETING" || "DELETED" || "DELETE_FAILED",
|
|
41
41
|
* // statusReason: "STRING_VALUE",
|
|
42
42
|
* // clusterName: "STRING_VALUE",
|
|
43
|
-
* // clusterType: "HDB" || "RDB" || "GATEWAY" || "GP",
|
|
43
|
+
* // clusterType: "HDB" || "RDB" || "GATEWAY" || "GP" || "TICKERPLANT",
|
|
44
|
+
* // tickerplantLogConfiguration: { // TickerplantLogConfiguration
|
|
45
|
+
* // tickerplantLogVolumes: [ // TickerplantLogVolumes
|
|
46
|
+
* // "STRING_VALUE",
|
|
47
|
+
* // ],
|
|
48
|
+
* // },
|
|
49
|
+
* // volumes: [ // Volumes
|
|
50
|
+
* // { // Volume
|
|
51
|
+
* // volumeName: "STRING_VALUE",
|
|
52
|
+
* // volumeType: "NAS_1",
|
|
53
|
+
* // },
|
|
54
|
+
* // ],
|
|
44
55
|
* // databases: [ // KxDatabaseConfigurations
|
|
45
56
|
* // { // KxDatabaseConfiguration
|
|
46
57
|
* // databaseName: "STRING_VALUE", // required
|
|
@@ -50,9 +61,24 @@ export interface GetKxClusterCommandOutput extends GetKxClusterResponse, __Metad
|
|
|
50
61
|
* // dbPaths: [ // DbPaths // required
|
|
51
62
|
* // "STRING_VALUE",
|
|
52
63
|
* // ],
|
|
64
|
+
* // dataviewName: "STRING_VALUE",
|
|
53
65
|
* // },
|
|
54
66
|
* // ],
|
|
55
67
|
* // changesetId: "STRING_VALUE",
|
|
68
|
+
* // dataviewName: "STRING_VALUE",
|
|
69
|
+
* // dataviewConfiguration: { // KxDataviewConfiguration
|
|
70
|
+
* // dataviewName: "STRING_VALUE",
|
|
71
|
+
* // dataviewVersionId: "STRING_VALUE",
|
|
72
|
+
* // changesetId: "STRING_VALUE",
|
|
73
|
+
* // segmentConfigurations: [ // KxDataviewSegmentConfigurationList
|
|
74
|
+
* // { // KxDataviewSegmentConfiguration
|
|
75
|
+
* // dbPaths: [ // SegmentConfigurationDbPathList // required
|
|
76
|
+
* // "STRING_VALUE",
|
|
77
|
+
* // ],
|
|
78
|
+
* // volumeName: "STRING_VALUE", // required
|
|
79
|
+
* // },
|
|
80
|
+
* // ],
|
|
81
|
+
* // },
|
|
56
82
|
* // },
|
|
57
83
|
* // ],
|
|
58
84
|
* // cacheStorageConfigurations: [ // KxCacheStorageConfigurations
|
|
@@ -100,12 +126,20 @@ export interface GetKxClusterCommandOutput extends GetKxClusterResponse, __Metad
|
|
|
100
126
|
* // executionRole: "STRING_VALUE",
|
|
101
127
|
* // lastModifiedTimestamp: new Date("TIMESTAMP"),
|
|
102
128
|
* // savedownStorageConfiguration: { // KxSavedownStorageConfiguration
|
|
103
|
-
* // type: "SDS01",
|
|
104
|
-
* // size: Number("int"),
|
|
129
|
+
* // type: "SDS01",
|
|
130
|
+
* // size: Number("int"),
|
|
131
|
+
* // volumeName: "STRING_VALUE",
|
|
105
132
|
* // },
|
|
106
133
|
* // azMode: "SINGLE" || "MULTI",
|
|
107
134
|
* // availabilityZoneId: "STRING_VALUE",
|
|
108
135
|
* // createdTimestamp: new Date("TIMESTAMP"),
|
|
136
|
+
* // scalingGroupConfiguration: { // KxScalingGroupConfiguration
|
|
137
|
+
* // scalingGroupName: "STRING_VALUE", // required
|
|
138
|
+
* // memoryLimit: Number("int"),
|
|
139
|
+
* // memoryReservation: Number("int"), // required
|
|
140
|
+
* // nodeCount: Number("int"), // required
|
|
141
|
+
* // cpu: Number("double"),
|
|
142
|
+
* // },
|
|
109
143
|
* // };
|
|
110
144
|
*
|
|
111
145
|
* ```
|