cdk-lambda-subminute 2.0.319 → 2.0.321

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.
@@ -43,6 +43,14 @@ declare class Finspace extends Service {
43
43
  * Creates a new kdb database in the environment.
44
44
  */
45
45
  createKxDatabase(callback?: (err: AWSError, data: Finspace.Types.CreateKxDatabaseResponse) => void): Request<Finspace.Types.CreateKxDatabaseResponse, AWSError>;
46
+ /**
47
+ * Creates a snapshot of kdb database with tiered storage capabilities and a pre-warmed cache, ready for mounting on kdb clusters. Dataviews are only available for clusters running on a scaling group. They are not supported on dedicated clusters.
48
+ */
49
+ createKxDataview(params: Finspace.Types.CreateKxDataviewRequest, callback?: (err: AWSError, data: Finspace.Types.CreateKxDataviewResponse) => void): Request<Finspace.Types.CreateKxDataviewResponse, AWSError>;
50
+ /**
51
+ * Creates a snapshot of kdb database with tiered storage capabilities and a pre-warmed cache, ready for mounting on kdb clusters. Dataviews are only available for clusters running on a scaling group. They are not supported on dedicated clusters.
52
+ */
53
+ createKxDataview(callback?: (err: AWSError, data: Finspace.Types.CreateKxDataviewResponse) => void): Request<Finspace.Types.CreateKxDataviewResponse, AWSError>;
46
54
  /**
47
55
  * Creates a managed kdb environment for the account.
48
56
  */
@@ -51,6 +59,14 @@ declare class Finspace extends Service {
51
59
  * Creates a managed kdb environment for the account.
52
60
  */
53
61
  createKxEnvironment(callback?: (err: AWSError, data: Finspace.Types.CreateKxEnvironmentResponse) => void): Request<Finspace.Types.CreateKxEnvironmentResponse, AWSError>;
62
+ /**
63
+ * Creates a new scaling group.
64
+ */
65
+ createKxScalingGroup(params: Finspace.Types.CreateKxScalingGroupRequest, callback?: (err: AWSError, data: Finspace.Types.CreateKxScalingGroupResponse) => void): Request<Finspace.Types.CreateKxScalingGroupResponse, AWSError>;
66
+ /**
67
+ * Creates a new scaling group.
68
+ */
69
+ createKxScalingGroup(callback?: (err: AWSError, data: Finspace.Types.CreateKxScalingGroupResponse) => void): Request<Finspace.Types.CreateKxScalingGroupResponse, AWSError>;
54
70
  /**
55
71
  * Creates a user in FinSpace kdb environment with an associated IAM role.
56
72
  */
@@ -59,6 +75,14 @@ declare class Finspace extends Service {
59
75
  * Creates a user in FinSpace kdb environment with an associated IAM role.
60
76
  */
61
77
  createKxUser(callback?: (err: AWSError, data: Finspace.Types.CreateKxUserResponse) => void): Request<Finspace.Types.CreateKxUserResponse, AWSError>;
78
+ /**
79
+ * Creates a new volume with a specific amount of throughput and storage capacity.
80
+ */
81
+ createKxVolume(params: Finspace.Types.CreateKxVolumeRequest, callback?: (err: AWSError, data: Finspace.Types.CreateKxVolumeResponse) => void): Request<Finspace.Types.CreateKxVolumeResponse, AWSError>;
82
+ /**
83
+ * Creates a new volume with a specific amount of throughput and storage capacity.
84
+ */
85
+ createKxVolume(callback?: (err: AWSError, data: Finspace.Types.CreateKxVolumeResponse) => void): Request<Finspace.Types.CreateKxVolumeResponse, AWSError>;
62
86
  /**
63
87
  * Delete an FinSpace environment.
64
88
  */
@@ -83,6 +107,14 @@ declare class Finspace extends Service {
83
107
  * Deletes the specified database and all of its associated data. This action is irreversible. You must copy any data out of the database before deleting it if the data is to be retained.
84
108
  */
85
109
  deleteKxDatabase(callback?: (err: AWSError, data: Finspace.Types.DeleteKxDatabaseResponse) => void): Request<Finspace.Types.DeleteKxDatabaseResponse, AWSError>;
110
+ /**
111
+ * Deletes the specified dataview. Before deleting a dataview, make sure that it is not in use by any cluster.
112
+ */
113
+ deleteKxDataview(params: Finspace.Types.DeleteKxDataviewRequest, callback?: (err: AWSError, data: Finspace.Types.DeleteKxDataviewResponse) => void): Request<Finspace.Types.DeleteKxDataviewResponse, AWSError>;
114
+ /**
115
+ * Deletes the specified dataview. Before deleting a dataview, make sure that it is not in use by any cluster.
116
+ */
117
+ deleteKxDataview(callback?: (err: AWSError, data: Finspace.Types.DeleteKxDataviewResponse) => void): Request<Finspace.Types.DeleteKxDataviewResponse, AWSError>;
86
118
  /**
87
119
  * Deletes the kdb environment. This action is irreversible. Deleting a kdb environment will remove all the associated data and any services running in it.
88
120
  */
@@ -91,6 +123,14 @@ declare class Finspace extends Service {
91
123
  * Deletes the kdb environment. This action is irreversible. Deleting a kdb environment will remove all the associated data and any services running in it.
92
124
  */
93
125
  deleteKxEnvironment(callback?: (err: AWSError, data: Finspace.Types.DeleteKxEnvironmentResponse) => void): Request<Finspace.Types.DeleteKxEnvironmentResponse, AWSError>;
126
+ /**
127
+ * 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.
128
+ */
129
+ deleteKxScalingGroup(params: Finspace.Types.DeleteKxScalingGroupRequest, callback?: (err: AWSError, data: Finspace.Types.DeleteKxScalingGroupResponse) => void): Request<Finspace.Types.DeleteKxScalingGroupResponse, AWSError>;
130
+ /**
131
+ * 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.
132
+ */
133
+ deleteKxScalingGroup(callback?: (err: AWSError, data: Finspace.Types.DeleteKxScalingGroupResponse) => void): Request<Finspace.Types.DeleteKxScalingGroupResponse, AWSError>;
94
134
  /**
95
135
  * Deletes a user in the specified kdb environment.
96
136
  */
@@ -99,6 +139,14 @@ declare class Finspace extends Service {
99
139
  * Deletes a user in the specified kdb environment.
100
140
  */
101
141
  deleteKxUser(callback?: (err: AWSError, data: Finspace.Types.DeleteKxUserResponse) => void): Request<Finspace.Types.DeleteKxUserResponse, AWSError>;
142
+ /**
143
+ * 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.
144
+ */
145
+ deleteKxVolume(params: Finspace.Types.DeleteKxVolumeRequest, callback?: (err: AWSError, data: Finspace.Types.DeleteKxVolumeResponse) => void): Request<Finspace.Types.DeleteKxVolumeResponse, AWSError>;
146
+ /**
147
+ * 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.
148
+ */
149
+ deleteKxVolume(callback?: (err: AWSError, data: Finspace.Types.DeleteKxVolumeResponse) => void): Request<Finspace.Types.DeleteKxVolumeResponse, AWSError>;
102
150
  /**
103
151
  * Returns the FinSpace environment object.
104
152
  */
@@ -139,6 +187,14 @@ declare class Finspace extends Service {
139
187
  * Returns database information for the specified environment ID.
140
188
  */
141
189
  getKxDatabase(callback?: (err: AWSError, data: Finspace.Types.GetKxDatabaseResponse) => void): Request<Finspace.Types.GetKxDatabaseResponse, AWSError>;
190
+ /**
191
+ * Retrieves details of the dataview.
192
+ */
193
+ getKxDataview(params: Finspace.Types.GetKxDataviewRequest, callback?: (err: AWSError, data: Finspace.Types.GetKxDataviewResponse) => void): Request<Finspace.Types.GetKxDataviewResponse, AWSError>;
194
+ /**
195
+ * Retrieves details of the dataview.
196
+ */
197
+ getKxDataview(callback?: (err: AWSError, data: Finspace.Types.GetKxDataviewResponse) => void): Request<Finspace.Types.GetKxDataviewResponse, AWSError>;
142
198
  /**
143
199
  * Retrieves all the information for the specified kdb environment.
144
200
  */
@@ -147,6 +203,14 @@ declare class Finspace extends Service {
147
203
  * Retrieves all the information for the specified kdb environment.
148
204
  */
149
205
  getKxEnvironment(callback?: (err: AWSError, data: Finspace.Types.GetKxEnvironmentResponse) => void): Request<Finspace.Types.GetKxEnvironmentResponse, AWSError>;
206
+ /**
207
+ * Retrieves details of a scaling group.
208
+ */
209
+ getKxScalingGroup(params: Finspace.Types.GetKxScalingGroupRequest, callback?: (err: AWSError, data: Finspace.Types.GetKxScalingGroupResponse) => void): Request<Finspace.Types.GetKxScalingGroupResponse, AWSError>;
210
+ /**
211
+ * Retrieves details of a scaling group.
212
+ */
213
+ getKxScalingGroup(callback?: (err: AWSError, data: Finspace.Types.GetKxScalingGroupResponse) => void): Request<Finspace.Types.GetKxScalingGroupResponse, AWSError>;
150
214
  /**
151
215
  * Retrieves information about the specified kdb user.
152
216
  */
@@ -155,6 +219,14 @@ declare class Finspace extends Service {
155
219
  * Retrieves information about the specified kdb user.
156
220
  */
157
221
  getKxUser(callback?: (err: AWSError, data: Finspace.Types.GetKxUserResponse) => void): Request<Finspace.Types.GetKxUserResponse, AWSError>;
222
+ /**
223
+ * Retrieves the information about the volume.
224
+ */
225
+ getKxVolume(params: Finspace.Types.GetKxVolumeRequest, callback?: (err: AWSError, data: Finspace.Types.GetKxVolumeResponse) => void): Request<Finspace.Types.GetKxVolumeResponse, AWSError>;
226
+ /**
227
+ * Retrieves the information about the volume.
228
+ */
229
+ getKxVolume(callback?: (err: AWSError, data: Finspace.Types.GetKxVolumeResponse) => void): Request<Finspace.Types.GetKxVolumeResponse, AWSError>;
158
230
  /**
159
231
  * A list of all of your FinSpace environments.
160
232
  */
@@ -195,6 +267,14 @@ declare class Finspace extends Service {
195
267
  * Returns a list of all the databases in the kdb environment.
196
268
  */
197
269
  listKxDatabases(callback?: (err: AWSError, data: Finspace.Types.ListKxDatabasesResponse) => void): Request<Finspace.Types.ListKxDatabasesResponse, AWSError>;
270
+ /**
271
+ * Returns a list of all the dataviews in the database.
272
+ */
273
+ listKxDataviews(params: Finspace.Types.ListKxDataviewsRequest, callback?: (err: AWSError, data: Finspace.Types.ListKxDataviewsResponse) => void): Request<Finspace.Types.ListKxDataviewsResponse, AWSError>;
274
+ /**
275
+ * Returns a list of all the dataviews in the database.
276
+ */
277
+ listKxDataviews(callback?: (err: AWSError, data: Finspace.Types.ListKxDataviewsResponse) => void): Request<Finspace.Types.ListKxDataviewsResponse, AWSError>;
198
278
  /**
199
279
  * Returns a list of kdb environments created in an account.
200
280
  */
@@ -203,6 +283,14 @@ declare class Finspace extends Service {
203
283
  * Returns a list of kdb environments created in an account.
204
284
  */
205
285
  listKxEnvironments(callback?: (err: AWSError, data: Finspace.Types.ListKxEnvironmentsResponse) => void): Request<Finspace.Types.ListKxEnvironmentsResponse, AWSError>;
286
+ /**
287
+ * Returns a list of scaling groups in a kdb environment.
288
+ */
289
+ listKxScalingGroups(params: Finspace.Types.ListKxScalingGroupsRequest, callback?: (err: AWSError, data: Finspace.Types.ListKxScalingGroupsResponse) => void): Request<Finspace.Types.ListKxScalingGroupsResponse, AWSError>;
290
+ /**
291
+ * Returns a list of scaling groups in a kdb environment.
292
+ */
293
+ listKxScalingGroups(callback?: (err: AWSError, data: Finspace.Types.ListKxScalingGroupsResponse) => void): Request<Finspace.Types.ListKxScalingGroupsResponse, AWSError>;
206
294
  /**
207
295
  * Lists all the users in a kdb environment.
208
296
  */
@@ -211,6 +299,14 @@ declare class Finspace extends Service {
211
299
  * Lists all the users in a kdb environment.
212
300
  */
213
301
  listKxUsers(callback?: (err: AWSError, data: Finspace.Types.ListKxUsersResponse) => void): Request<Finspace.Types.ListKxUsersResponse, AWSError>;
302
+ /**
303
+ * Lists all the volumes in a kdb environment.
304
+ */
305
+ listKxVolumes(params: Finspace.Types.ListKxVolumesRequest, callback?: (err: AWSError, data: Finspace.Types.ListKxVolumesResponse) => void): Request<Finspace.Types.ListKxVolumesResponse, AWSError>;
306
+ /**
307
+ * Lists all the volumes in a kdb environment.
308
+ */
309
+ listKxVolumes(callback?: (err: AWSError, data: Finspace.Types.ListKxVolumesResponse) => void): Request<Finspace.Types.ListKxVolumesResponse, AWSError>;
214
310
  /**
215
311
  * A list of all tags for a resource.
216
312
  */
@@ -267,6 +363,14 @@ declare class Finspace extends Service {
267
363
  * Updates information for the given kdb database.
268
364
  */
269
365
  updateKxDatabase(callback?: (err: AWSError, data: Finspace.Types.UpdateKxDatabaseResponse) => void): Request<Finspace.Types.UpdateKxDatabaseResponse, AWSError>;
366
+ /**
367
+ * Updates the specified dataview. The dataviews get automatically updated when any new changesets are ingested. Each update of the dataview creates a new version, including changeset details and cache configurations
368
+ */
369
+ updateKxDataview(params: Finspace.Types.UpdateKxDataviewRequest, callback?: (err: AWSError, data: Finspace.Types.UpdateKxDataviewResponse) => void): Request<Finspace.Types.UpdateKxDataviewResponse, AWSError>;
370
+ /**
371
+ * Updates the specified dataview. The dataviews get automatically updated when any new changesets are ingested. Each update of the dataview creates a new version, including changeset details and cache configurations
372
+ */
373
+ updateKxDataview(callback?: (err: AWSError, data: Finspace.Types.UpdateKxDataviewResponse) => void): Request<Finspace.Types.UpdateKxDataviewResponse, AWSError>;
270
374
  /**
271
375
  * Updates information for the given kdb environment.
272
376
  */
@@ -291,8 +395,17 @@ declare class Finspace extends Service {
291
395
  * Updates the user details. You can only update the IAM role associated with a user.
292
396
  */
293
397
  updateKxUser(callback?: (err: AWSError, data: Finspace.Types.UpdateKxUserResponse) => void): Request<Finspace.Types.UpdateKxUserResponse, AWSError>;
398
+ /**
399
+ * Updates the throughput or capacity of a volume. During the update process, the filesystem might be unavailable for a few minutes. You can retry any operations after the update is complete.
400
+ */
401
+ updateKxVolume(params: Finspace.Types.UpdateKxVolumeRequest, callback?: (err: AWSError, data: Finspace.Types.UpdateKxVolumeResponse) => void): Request<Finspace.Types.UpdateKxVolumeResponse, AWSError>;
402
+ /**
403
+ * Updates the throughput or capacity of a volume. During the update process, the filesystem might be unavailable for a few minutes. You can retry any operations after the update is complete.
404
+ */
405
+ updateKxVolume(callback?: (err: AWSError, data: Finspace.Types.UpdateKxVolumeResponse) => void): Request<Finspace.Types.UpdateKxVolumeResponse, AWSError>;
294
406
  }
295
407
  declare namespace Finspace {
408
+ export type AttachedClusterList = KxClusterName[];
296
409
  export type AttributeMap = {[key: string]: FederationAttributeValue};
297
410
  export interface AutoScalingConfiguration {
298
411
  /**
@@ -355,6 +468,7 @@ declare namespace Finspace {
355
468
  export type ChangesetStatus = "PENDING"|"PROCESSING"|"FAILED"|"COMPLETED"|string;
356
469
  export type ClientToken = string;
357
470
  export type ClientTokenString = string;
471
+ export type ClusterNodeCount = number;
358
472
  export interface CodeConfiguration {
359
473
  /**
360
474
  * A unique name for the S3 bucket.
@@ -370,6 +484,7 @@ declare namespace Finspace {
370
484
  s3ObjectVersion?: S3ObjectVersion;
371
485
  }
372
486
  export type CooldownTime = number;
487
+ export type CpuCount = number;
373
488
  export interface CreateEnvironmentRequest {
374
489
  /**
375
490
  * The name of the FinSpace environment to be created.
@@ -484,9 +599,13 @@ declare namespace Finspace {
484
599
  */
485
600
  clusterName: KxClusterName;
486
601
  /**
487
- * Specifies the type of KDB database that is being created. The following types are available: HDB – A Historical Database. The data is only accessible with read-only permissions from one of the FinSpace managed kdb databases mounted to the cluster. RDB – A Realtime Database. This type of database captures all the data from a ticker plant and stores it in memory until the end of day, after which it writes all of its data to a disk and reloads the HDB. This cluster type requires local storage for temporary storage of data during the savedown process. If you specify this field in your request, you must provide the savedownStorageConfiguration parameter. GATEWAY – A gateway cluster allows you to access data across processes in kdb systems. It allows you to create your own routing logic using the initialization scripts and custom code. This type of cluster does not require a writable local storage. GP – A general purpose cluster allows you to quickly iterate on code during development by granting greater access to system commands and enabling a fast reload of custom code. This cluster type can optionally mount databases including cache and savedown storage. For this cluster type, the node count is fixed at 1. It does not support autoscaling and supports only SINGLE AZ mode.
602
+ * Specifies the type of KDB database that is being created. The following types are available: HDB – A Historical Database. The data is only accessible with read-only permissions from one of the FinSpace managed kdb databases mounted to the cluster. RDB – A Realtime Database. This type of database captures all the data from a ticker plant and stores it in memory until the end of day, after which it writes all of its data to a disk and reloads the HDB. This cluster type requires local storage for temporary storage of data during the savedown process. If you specify this field in your request, you must provide the savedownStorageConfiguration parameter. GATEWAY – A gateway cluster allows you to access data across processes in kdb systems. It allows you to create your own routing logic using the initialization scripts and custom code. This type of cluster does not require a writable local storage. GP – A general purpose cluster allows you to quickly iterate on code during development by granting greater access to system commands and enabling a fast reload of custom code. This cluster type can optionally mount databases including cache and savedown storage. For this cluster type, the node count is fixed at 1. It does not support autoscaling and supports only SINGLE AZ mode. Tickerplant – A tickerplant cluster allows you to subscribe to feed handlers based on IAM permissions. It can publish to RDBs, other Tickerplants, and real-time subscribers (RTS). Tickerplants can persist messages to log, which is readable by any RDB environment. It supports only single-node that is only one kdb process.
488
603
  */
489
604
  clusterType: KxClusterType;
605
+ /**
606
+ * A configuration to store Tickerplant logs. It consists of a list of volumes that will be mounted to your cluster. For the cluster type Tickerplant, the location of the TP volume on the cluster will be available by using the global variable .aws.tp_log_path.
607
+ */
608
+ tickerplantLogConfiguration?: TickerplantLogConfiguration;
490
609
  /**
491
610
  * A list of databases that will be available for querying.
492
611
  */
@@ -506,7 +625,7 @@ declare namespace Finspace {
506
625
  /**
507
626
  * A structure for the metadata of a cluster. It includes information like the CPUs needed, memory of instances, and number of instances.
508
627
  */
509
- capacityConfiguration: CapacityConfiguration;
628
+ capacityConfiguration?: CapacityConfiguration;
510
629
  /**
511
630
  * The version of FinSpace managed kdb to run.
512
631
  */
@@ -514,7 +633,7 @@ declare namespace Finspace {
514
633
  /**
515
634
  * Configuration details about the network where the Privatelink endpoint of the cluster resides.
516
635
  */
517
- vpcConfiguration?: VpcConfiguration;
636
+ vpcConfiguration: VpcConfiguration;
518
637
  /**
519
638
  * Specifies a Q program that will be run at launch of a cluster. It is a relative path within .zip file that contains the custom code, which will be loaded on the cluster. It must include the file name itself. For example, somedir/init.q.
520
639
  */
@@ -547,6 +666,10 @@ declare namespace Finspace {
547
666
  * A list of key-value pairs to label the cluster. You can add up to 50 tags to a cluster.
548
667
  */
549
668
  tags?: TagMap;
669
+ /**
670
+ * The structure that stores the configuration details of a scaling group.
671
+ */
672
+ scalingGroupConfiguration?: KxScalingGroupConfiguration;
550
673
  }
551
674
  export interface CreateKxClusterResponse {
552
675
  /**
@@ -566,9 +689,14 @@ declare namespace Finspace {
566
689
  */
567
690
  clusterName?: KxClusterName;
568
691
  /**
569
- * Specifies the type of KDB database that is being created. The following types are available: HDB – A Historical Database. The data is only accessible with read-only permissions from one of the FinSpace managed kdb databases mounted to the cluster. RDB – A Realtime Database. This type of database captures all the data from a ticker plant and stores it in memory until the end of day, after which it writes all of its data to a disk and reloads the HDB. This cluster type requires local storage for temporary storage of data during the savedown process. If you specify this field in your request, you must provide the savedownStorageConfiguration parameter. GATEWAY – A gateway cluster allows you to access data across processes in kdb systems. It allows you to create your own routing logic using the initialization scripts and custom code. This type of cluster does not require a writable local storage. GP – A general purpose cluster allows you to quickly iterate on code during development by granting greater access to system commands and enabling a fast reload of custom code. This cluster type can optionally mount databases including cache and savedown storage. For this cluster type, the node count is fixed at 1. It does not support autoscaling and supports only SINGLE AZ mode.
692
+ * Specifies the type of KDB database that is being created. The following types are available: HDB – A Historical Database. The data is only accessible with read-only permissions from one of the FinSpace managed kdb databases mounted to the cluster. RDB – A Realtime Database. This type of database captures all the data from a ticker plant and stores it in memory until the end of day, after which it writes all of its data to a disk and reloads the HDB. This cluster type requires local storage for temporary storage of data during the savedown process. If you specify this field in your request, you must provide the savedownStorageConfiguration parameter. GATEWAY – A gateway cluster allows you to access data across processes in kdb systems. It allows you to create your own routing logic using the initialization scripts and custom code. This type of cluster does not require a writable local storage. GP – A general purpose cluster allows you to quickly iterate on code during development by granting greater access to system commands and enabling a fast reload of custom code. This cluster type can optionally mount databases including cache and savedown storage. For this cluster type, the node count is fixed at 1. It does not support autoscaling and supports only SINGLE AZ mode. Tickerplant – A tickerplant cluster allows you to subscribe to feed handlers based on IAM permissions. It can publish to RDBs, other Tickerplants, and real-time subscribers (RTS). Tickerplants can persist messages to log, which is readable by any RDB environment. It supports only single-node that is only one kdb process.
570
693
  */
571
694
  clusterType?: KxClusterType;
695
+ tickerplantLogConfiguration?: TickerplantLogConfiguration;
696
+ /**
697
+ * A list of volumes mounted on the cluster.
698
+ */
699
+ volumes?: Volumes;
572
700
  /**
573
701
  * A list of databases that will be available for querying.
574
702
  */
@@ -633,6 +761,10 @@ declare namespace Finspace {
633
761
  * The timestamp at which the cluster was created in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
634
762
  */
635
763
  createdTimestamp?: Timestamp;
764
+ /**
765
+ * The structure that stores the configuration details of a scaling group.
766
+ */
767
+ scalingGroupConfiguration?: KxScalingGroupConfiguration;
636
768
  }
637
769
  export interface CreateKxDatabaseRequest {
638
770
  /**
@@ -682,6 +814,102 @@ declare namespace Finspace {
682
814
  */
683
815
  lastModifiedTimestamp?: Timestamp;
684
816
  }
817
+ export interface CreateKxDataviewRequest {
818
+ /**
819
+ * A unique identifier for the kdb environment, where you want to create the dataview.
820
+ */
821
+ environmentId: EnvironmentId;
822
+ /**
823
+ * The name of the database where you want to create a dataview.
824
+ */
825
+ databaseName: DatabaseName;
826
+ /**
827
+ * A unique identifier for the dataview.
828
+ */
829
+ dataviewName: KxDataviewName;
830
+ /**
831
+ * The number of availability zones you want to assign per cluster. This can be one of the following SINGLE – Assigns one availability zone per cluster. MULTI – Assigns all the availability zones per cluster.
832
+ */
833
+ azMode: KxAzMode;
834
+ /**
835
+ * The identifier of the availability zones.
836
+ */
837
+ availabilityZoneId?: AvailabilityZoneId;
838
+ /**
839
+ * A unique identifier of the changeset that you want to use to ingest data.
840
+ */
841
+ changesetId?: ChangesetId;
842
+ /**
843
+ * The configuration that contains the database path of the data that you want to place on each selected volume. Each segment must have a unique database path for each volume. If you do not explicitly specify any database path for a volume, they are accessible from the cluster through the default S3/object store segment.
844
+ */
845
+ segmentConfigurations?: KxDataviewSegmentConfigurationList;
846
+ /**
847
+ * The option to specify whether you want to apply all the future additions and corrections automatically to the dataview, when you ingest new changesets. The default value is false.
848
+ */
849
+ autoUpdate?: booleanValue;
850
+ /**
851
+ * A description of the dataview.
852
+ */
853
+ description?: Description;
854
+ /**
855
+ * A list of key-value pairs to label the dataview. You can add up to 50 tags to a dataview.
856
+ */
857
+ tags?: TagMap;
858
+ /**
859
+ * A token that ensures idempotency. This token expires in 10 minutes.
860
+ */
861
+ clientToken: ClientTokenString;
862
+ }
863
+ export interface CreateKxDataviewResponse {
864
+ /**
865
+ * A unique identifier for the dataview.
866
+ */
867
+ dataviewName?: KxDataviewName;
868
+ /**
869
+ * The name of the database where you want to create a dataview.
870
+ */
871
+ databaseName?: DatabaseName;
872
+ /**
873
+ * A unique identifier for the kdb environment, where you want to create the dataview.
874
+ */
875
+ environmentId?: EnvironmentId;
876
+ /**
877
+ * The number of availability zones you want to assign per cluster. This can be one of the following SINGLE – Assigns one availability zone per cluster. MULTI – Assigns all the availability zones per cluster.
878
+ */
879
+ azMode?: KxAzMode;
880
+ /**
881
+ * The identifier of the availability zones.
882
+ */
883
+ availabilityZoneId?: AvailabilityZoneId;
884
+ /**
885
+ * A unique identifier for the changeset.
886
+ */
887
+ changesetId?: ChangesetId;
888
+ /**
889
+ * The configuration that contains the database path of the data that you want to place on each selected volume. Each segment must have a unique database path for each volume. If you do not explicitly specify any database path for a volume, they are accessible from the cluster through the default S3/object store segment.
890
+ */
891
+ segmentConfigurations?: KxDataviewSegmentConfigurationList;
892
+ /**
893
+ * A description of the dataview.
894
+ */
895
+ description?: Description;
896
+ /**
897
+ * The option to select whether you want to apply all the future additions and corrections automatically to the dataview when you ingest new changesets. The default value is false.
898
+ */
899
+ autoUpdate?: booleanValue;
900
+ /**
901
+ * The timestamp at which the dataview was created in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
902
+ */
903
+ createdTimestamp?: Timestamp;
904
+ /**
905
+ * The last time that the dataview was updated in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
906
+ */
907
+ lastModifiedTimestamp?: Timestamp;
908
+ /**
909
+ * The status of dataview creation. CREATING – The dataview creation is in progress. UPDATING – The dataview is in the process of being updated. ACTIVE – The dataview is active.
910
+ */
911
+ status?: KxDataviewStatus;
912
+ }
685
913
  export interface CreateKxEnvironmentRequest {
686
914
  /**
687
915
  * The name of the kdb environment that you want to create.
@@ -734,6 +962,62 @@ declare namespace Finspace {
734
962
  */
735
963
  creationTimestamp?: Timestamp;
736
964
  }
965
+ export interface CreateKxScalingGroupRequest {
966
+ /**
967
+ * A token that ensures idempotency. This token expires in 10 minutes.
968
+ */
969
+ clientToken: ClientToken;
970
+ /**
971
+ * A unique identifier for the kdb environment, where you want to create the scaling group.
972
+ */
973
+ environmentId: KxEnvironmentId;
974
+ /**
975
+ * A unique identifier for the kdb scaling group.
976
+ */
977
+ scalingGroupName: KxScalingGroupName;
978
+ /**
979
+ * The memory and CPU capabilities of the scaling group host on which FinSpace Managed kdb clusters will be placed.
980
+ */
981
+ hostType: KxHostType;
982
+ /**
983
+ * The identifier of the availability zones.
984
+ */
985
+ availabilityZoneId: AvailabilityZoneId;
986
+ /**
987
+ * A list of key-value pairs to label the scaling group. You can add up to 50 tags to a scaling group.
988
+ */
989
+ tags?: TagMap;
990
+ }
991
+ export interface CreateKxScalingGroupResponse {
992
+ /**
993
+ * A unique identifier for the kdb environment, where you create the scaling group.
994
+ */
995
+ environmentId?: KxEnvironmentId;
996
+ /**
997
+ * A unique identifier for the kdb scaling group.
998
+ */
999
+ scalingGroupName?: KxScalingGroupName;
1000
+ /**
1001
+ * The memory and CPU capabilities of the scaling group host on which FinSpace Managed kdb clusters will be placed.
1002
+ */
1003
+ hostType?: KxHostType;
1004
+ /**
1005
+ * The identifier of the availability zones.
1006
+ */
1007
+ availabilityZoneId?: AvailabilityZoneId;
1008
+ /**
1009
+ * The status of scaling group. CREATING – The scaling group creation is in progress. CREATE_FAILED – The scaling group creation has failed. ACTIVE – The scaling group is active. UPDATING – The scaling group is in the process of being updated. UPDATE_FAILED – The update action failed. DELETING – The scaling group is in the process of being deleted. DELETE_FAILED – The system failed to delete the scaling group. DELETED – The scaling group is successfully deleted.
1010
+ */
1011
+ status?: KxScalingGroupStatus;
1012
+ /**
1013
+ * The last time that the scaling group was updated in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
1014
+ */
1015
+ lastModifiedTimestamp?: Timestamp;
1016
+ /**
1017
+ * The timestamp at which the scaling group was created in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
1018
+ */
1019
+ createdTimestamp?: Timestamp;
1020
+ }
737
1021
  export interface CreateKxUserRequest {
738
1022
  /**
739
1023
  * A unique identifier for the kdb environment where you want to create a user.
@@ -774,6 +1058,90 @@ declare namespace Finspace {
774
1058
  */
775
1059
  iamRole?: RoleArn;
776
1060
  }
1061
+ export interface CreateKxVolumeRequest {
1062
+ /**
1063
+ * A token that ensures idempotency. This token expires in 10 minutes.
1064
+ */
1065
+ clientToken?: ClientToken;
1066
+ /**
1067
+ * A unique identifier for the kdb environment, whose clusters can attach to the volume.
1068
+ */
1069
+ environmentId: KxEnvironmentId;
1070
+ /**
1071
+ * The type of file system volume. Currently, FinSpace only supports NAS_1 volume type. When you select NAS_1 volume type, you must also provide nas1Configuration.
1072
+ */
1073
+ volumeType: KxVolumeType;
1074
+ /**
1075
+ * A unique identifier for the volume.
1076
+ */
1077
+ volumeName: KxVolumeName;
1078
+ /**
1079
+ * A description of the volume.
1080
+ */
1081
+ description?: Description;
1082
+ /**
1083
+ * Specifies the configuration for the Network attached storage (NAS_1) file system volume. This parameter is required when you choose volumeType as NAS_1.
1084
+ */
1085
+ nas1Configuration?: KxNAS1Configuration;
1086
+ /**
1087
+ * The number of availability zones you want to assign per cluster. Currently, FinSpace only support SINGLE for volumes.
1088
+ */
1089
+ azMode: KxAzMode;
1090
+ /**
1091
+ * The identifier of the availability zones.
1092
+ */
1093
+ availabilityZoneIds: AvailabilityZoneIds;
1094
+ /**
1095
+ * A list of key-value pairs to label the volume. You can add up to 50 tags to a volume.
1096
+ */
1097
+ tags?: TagMap;
1098
+ }
1099
+ export interface CreateKxVolumeResponse {
1100
+ /**
1101
+ * A unique identifier for the kdb environment, whose clusters can attach to the volume.
1102
+ */
1103
+ environmentId?: KxEnvironmentId;
1104
+ /**
1105
+ * A unique identifier for the volume.
1106
+ */
1107
+ volumeName?: KxVolumeName;
1108
+ /**
1109
+ * The type of file system volume. Currently, FinSpace only supports NAS_1 volume type.
1110
+ */
1111
+ volumeType?: KxVolumeType;
1112
+ /**
1113
+ * The ARN identifier of the volume.
1114
+ */
1115
+ volumeArn?: KxVolumeArn;
1116
+ /**
1117
+ * Specifies the configuration for the Network attached storage (NAS_1) file system volume.
1118
+ */
1119
+ nas1Configuration?: KxNAS1Configuration;
1120
+ /**
1121
+ * The status of volume creation. CREATING – The volume creation is in progress. CREATE_FAILED – The volume creation has failed. ACTIVE – The volume is active. UPDATING – The volume is in the process of being updated. UPDATE_FAILED – The update action failed. UPDATED – The volume is successfully updated. DELETING – The volume is in the process of being deleted. DELETE_FAILED – The system failed to delete the volume. DELETED – The volume is successfully deleted.
1122
+ */
1123
+ status?: KxVolumeStatus;
1124
+ /**
1125
+ * The error message when a failed state occurs.
1126
+ */
1127
+ statusReason?: KxVolumeStatusReason;
1128
+ /**
1129
+ * The number of availability zones you want to assign per cluster. Currently, FinSpace only support SINGLE for volumes.
1130
+ */
1131
+ azMode?: KxAzMode;
1132
+ /**
1133
+ * A description of the volume.
1134
+ */
1135
+ description?: Description;
1136
+ /**
1137
+ * The identifier of the availability zones.
1138
+ */
1139
+ availabilityZoneIds?: AvailabilityZoneIds;
1140
+ /**
1141
+ * The timestamp at which the volume was created in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
1142
+ */
1143
+ createdTimestamp?: Timestamp;
1144
+ }
777
1145
  export type CustomDNSConfiguration = CustomDNSServer[];
778
1146
  export interface CustomDNSServer {
779
1147
  /**
@@ -831,14 +1199,54 @@ declare namespace Finspace {
831
1199
  }
832
1200
  export interface DeleteKxDatabaseResponse {
833
1201
  }
1202
+ export interface DeleteKxDataviewRequest {
1203
+ /**
1204
+ * A unique identifier for the kdb environment, from where you want to delete the dataview.
1205
+ */
1206
+ environmentId: EnvironmentId;
1207
+ /**
1208
+ * The name of the database whose dataview you want to delete.
1209
+ */
1210
+ databaseName: DatabaseName;
1211
+ /**
1212
+ * The name of the dataview that you want to delete.
1213
+ */
1214
+ dataviewName: KxDataviewName;
1215
+ /**
1216
+ * A token that ensures idempotency. This token expires in 10 minutes.
1217
+ */
1218
+ clientToken: ClientTokenString;
1219
+ }
1220
+ export interface DeleteKxDataviewResponse {
1221
+ }
834
1222
  export interface DeleteKxEnvironmentRequest {
835
1223
  /**
836
1224
  * A unique identifier for the kdb environment.
837
1225
  */
838
1226
  environmentId: IdType;
1227
+ /**
1228
+ * A token that ensures idempotency. This token expires in 10 minutes.
1229
+ */
1230
+ clientToken?: ClientToken;
839
1231
  }
840
1232
  export interface DeleteKxEnvironmentResponse {
841
1233
  }
1234
+ export interface DeleteKxScalingGroupRequest {
1235
+ /**
1236
+ * A unique identifier for the kdb environment, from where you want to delete the dataview.
1237
+ */
1238
+ environmentId: KxEnvironmentId;
1239
+ /**
1240
+ * A unique identifier for the kdb scaling group.
1241
+ */
1242
+ scalingGroupName: KxScalingGroupName;
1243
+ /**
1244
+ * A token that ensures idempotency. This token expires in 10 minutes.
1245
+ */
1246
+ clientToken?: ClientTokenString;
1247
+ }
1248
+ export interface DeleteKxScalingGroupResponse {
1249
+ }
842
1250
  export interface DeleteKxUserRequest {
843
1251
  /**
844
1252
  * A unique identifier for the user that you want to delete.
@@ -848,9 +1256,29 @@ declare namespace Finspace {
848
1256
  * A unique identifier for the kdb environment.
849
1257
  */
850
1258
  environmentId: IdType;
1259
+ /**
1260
+ * A token that ensures idempotency. This token expires in 10 minutes.
1261
+ */
1262
+ clientToken?: ClientToken;
851
1263
  }
852
1264
  export interface DeleteKxUserResponse {
853
1265
  }
1266
+ export interface DeleteKxVolumeRequest {
1267
+ /**
1268
+ * A unique identifier for the kdb environment, whose clusters can attach to the volume.
1269
+ */
1270
+ environmentId: KxEnvironmentId;
1271
+ /**
1272
+ * The name of the volume that you want to delete.
1273
+ */
1274
+ volumeName: KxVolumeName;
1275
+ /**
1276
+ * A token that ensures idempotency. This token expires in 10 minutes.
1277
+ */
1278
+ clientToken?: ClientTokenString;
1279
+ }
1280
+ export interface DeleteKxVolumeResponse {
1281
+ }
854
1282
  export type Description = string;
855
1283
  export type EmailId = string;
856
1284
  export interface Environment {
@@ -1041,9 +1469,14 @@ declare namespace Finspace {
1041
1469
  */
1042
1470
  clusterName?: KxClusterName;
1043
1471
  /**
1044
- * Specifies the type of KDB database that is being created. The following types are available: HDB – A Historical Database. The data is only accessible with read-only permissions from one of the FinSpace managed kdb databases mounted to the cluster. RDB – A Realtime Database. This type of database captures all the data from a ticker plant and stores it in memory until the end of day, after which it writes all of its data to a disk and reloads the HDB. This cluster type requires local storage for temporary storage of data during the savedown process. If you specify this field in your request, you must provide the savedownStorageConfiguration parameter. GATEWAY – A gateway cluster allows you to access data across processes in kdb systems. It allows you to create your own routing logic using the initialization scripts and custom code. This type of cluster does not require a writable local storage. GP – A general purpose cluster allows you to quickly iterate on code during development by granting greater access to system commands and enabling a fast reload of custom code. This cluster type can optionally mount databases including cache and savedown storage. For this cluster type, the node count is fixed at 1. It does not support autoscaling and supports only SINGLE AZ mode.
1472
+ * Specifies the type of KDB database that is being created. The following types are available: HDB – A Historical Database. The data is only accessible with read-only permissions from one of the FinSpace managed kdb databases mounted to the cluster. RDB – A Realtime Database. This type of database captures all the data from a ticker plant and stores it in memory until the end of day, after which it writes all of its data to a disk and reloads the HDB. This cluster type requires local storage for temporary storage of data during the savedown process. If you specify this field in your request, you must provide the savedownStorageConfiguration parameter. GATEWAY – A gateway cluster allows you to access data across processes in kdb systems. It allows you to create your own routing logic using the initialization scripts and custom code. This type of cluster does not require a writable local storage. GP – A general purpose cluster allows you to quickly iterate on code during development by granting greater access to system commands and enabling a fast reload of custom code. This cluster type can optionally mount databases including cache and savedown storage. For this cluster type, the node count is fixed at 1. It does not support autoscaling and supports only SINGLE AZ mode. Tickerplant – A tickerplant cluster allows you to subscribe to feed handlers based on IAM permissions. It can publish to RDBs, other Tickerplants, and real-time subscribers (RTS). Tickerplants can persist messages to log, which is readable by any RDB environment. It supports only single-node that is only one kdb process.
1045
1473
  */
1046
1474
  clusterType?: KxClusterType;
1475
+ tickerplantLogConfiguration?: TickerplantLogConfiguration;
1476
+ /**
1477
+ * A list of volumes attached to the cluster.
1478
+ */
1479
+ volumes?: Volumes;
1047
1480
  /**
1048
1481
  * A list of databases mounted on the cluster.
1049
1482
  */
@@ -1108,6 +1541,7 @@ declare namespace Finspace {
1108
1541
  * The timestamp at which the cluster was created in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
1109
1542
  */
1110
1543
  createdTimestamp?: Timestamp;
1544
+ scalingGroupConfiguration?: KxScalingGroupConfiguration;
1111
1545
  }
1112
1546
  export interface GetKxConnectionStringRequest {
1113
1547
  /**
@@ -1181,6 +1615,78 @@ declare namespace Finspace {
1181
1615
  */
1182
1616
  numFiles?: numFiles;
1183
1617
  }
1618
+ export interface GetKxDataviewRequest {
1619
+ /**
1620
+ * A unique identifier for the kdb environment, from where you want to retrieve the dataview details.
1621
+ */
1622
+ environmentId: EnvironmentId;
1623
+ /**
1624
+ * The name of the database where you created the dataview.
1625
+ */
1626
+ databaseName: DatabaseName;
1627
+ /**
1628
+ * A unique identifier for the dataview.
1629
+ */
1630
+ dataviewName: KxDataviewName;
1631
+ }
1632
+ export interface GetKxDataviewResponse {
1633
+ /**
1634
+ * The name of the database where you created the dataview.
1635
+ */
1636
+ databaseName?: DatabaseName;
1637
+ /**
1638
+ * A unique identifier for the dataview.
1639
+ */
1640
+ dataviewName?: KxDataviewName;
1641
+ /**
1642
+ * The number of availability zones you want to assign per cluster. This can be one of the following SINGLE – Assigns one availability zone per cluster. MULTI – Assigns all the availability zones per cluster.
1643
+ */
1644
+ azMode?: KxAzMode;
1645
+ /**
1646
+ * The identifier of the availability zones.
1647
+ */
1648
+ availabilityZoneId?: AvailabilityZoneId;
1649
+ /**
1650
+ * A unique identifier of the changeset that you want to use to ingest data.
1651
+ */
1652
+ changesetId?: ChangesetId;
1653
+ /**
1654
+ * The configuration that contains the database path of the data that you want to place on each selected volume. Each segment must have a unique database path for each volume. If you do not explicitly specify any database path for a volume, they are accessible from the cluster through the default S3/object store segment.
1655
+ */
1656
+ segmentConfigurations?: KxDataviewSegmentConfigurationList;
1657
+ /**
1658
+ * The current active changeset versions of the database on the given dataview.
1659
+ */
1660
+ activeVersions?: KxDataviewActiveVersionList;
1661
+ /**
1662
+ * A description of the dataview.
1663
+ */
1664
+ description?: Description;
1665
+ /**
1666
+ * The option to specify whether you want to apply all the future additions and corrections automatically to the dataview when new changesets are ingested. The default value is false.
1667
+ */
1668
+ autoUpdate?: booleanValue;
1669
+ /**
1670
+ * A unique identifier for the kdb environment, from where you want to retrieve the dataview details.
1671
+ */
1672
+ environmentId?: EnvironmentId;
1673
+ /**
1674
+ * The timestamp at which the dataview was created in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
1675
+ */
1676
+ createdTimestamp?: Timestamp;
1677
+ /**
1678
+ * The last time that the dataview was updated in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
1679
+ */
1680
+ lastModifiedTimestamp?: Timestamp;
1681
+ /**
1682
+ * The status of dataview creation. CREATING – The dataview creation is in progress. UPDATING – The dataview is in the process of being updated. ACTIVE – The dataview is active.
1683
+ */
1684
+ status?: KxDataviewStatus;
1685
+ /**
1686
+ * The error message when a failed state occurs.
1687
+ */
1688
+ statusReason?: KxDataviewStatusReason;
1689
+ }
1184
1690
  export interface GetKxEnvironmentRequest {
1185
1691
  /**
1186
1692
  * A unique identifier for the kdb environment.
@@ -1254,6 +1760,54 @@ declare namespace Finspace {
1254
1760
  */
1255
1761
  certificateAuthorityArn?: stringValueLength1to255;
1256
1762
  }
1763
+ export interface GetKxScalingGroupRequest {
1764
+ /**
1765
+ * A unique identifier for the kdb environment.
1766
+ */
1767
+ environmentId: KxEnvironmentId;
1768
+ /**
1769
+ * A unique identifier for the kdb scaling group.
1770
+ */
1771
+ scalingGroupName: KxScalingGroupName;
1772
+ }
1773
+ export interface GetKxScalingGroupResponse {
1774
+ /**
1775
+ * A unique identifier for the kdb scaling group.
1776
+ */
1777
+ scalingGroupName?: KxScalingGroupName;
1778
+ /**
1779
+ * The ARN identifier for the scaling group.
1780
+ */
1781
+ scalingGroupArn?: arn;
1782
+ /**
1783
+ * The memory and CPU capabilities of the scaling group host on which FinSpace Managed kdb clusters will be placed.
1784
+ */
1785
+ hostType?: KxHostType;
1786
+ /**
1787
+ * The list of Managed kdb clusters that are currently active in the given scaling group.
1788
+ */
1789
+ clusters?: KxClusterNameList;
1790
+ /**
1791
+ * The identifier of the availability zones.
1792
+ */
1793
+ availabilityZoneId?: AvailabilityZoneId;
1794
+ /**
1795
+ * The status of scaling group. CREATING – The scaling group creation is in progress. CREATE_FAILED – The scaling group creation has failed. ACTIVE – The scaling group is active. UPDATING – The scaling group is in the process of being updated. UPDATE_FAILED – The update action failed. DELETING – The scaling group is in the process of being deleted. DELETE_FAILED – The system failed to delete the scaling group. DELETED – The scaling group is successfully deleted.
1796
+ */
1797
+ status?: KxScalingGroupStatus;
1798
+ /**
1799
+ * The error message when a failed state occurs.
1800
+ */
1801
+ statusReason?: KxClusterStatusReason;
1802
+ /**
1803
+ * The last time that the scaling group was updated in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
1804
+ */
1805
+ lastModifiedTimestamp?: Timestamp;
1806
+ /**
1807
+ * The timestamp at which the scaling group was created in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
1808
+ */
1809
+ createdTimestamp?: Timestamp;
1810
+ }
1257
1811
  export interface GetKxUserRequest {
1258
1812
  /**
1259
1813
  * A unique identifier for the user.
@@ -1282,6 +1836,70 @@ declare namespace Finspace {
1282
1836
  */
1283
1837
  iamRole?: RoleArn;
1284
1838
  }
1839
+ export interface GetKxVolumeRequest {
1840
+ /**
1841
+ * A unique identifier for the kdb environment, whose clusters can attach to the volume.
1842
+ */
1843
+ environmentId: KxEnvironmentId;
1844
+ /**
1845
+ * A unique identifier for the volume.
1846
+ */
1847
+ volumeName: KxVolumeName;
1848
+ }
1849
+ export interface GetKxVolumeResponse {
1850
+ /**
1851
+ * A unique identifier for the kdb environment, whose clusters can attach to the volume.
1852
+ */
1853
+ environmentId?: KxEnvironmentId;
1854
+ /**
1855
+ * A unique identifier for the volume.
1856
+ */
1857
+ volumeName?: KxVolumeName;
1858
+ /**
1859
+ * The type of file system volume. Currently, FinSpace only supports NAS_1 volume type.
1860
+ */
1861
+ volumeType?: KxVolumeType;
1862
+ /**
1863
+ * The ARN identifier of the volume.
1864
+ */
1865
+ volumeArn?: KxVolumeArn;
1866
+ /**
1867
+ * Specifies the configuration for the Network attached storage (NAS_1) file system volume.
1868
+ */
1869
+ nas1Configuration?: KxNAS1Configuration;
1870
+ /**
1871
+ * The status of volume creation. CREATING – The volume creation is in progress. CREATE_FAILED – The volume creation has failed. ACTIVE – The volume is active. UPDATING – The volume is in the process of being updated. UPDATE_FAILED – The update action failed. UPDATED – The volume is successfully updated. DELETING – The volume is in the process of being deleted. DELETE_FAILED – The system failed to delete the volume. DELETED – The volume is successfully deleted.
1872
+ */
1873
+ status?: KxVolumeStatus;
1874
+ /**
1875
+ * The error message when a failed state occurs.
1876
+ */
1877
+ statusReason?: KxVolumeStatusReason;
1878
+ /**
1879
+ * The timestamp at which the volume was created in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
1880
+ */
1881
+ createdTimestamp?: Timestamp;
1882
+ /**
1883
+ * A description of the volume.
1884
+ */
1885
+ description?: Description;
1886
+ /**
1887
+ * The number of availability zones you want to assign per cluster. Currently, FinSpace only support SINGLE for volumes.
1888
+ */
1889
+ azMode?: KxAzMode;
1890
+ /**
1891
+ * The identifier of the availability zones.
1892
+ */
1893
+ availabilityZoneIds?: AvailabilityZoneIds;
1894
+ /**
1895
+ * The last time that the volume was updated in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
1896
+ */
1897
+ lastModifiedTimestamp?: Timestamp;
1898
+ /**
1899
+ * A list of cluster identifiers that a volume is attached to.
1900
+ */
1901
+ attachedClusters?: KxAttachedClusters;
1902
+ }
1285
1903
  export type IPAddressType = "IP_V4"|string;
1286
1904
  export interface IcmpTypeCode {
1287
1905
  /**
@@ -1298,6 +1916,21 @@ declare namespace Finspace {
1298
1916
  export type InitializationScriptFilePath = string;
1299
1917
  export type KmsKeyARN = string;
1300
1918
  export type KmsKeyId = string;
1919
+ export interface KxAttachedCluster {
1920
+ /**
1921
+ * A unique name for the attached cluster.
1922
+ */
1923
+ clusterName?: KxClusterName;
1924
+ /**
1925
+ * Specifies the type of cluster. The volume for TP and RDB cluster types will be used for TP logs.
1926
+ */
1927
+ clusterType?: KxClusterType;
1928
+ /**
1929
+ * The status of the attached cluster. PENDING – The cluster is pending creation. CREATING – The cluster creation process is in progress. CREATE_FAILED – The cluster creation process has failed. RUNNING – The cluster creation process is running. UPDATING – The cluster is in the process of being updated. DELETING – The cluster is in the process of being deleted. DELETED – The cluster has been deleted. DELETE_FAILED – The cluster failed to delete.
1930
+ */
1931
+ clusterStatus?: KxClusterStatus;
1932
+ }
1933
+ export type KxAttachedClusters = KxAttachedCluster[];
1301
1934
  export type KxAzMode = "SINGLE"|"MULTI"|string;
1302
1935
  export interface KxCacheStorageConfiguration {
1303
1936
  /**
@@ -1349,7 +1982,7 @@ declare namespace Finspace {
1349
1982
  */
1350
1983
  clusterName?: KxClusterName;
1351
1984
  /**
1352
- * Specifies the type of KDB database that is being created. The following types are available: HDB – A Historical Database. The data is only accessible with read-only permissions from one of the FinSpace managed kdb databases mounted to the cluster. RDB – A Realtime Database. This type of database captures all the data from a ticker plant and stores it in memory until the end of day, after which it writes all of its data to a disk and reloads the HDB. This cluster type requires local storage for temporary storage of data during the savedown process. If you specify this field in your request, you must provide the savedownStorageConfiguration parameter. GATEWAY – A gateway cluster allows you to access data across processes in kdb systems. It allows you to create your own routing logic using the initialization scripts and custom code. This type of cluster does not require a writable local storage. GP – A general purpose cluster allows you to quickly iterate on code during development by granting greater access to system commands and enabling a fast reload of custom code. This cluster type can optionally mount databases including cache and savedown storage. For this cluster type, the node count is fixed at 1. It does not support autoscaling and supports only SINGLE AZ mode.
1985
+ * Specifies the type of KDB database that is being created. The following types are available: HDB – A Historical Database. The data is only accessible with read-only permissions from one of the FinSpace managed kdb databases mounted to the cluster. RDB – A Realtime Database. This type of database captures all the data from a ticker plant and stores it in memory until the end of day, after which it writes all of its data to a disk and reloads the HDB. This cluster type requires local storage for temporary storage of data during the savedown process. If you specify this field in your request, you must provide the savedownStorageConfiguration parameter. GATEWAY – A gateway cluster allows you to access data across processes in kdb systems. It allows you to create your own routing logic using the initialization scripts and custom code. This type of cluster does not require a writable local storage. GP – A general purpose cluster allows you to quickly iterate on code during development by granting greater access to system commands and enabling a fast reload of custom code. This cluster type can optionally mount databases including cache and savedown storage. For this cluster type, the node count is fixed at 1. It does not support autoscaling and supports only SINGLE AZ mode. Tickerplant – A tickerplant cluster allows you to subscribe to feed handlers based on IAM permissions. It can publish to RDBs, other Tickerplants, and real-time subscribers (RTS). Tickerplants can persist messages to log, which is readable by any RDB environment. It supports only single-node that is only one kdb process.
1353
1986
  */
1354
1987
  clusterType?: KxClusterType;
1355
1988
  /**
@@ -1360,6 +1993,10 @@ declare namespace Finspace {
1360
1993
  * A version of the FinSpace managed kdb to run.
1361
1994
  */
1362
1995
  releaseLabel?: ReleaseLabel;
1996
+ /**
1997
+ * A list of volumes attached to the cluster.
1998
+ */
1999
+ volumes?: Volumes;
1363
2000
  /**
1364
2001
  * Specifies a Q program that will be run at launch of a cluster. It is a relative path within .zip file that contains the custom code, which will be loaded on the cluster. It must include the file name itself. For example, somedir/init.q.
1365
2002
  */
@@ -1394,10 +2031,11 @@ declare namespace Finspace {
1394
2031
  export type KxClusterCodeDeploymentStrategy = "NO_RESTART"|"ROLLING"|"FORCE"|string;
1395
2032
  export type KxClusterDescription = string;
1396
2033
  export type KxClusterName = string;
2034
+ export type KxClusterNameList = KxClusterName[];
1397
2035
  export type KxClusterNodeIdString = string;
1398
2036
  export type KxClusterStatus = "PENDING"|"CREATING"|"CREATE_FAILED"|"RUNNING"|"UPDATING"|"DELETING"|"DELETED"|"DELETE_FAILED"|string;
1399
2037
  export type KxClusterStatusReason = string;
1400
- export type KxClusterType = "HDB"|"RDB"|"GATEWAY"|"GP"|string;
2038
+ export type KxClusterType = "HDB"|"RDB"|"GATEWAY"|"GP"|"TICKERPLANT"|string;
1401
2039
  export type KxClusters = KxCluster[];
1402
2040
  export interface KxCommandLineArgument {
1403
2041
  /**
@@ -1421,6 +2059,10 @@ declare namespace Finspace {
1421
2059
  * Specifies the portions of database that will be loaded into the cache for access.
1422
2060
  */
1423
2061
  dbPaths: DbPaths;
2062
+ /**
2063
+ * The name of the dataview to be used for caching historical data on disk.
2064
+ */
2065
+ dataviewName?: KxDataviewName;
1424
2066
  }
1425
2067
  export type KxDatabaseCacheConfigurations = KxDatabaseCacheConfiguration[];
1426
2068
  export interface KxDatabaseConfiguration {
@@ -1436,6 +2078,14 @@ declare namespace Finspace {
1436
2078
  * A unique identifier of the changeset that is associated with the cluster.
1437
2079
  */
1438
2080
  changesetId?: ChangesetId;
2081
+ /**
2082
+ * The name of the dataview to be used for caching historical data on disk.
2083
+ */
2084
+ dataviewName?: KxDataviewName;
2085
+ /**
2086
+ * The configuration of the dataview to be used with specified cluster.
2087
+ */
2088
+ dataviewConfiguration?: KxDataviewConfiguration;
1439
2089
  }
1440
2090
  export type KxDatabaseConfigurations = KxDatabaseConfiguration[];
1441
2091
  export interface KxDatabaseListEntry {
@@ -1453,6 +2103,120 @@ declare namespace Finspace {
1453
2103
  lastModifiedTimestamp?: Timestamp;
1454
2104
  }
1455
2105
  export type KxDatabases = KxDatabaseListEntry[];
2106
+ export interface KxDataviewActiveVersion {
2107
+ /**
2108
+ * A unique identifier for the changeset.
2109
+ */
2110
+ changesetId?: ChangesetId;
2111
+ /**
2112
+ * The configuration that contains the database path of the data that you want to place on each selected volume. Each segment must have a unique database path for each volume. If you do not explicitly specify any database path for a volume, they are accessible from the cluster through the default S3/object store segment.
2113
+ */
2114
+ segmentConfigurations?: KxDataviewSegmentConfigurationList;
2115
+ /**
2116
+ * The list of clusters that are currently using this dataview.
2117
+ */
2118
+ attachedClusters?: AttachedClusterList;
2119
+ /**
2120
+ * The timestamp at which the dataview version was active. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
2121
+ */
2122
+ createdTimestamp?: Timestamp;
2123
+ /**
2124
+ * A unique identifier of the active version.
2125
+ */
2126
+ versionId?: VersionId;
2127
+ }
2128
+ export type KxDataviewActiveVersionList = KxDataviewActiveVersion[];
2129
+ export interface KxDataviewConfiguration {
2130
+ /**
2131
+ * The unique identifier of the dataview.
2132
+ */
2133
+ dataviewName?: KxDataviewName;
2134
+ /**
2135
+ * The version of the dataview corresponding to a given changeset.
2136
+ */
2137
+ dataviewVersionId?: VersionId;
2138
+ /**
2139
+ * A unique identifier for the changeset.
2140
+ */
2141
+ changesetId?: ChangesetId;
2142
+ /**
2143
+ * The db path and volume configuration for the segmented database.
2144
+ */
2145
+ segmentConfigurations?: KxDataviewSegmentConfigurationList;
2146
+ }
2147
+ export interface KxDataviewListEntry {
2148
+ /**
2149
+ * A unique identifier for the kdb environment.
2150
+ */
2151
+ environmentId?: EnvironmentId;
2152
+ /**
2153
+ * A unique identifier of the database.
2154
+ */
2155
+ databaseName?: DatabaseName;
2156
+ /**
2157
+ * A unique identifier of the dataview.
2158
+ */
2159
+ dataviewName?: KxDataviewName;
2160
+ /**
2161
+ * The number of availability zones you want to assign per cluster. This can be one of the following SINGLE – Assigns one availability zone per cluster. MULTI – Assigns all the availability zones per cluster.
2162
+ */
2163
+ azMode?: KxAzMode;
2164
+ /**
2165
+ * The identifier of the availability zones.
2166
+ */
2167
+ availabilityZoneId?: AvailabilityZoneId;
2168
+ /**
2169
+ * A unique identifier for the changeset.
2170
+ */
2171
+ changesetId?: ChangesetId;
2172
+ /**
2173
+ * The configuration that contains the database path of the data that you want to place on each selected volume. Each segment must have a unique database path for each volume. If you do not explicitly specify any database path for a volume, they are accessible from the cluster through the default S3/object store segment.
2174
+ */
2175
+ segmentConfigurations?: KxDataviewSegmentConfigurationList;
2176
+ /**
2177
+ * The active changeset versions for the given dataview entry.
2178
+ */
2179
+ activeVersions?: KxDataviewActiveVersionList;
2180
+ /**
2181
+ * The status of a given dataview entry.
2182
+ */
2183
+ status?: KxDataviewStatus;
2184
+ /**
2185
+ * A description for the dataview list entry.
2186
+ */
2187
+ description?: Description;
2188
+ /**
2189
+ * The option to specify whether you want to apply all the future additions and corrections automatically to the dataview when you ingest new changesets. The default value is false.
2190
+ */
2191
+ autoUpdate?: booleanValue;
2192
+ /**
2193
+ * The timestamp at which the dataview list entry was created in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
2194
+ */
2195
+ createdTimestamp?: Timestamp;
2196
+ /**
2197
+ * The last time that the dataview list was updated in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
2198
+ */
2199
+ lastModifiedTimestamp?: Timestamp;
2200
+ /**
2201
+ * The error message when a failed state occurs.
2202
+ */
2203
+ statusReason?: KxDataviewStatusReason;
2204
+ }
2205
+ export type KxDataviewName = string;
2206
+ export interface KxDataviewSegmentConfiguration {
2207
+ /**
2208
+ * The database path of the data that you want to place on each selected volume for the segment. Each segment must have a unique database path for each volume.
2209
+ */
2210
+ dbPaths: SegmentConfigurationDbPathList;
2211
+ /**
2212
+ * The name of the volume where you want to add data.
2213
+ */
2214
+ volumeName: KxVolumeName;
2215
+ }
2216
+ export type KxDataviewSegmentConfigurationList = KxDataviewSegmentConfiguration[];
2217
+ export type KxDataviewStatus = "CREATING"|"ACTIVE"|"UPDATING"|"FAILED"|"DELETING"|string;
2218
+ export type KxDataviewStatusReason = string;
2219
+ export type KxDataviews = KxDataviewListEntry[];
1456
2220
  export interface KxDeploymentConfiguration {
1457
2221
  /**
1458
2222
  * The type of deployment that you want on a cluster. ROLLING – This options updates the cluster by stopping the exiting q process and starting a new q process with updated configuration. NO_RESTART – This option updates the cluster without stopping the running q process. It is only available for HDB type cluster. This option is quicker as it reduces the turn around time to update configuration on a cluster. With this deployment mode, you cannot update the initializationScript and commandLineArguments parameters.
@@ -1533,6 +2297,19 @@ declare namespace Finspace {
1533
2297
  export type KxEnvironmentId = string;
1534
2298
  export type KxEnvironmentList = KxEnvironment[];
1535
2299
  export type KxEnvironmentName = string;
2300
+ export type KxHostType = string;
2301
+ export interface KxNAS1Configuration {
2302
+ /**
2303
+ * The type of the network attached storage.
2304
+ */
2305
+ type?: KxNAS1Type;
2306
+ /**
2307
+ * The size of the network attached storage.
2308
+ */
2309
+ size?: KxNAS1Size;
2310
+ }
2311
+ export type KxNAS1Size = number;
2312
+ export type KxNAS1Type = "SSD_1000"|"SSD_250"|"HDD_12"|string;
1536
2313
  export interface KxNode {
1537
2314
  /**
1538
2315
  * A unique identifier for the node.
@@ -1552,14 +2329,77 @@ declare namespace Finspace {
1552
2329
  /**
1553
2330
  * The type of writeable storage space for temporarily storing your savedown data. The valid values are: SDS01 – This type represents 3000 IOPS and io2 ebs volume type.
1554
2331
  */
1555
- type: KxSavedownStorageType;
2332
+ type?: KxSavedownStorageType;
1556
2333
  /**
1557
2334
  * The size of temporary storage in gibibytes.
1558
2335
  */
1559
- size: KxSavedownStorageSize;
2336
+ size?: KxSavedownStorageSize;
2337
+ /**
2338
+ * The name of the kdb volume that you want to use as writeable save-down storage for clusters.
2339
+ */
2340
+ volumeName?: KxVolumeName;
1560
2341
  }
1561
2342
  export type KxSavedownStorageSize = number;
1562
2343
  export type KxSavedownStorageType = "SDS01"|string;
2344
+ export interface KxScalingGroup {
2345
+ /**
2346
+ * A unique identifier for the kdb scaling group.
2347
+ */
2348
+ scalingGroupName?: KxScalingGroupName;
2349
+ /**
2350
+ * The memory and CPU capabilities of the scaling group host on which FinSpace Managed kdb clusters will be placed.
2351
+ */
2352
+ hostType?: KxHostType;
2353
+ /**
2354
+ * The list of clusters currently active in a given scaling group.
2355
+ */
2356
+ clusters?: KxClusterNameList;
2357
+ /**
2358
+ * The identifier of the availability zones.
2359
+ */
2360
+ availabilityZoneId?: AvailabilityZoneId;
2361
+ /**
2362
+ * The status of scaling groups.
2363
+ */
2364
+ status?: KxScalingGroupStatus;
2365
+ /**
2366
+ * The error message when a failed state occurs.
2367
+ */
2368
+ statusReason?: KxClusterStatusReason;
2369
+ /**
2370
+ * The last time that the scaling group was updated in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
2371
+ */
2372
+ lastModifiedTimestamp?: Timestamp;
2373
+ /**
2374
+ * The timestamp at which the scaling group was created in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
2375
+ */
2376
+ createdTimestamp?: Timestamp;
2377
+ }
2378
+ export interface KxScalingGroupConfiguration {
2379
+ /**
2380
+ * A unique identifier for the kdb scaling group.
2381
+ */
2382
+ scalingGroupName: KxScalingGroupName;
2383
+ /**
2384
+ * An optional hard limit on the amount of memory a kdb cluster can use.
2385
+ */
2386
+ memoryLimit?: MemoryMib;
2387
+ /**
2388
+ * A reservation of the minimum amount of memory that should be available on the scaling group for a kdb cluster to be successfully placed in a scaling group.
2389
+ */
2390
+ memoryReservation: MemoryMib;
2391
+ /**
2392
+ * The number of kdb cluster nodes.
2393
+ */
2394
+ nodeCount: ClusterNodeCount;
2395
+ /**
2396
+ * The number of vCPUs that you want to reserve for each node of this kdb cluster on the scaling group host.
2397
+ */
2398
+ cpu?: CpuCount;
2399
+ }
2400
+ export type KxScalingGroupList = KxScalingGroup[];
2401
+ export type KxScalingGroupName = string;
2402
+ export type KxScalingGroupStatus = "CREATING"|"CREATE_FAILED"|"ACTIVE"|"DELETING"|"DELETED"|"DELETE_FAILED"|string;
1563
2403
  export interface KxUser {
1564
2404
  /**
1565
2405
  * The Amazon Resource Name (ARN) that identifies the user. For more information about ARNs and how to use ARNs in policies, see IAM Identifiers in the IAM User Guide.
@@ -1585,6 +2425,50 @@ declare namespace Finspace {
1585
2425
  export type KxUserArn = string;
1586
2426
  export type KxUserList = KxUser[];
1587
2427
  export type KxUserNameString = string;
2428
+ export interface KxVolume {
2429
+ /**
2430
+ * A unique identifier for the volume.
2431
+ */
2432
+ volumeName?: KxVolumeName;
2433
+ /**
2434
+ * The type of file system volume. Currently, FinSpace only supports NAS_1 volume type.
2435
+ */
2436
+ volumeType?: KxVolumeType;
2437
+ /**
2438
+ * The status of volume. CREATING – The volume creation is in progress. CREATE_FAILED – The volume creation has failed. ACTIVE – The volume is active. UPDATING – The volume is in the process of being updated. UPDATE_FAILED – The update action failed. UPDATED – The volume is successfully updated. DELETING – The volume is in the process of being deleted. DELETE_FAILED – The system failed to delete the volume. DELETED – The volume is successfully deleted.
2439
+ */
2440
+ status?: KxVolumeStatus;
2441
+ /**
2442
+ * A description of the volume.
2443
+ */
2444
+ description?: Description;
2445
+ /**
2446
+ * The error message when a failed state occurs.
2447
+ */
2448
+ statusReason?: KxVolumeStatusReason;
2449
+ /**
2450
+ * The number of availability zones assigned to the volume. Currently, only SINGLE is supported.
2451
+ */
2452
+ azMode?: KxAzMode;
2453
+ /**
2454
+ * The identifier of the availability zones.
2455
+ */
2456
+ availabilityZoneIds?: AvailabilityZoneIds;
2457
+ /**
2458
+ * The timestamp at which the volume was created in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
2459
+ */
2460
+ createdTimestamp?: Timestamp;
2461
+ /**
2462
+ * The last time that the volume was updated in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
2463
+ */
2464
+ lastModifiedTimestamp?: Timestamp;
2465
+ }
2466
+ export type KxVolumeArn = string;
2467
+ export type KxVolumeName = string;
2468
+ export type KxVolumeStatus = "CREATING"|"CREATE_FAILED"|"ACTIVE"|"UPDATING"|"UPDATED"|"UPDATE_FAILED"|"DELETING"|"DELETED"|"DELETE_FAILED"|string;
2469
+ export type KxVolumeStatusReason = string;
2470
+ export type KxVolumeType = "NAS_1"|string;
2471
+ export type KxVolumes = KxVolume[];
1588
2472
  export interface ListEnvironmentsRequest {
1589
2473
  /**
1590
2474
  * A token generated by FinSpace that specifies where to continue pagination if a previous request was truncated. To get the next set of pages, pass in the nextTokennextToken value from the response object of the previous page call.
@@ -1667,7 +2551,7 @@ declare namespace Finspace {
1667
2551
  */
1668
2552
  environmentId: KxEnvironmentId;
1669
2553
  /**
1670
- * Specifies the type of KDB database that is being created. The following types are available: HDB – A Historical Database. The data is only accessible with read-only permissions from one of the FinSpace managed kdb databases mounted to the cluster. RDB – A Realtime Database. This type of database captures all the data from a ticker plant and stores it in memory until the end of day, after which it writes all of its data to a disk and reloads the HDB. This cluster type requires local storage for temporary storage of data during the savedown process. If you specify this field in your request, you must provide the savedownStorageConfiguration parameter. GATEWAY – A gateway cluster allows you to access data across processes in kdb systems. It allows you to create your own routing logic using the initialization scripts and custom code. This type of cluster does not require a writable local storage. GP – A general purpose cluster allows you to quickly iterate on code during development by granting greater access to system commands and enabling a fast reload of custom code. This cluster type can optionally mount databases including cache and savedown storage. For this cluster type, the node count is fixed at 1. It does not support autoscaling and supports only SINGLE AZ mode.
2554
+ * Specifies the type of KDB database that is being created. The following types are available: HDB – A Historical Database. The data is only accessible with read-only permissions from one of the FinSpace managed kdb databases mounted to the cluster. RDB – A Realtime Database. This type of database captures all the data from a ticker plant and stores it in memory until the end of day, after which it writes all of its data to a disk and reloads the HDB. This cluster type requires local storage for temporary storage of data during the savedown process. If you specify this field in your request, you must provide the savedownStorageConfiguration parameter. GATEWAY – A gateway cluster allows you to access data across processes in kdb systems. It allows you to create your own routing logic using the initialization scripts and custom code. This type of cluster does not require a writable local storage. GP – A general purpose cluster allows you to quickly iterate on code during development by granting greater access to system commands and enabling a fast reload of custom code. This cluster type can optionally mount databases including cache and savedown storage. For this cluster type, the node count is fixed at 1. It does not support autoscaling and supports only SINGLE AZ mode. Tickerplant – A tickerplant cluster allows you to subscribe to feed handlers based on IAM permissions. It can publish to RDBs, other Tickerplants, and real-time subscribers (RTS). Tickerplants can persist messages to log, which is readable by any RDB environment. It supports only single-node that is only one kdb process.
1671
2555
  */
1672
2556
  clusterType?: KxClusterType;
1673
2557
  /**
@@ -1713,6 +2597,34 @@ declare namespace Finspace {
1713
2597
  */
1714
2598
  nextToken?: PaginationToken;
1715
2599
  }
2600
+ export interface ListKxDataviewsRequest {
2601
+ /**
2602
+ * A unique identifier for the kdb environment, for which you want to retrieve a list of dataviews.
2603
+ */
2604
+ environmentId: EnvironmentId;
2605
+ /**
2606
+ * The name of the database where the dataviews were created.
2607
+ */
2608
+ databaseName: DatabaseName;
2609
+ /**
2610
+ * A token that indicates where a results page should begin.
2611
+ */
2612
+ nextToken?: PaginationToken;
2613
+ /**
2614
+ * The maximum number of results to return in this request.
2615
+ */
2616
+ maxResults?: MaxResults;
2617
+ }
2618
+ export interface ListKxDataviewsResponse {
2619
+ /**
2620
+ * The list of kdb dataviews that are currently active for the given database.
2621
+ */
2622
+ kxDataviews?: KxDataviews;
2623
+ /**
2624
+ * A token that indicates where a results page should begin.
2625
+ */
2626
+ nextToken?: PaginationToken;
2627
+ }
1716
2628
  export interface ListKxEnvironmentsRequest {
1717
2629
  /**
1718
2630
  * A token that indicates where a results page should begin.
@@ -1733,6 +2645,30 @@ declare namespace Finspace {
1733
2645
  */
1734
2646
  nextToken?: PaginationToken;
1735
2647
  }
2648
+ export interface ListKxScalingGroupsRequest {
2649
+ /**
2650
+ * A unique identifier for the kdb environment, for which you want to retrieve a list of scaling groups.
2651
+ */
2652
+ environmentId: KxEnvironmentId;
2653
+ /**
2654
+ * The maximum number of results to return in this request.
2655
+ */
2656
+ maxResults?: MaxResults;
2657
+ /**
2658
+ * A token that indicates where a results page should begin.
2659
+ */
2660
+ nextToken?: PaginationToken;
2661
+ }
2662
+ export interface ListKxScalingGroupsResponse {
2663
+ /**
2664
+ * A list of scaling groups available in a kdb environment.
2665
+ */
2666
+ scalingGroups?: KxScalingGroupList;
2667
+ /**
2668
+ * A token that indicates where a results page should begin.
2669
+ */
2670
+ nextToken?: PaginationToken;
2671
+ }
1736
2672
  export interface ListKxUsersRequest {
1737
2673
  /**
1738
2674
  * A unique identifier for the kdb environment.
@@ -1757,6 +2693,34 @@ declare namespace Finspace {
1757
2693
  */
1758
2694
  nextToken?: PaginationToken;
1759
2695
  }
2696
+ export interface ListKxVolumesRequest {
2697
+ /**
2698
+ * A unique identifier for the kdb environment, whose clusters can attach to the volume.
2699
+ */
2700
+ environmentId: KxEnvironmentId;
2701
+ /**
2702
+ * The maximum number of results to return in this request.
2703
+ */
2704
+ maxResults?: MaxResults;
2705
+ /**
2706
+ * A token that indicates where a results page should begin.
2707
+ */
2708
+ nextToken?: PaginationToken;
2709
+ /**
2710
+ * The type of file system volume. Currently, FinSpace only supports NAS_1 volume type.
2711
+ */
2712
+ volumeType?: KxVolumeType;
2713
+ }
2714
+ export interface ListKxVolumesResponse {
2715
+ /**
2716
+ * A summary of volumes.
2717
+ */
2718
+ kxVolumeSummaries?: KxVolumes;
2719
+ /**
2720
+ * A token that indicates where a results page should begin.
2721
+ */
2722
+ nextToken?: PaginationToken;
2723
+ }
1760
2724
  export interface ListTagsForResourceRequest {
1761
2725
  /**
1762
2726
  * The Amazon Resource Name of the resource.
@@ -1770,6 +2734,7 @@ declare namespace Finspace {
1770
2734
  tags?: TagMap;
1771
2735
  }
1772
2736
  export type MaxResults = number;
2737
+ export type MemoryMib = number;
1773
2738
  export type NameString = string;
1774
2739
  export type NetworkACLConfiguration = NetworkACLEntry[];
1775
2740
  export interface NetworkACLEntry {
@@ -1825,6 +2790,7 @@ declare namespace Finspace {
1825
2790
  export type SamlMetadataDocument = string;
1826
2791
  export type SecurityGroupIdList = SecurityGroupIdString[];
1827
2792
  export type SecurityGroupIdString = string;
2793
+ export type SegmentConfigurationDbPathList = DbPath[];
1828
2794
  export type SignedKxConnectionString = string;
1829
2795
  export type SmsDomainUrl = string;
1830
2796
  export type SubnetIdList = SubnetIdString[];
@@ -1859,6 +2825,13 @@ declare namespace Finspace {
1859
2825
  export interface TagResourceResponse {
1860
2826
  }
1861
2827
  export type TagValue = string;
2828
+ export interface TickerplantLogConfiguration {
2829
+ /**
2830
+ * The name of the volumes for tickerplant logs.
2831
+ */
2832
+ tickerplantLogVolumes?: TickerplantLogVolumes;
2833
+ }
2834
+ export type TickerplantLogVolumes = VolumeName[];
1862
2835
  export type Timestamp = Date;
1863
2836
  export interface TransitGatewayConfiguration {
1864
2837
  /**
@@ -2001,6 +2974,90 @@ declare namespace Finspace {
2001
2974
  */
2002
2975
  lastModifiedTimestamp?: Timestamp;
2003
2976
  }
2977
+ export interface UpdateKxDataviewRequest {
2978
+ /**
2979
+ * A unique identifier for the kdb environment, where you want to update the dataview.
2980
+ */
2981
+ environmentId: EnvironmentId;
2982
+ /**
2983
+ * The name of the database.
2984
+ */
2985
+ databaseName: DatabaseName;
2986
+ /**
2987
+ * The name of the dataview that you want to update.
2988
+ */
2989
+ dataviewName: KxDataviewName;
2990
+ /**
2991
+ * The description for a dataview.
2992
+ */
2993
+ description?: Description;
2994
+ /**
2995
+ * A unique identifier for the changeset.
2996
+ */
2997
+ changesetId?: ChangesetId;
2998
+ /**
2999
+ * The configuration that contains the database path of the data that you want to place on each selected volume. Each segment must have a unique database path for each volume. If you do not explicitly specify any database path for a volume, they are accessible from the cluster through the default S3/object store segment.
3000
+ */
3001
+ segmentConfigurations?: KxDataviewSegmentConfigurationList;
3002
+ /**
3003
+ * A token that ensures idempotency. This token expires in 10 minutes.
3004
+ */
3005
+ clientToken: ClientTokenString;
3006
+ }
3007
+ export interface UpdateKxDataviewResponse {
3008
+ /**
3009
+ * A unique identifier for the kdb environment, where you want to update the dataview.
3010
+ */
3011
+ environmentId?: EnvironmentId;
3012
+ /**
3013
+ * The name of the database.
3014
+ */
3015
+ databaseName?: DatabaseName;
3016
+ /**
3017
+ * The name of the database under which the dataview was created.
3018
+ */
3019
+ dataviewName?: KxDataviewName;
3020
+ /**
3021
+ * The number of availability zones you want to assign per cluster. This can be one of the following SINGLE – Assigns one availability zone per cluster. MULTI – Assigns all the availability zones per cluster.
3022
+ */
3023
+ azMode?: KxAzMode;
3024
+ /**
3025
+ * The identifier of the availability zones.
3026
+ */
3027
+ availabilityZoneId?: AvailabilityZoneId;
3028
+ /**
3029
+ * A unique identifier for the changeset.
3030
+ */
3031
+ changesetId?: ChangesetId;
3032
+ /**
3033
+ * The configuration that contains the database path of the data that you want to place on each selected volume. Each segment must have a unique database path for each volume. If you do not explicitly specify any database path for a volume, they are accessible from the cluster through the default S3/object store segment.
3034
+ */
3035
+ segmentConfigurations?: KxDataviewSegmentConfigurationList;
3036
+ /**
3037
+ * The current active changeset versions of the database on the given dataview.
3038
+ */
3039
+ activeVersions?: KxDataviewActiveVersionList;
3040
+ /**
3041
+ * The status of dataview creation. CREATING – The dataview creation is in progress. UPDATING – The dataview is in the process of being updated. ACTIVE – The dataview is active.
3042
+ */
3043
+ status?: KxDataviewStatus;
3044
+ /**
3045
+ * The option to specify whether you want to apply all the future additions and corrections automatically to the dataview when new changesets are ingested. The default value is false.
3046
+ */
3047
+ autoUpdate?: booleanValue;
3048
+ /**
3049
+ * A description of the dataview.
3050
+ */
3051
+ description?: Description;
3052
+ /**
3053
+ * The timestamp at which the dataview was created in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
3054
+ */
3055
+ createdTimestamp?: Timestamp;
3056
+ /**
3057
+ * The last time that the dataview was updated in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
3058
+ */
3059
+ lastModifiedTimestamp?: Timestamp;
3060
+ }
2004
3061
  export interface UpdateKxEnvironmentNetworkRequest {
2005
3062
  /**
2006
3063
  * A unique identifier for the kdb environment.
@@ -2199,10 +3256,100 @@ declare namespace Finspace {
2199
3256
  */
2200
3257
  iamRole?: RoleArn;
2201
3258
  }
3259
+ export interface UpdateKxVolumeRequest {
3260
+ /**
3261
+ * A unique identifier for the kdb environment where you created the storage volume.
3262
+ */
3263
+ environmentId: KxEnvironmentId;
3264
+ /**
3265
+ * A unique identifier for the volume.
3266
+ */
3267
+ volumeName: KxVolumeName;
3268
+ /**
3269
+ * A description of the volume.
3270
+ */
3271
+ description?: Description;
3272
+ /**
3273
+ * A token that ensures idempotency. This token expires in 10 minutes.
3274
+ */
3275
+ clientToken?: ClientTokenString;
3276
+ /**
3277
+ * Specifies the configuration for the Network attached storage (NAS_1) file system volume.
3278
+ */
3279
+ nas1Configuration?: KxNAS1Configuration;
3280
+ }
3281
+ export interface UpdateKxVolumeResponse {
3282
+ /**
3283
+ * A unique identifier for the kdb environment where you want to update the volume.
3284
+ */
3285
+ environmentId?: KxEnvironmentId;
3286
+ /**
3287
+ * A unique identifier for the volume that you want to update.
3288
+ */
3289
+ volumeName?: KxVolumeName;
3290
+ /**
3291
+ * The type of file system volume. Currently, FinSpace only supports NAS_1 volume type.
3292
+ */
3293
+ volumeType?: KxVolumeType;
3294
+ /**
3295
+ * The ARN identifier of the volume.
3296
+ */
3297
+ volumeArn?: KxVolumeArn;
3298
+ /**
3299
+ * Specifies the configuration for the Network attached storage (NAS_1) file system volume.
3300
+ */
3301
+ nas1Configuration?: KxNAS1Configuration;
3302
+ /**
3303
+ * The status of the volume. CREATING – The volume creation is in progress. CREATE_FAILED – The volume creation has failed. ACTIVE – The volume is active. UPDATING – The volume is in the process of being updated. UPDATE_FAILED – The update action failed. UPDATED – The volume is successfully updated. DELETING – The volume is in the process of being deleted. DELETE_FAILED – The system failed to delete the volume. DELETED – The volume is successfully deleted.
3304
+ */
3305
+ status?: KxVolumeStatus;
3306
+ /**
3307
+ * The description for the volume.
3308
+ */
3309
+ description?: Description;
3310
+ /**
3311
+ * The error message when a failed state occurs.
3312
+ */
3313
+ statusReason?: KxVolumeStatusReason;
3314
+ /**
3315
+ * The timestamp at which the volume was created in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
3316
+ */
3317
+ createdTimestamp?: Timestamp;
3318
+ /**
3319
+ * The number of availability zones you want to assign per cluster. Currently, FinSpace only support SINGLE for volumes.
3320
+ */
3321
+ azMode?: KxAzMode;
3322
+ /**
3323
+ * The identifier of the availability zones.
3324
+ */
3325
+ availabilityZoneIds?: AvailabilityZoneIds;
3326
+ /**
3327
+ * The last time that the volume was updated in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
3328
+ */
3329
+ lastModifiedTimestamp?: Timestamp;
3330
+ /**
3331
+ * Specifies the clusters that a volume is attached to.
3332
+ */
3333
+ attachedClusters?: KxAttachedClusters;
3334
+ }
2202
3335
  export type ValidCIDRBlock = string;
2203
3336
  export type ValidCIDRSpace = string;
2204
3337
  export type ValidHostname = string;
2205
3338
  export type ValidIPAddress = string;
3339
+ export type VersionId = string;
3340
+ export interface Volume {
3341
+ /**
3342
+ * A unique identifier for the volume.
3343
+ */
3344
+ volumeName?: VolumeName;
3345
+ /**
3346
+ * The type of file system volume. Currently, FinSpace only supports NAS_1 volume type.
3347
+ */
3348
+ volumeType?: VolumeType;
3349
+ }
3350
+ export type VolumeName = string;
3351
+ export type VolumeType = "NAS_1"|string;
3352
+ export type Volumes = Volume[];
2206
3353
  export interface VpcConfiguration {
2207
3354
  /**
2208
3355
  * The identifier of the VPC endpoint.
@@ -2222,6 +3369,8 @@ declare namespace Finspace {
2222
3369
  ipAddressType?: IPAddressType;
2223
3370
  }
2224
3371
  export type VpcIdString = string;
3372
+ export type arn = string;
3373
+ export type booleanValue = boolean;
2225
3374
  export type dnsStatus = "NONE"|"UPDATE_REQUESTED"|"UPDATING"|"FAILED_UPDATE"|"SUCCESSFULLY_UPDATED"|string;
2226
3375
  export type numBytes = number;
2227
3376
  export type numChangesets = number;