@aws-sdk/client-finspace 3.345.0 → 3.346.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.
Files changed (158) hide show
  1. package/README.md +208 -0
  2. package/dist-cjs/Finspace.js +52 -0
  3. package/dist-cjs/commands/CreateKxChangesetCommand.js +46 -0
  4. package/dist-cjs/commands/CreateKxClusterCommand.js +46 -0
  5. package/dist-cjs/commands/CreateKxDatabaseCommand.js +46 -0
  6. package/dist-cjs/commands/CreateKxEnvironmentCommand.js +46 -0
  7. package/dist-cjs/commands/CreateKxUserCommand.js +46 -0
  8. package/dist-cjs/commands/DeleteKxClusterCommand.js +46 -0
  9. package/dist-cjs/commands/DeleteKxDatabaseCommand.js +46 -0
  10. package/dist-cjs/commands/DeleteKxEnvironmentCommand.js +46 -0
  11. package/dist-cjs/commands/DeleteKxUserCommand.js +46 -0
  12. package/dist-cjs/commands/GetKxChangesetCommand.js +46 -0
  13. package/dist-cjs/commands/GetKxClusterCommand.js +46 -0
  14. package/dist-cjs/commands/GetKxConnectionStringCommand.js +47 -0
  15. package/dist-cjs/commands/GetKxDatabaseCommand.js +46 -0
  16. package/dist-cjs/commands/GetKxEnvironmentCommand.js +46 -0
  17. package/dist-cjs/commands/GetKxUserCommand.js +46 -0
  18. package/dist-cjs/commands/ListKxChangesetsCommand.js +46 -0
  19. package/dist-cjs/commands/ListKxClusterNodesCommand.js +46 -0
  20. package/dist-cjs/commands/ListKxClustersCommand.js +46 -0
  21. package/dist-cjs/commands/ListKxDatabasesCommand.js +46 -0
  22. package/dist-cjs/commands/ListKxEnvironmentsCommand.js +46 -0
  23. package/dist-cjs/commands/ListKxUsersCommand.js +46 -0
  24. package/dist-cjs/commands/UpdateKxClusterDatabasesCommand.js +46 -0
  25. package/dist-cjs/commands/UpdateKxDatabaseCommand.js +46 -0
  26. package/dist-cjs/commands/UpdateKxEnvironmentCommand.js +46 -0
  27. package/dist-cjs/commands/UpdateKxEnvironmentNetworkCommand.js +46 -0
  28. package/dist-cjs/commands/UpdateKxUserCommand.js +46 -0
  29. package/dist-cjs/commands/index.js +26 -0
  30. package/dist-cjs/endpoint/ruleset.js +3 -3
  31. package/dist-cjs/index.js +1 -0
  32. package/dist-cjs/models/models_0.js +98 -1
  33. package/dist-cjs/pagination/Interfaces.js +2 -0
  34. package/dist-cjs/pagination/ListKxChangesetsPaginator.js +29 -0
  35. package/dist-cjs/pagination/ListKxClusterNodesPaginator.js +29 -0
  36. package/dist-cjs/pagination/ListKxDatabasesPaginator.js +29 -0
  37. package/dist-cjs/pagination/ListKxEnvironmentsPaginator.js +29 -0
  38. package/dist-cjs/pagination/index.js +8 -0
  39. package/dist-cjs/protocols/Aws_restJson1.js +2270 -125
  40. package/dist-es/Finspace.js +52 -0
  41. package/dist-es/commands/CreateKxChangesetCommand.js +42 -0
  42. package/dist-es/commands/CreateKxClusterCommand.js +42 -0
  43. package/dist-es/commands/CreateKxDatabaseCommand.js +42 -0
  44. package/dist-es/commands/CreateKxEnvironmentCommand.js +42 -0
  45. package/dist-es/commands/CreateKxUserCommand.js +42 -0
  46. package/dist-es/commands/DeleteKxClusterCommand.js +42 -0
  47. package/dist-es/commands/DeleteKxDatabaseCommand.js +42 -0
  48. package/dist-es/commands/DeleteKxEnvironmentCommand.js +42 -0
  49. package/dist-es/commands/DeleteKxUserCommand.js +42 -0
  50. package/dist-es/commands/GetKxChangesetCommand.js +42 -0
  51. package/dist-es/commands/GetKxClusterCommand.js +42 -0
  52. package/dist-es/commands/GetKxConnectionStringCommand.js +43 -0
  53. package/dist-es/commands/GetKxDatabaseCommand.js +42 -0
  54. package/dist-es/commands/GetKxEnvironmentCommand.js +42 -0
  55. package/dist-es/commands/GetKxUserCommand.js +42 -0
  56. package/dist-es/commands/ListKxChangesetsCommand.js +42 -0
  57. package/dist-es/commands/ListKxClusterNodesCommand.js +42 -0
  58. package/dist-es/commands/ListKxClustersCommand.js +42 -0
  59. package/dist-es/commands/ListKxDatabasesCommand.js +42 -0
  60. package/dist-es/commands/ListKxEnvironmentsCommand.js +42 -0
  61. package/dist-es/commands/ListKxUsersCommand.js +42 -0
  62. package/dist-es/commands/UpdateKxClusterDatabasesCommand.js +42 -0
  63. package/dist-es/commands/UpdateKxDatabaseCommand.js +42 -0
  64. package/dist-es/commands/UpdateKxEnvironmentCommand.js +42 -0
  65. package/dist-es/commands/UpdateKxEnvironmentNetworkCommand.js +42 -0
  66. package/dist-es/commands/UpdateKxUserCommand.js +42 -0
  67. package/dist-es/commands/index.js +26 -0
  68. package/dist-es/endpoint/ruleset.js +3 -3
  69. package/dist-es/index.js +1 -0
  70. package/dist-es/models/models_0.js +94 -0
  71. package/dist-es/pagination/Interfaces.js +1 -0
  72. package/dist-es/pagination/ListKxChangesetsPaginator.js +25 -0
  73. package/dist-es/pagination/ListKxClusterNodesPaginator.js +25 -0
  74. package/dist-es/pagination/ListKxDatabasesPaginator.js +25 -0
  75. package/dist-es/pagination/ListKxEnvironmentsPaginator.js +25 -0
  76. package/dist-es/pagination/index.js +5 -0
  77. package/dist-es/protocols/Aws_restJson1.js +2192 -100
  78. package/dist-types/Finspace.d.ts +182 -0
  79. package/dist-types/FinspaceClient.d.ts +28 -2
  80. package/dist-types/commands/CreateEnvironmentCommand.d.ts +1 -1
  81. package/dist-types/commands/CreateKxChangesetCommand.d.ts +122 -0
  82. package/dist-types/commands/CreateKxClusterCommand.d.ts +233 -0
  83. package/dist-types/commands/CreateKxDatabaseCommand.d.ts +109 -0
  84. package/dist-types/commands/CreateKxEnvironmentCommand.d.ts +108 -0
  85. package/dist-types/commands/CreateKxUserCommand.d.ts +107 -0
  86. package/dist-types/commands/DeleteKxClusterCommand.d.ts +95 -0
  87. package/dist-types/commands/DeleteKxDatabaseCommand.d.ts +92 -0
  88. package/dist-types/commands/DeleteKxEnvironmentCommand.d.ts +87 -0
  89. package/dist-types/commands/DeleteKxUserCommand.d.ts +88 -0
  90. package/dist-types/commands/GetEnvironmentCommand.d.ts +2 -2
  91. package/dist-types/commands/GetKxChangesetCommand.d.ts +108 -0
  92. package/dist-types/commands/GetKxClusterCommand.d.ts +164 -0
  93. package/dist-types/commands/GetKxConnectionStringCommand.d.ts +91 -0
  94. package/dist-types/commands/GetKxDatabaseCommand.d.ts +99 -0
  95. package/dist-types/commands/GetKxEnvironmentCommand.d.ts +112 -0
  96. package/dist-types/commands/GetKxUserCommand.d.ts +93 -0
  97. package/dist-types/commands/ListEnvironmentsCommand.d.ts +2 -2
  98. package/dist-types/commands/ListKxChangesetsCommand.d.ts +101 -0
  99. package/dist-types/commands/ListKxClusterNodesCommand.d.ts +102 -0
  100. package/dist-types/commands/ListKxClustersCommand.d.ts +114 -0
  101. package/dist-types/commands/ListKxDatabasesCommand.d.ts +98 -0
  102. package/dist-types/commands/ListKxEnvironmentsCommand.d.ts +112 -0
  103. package/dist-types/commands/ListKxUsersCommand.d.ts +100 -0
  104. package/dist-types/commands/UpdateEnvironmentCommand.d.ts +3 -3
  105. package/dist-types/commands/UpdateKxClusterDatabasesCommand.d.ts +107 -0
  106. package/dist-types/commands/UpdateKxDatabaseCommand.d.ts +98 -0
  107. package/dist-types/commands/UpdateKxEnvironmentCommand.d.ts +120 -0
  108. package/dist-types/commands/UpdateKxEnvironmentNetworkCommand.d.ts +129 -0
  109. package/dist-types/commands/UpdateKxUserCommand.d.ts +101 -0
  110. package/dist-types/commands/index.d.ts +26 -0
  111. package/dist-types/index.d.ts +1 -0
  112. package/dist-types/models/models_0.d.ts +2390 -105
  113. package/dist-types/pagination/Interfaces.d.ts +8 -0
  114. package/dist-types/pagination/ListKxChangesetsPaginator.d.ts +7 -0
  115. package/dist-types/pagination/ListKxClusterNodesPaginator.d.ts +7 -0
  116. package/dist-types/pagination/ListKxDatabasesPaginator.d.ts +7 -0
  117. package/dist-types/pagination/ListKxEnvironmentsPaginator.d.ts +7 -0
  118. package/dist-types/pagination/index.d.ts +5 -0
  119. package/dist-types/protocols/Aws_restJson1.d.ts +234 -0
  120. package/dist-types/ts3.4/Finspace.d.ts +442 -0
  121. package/dist-types/ts3.4/FinspaceClient.d.ts +158 -2
  122. package/dist-types/ts3.4/commands/CreateKxChangesetCommand.d.ts +39 -0
  123. package/dist-types/ts3.4/commands/CreateKxClusterCommand.d.ts +38 -0
  124. package/dist-types/ts3.4/commands/CreateKxDatabaseCommand.d.ts +38 -0
  125. package/dist-types/ts3.4/commands/CreateKxEnvironmentCommand.d.ts +39 -0
  126. package/dist-types/ts3.4/commands/CreateKxUserCommand.d.ts +35 -0
  127. package/dist-types/ts3.4/commands/DeleteKxClusterCommand.d.ts +38 -0
  128. package/dist-types/ts3.4/commands/DeleteKxDatabaseCommand.d.ts +38 -0
  129. package/dist-types/ts3.4/commands/DeleteKxEnvironmentCommand.d.ts +39 -0
  130. package/dist-types/ts3.4/commands/DeleteKxUserCommand.d.ts +35 -0
  131. package/dist-types/ts3.4/commands/GetKxChangesetCommand.d.ts +38 -0
  132. package/dist-types/ts3.4/commands/GetKxClusterCommand.d.ts +35 -0
  133. package/dist-types/ts3.4/commands/GetKxConnectionStringCommand.d.ts +42 -0
  134. package/dist-types/ts3.4/commands/GetKxDatabaseCommand.d.ts +38 -0
  135. package/dist-types/ts3.4/commands/GetKxEnvironmentCommand.d.ts +38 -0
  136. package/dist-types/ts3.4/commands/GetKxUserCommand.d.ts +35 -0
  137. package/dist-types/ts3.4/commands/ListKxChangesetsCommand.d.ts +38 -0
  138. package/dist-types/ts3.4/commands/ListKxClusterNodesCommand.d.ts +39 -0
  139. package/dist-types/ts3.4/commands/ListKxClustersCommand.d.ts +38 -0
  140. package/dist-types/ts3.4/commands/ListKxDatabasesCommand.d.ts +38 -0
  141. package/dist-types/ts3.4/commands/ListKxEnvironmentsCommand.d.ts +39 -0
  142. package/dist-types/ts3.4/commands/ListKxUsersCommand.d.ts +35 -0
  143. package/dist-types/ts3.4/commands/UpdateKxClusterDatabasesCommand.d.ts +42 -0
  144. package/dist-types/ts3.4/commands/UpdateKxDatabaseCommand.d.ts +38 -0
  145. package/dist-types/ts3.4/commands/UpdateKxEnvironmentCommand.d.ts +39 -0
  146. package/dist-types/ts3.4/commands/UpdateKxEnvironmentNetworkCommand.d.ts +42 -0
  147. package/dist-types/ts3.4/commands/UpdateKxUserCommand.d.ts +35 -0
  148. package/dist-types/ts3.4/commands/index.d.ts +26 -0
  149. package/dist-types/ts3.4/index.d.ts +1 -0
  150. package/dist-types/ts3.4/models/models_0.d.ts +575 -3
  151. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  152. package/dist-types/ts3.4/pagination/ListKxChangesetsPaginator.d.ts +11 -0
  153. package/dist-types/ts3.4/pagination/ListKxClusterNodesPaginator.d.ts +11 -0
  154. package/dist-types/ts3.4/pagination/ListKxDatabasesPaginator.d.ts +11 -0
  155. package/dist-types/ts3.4/pagination/ListKxEnvironmentsPaginator.d.ts +11 -0
  156. package/dist-types/ts3.4/pagination/index.d.ts +5 -0
  157. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +312 -0
  158. package/package.json +4 -2
@@ -7,6 +7,19 @@ export declare class AccessDeniedException extends __BaseException {
7
7
  opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
8
8
  );
9
9
  }
10
+ export declare const AutoScalingMetric: {
11
+ readonly CPU_UTILIZATION_PERCENTAGE: "CPU_UTILIZATION_PERCENTAGE";
12
+ };
13
+ export type AutoScalingMetric =
14
+ (typeof AutoScalingMetric)[keyof typeof AutoScalingMetric];
15
+ export interface AutoScalingConfiguration {
16
+ minNodeCount?: number;
17
+ maxNodeCount?: number;
18
+ autoScalingMetric?: AutoScalingMetric | string;
19
+ metricTarget?: number;
20
+ scaleInCooldownSeconds?: number;
21
+ scaleOutCooldownSeconds?: number;
22
+ }
10
23
  export declare const FederationMode: {
11
24
  readonly FEDERATED: "FEDERATED";
12
25
  readonly LOCAL: "LOCAL";
@@ -76,10 +89,61 @@ export declare class ValidationException extends __BaseException {
76
89
  opts: __ExceptionOptionType<ValidationException, __BaseException>
77
90
  );
78
91
  }
79
- export interface DeleteEnvironmentRequest {
92
+ export declare class ConflictException extends __BaseException {
93
+ readonly name: "ConflictException";
94
+ readonly $fault: "client";
95
+ reason?: string;
96
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
97
+ }
98
+ export declare const ChangeType: {
99
+ readonly DELETE: "DELETE";
100
+ readonly PUT: "PUT";
101
+ };
102
+ export type ChangeType = (typeof ChangeType)[keyof typeof ChangeType];
103
+ export interface ChangeRequest {
104
+ changeType: ChangeType | string | undefined;
105
+ s3Path?: string;
106
+ dbPath: string | undefined;
107
+ }
108
+ export interface CreateKxChangesetRequest {
80
109
  environmentId: string | undefined;
110
+ databaseName: string | undefined;
111
+ changeRequests: ChangeRequest[] | undefined;
112
+ clientToken?: string;
113
+ }
114
+ export declare const ErrorDetails: {
115
+ readonly ACCESS_DENIED: "Missing required permission to perform this request.";
116
+ readonly CANCELLED: "Cancelled";
117
+ readonly INTERNAL_SERVICE_EXCEPTION: "An internal error has occurred.";
118
+ readonly RESOURCE_NOT_FOUND: "One or more inputs to this request were not found.";
119
+ readonly SERVICE_QUOTA_EXCEEDED: "Service limits have been exceeded.";
120
+ readonly THROTTLING: "The system temporarily lacks sufficient resources to process the request.";
121
+ readonly USER_RECOVERABLE: "A user recoverable error has occurred";
122
+ readonly VALIDATION: "The inputs to this request are invalid.";
123
+ };
124
+ export type ErrorDetails = (typeof ErrorDetails)[keyof typeof ErrorDetails];
125
+ export interface ErrorInfo {
126
+ errorMessage?: string;
127
+ errorType?: ErrorDetails | string;
128
+ }
129
+ export declare const ChangesetStatus: {
130
+ readonly COMPLETED: "COMPLETED";
131
+ readonly FAILED: "FAILED";
132
+ readonly PENDING: "PENDING";
133
+ readonly PROCESSING: "PROCESSING";
134
+ };
135
+ export type ChangesetStatus =
136
+ (typeof ChangesetStatus)[keyof typeof ChangesetStatus];
137
+ export interface CreateKxChangesetResponse {
138
+ changesetId?: string;
139
+ databaseName?: string;
140
+ environmentId?: string;
141
+ changeRequests?: ChangeRequest[];
142
+ createdTimestamp?: Date;
143
+ lastModifiedTimestamp?: Date;
144
+ status?: ChangesetStatus | string;
145
+ errorInfo?: ErrorInfo;
81
146
  }
82
- export interface DeleteEnvironmentResponse {}
83
147
  export declare class ResourceNotFoundException extends __BaseException {
84
148
  readonly name: "ResourceNotFoundException";
85
149
  readonly $fault: "client";
@@ -87,8 +151,146 @@ export declare class ResourceNotFoundException extends __BaseException {
87
151
  opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
88
152
  );
89
153
  }
90
- export interface GetEnvironmentRequest {
154
+ export declare const KxAzMode: {
155
+ readonly MULTI: "MULTI";
156
+ readonly SINGLE: "SINGLE";
157
+ };
158
+ export type KxAzMode = (typeof KxAzMode)[keyof typeof KxAzMode];
159
+ export interface KxCacheStorageConfiguration {
160
+ type: string | undefined;
161
+ size: number | undefined;
162
+ }
163
+ export interface CapacityConfiguration {
164
+ nodeType?: string;
165
+ nodeCount?: number;
166
+ }
167
+ export declare const KxClusterType: {
168
+ readonly GATEWAY: "GATEWAY";
169
+ readonly HDB: "HDB";
170
+ readonly RDB: "RDB";
171
+ };
172
+ export type KxClusterType = (typeof KxClusterType)[keyof typeof KxClusterType];
173
+ export interface CodeConfiguration {
174
+ s3Bucket?: string;
175
+ s3Key?: string;
176
+ s3ObjectVersion?: string;
177
+ }
178
+ export interface KxCommandLineArgument {
179
+ key?: string;
180
+ value?: string;
181
+ }
182
+ export interface KxDatabaseCacheConfiguration {
183
+ cacheType: string | undefined;
184
+ dbPaths: string[] | undefined;
185
+ }
186
+ export interface KxDatabaseConfiguration {
187
+ databaseName: string | undefined;
188
+ cacheConfigurations?: KxDatabaseCacheConfiguration[];
189
+ changesetId?: string;
190
+ }
191
+ export declare const KxSavedownStorageType: {
192
+ readonly SDS01: "SDS01";
193
+ };
194
+ export type KxSavedownStorageType =
195
+ (typeof KxSavedownStorageType)[keyof typeof KxSavedownStorageType];
196
+ export interface KxSavedownStorageConfiguration {
197
+ type: KxSavedownStorageType | string | undefined;
198
+ size: number | undefined;
199
+ }
200
+ export declare const IPAddressType: {
201
+ readonly IP_V4: "IP_V4";
202
+ };
203
+ export type IPAddressType = (typeof IPAddressType)[keyof typeof IPAddressType];
204
+ export interface VpcConfiguration {
205
+ vpcId?: string;
206
+ securityGroupIds?: string[];
207
+ subnetIds?: string[];
208
+ ipAddressType?: IPAddressType | string;
209
+ }
210
+ export interface CreateKxClusterRequest {
211
+ clientToken?: string;
212
+ environmentId: string | undefined;
213
+ clusterName: string | undefined;
214
+ clusterType: KxClusterType | string | undefined;
215
+ databases?: KxDatabaseConfiguration[];
216
+ cacheStorageConfigurations?: KxCacheStorageConfiguration[];
217
+ autoScalingConfiguration?: AutoScalingConfiguration;
218
+ clusterDescription?: string;
219
+ capacityConfiguration: CapacityConfiguration | undefined;
220
+ releaseLabel: string | undefined;
221
+ vpcConfiguration?: VpcConfiguration;
222
+ initializationScript?: string;
223
+ commandLineArguments?: KxCommandLineArgument[];
224
+ code?: CodeConfiguration;
225
+ executionRole?: string;
226
+ savedownStorageConfiguration?: KxSavedownStorageConfiguration;
227
+ azMode: KxAzMode | string | undefined;
228
+ availabilityZoneId?: string;
229
+ tags?: Record<string, string>;
230
+ }
231
+ export declare const KxClusterStatus: {
232
+ readonly CREATE_FAILED: "CREATE_FAILED";
233
+ readonly CREATING: "CREATING";
234
+ readonly DELETED: "DELETED";
235
+ readonly DELETE_FAILED: "DELETE_FAILED";
236
+ readonly DELETING: "DELETING";
237
+ readonly PENDING: "PENDING";
238
+ readonly RUNNING: "RUNNING";
239
+ readonly UPDATING: "UPDATING";
240
+ };
241
+ export type KxClusterStatus =
242
+ (typeof KxClusterStatus)[keyof typeof KxClusterStatus];
243
+ export interface CreateKxClusterResponse {
244
+ environmentId?: string;
245
+ status?: KxClusterStatus | string;
246
+ statusReason?: string;
247
+ clusterName?: string;
248
+ clusterType?: KxClusterType | string;
249
+ databases?: KxDatabaseConfiguration[];
250
+ cacheStorageConfigurations?: KxCacheStorageConfiguration[];
251
+ autoScalingConfiguration?: AutoScalingConfiguration;
252
+ clusterDescription?: string;
253
+ capacityConfiguration?: CapacityConfiguration;
254
+ releaseLabel?: string;
255
+ vpcConfiguration?: VpcConfiguration;
256
+ initializationScript?: string;
257
+ commandLineArguments?: KxCommandLineArgument[];
258
+ code?: CodeConfiguration;
259
+ executionRole?: string;
260
+ lastModifiedTimestamp?: Date;
261
+ savedownStorageConfiguration?: KxSavedownStorageConfiguration;
262
+ azMode?: KxAzMode | string;
263
+ availabilityZoneId?: string;
264
+ createdTimestamp?: Date;
265
+ }
266
+ export interface CreateKxDatabaseRequest {
91
267
  environmentId: string | undefined;
268
+ databaseName: string | undefined;
269
+ description?: string;
270
+ tags?: Record<string, string>;
271
+ clientToken?: string;
272
+ }
273
+ export interface CreateKxDatabaseResponse {
274
+ databaseName?: string;
275
+ databaseArn?: string;
276
+ environmentId?: string;
277
+ description?: string;
278
+ createdTimestamp?: Date;
279
+ lastModifiedTimestamp?: Date;
280
+ }
281
+ export declare class ResourceAlreadyExistsException extends __BaseException {
282
+ readonly name: "ResourceAlreadyExistsException";
283
+ readonly $fault: "client";
284
+ constructor(
285
+ opts: __ExceptionOptionType<ResourceAlreadyExistsException, __BaseException>
286
+ );
287
+ }
288
+ export interface CreateKxEnvironmentRequest {
289
+ name: string | undefined;
290
+ description?: string;
291
+ kmsKeyId: string | undefined;
292
+ tags?: Record<string, string>;
293
+ clientToken?: string;
92
294
  }
93
295
  export declare const EnvironmentStatus: {
94
296
  readonly CREATED: "CREATED";
@@ -99,11 +301,64 @@ export declare const EnvironmentStatus: {
99
301
  readonly DELETING: "DELETING";
100
302
  readonly FAILED_CREATION: "FAILED_CREATION";
101
303
  readonly FAILED_DELETION: "FAILED_DELETION";
304
+ readonly FAILED_UPDATING_NETWORK: "FAILED_UPDATING_NETWORK";
102
305
  readonly RETRY_DELETION: "RETRY_DELETION";
103
306
  readonly SUSPENDED: "SUSPENDED";
307
+ readonly UPDATE_NETWORK_REQUESTED: "UPDATE_NETWORK_REQUESTED";
308
+ readonly UPDATING_NETWORK: "UPDATING_NETWORK";
104
309
  };
105
310
  export type EnvironmentStatus =
106
311
  (typeof EnvironmentStatus)[keyof typeof EnvironmentStatus];
312
+ export interface CreateKxEnvironmentResponse {
313
+ name?: string;
314
+ status?: EnvironmentStatus | string;
315
+ environmentId?: string;
316
+ description?: string;
317
+ environmentArn?: string;
318
+ kmsKeyId?: string;
319
+ creationTimestamp?: Date;
320
+ }
321
+ export interface CreateKxUserRequest {
322
+ environmentId: string | undefined;
323
+ userName: string | undefined;
324
+ iamRole: string | undefined;
325
+ tags?: Record<string, string>;
326
+ clientToken?: string;
327
+ }
328
+ export interface CreateKxUserResponse {
329
+ userName?: string;
330
+ userArn?: string;
331
+ environmentId?: string;
332
+ iamRole?: string;
333
+ }
334
+ export interface DeleteEnvironmentRequest {
335
+ environmentId: string | undefined;
336
+ }
337
+ export interface DeleteEnvironmentResponse {}
338
+ export interface DeleteKxClusterRequest {
339
+ environmentId: string | undefined;
340
+ clusterName: string | undefined;
341
+ clientToken?: string;
342
+ }
343
+ export interface DeleteKxClusterResponse {}
344
+ export interface DeleteKxDatabaseRequest {
345
+ environmentId: string | undefined;
346
+ databaseName: string | undefined;
347
+ clientToken?: string;
348
+ }
349
+ export interface DeleteKxDatabaseResponse {}
350
+ export interface DeleteKxEnvironmentRequest {
351
+ environmentId: string | undefined;
352
+ }
353
+ export interface DeleteKxEnvironmentResponse {}
354
+ export interface DeleteKxUserRequest {
355
+ userName: string | undefined;
356
+ environmentId: string | undefined;
357
+ }
358
+ export interface DeleteKxUserResponse {}
359
+ export interface GetEnvironmentRequest {
360
+ environmentId: string | undefined;
361
+ }
107
362
  export interface Environment {
108
363
  name?: string;
109
364
  environmentId?: string;
@@ -121,6 +376,128 @@ export interface Environment {
121
376
  export interface GetEnvironmentResponse {
122
377
  environment?: Environment;
123
378
  }
379
+ export interface GetKxChangesetRequest {
380
+ environmentId: string | undefined;
381
+ databaseName: string | undefined;
382
+ changesetId: string | undefined;
383
+ }
384
+ export interface GetKxChangesetResponse {
385
+ changesetId?: string;
386
+ databaseName?: string;
387
+ environmentId?: string;
388
+ changeRequests?: ChangeRequest[];
389
+ createdTimestamp?: Date;
390
+ activeFromTimestamp?: Date;
391
+ lastModifiedTimestamp?: Date;
392
+ status?: ChangesetStatus | string;
393
+ errorInfo?: ErrorInfo;
394
+ }
395
+ export interface GetKxClusterRequest {
396
+ environmentId: string | undefined;
397
+ clusterName: string | undefined;
398
+ }
399
+ export interface GetKxClusterResponse {
400
+ status?: KxClusterStatus | string;
401
+ statusReason?: string;
402
+ clusterName?: string;
403
+ clusterType?: KxClusterType | string;
404
+ databases?: KxDatabaseConfiguration[];
405
+ cacheStorageConfigurations?: KxCacheStorageConfiguration[];
406
+ autoScalingConfiguration?: AutoScalingConfiguration;
407
+ clusterDescription?: string;
408
+ capacityConfiguration?: CapacityConfiguration;
409
+ releaseLabel?: string;
410
+ vpcConfiguration?: VpcConfiguration;
411
+ initializationScript?: string;
412
+ commandLineArguments?: KxCommandLineArgument[];
413
+ code?: CodeConfiguration;
414
+ executionRole?: string;
415
+ lastModifiedTimestamp?: Date;
416
+ savedownStorageConfiguration?: KxSavedownStorageConfiguration;
417
+ azMode?: KxAzMode | string;
418
+ availabilityZoneId?: string;
419
+ createdTimestamp?: Date;
420
+ }
421
+ export interface GetKxConnectionStringRequest {
422
+ userArn: string | undefined;
423
+ environmentId: string | undefined;
424
+ clusterName: string | undefined;
425
+ }
426
+ export interface GetKxConnectionStringResponse {
427
+ signedConnectionString?: string;
428
+ }
429
+ export interface GetKxDatabaseRequest {
430
+ environmentId: string | undefined;
431
+ databaseName: string | undefined;
432
+ }
433
+ export interface GetKxDatabaseResponse {
434
+ databaseName?: string;
435
+ databaseArn?: string;
436
+ environmentId?: string;
437
+ description?: string;
438
+ createdTimestamp?: Date;
439
+ lastModifiedTimestamp?: Date;
440
+ lastCompletedChangesetId?: string;
441
+ numBytes?: number;
442
+ numChangesets?: number;
443
+ numFiles?: number;
444
+ }
445
+ export interface GetKxEnvironmentRequest {
446
+ environmentId: string | undefined;
447
+ }
448
+ export interface CustomDNSServer {
449
+ customDNSServerName: string | undefined;
450
+ customDNSServerIP: string | undefined;
451
+ }
452
+ export declare const DnsStatus: {
453
+ readonly FAILED_UPDATE: "FAILED_UPDATE";
454
+ readonly NONE: "NONE";
455
+ readonly SUCCESSFULLY_UPDATED: "SUCCESSFULLY_UPDATED";
456
+ readonly UPDATE_REQUESTED: "UPDATE_REQUESTED";
457
+ readonly UPDATING: "UPDATING";
458
+ };
459
+ export type DnsStatus = (typeof DnsStatus)[keyof typeof DnsStatus];
460
+ export declare const TgwStatus: {
461
+ readonly FAILED_UPDATE: "FAILED_UPDATE";
462
+ readonly NONE: "NONE";
463
+ readonly SUCCESSFULLY_UPDATED: "SUCCESSFULLY_UPDATED";
464
+ readonly UPDATE_REQUESTED: "UPDATE_REQUESTED";
465
+ readonly UPDATING: "UPDATING";
466
+ };
467
+ export type TgwStatus = (typeof TgwStatus)[keyof typeof TgwStatus];
468
+ export interface TransitGatewayConfiguration {
469
+ transitGatewayID: string | undefined;
470
+ routableCIDRSpace: string | undefined;
471
+ }
472
+ export interface GetKxEnvironmentResponse {
473
+ name?: string;
474
+ environmentId?: string;
475
+ awsAccountId?: string;
476
+ status?: EnvironmentStatus | string;
477
+ tgwStatus?: TgwStatus | string;
478
+ dnsStatus?: DnsStatus | string;
479
+ errorMessage?: string;
480
+ description?: string;
481
+ environmentArn?: string;
482
+ kmsKeyId?: string;
483
+ dedicatedServiceAccountId?: string;
484
+ transitGatewayConfiguration?: TransitGatewayConfiguration;
485
+ customDNSConfiguration?: CustomDNSServer[];
486
+ creationTimestamp?: Date;
487
+ updateTimestamp?: Date;
488
+ availabilityZoneIds?: string[];
489
+ certificateAuthorityArn?: string;
490
+ }
491
+ export interface GetKxUserRequest {
492
+ userName: string | undefined;
493
+ environmentId: string | undefined;
494
+ }
495
+ export interface GetKxUserResponse {
496
+ userName?: string;
497
+ userArn?: string;
498
+ environmentId?: string;
499
+ iamRole?: string;
500
+ }
124
501
  export interface ListEnvironmentsRequest {
125
502
  nextToken?: string;
126
503
  maxResults?: number;
@@ -129,6 +506,119 @@ export interface ListEnvironmentsResponse {
129
506
  environments?: Environment[];
130
507
  nextToken?: string;
131
508
  }
509
+ export interface ListKxChangesetsRequest {
510
+ environmentId: string | undefined;
511
+ databaseName: string | undefined;
512
+ nextToken?: string;
513
+ maxResults?: number;
514
+ }
515
+ export interface KxChangesetListEntry {
516
+ changesetId?: string;
517
+ createdTimestamp?: Date;
518
+ activeFromTimestamp?: Date;
519
+ lastModifiedTimestamp?: Date;
520
+ status?: ChangesetStatus | string;
521
+ }
522
+ export interface ListKxChangesetsResponse {
523
+ kxChangesets?: KxChangesetListEntry[];
524
+ nextToken?: string;
525
+ }
526
+ export interface ListKxClusterNodesRequest {
527
+ environmentId: string | undefined;
528
+ clusterName: string | undefined;
529
+ nextToken?: string;
530
+ maxResults?: number;
531
+ }
532
+ export interface KxNode {
533
+ nodeId?: string;
534
+ availabilityZoneId?: string;
535
+ launchTime?: Date;
536
+ }
537
+ export interface ListKxClusterNodesResponse {
538
+ nodes?: KxNode[];
539
+ nextToken?: string;
540
+ }
541
+ export interface ListKxClustersRequest {
542
+ environmentId: string | undefined;
543
+ clusterType?: KxClusterType | string;
544
+ maxResults?: number;
545
+ nextToken?: string;
546
+ }
547
+ export interface KxCluster {
548
+ status?: KxClusterStatus | string;
549
+ statusReason?: string;
550
+ clusterName?: string;
551
+ clusterType?: KxClusterType | string;
552
+ clusterDescription?: string;
553
+ releaseLabel?: string;
554
+ initializationScript?: string;
555
+ executionRole?: string;
556
+ azMode?: KxAzMode | string;
557
+ availabilityZoneId?: string;
558
+ lastModifiedTimestamp?: Date;
559
+ createdTimestamp?: Date;
560
+ }
561
+ export interface ListKxClustersResponse {
562
+ kxClusterSummaries?: KxCluster[];
563
+ nextToken?: string;
564
+ }
565
+ export interface ListKxDatabasesRequest {
566
+ environmentId: string | undefined;
567
+ nextToken?: string;
568
+ maxResults?: number;
569
+ }
570
+ export interface KxDatabaseListEntry {
571
+ databaseName?: string;
572
+ createdTimestamp?: Date;
573
+ lastModifiedTimestamp?: Date;
574
+ }
575
+ export interface ListKxDatabasesResponse {
576
+ kxDatabases?: KxDatabaseListEntry[];
577
+ nextToken?: string;
578
+ }
579
+ export interface ListKxEnvironmentsRequest {
580
+ nextToken?: string;
581
+ maxResults?: number;
582
+ }
583
+ export interface KxEnvironment {
584
+ name?: string;
585
+ environmentId?: string;
586
+ awsAccountId?: string;
587
+ status?: EnvironmentStatus | string;
588
+ tgwStatus?: TgwStatus | string;
589
+ dnsStatus?: DnsStatus | string;
590
+ errorMessage?: string;
591
+ description?: string;
592
+ environmentArn?: string;
593
+ kmsKeyId?: string;
594
+ dedicatedServiceAccountId?: string;
595
+ transitGatewayConfiguration?: TransitGatewayConfiguration;
596
+ customDNSConfiguration?: CustomDNSServer[];
597
+ creationTimestamp?: Date;
598
+ updateTimestamp?: Date;
599
+ availabilityZoneIds?: string[];
600
+ certificateAuthorityArn?: string;
601
+ }
602
+ export interface ListKxEnvironmentsResponse {
603
+ environments?: KxEnvironment[];
604
+ nextToken?: string;
605
+ }
606
+ export interface ListKxUsersRequest {
607
+ environmentId: string | undefined;
608
+ nextToken?: string;
609
+ maxResults?: number;
610
+ }
611
+ export interface KxUser {
612
+ userArn?: string;
613
+ userName?: string;
614
+ iamRole?: string;
615
+ createTimestamp?: Date;
616
+ updateTimestamp?: Date;
617
+ }
618
+ export interface ListKxUsersResponse {
619
+ users?: KxUser[];
620
+ nextToken?: string;
621
+ }
132
622
  export declare class InvalidRequestException extends __BaseException {
133
623
  readonly name: "InvalidRequestException";
134
624
  readonly $fault: "client";
@@ -162,9 +652,91 @@ export interface UpdateEnvironmentRequest {
162
652
  export interface UpdateEnvironmentResponse {
163
653
  environment?: Environment;
164
654
  }
655
+ export interface UpdateKxClusterDatabasesRequest {
656
+ environmentId: string | undefined;
657
+ clusterName: string | undefined;
658
+ clientToken?: string;
659
+ databases: KxDatabaseConfiguration[] | undefined;
660
+ }
661
+ export interface UpdateKxClusterDatabasesResponse {}
662
+ export interface UpdateKxDatabaseRequest {
663
+ environmentId: string | undefined;
664
+ databaseName: string | undefined;
665
+ description?: string;
666
+ clientToken?: string;
667
+ }
668
+ export interface UpdateKxDatabaseResponse {
669
+ databaseName?: string;
670
+ environmentId?: string;
671
+ description?: string;
672
+ lastModifiedTimestamp?: Date;
673
+ }
674
+ export interface UpdateKxEnvironmentRequest {
675
+ environmentId: string | undefined;
676
+ name?: string;
677
+ description?: string;
678
+ clientToken?: string;
679
+ }
680
+ export interface UpdateKxEnvironmentResponse {
681
+ name?: string;
682
+ environmentId?: string;
683
+ awsAccountId?: string;
684
+ status?: EnvironmentStatus | string;
685
+ tgwStatus?: TgwStatus | string;
686
+ dnsStatus?: DnsStatus | string;
687
+ errorMessage?: string;
688
+ description?: string;
689
+ environmentArn?: string;
690
+ kmsKeyId?: string;
691
+ dedicatedServiceAccountId?: string;
692
+ transitGatewayConfiguration?: TransitGatewayConfiguration;
693
+ customDNSConfiguration?: CustomDNSServer[];
694
+ creationTimestamp?: Date;
695
+ updateTimestamp?: Date;
696
+ availabilityZoneIds?: string[];
697
+ }
698
+ export interface UpdateKxEnvironmentNetworkRequest {
699
+ environmentId: string | undefined;
700
+ transitGatewayConfiguration?: TransitGatewayConfiguration;
701
+ customDNSConfiguration?: CustomDNSServer[];
702
+ clientToken?: string;
703
+ }
704
+ export interface UpdateKxEnvironmentNetworkResponse {
705
+ name?: string;
706
+ environmentId?: string;
707
+ awsAccountId?: string;
708
+ status?: EnvironmentStatus | string;
709
+ tgwStatus?: TgwStatus | string;
710
+ dnsStatus?: DnsStatus | string;
711
+ errorMessage?: string;
712
+ description?: string;
713
+ environmentArn?: string;
714
+ kmsKeyId?: string;
715
+ dedicatedServiceAccountId?: string;
716
+ transitGatewayConfiguration?: TransitGatewayConfiguration;
717
+ customDNSConfiguration?: CustomDNSServer[];
718
+ creationTimestamp?: Date;
719
+ updateTimestamp?: Date;
720
+ availabilityZoneIds?: string[];
721
+ }
722
+ export interface UpdateKxUserRequest {
723
+ environmentId: string | undefined;
724
+ userName: string | undefined;
725
+ iamRole: string | undefined;
726
+ clientToken?: string;
727
+ }
728
+ export interface UpdateKxUserResponse {
729
+ userName?: string;
730
+ userArn?: string;
731
+ environmentId?: string;
732
+ iamRole?: string;
733
+ }
165
734
  export declare const SuperuserParametersFilterSensitiveLog: (
166
735
  obj: SuperuserParameters
167
736
  ) => any;
168
737
  export declare const CreateEnvironmentRequestFilterSensitiveLog: (
169
738
  obj: CreateEnvironmentRequest
170
739
  ) => any;
740
+ export declare const GetKxConnectionStringResponseFilterSensitiveLog: (
741
+ obj: GetKxConnectionStringResponse
742
+ ) => any;
@@ -0,0 +1,6 @@
1
+ import { PaginationConfiguration } from "@aws-sdk/types";
2
+ import { FinspaceClient } from "../FinspaceClient";
3
+ export interface FinspacePaginationConfiguration
4
+ extends PaginationConfiguration {
5
+ client: FinspaceClient;
6
+ }
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@aws-sdk/types";
2
+ import {
3
+ ListKxChangesetsCommandInput,
4
+ ListKxChangesetsCommandOutput,
5
+ } from "../commands/ListKxChangesetsCommand";
6
+ import { FinspacePaginationConfiguration } from "./Interfaces";
7
+ export declare function paginateListKxChangesets(
8
+ config: FinspacePaginationConfiguration,
9
+ input: ListKxChangesetsCommandInput,
10
+ ...additionalArguments: any
11
+ ): Paginator<ListKxChangesetsCommandOutput>;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@aws-sdk/types";
2
+ import {
3
+ ListKxClusterNodesCommandInput,
4
+ ListKxClusterNodesCommandOutput,
5
+ } from "../commands/ListKxClusterNodesCommand";
6
+ import { FinspacePaginationConfiguration } from "./Interfaces";
7
+ export declare function paginateListKxClusterNodes(
8
+ config: FinspacePaginationConfiguration,
9
+ input: ListKxClusterNodesCommandInput,
10
+ ...additionalArguments: any
11
+ ): Paginator<ListKxClusterNodesCommandOutput>;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@aws-sdk/types";
2
+ import {
3
+ ListKxDatabasesCommandInput,
4
+ ListKxDatabasesCommandOutput,
5
+ } from "../commands/ListKxDatabasesCommand";
6
+ import { FinspacePaginationConfiguration } from "./Interfaces";
7
+ export declare function paginateListKxDatabases(
8
+ config: FinspacePaginationConfiguration,
9
+ input: ListKxDatabasesCommandInput,
10
+ ...additionalArguments: any
11
+ ): Paginator<ListKxDatabasesCommandOutput>;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@aws-sdk/types";
2
+ import {
3
+ ListKxEnvironmentsCommandInput,
4
+ ListKxEnvironmentsCommandOutput,
5
+ } from "../commands/ListKxEnvironmentsCommand";
6
+ import { FinspacePaginationConfiguration } from "./Interfaces";
7
+ export declare function paginateListKxEnvironments(
8
+ config: FinspacePaginationConfiguration,
9
+ input: ListKxEnvironmentsCommandInput,
10
+ ...additionalArguments: any
11
+ ): Paginator<ListKxEnvironmentsCommandOutput>;
@@ -0,0 +1,5 @@
1
+ export * from "./Interfaces";
2
+ export * from "./ListKxChangesetsPaginator";
3
+ export * from "./ListKxClusterNodesPaginator";
4
+ export * from "./ListKxDatabasesPaginator";
5
+ export * from "./ListKxEnvironmentsPaginator";