import type { AutoScalingMetric, ChangesetStatus, ChangeType, DnsStatus, EnvironmentStatus, ErrorDetails, FederationMode, IPAddressType, KxAzMode, KxClusterCodeDeploymentStrategy, KxClusterStatus, KxClusterType, KxDataviewStatus, KxDeploymentStrategy, KxNAS1Type, KxNodeStatus, KxSavedownStorageType, KxScalingGroupStatus, KxVolumeStatus, KxVolumeType, RuleAction, TgwStatus, VolumeType } from "./enums"; /** *

The configuration based on which FinSpace will scale in or scale out nodes in your cluster.

* @public */ export interface AutoScalingConfiguration { /** *

The lowest number of nodes to scale. This value must be at least 1 and less than the maxNodeCount. If the nodes in a cluster belong to multiple availability zones, then minNodeCount must be at least 3.

* @public */ minNodeCount?: number | undefined; /** *

The highest number of nodes to scale. This value cannot be greater than 5.

* @public */ maxNodeCount?: number | undefined; /** *

The metric your cluster will track in order to scale in and out. For example, CPU_UTILIZATION_PERCENTAGE is the average CPU usage across all the nodes in a cluster.

* @public */ autoScalingMetric?: AutoScalingMetric | undefined; /** *

The desired value of the chosen autoScalingMetric. When the metric drops below this value, the cluster will scale in. When the metric goes above this value, the cluster will scale out. You can set the target value between 1 and 100 percent.

* @public */ metricTarget?: number | undefined; /** *

The duration in seconds that FinSpace will wait after a scale in event before initiating another scaling event.

* @public */ scaleInCooldownSeconds?: number | undefined; /** *

The duration in seconds that FinSpace will wait after a scale out event before initiating another scaling event.

* @public */ scaleOutCooldownSeconds?: number | undefined; } /** *

Configuration information when authentication mode is FEDERATED.

* @public */ export interface FederationParameters { /** *

SAML 2.0 Metadata document from identity provider (IdP).

* @public */ samlMetadataDocument?: string | undefined; /** *

Provide the metadata URL from your SAML 2.0 compliant identity provider (IdP).

* @public */ samlMetadataURL?: string | undefined; /** *

The redirect or sign-in URL that should be entered into the SAML 2.0 compliant identity provider configuration * (IdP).

* @public */ applicationCallBackURL?: string | undefined; /** *

The Uniform Resource Name (URN). Also referred as Service Provider URN or Audience URI or Service Provider Entity ID.

* @public */ federationURN?: string | undefined; /** *

Name of the identity provider (IdP).

* @public */ federationProviderName?: string | undefined; /** *

SAML attribute name and value. The name must always be Email and the value should be set to * the attribute definition in which user email is set. For example, name would be Email and * value http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress. * Please check your SAML 2.0 compliant identity provider (IdP) documentation for details.

* @public */ attributeMap?: Record | undefined; } /** *

Configuration information for the superuser.

* @public */ export interface SuperuserParameters { /** *

The email address of the superuser.

* @public */ emailAddress: string | undefined; /** *

The first name of the superuser.

* @public */ firstName: string | undefined; /** *

The last name of the superuser.

* @public */ lastName: string | undefined; } /** * @public */ export interface CreateEnvironmentRequest { /** *

The name of the FinSpace environment to be created.

* @public */ name: string | undefined; /** *

The description of the FinSpace environment to be created.

* @public */ description?: string | undefined; /** *

The KMS key id to encrypt your data in the FinSpace environment.

* @public */ kmsKeyId?: string | undefined; /** *

Add tags to your FinSpace environment.

* @public */ tags?: Record | undefined; /** *

Authentication mode for the environment.

* * @public */ federationMode?: FederationMode | undefined; /** *

Configuration information when authentication mode is FEDERATED.

* @public */ federationParameters?: FederationParameters | undefined; /** *

Configuration information for the superuser.

* @public */ superuserParameters?: SuperuserParameters | undefined; /** *

The list of Amazon Resource Names (ARN) of the data bundles to install. Currently supported data bundle ARNs:

* * @public */ dataBundles?: string[] | undefined; } /** * @public */ export interface CreateEnvironmentResponse { /** *

The unique identifier for FinSpace environment that you created.

* @public */ environmentId?: string | undefined; /** *

The Amazon Resource Name (ARN) of the FinSpace environment that you created.

* @public */ environmentArn?: string | undefined; /** *

The sign-in URL for the web application of the FinSpace environment you created.

* @public */ environmentUrl?: string | undefined; } /** *

A list of change request objects.

* @public */ export interface ChangeRequest { /** *

Defines the type of change request. A changeType can have the following values:

* * @public */ changeType: ChangeType | undefined; /** *

Defines the S3 path of the source file that is required to add or update files in a database.

* @public */ s3Path?: string | undefined; /** *

Defines the path within the database directory.

* @public */ dbPath: string | undefined; } /** * @public */ export interface CreateKxChangesetRequest { /** *

A unique identifier of the kdb environment.

* @public */ environmentId: string | undefined; /** *

The name of the kdb database.

* @public */ databaseName: string | undefined; /** *

A list of change request objects that are run in order. A change request object consists of changeType , s3Path, and dbPath. * A changeType can have the following values:

* *

All the change requests require a mandatory dbPath attribute that defines the * path within the database directory. All database paths must start with a leading / and end * with a trailing /. The s3Path attribute defines the s3 source file path and is * required for a PUT change type. The s3path must end with a trailing / if it is * a directory and must end without a trailing / if it is a file.

*

Here are few examples of how you can use the change request object:

*
    *
  1. *

    This request adds a single sym file at database root location.

    *

    * \{ "changeType": "PUT", "s3Path":"s3://bucket/db/sym", * "dbPath":"/"\} *

    *
  2. *
  3. *

    This request adds files in the given s3Path under the 2020.01.02 * partition of the database.

    *

    * \{ "changeType": "PUT", "s3Path":"s3://bucket/db/2020.01.02/", * "dbPath":"/2020.01.02/"\} *

    *
  4. *
  5. *

    This request adds files in the given s3Path under the * taq table partition of the database.

    *

    * [ \{ "changeType": "PUT", "s3Path":"s3://bucket/db/2020.01.02/taq/", * "dbPath":"/2020.01.02/taq/"\}] *

    *
  6. *
  7. *

    This request deletes the 2020.01.02 partition of the database.

    *

    * [\{ "changeType": "DELETE", "dbPath": "/2020.01.02/"\} ] *

    *
  8. *
  9. *

    The DELETE request allows you to delete the existing files under the * 2020.01.02 partition of the database, and the PUT request adds a * new taq table under it.

    *

    * [ \{"changeType": "DELETE", "dbPath":"/2020.01.02/"\}, \{"changeType": "PUT", * "s3Path":"s3://bucket/db/2020.01.02/taq/", * "dbPath":"/2020.01.02/taq/"\}] *

    *
  10. *
* @public */ changeRequests: ChangeRequest[] | undefined; /** *

A token that ensures idempotency. This token expires in 10 minutes.

* @public */ clientToken?: string | undefined; } /** *

Provides details in the event of a failed flow, including the error type and the related error message.

* @public */ export interface ErrorInfo { /** *

Specifies the error message that appears if a flow fails.

* @public */ errorMessage?: string | undefined; /** *

Specifies the type of error.

* @public */ errorType?: ErrorDetails | undefined; } /** * @public */ export interface CreateKxChangesetResponse { /** *

A unique identifier for the changeset.

* @public */ changesetId?: string | undefined; /** *

The name of the kdb database.

* @public */ databaseName?: string | undefined; /** *

A unique identifier for the kdb environment.

* @public */ environmentId?: string | undefined; /** *

A list of change requests.

* @public */ changeRequests?: ChangeRequest[] | undefined; /** *

The timestamp at which the changeset 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.

* @public */ createdTimestamp?: Date | undefined; /** *

The timestamp at which the changeset 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.

* @public */ lastModifiedTimestamp?: Date | undefined; /** *

Status of the changeset creation process.

* * @public */ status?: ChangesetStatus | undefined; /** *

The details of the error that you receive when creating a changeset. It consists of the type of error and the error message.

* @public */ errorInfo?: ErrorInfo | undefined; } /** *

The configuration for read only disk cache associated with a cluster.

* @public */ export interface KxCacheStorageConfiguration { /** *

The type of cache storage. The valid values are:

* *

For cache type CACHE_1000 and CACHE_250 you can select cache size as 1200 GB or increments of 2400 GB. For cache type CACHE_12 you can select the cache size in increments of 6000 GB.

* @public */ type: string | undefined; /** *

The size of cache in Gigabytes.

* @public */ size: number | undefined; } /** *

A structure for the metadata of a cluster. It includes information like the CPUs needed, memory of instances, and number of instances.

* @public */ export interface CapacityConfiguration { /** *

The type that determines the hardware of the host computer used for your cluster instance. Each node type offers different memory and storage capabilities. Choose a node type based on the requirements of the application or software that you plan to run on your instance.

*

You can only specify one of the following values:

* * @public */ nodeType?: string | undefined; /** *

The number of instances running in a cluster.

* @public */ nodeCount?: number | undefined; } /** *

The structure of the customer code available within the running cluster.

* @public */ export interface CodeConfiguration { /** *

A unique name for the S3 bucket.

* @public */ s3Bucket?: string | undefined; /** *

The full S3 path (excluding bucket) to the .zip file. This file contains the code that is loaded onto the cluster when it's started.

* @public */ s3Key?: string | undefined; /** *

The version of an S3 object.

* @public */ s3ObjectVersion?: string | undefined; } /** *

Defines the key-value pairs to make them available inside the cluster.

* @public */ export interface KxCommandLineArgument { /** *

The name of the key.

* @public */ key?: string | undefined; /** *

The value of the key.

* @public */ value?: string | undefined; } /** *

The structure of database cache configuration that is used for mapping database paths to cache types in clusters.

* @public */ export interface KxDatabaseCacheConfiguration { /** *

The type of disk cache. This parameter is used to map the database path to cache storage. The valid values are:

* * @public */ cacheType: string | undefined; /** *

Specifies the portions of database that will be loaded into the cache for access.

* @public */ dbPaths: string[] | undefined; /** *

* The name of the dataview to be used for caching historical data on disk. * *

* @public */ dataviewName?: string | undefined; } /** *

* 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.

* @public */ export interface KxDataviewSegmentConfiguration { /** *

* 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.

* @public */ dbPaths: string[] | undefined; /** *

* The name of the volume where you want to add data.

* @public */ volumeName: string | undefined; /** *

Enables on-demand caching on the selected database path when a particular file or a * column of the database is accessed. When on demand caching is True, dataviews perform minimal loading of files on the filesystem as * needed. When it is set to False, everything is cached. The * default value is False.

* @public */ onDemand?: boolean | undefined; } /** *

* The structure that stores the configuration details of a dataview.

* @public */ export interface KxDataviewConfiguration { /** *

* The unique identifier of the dataview.

* @public */ dataviewName?: string | undefined; /** *

* The version of the dataview corresponding to a given changeset. * *

* @public */ dataviewVersionId?: string | undefined; /** *

A unique identifier for the changeset.

* @public */ changesetId?: string | undefined; /** *

* The db path and volume configuration for the segmented database.

* @public */ segmentConfigurations?: KxDataviewSegmentConfiguration[] | undefined; } /** *

The configuration of data that is available for querying from this database.

* @public */ export interface KxDatabaseConfiguration { /** *

The name of the kdb database. When this parameter is specified in the structure, S3 with the whole database is included by default.

* @public */ databaseName: string | undefined; /** *

Configuration details for the disk cache used to increase performance reading from a kdb database mounted to the cluster.

* @public */ cacheConfigurations?: KxDatabaseCacheConfiguration[] | undefined; /** *

A unique identifier of the changeset that is associated with the cluster.

* @public */ changesetId?: string | undefined; /** *

* The name of the dataview to be used for caching historical data on disk. * *

* @public */ dataviewName?: string | undefined; /** *

* The configuration of the dataview to be used with specified cluster. * *

* @public */ dataviewConfiguration?: KxDataviewConfiguration | undefined; } /** *

The size and type of temporary storage that is used to hold data during the savedown process. All the data written to this storage space is lost when the cluster node is restarted.

* @public */ export interface KxSavedownStorageConfiguration { /** *

The type of writeable storage space for temporarily storing your savedown data. The valid values are:

* * @public */ type?: KxSavedownStorageType | undefined; /** *

The size of temporary storage in gibibytes.

* @public */ size?: number | undefined; /** *

* The name of the kdb volume that you want to use as writeable save-down storage for clusters. * *

* @public */ volumeName?: string | undefined; } /** *

The structure that stores the capacity configuration details of a scaling group.

* @public */ export interface KxScalingGroupConfiguration { /** *

A unique identifier for the kdb scaling group.

* @public */ scalingGroupName: string | undefined; /** *

* An optional hard limit on the amount of memory a kdb cluster can use. * *

* @public */ memoryLimit?: number | undefined; /** *

* 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. * *

* @public */ memoryReservation: number | undefined; /** *

* The number of kdb cluster nodes. * *

* @public */ nodeCount: number | undefined; /** *

* The number of vCPUs that you want to reserve for each node of this kdb cluster on the scaling group host. * *

* @public */ cpu?: number | undefined; } /** *

* A configuration to store the 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. *

* @public */ export interface TickerplantLogConfiguration { /** *

* The name of the volumes for tickerplant logs. *

* @public */ tickerplantLogVolumes?: string[] | undefined; } /** *

Configuration details about the network where the Privatelink endpoint of the cluster resides.

* @public */ export interface VpcConfiguration { /** *

The identifier of the VPC endpoint.

* @public */ vpcId?: string | undefined; /** *

The unique identifier of the VPC security group applied to the VPC endpoint ENI for the cluster.

* @public */ securityGroupIds?: string[] | undefined; /** *

The identifier of the subnet that the Privatelink VPC endpoint uses to connect to the cluster.

* @public */ subnetIds?: string[] | undefined; /** *

The IP address type for cluster network configuration parameters. The following type is available:

* * @public */ ipAddressType?: IPAddressType | undefined; } /** * @public */ export interface CreateKxClusterRequest { /** *

A token that ensures idempotency. This token expires in 10 minutes.

* @public */ clientToken?: string | undefined; /** *

A unique identifier for the kdb environment.

* @public */ environmentId: string | undefined; /** *

A unique name for the cluster that you want to create.

* @public */ clusterName: string | undefined; /** *

Specifies the type of KDB database that is being created. The following types are available:

* * @public */ clusterType: KxClusterType | undefined; /** *

* 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. *

* @public */ tickerplantLogConfiguration?: TickerplantLogConfiguration | undefined; /** *

A list of databases that will be available for querying.

* @public */ databases?: KxDatabaseConfiguration[] | undefined; /** *

The configurations for a read only cache storage associated with a cluster. This cache will be stored as an FSx Lustre that reads from the S3 store.

* @public */ cacheStorageConfigurations?: KxCacheStorageConfiguration[] | undefined; /** *

The configuration based on which FinSpace will scale in or scale out nodes in your cluster.

* @public */ autoScalingConfiguration?: AutoScalingConfiguration | undefined; /** *

A description of the cluster.

* @public */ clusterDescription?: string | undefined; /** *

A structure for the metadata of a cluster. It includes information like the CPUs needed, memory of instances, and number of instances.

* @public */ capacityConfiguration?: CapacityConfiguration | undefined; /** *

The version of FinSpace managed kdb to run.

* @public */ releaseLabel: string | undefined; /** *

Configuration details about the network where the Privatelink endpoint of the cluster resides.

* @public */ vpcConfiguration: VpcConfiguration | undefined; /** *

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.

* @public */ initializationScript?: string | undefined; /** *

Defines the key-value pairs to make them available inside the cluster.

* @public */ commandLineArguments?: KxCommandLineArgument[] | undefined; /** *

The details of the custom code that you want to use inside a cluster when analyzing a data. It consists of the S3 source bucket, location, S3 object version, and the relative path from where the custom code is loaded into the cluster.

* @public */ code?: CodeConfiguration | undefined; /** *

An IAM role that defines a set of permissions associated with a cluster. These permissions are assumed when a cluster attempts to access another cluster.

* @public */ executionRole?: string | undefined; /** *

The size and type of the temporary storage that is used to hold data during the savedown process. This parameter is required when you choose clusterType as RDB. All the data written to this storage space is lost when the cluster node is restarted.

* @public */ savedownStorageConfiguration?: KxSavedownStorageConfiguration | undefined; /** *

The number of availability zones you want to assign per cluster. This can be one of the following

* * @public */ azMode: KxAzMode | undefined; /** *

The availability zone identifiers for the requested regions.

* @public */ availabilityZoneId?: string | undefined; /** *

A list of key-value pairs to label the cluster. You can add up to 50 tags to a cluster.

* @public */ tags?: Record | undefined; /** *

The structure that stores the configuration details of a scaling group.

* @public */ scalingGroupConfiguration?: KxScalingGroupConfiguration | undefined; } /** *

* The structure that consists of name and type of volume.

* @public */ export interface Volume { /** *

A unique identifier for the volume.

* @public */ volumeName?: string | undefined; /** *

* The type of file system volume. Currently, FinSpace only supports NAS_1 volume type. *

* @public */ volumeType?: VolumeType | undefined; } /** * @public */ export interface CreateKxClusterResponse { /** *

A unique identifier for the kdb environment.

* @public */ environmentId?: string | undefined; /** *

The status of cluster creation.

*
    *
  • *

    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.

    *
  • *
* @public */ status?: KxClusterStatus | undefined; /** *

The error message when a failed state occurs.

* @public */ statusReason?: string | undefined; /** *

A unique name for the cluster.

* @public */ clusterName?: string | undefined; /** *

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.

    *
  • *
* @public */ clusterType?: KxClusterType | undefined; /** *

* A configuration to store the 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. *

* @public */ tickerplantLogConfiguration?: TickerplantLogConfiguration | undefined; /** *

* A list of volumes mounted on the cluster. *

* @public */ volumes?: Volume[] | undefined; /** *

A list of databases that will be available for querying.

* @public */ databases?: KxDatabaseConfiguration[] | undefined; /** *

The configurations for a read only cache storage associated with a cluster. This cache will be stored as an FSx Lustre that reads from the S3 store.

* @public */ cacheStorageConfigurations?: KxCacheStorageConfiguration[] | undefined; /** *

The configuration based on which FinSpace will scale in or scale out nodes in your cluster.

* @public */ autoScalingConfiguration?: AutoScalingConfiguration | undefined; /** *

A description of the cluster.

* @public */ clusterDescription?: string | undefined; /** *

A structure for the metadata of a cluster. It includes information like the CPUs needed, memory of instances, and number of instances.

* @public */ capacityConfiguration?: CapacityConfiguration | undefined; /** *

A version of the FinSpace managed kdb to run.

* @public */ releaseLabel?: string | undefined; /** *

Configuration details about the network where the Privatelink endpoint of the cluster resides.

* @public */ vpcConfiguration?: VpcConfiguration | undefined; /** *

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.

* @public */ initializationScript?: string | undefined; /** *

Defines the key-value pairs to make them available inside the cluster.

* @public */ commandLineArguments?: KxCommandLineArgument[] | undefined; /** *

The details of the custom code that you want to use inside a cluster when analyzing a data. It consists of the S3 source bucket, location, S3 object version, and the relative path from where the custom code is loaded into the cluster.

* @public */ code?: CodeConfiguration | undefined; /** *

* An IAM role that defines a set of permissions associated with a cluster. These permissions are assumed when a cluster attempts to access another cluster. *

* @public */ executionRole?: string | undefined; /** *

The last time that the cluster was modified. 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.

* @public */ lastModifiedTimestamp?: Date | undefined; /** *

The size and type of the temporary storage that is used to hold data during the savedown process. This parameter is required when you choose clusterType as RDB. All the data written to this storage space is lost when the cluster node is restarted.

* @public */ savedownStorageConfiguration?: KxSavedownStorageConfiguration | undefined; /** *

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.

    *
  • *
* @public */ azMode?: KxAzMode | undefined; /** *

* The availability zone identifiers for the requested regions. *

* @public */ availabilityZoneId?: string | undefined; /** *

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.

* @public */ createdTimestamp?: Date | undefined; /** *

The structure that stores the configuration details of a scaling group.

* @public */ scalingGroupConfiguration?: KxScalingGroupConfiguration | undefined; } /** * @public */ export interface CreateKxDatabaseRequest { /** *

A unique identifier for the kdb environment.

* @public */ environmentId: string | undefined; /** *

The name of the kdb database.

* @public */ databaseName: string | undefined; /** *

A description of the database.

* @public */ description?: string | undefined; /** *

A list of key-value pairs to label the kdb database. You can add up to 50 tags to your kdb database

* @public */ tags?: Record | undefined; /** *

A token that ensures idempotency. This token expires in 10 minutes.

* @public */ clientToken?: string | undefined; } /** * @public */ export interface CreateKxDatabaseResponse { /** *

The name of the kdb database.

* @public */ databaseName?: string | undefined; /** *

The ARN identifier of the database.

* @public */ databaseArn?: string | undefined; /** *

A unique identifier for the kdb environment.

* @public */ environmentId?: string | undefined; /** *

A description of the database.

* @public */ description?: string | undefined; /** *

The timestamp at which the database is 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.

* @public */ createdTimestamp?: Date | undefined; /** *

The last time that the database 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.

* @public */ lastModifiedTimestamp?: Date | undefined; } /** * @public */ export interface CreateKxDataviewRequest { /** *

A unique identifier for the kdb environment, where you want to create the dataview.

* @public */ environmentId: string | undefined; /** *

* The name of the database where you want to create a dataview. *

* @public */ databaseName: string | undefined; /** *

A unique identifier for the dataview.

* @public */ dataviewName: string | undefined; /** *

The number of availability zones you want to assign per volume. Currently, FinSpace only supports SINGLE for volumes. This places dataview in a single AZ.

* @public */ azMode: KxAzMode | undefined; /** *

* The identifier of the availability zones. *

* @public */ availabilityZoneId?: string | undefined; /** *

* A unique identifier of the changeset that you want to use to ingest data.

* @public */ changesetId?: string | undefined; /** *

* 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.

* @public */ segmentConfigurations?: KxDataviewSegmentConfiguration[] | undefined; /** *

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.

* @public */ autoUpdate?: boolean | undefined; /** *

* The option to specify whether you want to make the dataview writable to perform database maintenance. The following are some considerations related to writable dataviews.

*
    *
  • *

    You cannot create partial writable dataviews. When you create writeable dataviews you must * provide the entire database path.

    *
  • *
  • *

    You cannot perform updates on a writeable dataview. Hence, autoUpdate must be set * as False if readWrite is True for a dataview.

    *
  • *
  • *

    You must also use a unique volume for creating a writeable dataview. So, if you choose a * volume that is already in use by another dataview, the dataview creation * fails.

    *
  • *
  • *

    Once you create a dataview as writeable, you cannot change it to read-only. So, you cannot * update the readWrite parameter later.

    *
  • *
* @public */ readWrite?: boolean | undefined; /** *

A description of the dataview.

* @public */ description?: string | undefined; /** *

* A list of key-value pairs to label the dataview. You can add up to 50 tags to a dataview. *

* @public */ tags?: Record | undefined; /** *

A token that ensures idempotency. This token expires in 10 minutes.

* @public */ clientToken?: string | undefined; } /** * @public */ export interface CreateKxDataviewResponse { /** *

A unique identifier for the dataview.

* @public */ dataviewName?: string | undefined; /** *

The name of the database where you want to create a dataview.

* @public */ databaseName?: string | undefined; /** *

A unique identifier for the kdb environment, where you want to create the dataview.

* @public */ environmentId?: string | undefined; /** *

The number of availability zones you want to assign per volume. Currently, FinSpace only supports SINGLE for volumes. This places dataview in a single AZ.

* @public */ azMode?: KxAzMode | undefined; /** *

* The identifier of the availability zones. *

* @public */ availabilityZoneId?: string | undefined; /** *

A unique identifier for the changeset.

* @public */ changesetId?: string | undefined; /** *

* 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.

* @public */ segmentConfigurations?: KxDataviewSegmentConfiguration[] | undefined; /** *

A description of the dataview.

* @public */ description?: string | undefined; /** *

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.

* @public */ autoUpdate?: boolean | undefined; /** *

Returns True if the dataview is created as writeable and False otherwise.

* @public */ readWrite?: boolean | undefined; /** *

* 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.

* @public */ createdTimestamp?: Date | undefined; /** *

* 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.

* @public */ lastModifiedTimestamp?: Date | undefined; /** *

* 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.

    *
  • *
* @public */ status?: KxDataviewStatus | undefined; } /** * @public */ export interface CreateKxEnvironmentRequest { /** *

The name of the kdb environment that you want to create.

* @public */ name: string | undefined; /** *

A description for the kdb environment.

* @public */ description?: string | undefined; /** *

The KMS key ID to encrypt your data in the FinSpace environment.

* @public */ kmsKeyId: string | undefined; /** *

A list of key-value pairs to label the kdb environment. You can add up to 50 tags to your kdb environment.

* @public */ tags?: Record | undefined; /** *

A token that ensures idempotency. This token expires in 10 minutes.

* @public */ clientToken?: string | undefined; } /** * @public */ export interface CreateKxEnvironmentResponse { /** *

The name of the kdb environment.

* @public */ name?: string | undefined; /** *

The status of the kdb environment.

* @public */ status?: EnvironmentStatus | undefined; /** *

A unique identifier for the kdb environment.

* @public */ environmentId?: string | undefined; /** *

A description for the kdb environment.

* @public */ description?: string | undefined; /** *

The ARN identifier of the environment.

* @public */ environmentArn?: string | undefined; /** *

The KMS key ID to encrypt your data in the FinSpace environment.

* @public */ kmsKeyId?: string | undefined; /** *

The timestamp at which the kdb environment was created in FinSpace.

* @public */ creationTimestamp?: Date | undefined; } /** * @public */ export interface CreateKxScalingGroupRequest { /** *

A token that ensures idempotency. This token expires in 10 minutes.

* @public */ clientToken?: string | undefined; /** *

A unique identifier for the kdb environment, where you want to create the scaling group.

* @public */ environmentId: string | undefined; /** *

A unique identifier for the kdb scaling group.

* @public */ scalingGroupName: string | undefined; /** *

* The memory and CPU capabilities of the scaling group host on which FinSpace Managed kdb clusters will be placed.

*

You can add one of the following values:

*
    *
  • *

    * kx.sg.large – The host type with a configuration of 16 GiB * memory and 2 vCPUs.

    *
  • *
  • *

    * kx.sg.xlarge – The host type with a configuration of 32 GiB * memory and 4 vCPUs.

    *
  • *
  • *

    * kx.sg.2xlarge – The host type with a configuration of 64 GiB * memory and 8 vCPUs.

    *
  • *
  • *

    * kx.sg.4xlarge – The host type with a configuration of 108 GiB memory and 16 vCPUs.

    *
  • *
  • *

    * kx.sg.8xlarge – The host type with a configuration of 216 GiB memory and 32 vCPUs.

    *
  • *
  • *

    * kx.sg.16xlarge – The host type with a configuration of 432 GiB memory and 64 vCPUs.

    *
  • *
  • *

    * kx.sg.32xlarge – The host type with a configuration of 864 GiB memory and 128 vCPUs.

    *
  • *
  • *

    * kx.sg1.16xlarge – The host type with a configuration of 1949 GiB memory and 64 vCPUs.

    *
  • *
  • *

    * kx.sg1.24xlarge – The host type with a configuration of 2948 GiB memory and 96 vCPUs.

    *
  • *
* @public */ hostType: string | undefined; /** *

The identifier of the availability zones.

* @public */ availabilityZoneId: string | undefined; /** *

* A list of key-value pairs to label the scaling group. You can add up to 50 tags to a scaling group. *

* @public */ tags?: Record | undefined; } /** * @public */ export interface CreateKxScalingGroupResponse { /** *

A unique identifier for the kdb environment, where you create the scaling group.

* @public */ environmentId?: string | undefined; /** *

A unique identifier for the kdb scaling group.

* @public */ scalingGroupName?: string | undefined; /** *

* The memory and CPU capabilities of the scaling group host on which FinSpace Managed kdb clusters will be placed. * *

* @public */ hostType?: string | undefined; /** *

The identifier of the availability zones.

* @public */ availabilityZoneId?: string | undefined; /** *

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.

    *
  • *
* @public */ status?: KxScalingGroupStatus | undefined; /** *

* 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.

* @public */ lastModifiedTimestamp?: Date | undefined; /** *

* 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.

* @public */ createdTimestamp?: Date | undefined; } /** * @public */ export interface CreateKxUserRequest { /** *

A unique identifier for the kdb environment where you want to create a user.

* @public */ environmentId: string | undefined; /** *

A unique identifier for the user.

* @public */ userName: string | undefined; /** *

The IAM role ARN that will be associated with the user.

* @public */ iamRole: string | undefined; /** *

A list of key-value pairs to label the user. You can add up to 50 tags to a user.

* @public */ tags?: Record | undefined; /** *

A token that ensures idempotency. This token expires in 10 minutes.

* @public */ clientToken?: string | undefined; } /** * @public */ export interface CreateKxUserResponse { /** *

A unique identifier for the user.

* @public */ userName?: string | undefined; /** *

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.

* @public */ userArn?: string | undefined; /** *

A unique identifier for the kdb environment.

* @public */ environmentId?: string | undefined; /** *

The IAM role ARN that will be associated with the user.

* @public */ iamRole?: string | undefined; } /** *

* The structure containing the size and type of the network attached storage (NAS_1) file system volume. *

* @public */ export interface KxNAS1Configuration { /** *

* The type of the network attached storage. *

* @public */ type?: KxNAS1Type | undefined; /** *

* The size of the network attached storage. For storage type * SSD_1000 and SSD_250 you can select the * minimum size as 1200 GB or increments of 2400 GB. For storage type * HDD_12 you can select the minimum size as 6000 GB or increments * of 6000 GB.

* @public */ size?: number | undefined; } /** * @public */ export interface CreateKxVolumeRequest { /** *

A token that ensures idempotency. This token expires in 10 minutes.

* @public */ clientToken?: string | undefined; /** *

A unique identifier for the kdb environment, whose clusters can attach to the volume.

* @public */ environmentId: string | undefined; /** *

* 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. *

* @public */ volumeType: KxVolumeType | undefined; /** *

A unique identifier for the volume.

* @public */ volumeName: string | undefined; /** *

* A description of the volume. *

* @public */ description?: string | undefined; /** *

Specifies the configuration for the Network attached storage (NAS_1) file system volume. This * parameter is required when you choose volumeType as * NAS_1.

* @public */ nas1Configuration?: KxNAS1Configuration | undefined; /** *

The number of availability zones you want to assign per volume. Currently, FinSpace only supports SINGLE for volumes. This places dataview in a single AZ.

* @public */ azMode: KxAzMode | undefined; /** *

The identifier of the availability zones.

* @public */ availabilityZoneIds: string[] | undefined; /** *

* A list of key-value pairs to label the volume. You can add up to 50 tags to a volume. *

* @public */ tags?: Record | undefined; } /** * @public */ export interface CreateKxVolumeResponse { /** *

A unique identifier for the kdb environment, whose clusters can attach to the volume.

* @public */ environmentId?: string | undefined; /** *

A unique identifier for the volume.

* @public */ volumeName?: string | undefined; /** *

* The type of file system volume. Currently, FinSpace only supports NAS_1 volume type. *

* @public */ volumeType?: KxVolumeType | undefined; /** *

* The ARN identifier of the volume. *

* @public */ volumeArn?: string | undefined; /** *

Specifies the configuration for the Network attached storage (NAS_1) file system volume.

* @public */ nas1Configuration?: KxNAS1Configuration | undefined; /** *

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.

    *
  • *
* @public */ status?: KxVolumeStatus | undefined; /** *

The error message when a failed state occurs.

* @public */ statusReason?: string | undefined; /** *

The number of availability zones you want to assign per volume. Currently, FinSpace only supports SINGLE for volumes. This places dataview in a single AZ.

* @public */ azMode?: KxAzMode | undefined; /** *

* A description of the volume. *

* @public */ description?: string | undefined; /** *

The identifier of the availability zones.

* @public */ availabilityZoneIds?: string[] | undefined; /** *

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.

* @public */ createdTimestamp?: Date | undefined; } /** * @public */ export interface DeleteEnvironmentRequest { /** *

The identifier for the FinSpace environment.

* @public */ environmentId: string | undefined; } /** * @public */ export interface DeleteEnvironmentResponse { } /** * @public */ export interface DeleteKxClusterRequest { /** *

A unique identifier for the kdb environment.

* @public */ environmentId: string | undefined; /** *

The name of the cluster that you want to delete.

* @public */ clusterName: string | undefined; /** *

A token that ensures idempotency. This token expires in 10 minutes.

* @public */ clientToken?: string | undefined; } /** * @public */ export interface DeleteKxClusterResponse { } /** * @public */ export interface DeleteKxClusterNodeRequest { /** *

A unique identifier for the kdb environment.

* @public */ environmentId: string | undefined; /** *

The name of the cluster, for which you want to delete the nodes.

* @public */ clusterName: string | undefined; /** *

A unique identifier for the node that you want to delete.

* @public */ nodeId: string | undefined; } /** * @public */ export interface DeleteKxClusterNodeResponse { } /** * @public */ export interface DeleteKxDatabaseRequest { /** *

A unique identifier for the kdb environment.

* @public */ environmentId: string | undefined; /** *

The name of the kdb database that you want to delete.

* @public */ databaseName: string | undefined; /** *

A token that ensures idempotency. This token expires in 10 minutes.

* @public */ clientToken?: string | undefined; } /** * @public */ export interface DeleteKxDatabaseResponse { } /** * @public */ export interface DeleteKxDataviewRequest { /** *

A unique identifier for the kdb environment, from where you want to delete the dataview.

* @public */ environmentId: string | undefined; /** *

The name of the database whose dataview you want to delete.

* @public */ databaseName: string | undefined; /** *

The name of the dataview that you want to delete.

* @public */ dataviewName: string | undefined; /** *

A token that ensures idempotency. This token expires in 10 minutes.

* @public */ clientToken?: string | undefined; } /** * @public */ export interface DeleteKxDataviewResponse { } /** * @public */ export interface DeleteKxEnvironmentRequest { /** *

A unique identifier for the kdb environment.

* @public */ environmentId: string | undefined; /** *

A token that ensures idempotency. This token expires in 10 minutes.

* @public */ clientToken?: string | undefined; } /** * @public */ export interface DeleteKxEnvironmentResponse { } /** * @public */ export interface DeleteKxScalingGroupRequest { /** *

A unique identifier for the kdb environment, from where you want to delete the dataview.

* @public */ environmentId: string | undefined; /** *

A unique identifier for the kdb scaling group.

* @public */ scalingGroupName: string | undefined; /** *

A token that ensures idempotency. This token expires in 10 minutes.

* @public */ clientToken?: string | undefined; } /** * @public */ export interface DeleteKxScalingGroupResponse { } /** * @public */ export interface DeleteKxUserRequest { /** *

A unique identifier for the user that you want to delete.

* @public */ userName: string | undefined; /** *

A unique identifier for the kdb environment.

* @public */ environmentId: string | undefined; /** *

A token that ensures idempotency. This token expires in 10 minutes.

* @public */ clientToken?: string | undefined; } /** * @public */ export interface DeleteKxUserResponse { } /** * @public */ export interface DeleteKxVolumeRequest { /** *

A unique identifier for the kdb environment, whose clusters can attach to the volume.

* @public */ environmentId: string | undefined; /** *

* The name of the volume that you want to delete. *

* @public */ volumeName: string | undefined; /** *

A token that ensures idempotency. This token expires in 10 minutes.

* @public */ clientToken?: string | undefined; } /** * @public */ export interface DeleteKxVolumeResponse { } /** * @public */ export interface GetEnvironmentRequest { /** *

The identifier of the FinSpace environment.

* @public */ environmentId: string | undefined; } /** *

Represents an FinSpace environment.

* @public */ export interface Environment { /** *

The name of the FinSpace environment.

* @public */ name?: string | undefined; /** *

The identifier of the FinSpace environment.

* @public */ environmentId?: string | undefined; /** *

The ID of the AWS account in which the FinSpace environment is created.

* @public */ awsAccountId?: string | undefined; /** *

The current status of creation of the FinSpace environment.

* @public */ status?: EnvironmentStatus | undefined; /** *

The sign-in URL for the web application of your FinSpace environment.

* @public */ environmentUrl?: string | undefined; /** *

The description of the FinSpace environment.

* @public */ description?: string | undefined; /** *

The Amazon Resource Name (ARN) of your FinSpace environment.

* @public */ environmentArn?: string | undefined; /** *

The URL of the integrated FinSpace notebook environment in your web application.

* @public */ sageMakerStudioDomainUrl?: string | undefined; /** *

The KMS key id used to encrypt in the FinSpace environment.

* @public */ kmsKeyId?: string | undefined; /** *

The AWS account ID of the dedicated service account associated with your FinSpace * environment.

* @public */ dedicatedServiceAccountId?: string | undefined; /** *

The authentication mode for the environment.

* @public */ federationMode?: FederationMode | undefined; /** *

Configuration information when authentication mode is FEDERATED.

* @public */ federationParameters?: FederationParameters | undefined; } /** * @public */ export interface GetEnvironmentResponse { /** *

The name of the FinSpace environment.

* @public */ environment?: Environment | undefined; } /** * @public */ export interface GetKxChangesetRequest { /** *

A unique identifier for the kdb environment.

* @public */ environmentId: string | undefined; /** *

The name of the kdb database.

* @public */ databaseName: string | undefined; /** *

A unique identifier of the changeset for which you want to retrieve data.

* @public */ changesetId: string | undefined; } /** * @public */ export interface GetKxChangesetResponse { /** *

A unique identifier for the changeset.

* @public */ changesetId?: string | undefined; /** *

The name of the kdb database.

* @public */ databaseName?: string | undefined; /** *

A unique identifier for the kdb environment.

* @public */ environmentId?: string | undefined; /** *

A list of change request objects that are run in order.

* @public */ changeRequests?: ChangeRequest[] | undefined; /** *

The timestamp at which the changeset 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.

* @public */ createdTimestamp?: Date | undefined; /** *

Beginning time from which the changeset is 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.

* @public */ activeFromTimestamp?: Date | undefined; /** *

The timestamp at which the changeset 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.

* @public */ lastModifiedTimestamp?: Date | undefined; /** *

Status of the changeset creation process.

*
    *
  • *

    Pending – Changeset creation is pending.

    *
  • *
  • *

    Processing – Changeset creation is running.

    *
  • *
  • *

    Failed – Changeset creation has failed.

    *
  • *
  • *

    Complete – Changeset creation has succeeded.

    *
  • *
* @public */ status?: ChangesetStatus | undefined; /** *

Provides details in the event of a failed flow, including the error type and the related error message.

* @public */ errorInfo?: ErrorInfo | undefined; } /** * @public */ export interface GetKxClusterRequest { /** *

A unique identifier for the kdb environment.

* @public */ environmentId: string | undefined; /** *

The name of the cluster that you want to retrieve.

* @public */ clusterName: string | undefined; } /** * @public */ export interface GetKxClusterResponse { /** *

The status of cluster creation.

*
    *
  • *

    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.

    *
  • *
* @public */ status?: KxClusterStatus | undefined; /** *

The error message when a failed state occurs.

* @public */ statusReason?: string | undefined; /** *

A unique name for the cluster.

* @public */ clusterName?: string | undefined; /** *

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.

    *
  • *
* @public */ clusterType?: KxClusterType | undefined; /** *

* A configuration to store the 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. *

* @public */ tickerplantLogConfiguration?: TickerplantLogConfiguration | undefined; /** *

* A list of volumes attached to the cluster. *

* @public */ volumes?: Volume[] | undefined; /** *

A list of databases mounted on the cluster.

* @public */ databases?: KxDatabaseConfiguration[] | undefined; /** *

The configurations for a read only cache storage associated with a cluster. This cache will be stored as an FSx Lustre that reads from the S3 store.

* @public */ cacheStorageConfigurations?: KxCacheStorageConfiguration[] | undefined; /** *

The configuration based on which FinSpace will scale in or scale out nodes in your cluster.

* @public */ autoScalingConfiguration?: AutoScalingConfiguration | undefined; /** *

A description of the cluster.

* @public */ clusterDescription?: string | undefined; /** *

A structure for the metadata of a cluster. It includes information like the CPUs needed, memory of instances, and number of instances.

* @public */ capacityConfiguration?: CapacityConfiguration | undefined; /** *

The version of FinSpace managed kdb to run.

* @public */ releaseLabel?: string | undefined; /** *

Configuration details about the network where the Privatelink endpoint of the cluster resides.

* @public */ vpcConfiguration?: VpcConfiguration | undefined; /** *

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.

* @public */ initializationScript?: string | undefined; /** *

Defines key-value pairs to make them available inside the cluster.

* @public */ commandLineArguments?: KxCommandLineArgument[] | undefined; /** *

The details of the custom code that you want to use inside a cluster when analyzing a data. It consists of the S3 source bucket, location, S3 object version, and the relative path from where the custom code is loaded into the cluster.

* @public */ code?: CodeConfiguration | undefined; /** *

* An IAM role that defines a set of permissions associated with a cluster. These permissions are assumed when a cluster attempts to access another cluster. *

* @public */ executionRole?: string | undefined; /** *

The last time that the cluster was modified. 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.

* @public */ lastModifiedTimestamp?: Date | undefined; /** *

The size and type of the temporary storage that is used to hold data during the savedown process. This parameter is required when you choose clusterType as RDB. All the data written to this storage space is lost when the cluster node is restarted.

* @public */ savedownStorageConfiguration?: KxSavedownStorageConfiguration | undefined; /** *

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.

    *
  • *
* @public */ azMode?: KxAzMode | undefined; /** *

* The availability zone identifiers for the requested regions. *

* @public */ availabilityZoneId?: string | undefined; /** *

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.

* @public */ createdTimestamp?: Date | undefined; /** *

The structure that stores the capacity configuration details of a scaling group.

* @public */ scalingGroupConfiguration?: KxScalingGroupConfiguration | undefined; } /** * @public */ export interface GetKxConnectionStringRequest { /** *

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.

* @public */ userArn: string | undefined; /** *

A unique identifier for the kdb environment.

* @public */ environmentId: string | undefined; /** *

A name of the kdb cluster.

* @public */ clusterName: string | undefined; } /** * @public */ export interface GetKxConnectionStringResponse { /** *

The signed connection string that you can use to connect to clusters.

* @public */ signedConnectionString?: string | undefined; } /** * @public */ export interface GetKxDatabaseRequest { /** *

A unique identifier for the kdb environment.

* @public */ environmentId: string | undefined; /** *

The name of the kdb database.

* @public */ databaseName: string | undefined; } /** * @public */ export interface GetKxDatabaseResponse { /** *

The name of the kdb database for which the information is retrieved.

* @public */ databaseName?: string | undefined; /** *

The ARN identifier of the database.

* @public */ databaseArn?: string | undefined; /** *

A unique identifier for the kdb environment.

* @public */ environmentId?: string | undefined; /** *

A description of the database.

* @public */ description?: string | undefined; /** *

The timestamp at which the database is 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.

* @public */ createdTimestamp?: Date | undefined; /** *

The last time that the database was modified. 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.

* @public */ lastModifiedTimestamp?: Date | undefined; /** *

A unique identifier for the changeset.

* @public */ lastCompletedChangesetId?: string | undefined; /** *

The total number of bytes in the database.

* @public */ numBytes?: number | undefined; /** *

The total number of changesets in the database.

* @public */ numChangesets?: number | undefined; /** *

The total number of files in the database.

* @public */ numFiles?: number | undefined; } /** * @public */ export interface GetKxDataviewRequest { /** *

A unique identifier for the kdb environment, from where you want to retrieve the dataview details.

* @public */ environmentId: string | undefined; /** *

* The name of the database where you created the dataview.

* @public */ databaseName: string | undefined; /** *

A unique identifier for the dataview.

* @public */ dataviewName: string | undefined; } /** *

* The active version of the dataview that is currently in use by this cluster. * *

* @public */ export interface KxDataviewActiveVersion { /** *

A unique identifier for the changeset.

* @public */ changesetId?: string | undefined; /** *

* 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.

* @public */ segmentConfigurations?: KxDataviewSegmentConfiguration[] | undefined; /** *

* The list of clusters that are currently using this dataview. * *

* @public */ attachedClusters?: string[] | undefined; /** *

* 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.

* @public */ createdTimestamp?: Date | undefined; /** *

* A unique identifier of the active version.

* @public */ versionId?: string | undefined; } /** * @public */ export interface GetKxDataviewResponse { /** *

* The name of the database where you created the dataview.

* @public */ databaseName?: string | undefined; /** *

A unique identifier for the dataview.

* @public */ dataviewName?: string | undefined; /** *

The number of availability zones you want to assign per volume. Currently, FinSpace only supports SINGLE for volumes. This places dataview in a single AZ.

* @public */ azMode?: KxAzMode | undefined; /** *

* The identifier of the availability zones. *

* @public */ availabilityZoneId?: string | undefined; /** *

* A unique identifier of the changeset that you want to use to ingest data.

* @public */ changesetId?: string | undefined; /** *

* 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.

* @public */ segmentConfigurations?: KxDataviewSegmentConfiguration[] | undefined; /** *

* The current active changeset versions of the database on the given dataview. * *

* @public */ activeVersions?: KxDataviewActiveVersion[] | undefined; /** *

A description of the dataview.

* @public */ description?: string | undefined; /** *

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.

* @public */ autoUpdate?: boolean | undefined; /** *

Returns True if the dataview is created as writeable and False otherwise.

* @public */ readWrite?: boolean | undefined; /** *

A unique identifier for the kdb environment, from where you want to retrieve the dataview details.

* @public */ environmentId?: string | undefined; /** *

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.

* @public */ createdTimestamp?: Date | undefined; /** *

* 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. *

* @public */ lastModifiedTimestamp?: Date | undefined; /** *

* 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.

    *
  • *
* @public */ status?: KxDataviewStatus | undefined; /** *

* The error message when a failed state occurs. *

* @public */ statusReason?: string | undefined; } /** * @public */ export interface GetKxEnvironmentRequest { /** *

A unique identifier for the kdb environment.

* @public */ environmentId: string | undefined; } /** *

A list of DNS server name and server IP. This is used to set up Route-53 outbound resolvers.

* @public */ export interface CustomDNSServer { /** *

The name of the DNS server.

* @public */ customDNSServerName: string | undefined; /** *

The IP address of the DNS server.

* @public */ customDNSServerIP: string | undefined; } /** *

* Defines the ICMP protocol that consists of the ICMP type and code. *

* @public */ export interface IcmpTypeCode { /** *

The ICMP type. A value of -1 means all types. *

* @public */ type: number | undefined; /** *

* The ICMP code. A value of -1 means all codes for the specified ICMP type. *

* @public */ code: number | undefined; } /** *

* The range of ports the rule applies to. *

* @public */ export interface PortRange { /** *

* The first port in the range. *

* @public */ from: number | undefined; /** *

* The last port in the range. *

* @public */ to: number | undefined; } /** *

* The network access control list (ACL) is an optional layer of security for your VPC that acts as a firewall for controlling traffic in and out of one or more subnets. The entry is a set of numbered ingress and egress rules that determine whether a packet should be allowed in or out of a subnet associated with the ACL. We process the entries in the ACL according to the rule numbers, in ascending order. *

* @public */ export interface NetworkACLEntry { /** *

* The rule number for the entry. For example 100. All the network ACL entries are processed in ascending order by rule number. * *

* @public */ ruleNumber: number | undefined; /** *

* The protocol number. A value of -1 means all the protocols. *

* @public */ protocol: string | undefined; /** *

* Indicates whether to allow or deny the traffic that matches the rule. *

* @public */ ruleAction: RuleAction | undefined; /** *

* The range of ports the rule applies to. *

* @public */ portRange?: PortRange | undefined; /** *

* Defines the ICMP protocol that consists of the ICMP type and code. *

* @public */ icmpTypeCode?: IcmpTypeCode | undefined; /** *

* The IPv4 network range to allow or deny, in CIDR notation. For example, 172.16.0.0/24. We modify the specified CIDR block to its canonical form. For example, if you specify 100.68.0.18/18, we modify it to 100.68.0.0/18. *

* @public */ cidrBlock: string | undefined; } /** *

The structure of the transit gateway and network configuration that is used to connect the kdb environment to an internal network.

* @public */ export interface TransitGatewayConfiguration { /** *

The identifier of the transit gateway created by the customer to connect outbound traffics from kdb network to your internal network.

* @public */ transitGatewayID: string | undefined; /** *

The routing CIDR on behalf of kdb environment. It could be any "/26 range in the 100.64.0.0 CIDR space. After providing, it will be added to the customer's transit gateway routing table so that the traffics could be routed to kdb network.

* @public */ routableCIDRSpace: string | undefined; /** *

* The rules that define how you manage the outbound traffic from kdb network to your internal network. * *

* @public */ attachmentNetworkAclConfiguration?: NetworkACLEntry[] | undefined; } /** * @public */ export interface GetKxEnvironmentResponse { /** *

The name of the kdb environment.

* @public */ name?: string | undefined; /** *

A unique identifier for the kdb environment.

* @public */ environmentId?: string | undefined; /** *

The unique identifier of the AWS account that is used to create the kdb environment.

* @public */ awsAccountId?: string | undefined; /** *

The status of the kdb environment.

* @public */ status?: EnvironmentStatus | undefined; /** *

The status of the network configuration.

* @public */ tgwStatus?: TgwStatus | undefined; /** *

The status of DNS configuration.

* @public */ dnsStatus?: DnsStatus | undefined; /** *

Specifies the error message that appears if a flow fails.

* @public */ errorMessage?: string | undefined; /** *

A description for the kdb environment.

* @public */ description?: string | undefined; /** *

The ARN identifier of the environment.

* @public */ environmentArn?: string | undefined; /** *

The KMS key ID to encrypt your data in the FinSpace environment.

* @public */ kmsKeyId?: string | undefined; /** *

A unique identifier for the AWS environment infrastructure account.

* @public */ dedicatedServiceAccountId?: string | undefined; /** *

The structure of the transit gateway and network configuration that is used to connect the kdb environment to an internal network.

* @public */ transitGatewayConfiguration?: TransitGatewayConfiguration | undefined; /** *

A list of DNS server name and server IP. This is used to set up Route-53 outbound resolvers.

* @public */ customDNSConfiguration?: CustomDNSServer[] | undefined; /** *

The timestamp at which the kdb environment was created in FinSpace.

* @public */ creationTimestamp?: Date | undefined; /** *

The timestamp at which the kdb environment was updated.

* @public */ updateTimestamp?: Date | undefined; /** *

The identifier of the availability zones where subnets for the environment are created.

* @public */ availabilityZoneIds?: string[] | undefined; /** *

The Amazon Resource Name (ARN) of the certificate authority of the * kdb environment.

* @public */ certificateAuthorityArn?: string | undefined; } /** * @public */ export interface GetKxScalingGroupRequest { /** *

A unique identifier for the kdb environment.

* @public */ environmentId: string | undefined; /** *

A unique identifier for the kdb scaling group.

* @public */ scalingGroupName: string | undefined; } /** * @public */ export interface GetKxScalingGroupResponse { /** *

A unique identifier for the kdb scaling group.

* @public */ scalingGroupName?: string | undefined; /** *

* The ARN identifier for the scaling group. *

* @public */ scalingGroupArn?: string | undefined; /** *

* The memory and CPU capabilities of the scaling group host on which FinSpace Managed kdb clusters will be placed.

*

It can have one of the following values:

*
    *
  • *

    * kx.sg.large – The host type with a configuration of 16 GiB * memory and 2 vCPUs.

    *
  • *
  • *

    * kx.sg.xlarge – The host type with a configuration of 32 GiB * memory and 4 vCPUs.

    *
  • *
  • *

    * kx.sg.2xlarge – The host type with a configuration of 64 GiB * memory and 8 vCPUs.

    *
  • *
  • *

    * kx.sg.4xlarge – The host type with a configuration of 108 GiB memory and 16 vCPUs.

    *
  • *
  • *

    * kx.sg.8xlarge – The host type with a configuration of 216 GiB memory and 32 vCPUs.

    *
  • *
  • *

    * kx.sg.16xlarge – The host type with a configuration of 432 GiB memory and 64 vCPUs.

    *
  • *
  • *

    * kx.sg.32xlarge – The host type with a configuration of 864 GiB memory and 128 vCPUs.

    *
  • *
  • *

    * kx.sg1.16xlarge – The host type with a configuration of 1949 GiB memory and 64 vCPUs.

    *
  • *
  • *

    * kx.sg1.24xlarge – The host type with a configuration of 2948 GiB memory and 96 vCPUs.

    *
  • *
* @public */ hostType?: string | undefined; /** *

* The list of Managed kdb clusters that are currently active in the given scaling group. * *

* @public */ clusters?: string[] | undefined; /** *

The identifier of the availability zones.

* @public */ availabilityZoneId?: string | undefined; /** *

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.

    *
  • *
* @public */ status?: KxScalingGroupStatus | undefined; /** *

* The error message when a failed state occurs. *

* @public */ statusReason?: string | undefined; /** *

* 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. *

* @public */ lastModifiedTimestamp?: Date | undefined; /** *

* 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.

* @public */ createdTimestamp?: Date | undefined; } /** * @public */ export interface GetKxUserRequest { /** *

A unique identifier for the user.

* @public */ userName: string | undefined; /** *

A unique identifier for the kdb environment.

* @public */ environmentId: string | undefined; } /** * @public */ export interface GetKxUserResponse { /** *

A unique identifier for the user.

* @public */ userName?: string | undefined; /** *

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.

* @public */ userArn?: string | undefined; /** *

A unique identifier for the kdb environment.

* @public */ environmentId?: string | undefined; /** *

The IAM role ARN that is associated with the user.

* @public */ iamRole?: string | undefined; } /** * @public */ export interface GetKxVolumeRequest { /** *

A unique identifier for the kdb environment, whose clusters can attach to the volume.

* @public */ environmentId: string | undefined; /** *

A unique identifier for the volume.

* @public */ volumeName: string | undefined; } /** *

The structure containing the metadata of the attached clusters.

* @public */ export interface KxAttachedCluster { /** *

A unique name for the attached cluster.

* @public */ clusterName?: string | undefined; /** *

Specifies the type of cluster. The volume for TP and RDB cluster types will be used for TP logs.

* @public */ clusterType?: KxClusterType | undefined; /** *

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.

    *
  • *
* @public */ clusterStatus?: KxClusterStatus | undefined; } /** * @public */ export interface GetKxVolumeResponse { /** *

A unique identifier for the kdb environment, whose clusters can attach to the volume.

* @public */ environmentId?: string | undefined; /** *

* A unique identifier for the volume.

* @public */ volumeName?: string | undefined; /** *

* The type of file system volume. Currently, FinSpace only supports NAS_1 volume type. *

* @public */ volumeType?: KxVolumeType | undefined; /** *

* The ARN identifier of the volume. *

* @public */ volumeArn?: string | undefined; /** *

Specifies the configuration for the Network attached storage (NAS_1) file system volume.

* @public */ nas1Configuration?: KxNAS1Configuration | undefined; /** *

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.

    *
  • *
* @public */ status?: KxVolumeStatus | undefined; /** *

The error message when a failed state occurs.

* @public */ statusReason?: string | undefined; /** *

* 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. *

* @public */ createdTimestamp?: Date | undefined; /** *

* A description of the volume. *

* @public */ description?: string | undefined; /** *

The number of availability zones you want to assign per volume. Currently, FinSpace only supports SINGLE for volumes. This places dataview in a single AZ.

* @public */ azMode?: KxAzMode | undefined; /** *

The identifier of the availability zones.

* @public */ availabilityZoneIds?: string[] | undefined; /** *

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.

* @public */ lastModifiedTimestamp?: Date | undefined; /** *

* A list of cluster identifiers that a volume is attached to. *

* @public */ attachedClusters?: KxAttachedCluster[] | undefined; } /** * @public */ export interface ListEnvironmentsRequest { /** *

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.

* @public */ nextToken?: string | undefined; /** *

The maximum number of results to return in this request.

* @public */ maxResults?: number | undefined; } /** * @public */ export interface ListEnvironmentsResponse { /** *

A list of all of your FinSpace environments.

* @public */ environments?: Environment[] | undefined; /** *

A token that you can use in a subsequent call to retrieve the next set of * results.

* @public */ nextToken?: string | undefined; } /** * @public */ export interface ListKxChangesetsRequest { /** *

A unique identifier for the kdb environment.

* @public */ environmentId: string | undefined; /** *

The name of the kdb database.

* @public */ databaseName: string | undefined; /** *

A token that indicates where a results page should begin.

* @public */ nextToken?: string | undefined; /** *

The maximum number of results to return in this request.

* @public */ maxResults?: number | undefined; } /** *

Details of changeset.

* @public */ export interface KxChangesetListEntry { /** *

A unique identifier for the changeset.

* @public */ changesetId?: string | undefined; /** *

The timestamp at which the changeset 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.

* @public */ createdTimestamp?: Date | undefined; /** *

Beginning time from which the changeset is 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.

* @public */ activeFromTimestamp?: Date | undefined; /** *

The timestamp at which the changeset was modified. 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.

* @public */ lastModifiedTimestamp?: Date | undefined; /** *

Status of the changeset.

*
    *
  • *

    Pending – Changeset creation is pending.

    *
  • *
  • *

    Processing – Changeset creation is running.

    *
  • *
  • *

    Failed – Changeset creation has failed.

    *
  • *
  • *

    Complete – Changeset creation has succeeded.

    *
  • *
* @public */ status?: ChangesetStatus | undefined; } /** * @public */ export interface ListKxChangesetsResponse { /** *

A list of changesets for a database.

* @public */ kxChangesets?: KxChangesetListEntry[] | undefined; /** *

A token that indicates where a results page should begin.

* @public */ nextToken?: string | undefined; } /** * @public */ export interface ListKxClusterNodesRequest { /** *

A unique identifier for the kdb environment.

* @public */ environmentId: string | undefined; /** *

A unique name for the cluster.

* @public */ clusterName: string | undefined; /** *

A token that indicates where a results page should begin.

* @public */ nextToken?: string | undefined; /** *

The maximum number of results to return in this request.

* @public */ maxResults?: number | undefined; } /** *

A structure that stores metadata for a kdb node.

* @public */ export interface KxNode { /** *

A unique identifier for the node.

* @public */ nodeId?: string | undefined; /** *

The identifier of the availability zones where subnets for the environment are created.

* @public */ availabilityZoneId?: string | undefined; /** *

The time when a particular node is started. 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.

* @public */ launchTime?: Date | undefined; /** *

* Specifies the status of the cluster nodes.

*
    *
  • *

    * RUNNING – The node is actively serving.

    *
  • *
  • *

    * PROVISIONING – The node is being prepared.

    *
  • *
* @public */ status?: KxNodeStatus | undefined; } /** * @public */ export interface ListKxClusterNodesResponse { /** *

A list of nodes associated with the cluster.

* @public */ nodes?: KxNode[] | undefined; /** *

A token that indicates where a results page should begin.

* @public */ nextToken?: string | undefined; } /** * @public */ export interface ListKxClustersRequest { /** *

A unique identifier for the kdb environment.

* @public */ environmentId: string | undefined; /** *

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.

    *
  • *
* @public */ clusterType?: KxClusterType | undefined; /** *

The maximum number of results to return in this request.

* @public */ maxResults?: number | undefined; /** *

A token that indicates where a results page should begin.

* @public */ nextToken?: string | undefined; } /** *

The details of a kdb cluster.

* @public */ export interface KxCluster { /** *

The status of a 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.

    *
  • *
* @public */ status?: KxClusterStatus | undefined; /** *

The error message when a failed state occurs.

* @public */ statusReason?: string | undefined; /** *

A unique name for the cluster.

* @public */ clusterName?: string | undefined; /** *

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.

    *
  • *
* @public */ clusterType?: KxClusterType | undefined; /** *

A description of the cluster.

* @public */ clusterDescription?: string | undefined; /** *

A version of the FinSpace managed kdb to run.

* @public */ releaseLabel?: string | undefined; /** *

* A list of volumes attached to the cluster. *

* @public */ volumes?: Volume[] | undefined; /** *

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.

* @public */ initializationScript?: string | undefined; /** *

* An IAM role that defines a set of permissions associated with a cluster. These permissions are assumed when a cluster attempts to access another cluster. *

* @public */ executionRole?: string | undefined; /** *

The number of availability zones assigned per cluster. This can be one of the following:

*
    *
  • *

    * SINGLE – Assigns one availability zone per cluster.

    *
  • *
  • *

    * MULTI – Assigns all the availability zones per cluster.

    *
  • *
* @public */ azMode?: KxAzMode | undefined; /** *

* The availability zone identifiers for the requested regions. *

* @public */ availabilityZoneId?: string | undefined; /** *

The last time that the cluster was modified. 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.

* @public */ lastModifiedTimestamp?: Date | undefined; /** *

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.

* @public */ createdTimestamp?: Date | undefined; } /** * @public */ export interface ListKxClustersResponse { /** *

Lists the cluster details.

* @public */ kxClusterSummaries?: KxCluster[] | undefined; /** *

A token that indicates where a results page should begin.

* @public */ nextToken?: string | undefined; } /** * @public */ export interface ListKxDatabasesRequest { /** *

A unique identifier for the kdb environment.

* @public */ environmentId: string | undefined; /** *

A token that indicates where a results page should begin.

* @public */ nextToken?: string | undefined; /** *

The maximum number of results to return in this request.

* @public */ maxResults?: number | undefined; } /** *

Details about a FinSpace managed kdb database

* @public */ export interface KxDatabaseListEntry { /** *

The name of the kdb database.

* @public */ databaseName?: string | undefined; /** *

The timestamp at which the database 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.

* @public */ createdTimestamp?: Date | undefined; /** *

The last time that the database was modified. 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.

* @public */ lastModifiedTimestamp?: Date | undefined; } /** * @public */ export interface ListKxDatabasesResponse { /** *

A list of databases in the kdb environment.

* @public */ kxDatabases?: KxDatabaseListEntry[] | undefined; /** *

A token that indicates where a results page should begin.

* @public */ nextToken?: string | undefined; } /** * @public */ export interface ListKxDataviewsRequest { /** *

A unique identifier for the kdb environment, for which you want to retrieve a list of dataviews.

* @public */ environmentId: string | undefined; /** *

* The name of the database where the dataviews were created.

* @public */ databaseName: string | undefined; /** *

* A token that indicates where a results page should begin. *

* @public */ nextToken?: string | undefined; /** *

The maximum number of results to return in this request.

* @public */ maxResults?: number | undefined; } /** *

* A collection of kdb dataview entries. * *

* @public */ export interface KxDataviewListEntry { /** *

A unique identifier for the kdb environment.

* @public */ environmentId?: string | undefined; /** *

* A unique identifier of the database.

* @public */ databaseName?: string | undefined; /** *

* A unique identifier of the dataview.

* @public */ dataviewName?: string | undefined; /** *

The number of availability zones you want to assign per volume. Currently, FinSpace only supports SINGLE for volumes. This places dataview in a single AZ.

* @public */ azMode?: KxAzMode | undefined; /** *

* The identifier of the availability zones. *

* @public */ availabilityZoneId?: string | undefined; /** *

A unique identifier for the changeset.

* @public */ changesetId?: string | undefined; /** *

* 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.

* @public */ segmentConfigurations?: KxDataviewSegmentConfiguration[] | undefined; /** *

* The active changeset versions for the given dataview entry. * *

* @public */ activeVersions?: KxDataviewActiveVersion[] | undefined; /** *

* The status of a given dataview entry. * *

* @public */ status?: KxDataviewStatus | undefined; /** *

* A description for the dataview list entry.

* @public */ description?: string | undefined; /** *

* 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. *

* @public */ autoUpdate?: boolean | undefined; /** *

Returns True if the dataview is created as writeable and False otherwise.

* @public */ readWrite?: boolean | undefined; /** *

* 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.

* @public */ createdTimestamp?: Date | undefined; /** *

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.

* @public */ lastModifiedTimestamp?: Date | undefined; /** *

* The error message when a failed state occurs. *

* @public */ statusReason?: string | undefined; } /** * @public */ export interface ListKxDataviewsResponse { /** *

* The list of kdb dataviews that are currently active for the given database. *

* @public */ kxDataviews?: KxDataviewListEntry[] | undefined; /** *

* A token that indicates where a results page should begin.

* @public */ nextToken?: string | undefined; } /** * @public */ export interface ListKxEnvironmentsRequest { /** *

A token that indicates where a results page should begin.

* @public */ nextToken?: string | undefined; /** *

The maximum number of results to return in this request.

* @public */ maxResults?: number | undefined; } /** *

The details of a kdb environment.

* @public */ export interface KxEnvironment { /** *

The name of the kdb environment.

* @public */ name?: string | undefined; /** *

A unique identifier for the kdb environment.

* @public */ environmentId?: string | undefined; /** *

The unique identifier of the AWS account in which you create the kdb environment.

* @public */ awsAccountId?: string | undefined; /** *

The status of the environment creation.

*
    *
  • *

    CREATE_REQUESTED – Environment creation has been requested.

    *
  • *
  • *

    CREATING – Environment is in the process of being created.

    *
  • *
  • *

    FAILED_CREATION – Environment creation has failed.

    *
  • *
  • *

    CREATED – Environment is successfully created and is currently active.

    *
  • *
  • *

    DELETE REQUESTED – Environment deletion has been requested.

    *
  • *
  • *

    DELETING – Environment is in the process of being deleted.

    *
  • *
  • *

    RETRY_DELETION – Initial environment deletion failed, system is reattempting delete.

    *
  • *
  • *

    DELETED – Environment has been deleted.

    *
  • *
  • *

    FAILED_DELETION – Environment deletion has failed.

    *
  • *
* @public */ status?: EnvironmentStatus | undefined; /** *

The status of the network configuration.

* @public */ tgwStatus?: TgwStatus | undefined; /** *

The status of DNS configuration.

* @public */ dnsStatus?: DnsStatus | undefined; /** *

Specifies the error message that appears if a flow fails.

* @public */ errorMessage?: string | undefined; /** *

A description of the kdb environment.

* @public */ description?: string | undefined; /** *

The Amazon Resource Name (ARN) of your kdb environment.

* @public */ environmentArn?: string | undefined; /** *

The unique identifier of the KMS key.

* @public */ kmsKeyId?: string | undefined; /** *

A unique identifier for the AWS environment infrastructure account.

* @public */ dedicatedServiceAccountId?: string | undefined; /** *

Specifies the transit gateway and network configuration to connect the kdb environment to an internal network.

* @public */ transitGatewayConfiguration?: TransitGatewayConfiguration | undefined; /** *

A list of DNS server name and server IP. This is used to set up Route-53 outbound resolvers.

* @public */ customDNSConfiguration?: CustomDNSServer[] | undefined; /** *

The timestamp at which the kdb environment 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.

* @public */ creationTimestamp?: Date | undefined; /** *

The timestamp at which the kdb environment was modified 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.

* @public */ updateTimestamp?: Date | undefined; /** *

The identifier of the availability zones where subnets for the environment are created.

* @public */ availabilityZoneIds?: string[] | undefined; /** *

The Amazon Resource Name (ARN) of the certificate authority:

* @public */ certificateAuthorityArn?: string | undefined; } /** * @public */ export interface ListKxEnvironmentsResponse { /** *

A list of environments in an account.

* @public */ environments?: KxEnvironment[] | undefined; /** *

A token that indicates where a results page should begin.

* @public */ nextToken?: string | undefined; } /** * @public */ export interface ListKxScalingGroupsRequest { /** *

A unique identifier for the kdb environment, for which you want to retrieve a list of scaling groups.

* @public */ environmentId: string | undefined; /** *

The maximum number of results to return in this request.

* @public */ maxResults?: number | undefined; /** *

* A token that indicates where a results page should begin.

* @public */ nextToken?: string | undefined; } /** *

* A structure for storing metadata of scaling group.

* @public */ export interface KxScalingGroup { /** *

A unique identifier for the kdb scaling group.

* @public */ scalingGroupName?: string | undefined; /** *

* The memory and CPU capabilities of the scaling group host on which FinSpace Managed kdb clusters will be placed.

*

You can add one of the following values:

*
    *
  • *

    * kx.sg.large – The host type with a configuration of 16 GiB * memory and 2 vCPUs.

    *
  • *
  • *

    * kx.sg.xlarge – The host type with a configuration of 32 GiB * memory and 4 vCPUs.

    *
  • *
  • *

    * kx.sg.2xlarge – The host type with a configuration of 64 GiB * memory and 8 vCPUs.

    *
  • *
  • *

    * kx.sg.4xlarge – The host type with a configuration of 108 GiB memory and 16 vCPUs.

    *
  • *
  • *

    * kx.sg.8xlarge – The host type with a configuration of 216 GiB memory and 32 vCPUs.

    *
  • *
  • *

    * kx.sg.16xlarge – The host type with a configuration of 432 GiB memory and 64 vCPUs.

    *
  • *
  • *

    * kx.sg.32xlarge – The host type with a configuration of 864 GiB memory and 128 vCPUs.

    *
  • *
  • *

    * kx.sg1.16xlarge – The host type with a configuration of 1949 GiB memory and 64 vCPUs.

    *
  • *
  • *

    * kx.sg1.24xlarge – The host type with a configuration of 2948 GiB memory and 96 vCPUs.

    *
  • *
* @public */ hostType?: string | undefined; /** *

* The list of clusters currently active in a given scaling group. * *

* @public */ clusters?: string[] | undefined; /** *

The identifier of the availability zones.

* @public */ availabilityZoneId?: string | undefined; /** *

* The status of scaling groups. *

* @public */ status?: KxScalingGroupStatus | undefined; /** *

* The error message when a failed state occurs. *

* @public */ statusReason?: string | undefined; /** *

* 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. *

* @public */ lastModifiedTimestamp?: Date | undefined; /** *

* 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. *

* @public */ createdTimestamp?: Date | undefined; } /** * @public */ export interface ListKxScalingGroupsResponse { /** *

* A list of scaling groups available in a kdb environment.

* @public */ scalingGroups?: KxScalingGroup[] | undefined; /** *

* A token that indicates where a results page should begin.

* @public */ nextToken?: string | undefined; } /** * @public */ export interface ListKxUsersRequest { /** *

A unique identifier for the kdb environment.

* @public */ environmentId: string | undefined; /** *

A token that indicates where a results page should begin.

* @public */ nextToken?: string | undefined; /** *

The maximum number of results to return in this request.

* @public */ maxResults?: number | undefined; } /** *

A structure that stores metadata for a kdb user.

* @public */ export interface KxUser { /** *

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.

* @public */ userArn?: string | undefined; /** *

A unique identifier for the user.

* @public */ userName?: string | undefined; /** *

The IAM role ARN that is associated with the user.

* @public */ iamRole?: string | undefined; /** *

The timestamp at which the kdb user was created.

* @public */ createTimestamp?: Date | undefined; /** *

The timestamp at which the kdb user was updated.

* @public */ updateTimestamp?: Date | undefined; } /** * @public */ export interface ListKxUsersResponse { /** *

A list of users in a kdb environment.

* @public */ users?: KxUser[] | undefined; /** *

A token that indicates where a results page should begin.

* @public */ nextToken?: string | undefined; } /** * @public */ export interface ListKxVolumesRequest { /** *

A unique identifier for the kdb environment, whose clusters can attach to the volume.

* @public */ environmentId: string | undefined; /** *

The maximum number of results to return in this request.

* @public */ maxResults?: number | undefined; /** *

A token that indicates where a results page should begin.

* @public */ nextToken?: string | undefined; /** *

* The type of file system volume. Currently, FinSpace only supports NAS_1 volume type. *

* @public */ volumeType?: KxVolumeType | undefined; } /** *

* The structure that contains the metadata of the volume. *

* @public */ export interface KxVolume { /** *

A unique identifier for the volume.

* @public */ volumeName?: string | undefined; /** *

* The type of file system volume. Currently, FinSpace only supports NAS_1 volume type. *

* @public */ volumeType?: KxVolumeType | undefined; /** *

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.

    *
  • *
* @public */ status?: KxVolumeStatus | undefined; /** *

* A description of the volume. *

* @public */ description?: string | undefined; /** *

The error message when a failed state occurs.

* @public */ statusReason?: string | undefined; /** *

The number of availability zones you want to assign per volume. Currently, FinSpace only supports SINGLE for volumes. This places dataview in a single AZ.

* @public */ azMode?: KxAzMode | undefined; /** *

The identifier of the availability zones.

* @public */ availabilityZoneIds?: string[] | undefined; /** *

* 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.

* @public */ createdTimestamp?: Date | undefined; /** *

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.

* @public */ lastModifiedTimestamp?: Date | undefined; } /** * @public */ export interface ListKxVolumesResponse { /** *

* A summary of volumes. *

* @public */ kxVolumeSummaries?: KxVolume[] | undefined; /** *

A token that indicates where a results page should begin.

* @public */ nextToken?: string | undefined; } /** * @public */ export interface ListTagsForResourceRequest { /** *

The Amazon Resource Name of the resource.

* @public */ resourceArn: string | undefined; } /** * @public */ export interface ListTagsForResourceResponse { /** *

A list of all tags for a resource.

* @public */ tags?: Record | undefined; } /** * @public */ export interface TagResourceRequest { /** *

The Amazon Resource Name (ARN) for the resource.

* @public */ resourceArn: string | undefined; /** *

One or more tags to be assigned to the resource.

* @public */ tags: Record | undefined; } /** * @public */ export interface TagResourceResponse { } /** * @public */ export interface UntagResourceRequest { /** *

A FinSpace resource from which you want to remove a tag or tags. The value for this * parameter is an Amazon Resource Name (ARN).

* @public */ resourceArn: string | undefined; /** *

The tag keys (names) of one or more tags to be removed.

* @public */ tagKeys: string[] | undefined; } /** * @public */ export interface UntagResourceResponse { } /** * @public */ export interface UpdateEnvironmentRequest { /** *

The identifier of the FinSpace environment.

* @public */ environmentId: string | undefined; /** *

The name of the environment.

* @public */ name?: string | undefined; /** *

The description of the environment.

* @public */ description?: string | undefined; /** *

Authentication mode for the environment.

*
    *
  • *

    * FEDERATED - Users access FinSpace through Single Sign On (SSO) via your Identity provider.

    *
  • *
  • *

    * LOCAL - Users access FinSpace via email and password managed within the FinSpace environment.

    *
  • *
* @public */ federationMode?: FederationMode | undefined; /** *

Configuration information when authentication mode is FEDERATED.

* @public */ federationParameters?: FederationParameters | undefined; } /** * @public */ export interface UpdateEnvironmentResponse { /** *

Returns the FinSpace environment object.

* @public */ environment?: Environment | undefined; } /** *

* The configuration that allows you to choose how you want to update code on a cluster. Depending on the option you choose, you can reduce the time it takes to update the cluster. *

* @public */ export interface KxClusterCodeDeploymentConfiguration { /** *

* 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 GP 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.

    *
  • *
  • *

    FORCE – This option updates the cluster by immediately stopping all the running processes before starting up new ones with the updated configuration.

    *
  • *
* @public */ deploymentStrategy: KxClusterCodeDeploymentStrategy | undefined; } /** * @public */ export interface UpdateKxClusterCodeConfigurationRequest { /** *

* A unique identifier of the kdb environment. *

* @public */ environmentId: string | undefined; /** *

The name of the cluster.

* @public */ clusterName: string | undefined; /** *

A token that ensures idempotency. This token expires in 10 minutes.

* @public */ clientToken?: string | undefined; /** *

The structure of the customer code available within the running cluster.

* @public */ code: CodeConfiguration | undefined; /** *

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.

*

You cannot update this parameter for a NO_RESTART deployment.

* @public */ initializationScript?: string | undefined; /** *

Specifies the key-value pairs to make them available inside the cluster.

*

You cannot update this parameter for a NO_RESTART deployment.

* @public */ commandLineArguments?: KxCommandLineArgument[] | undefined; /** *

* The configuration that allows you to choose how you want to update the code on a cluster. *

* @public */ deploymentConfiguration?: KxClusterCodeDeploymentConfiguration | undefined; } /** * @public */ export interface UpdateKxClusterCodeConfigurationResponse { } /** *

* The configuration that allows you to choose how you want to update the databases on a cluster. Depending on the option you choose, you can reduce the time it takes to update the cluster. *

* @public */ export interface KxDeploymentConfiguration { /** *

* 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.

    *
  • *
* @public */ deploymentStrategy: KxDeploymentStrategy | undefined; } /** * @public */ export interface UpdateKxClusterDatabasesRequest { /** *

The unique identifier of a kdb environment.

* @public */ environmentId: string | undefined; /** *

A unique name for the cluster that you want to modify.

* @public */ clusterName: string | undefined; /** *

A token that ensures idempotency. This token expires in 10 minutes.

* @public */ clientToken?: string | undefined; /** *

The structure of databases mounted on the cluster.

* @public */ databases: KxDatabaseConfiguration[] | undefined; /** *

* The configuration that allows you to choose how you want to update the databases on a cluster. *

* @public */ deploymentConfiguration?: KxDeploymentConfiguration | undefined; } /** * @public */ export interface UpdateKxClusterDatabasesResponse { } /** * @public */ export interface UpdateKxDatabaseRequest { /** *

A unique identifier for the kdb environment.

* @public */ environmentId: string | undefined; /** *

The name of the kdb database.

* @public */ databaseName: string | undefined; /** *

A description of the database.

* @public */ description?: string | undefined; /** *

A token that ensures idempotency. This token expires in 10 minutes.

* @public */ clientToken?: string | undefined; } /** * @public */ export interface UpdateKxDatabaseResponse { /** *

The name of the kdb database.

* @public */ databaseName?: string | undefined; /** *

A unique identifier for the kdb environment.

* @public */ environmentId?: string | undefined; /** *

A description of the database.

* @public */ description?: string | undefined; /** *

The last time that the database was modified. 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.

* @public */ lastModifiedTimestamp?: Date | undefined; } /** * @public */ export interface UpdateKxDataviewRequest { /** *

A unique identifier for the kdb environment, where you want to update the dataview.

* @public */ environmentId: string | undefined; /** *

* The name of the database.

* @public */ databaseName: string | undefined; /** *

The name of the dataview that you want to update.

* @public */ dataviewName: string | undefined; /** *

* The description for a dataview. *

* @public */ description?: string | undefined; /** *

A unique identifier for the changeset.

* @public */ changesetId?: string | undefined; /** *

* 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.

* @public */ segmentConfigurations?: KxDataviewSegmentConfiguration[] | undefined; /** *

A token that ensures idempotency. This token expires in 10 minutes.

* @public */ clientToken?: string | undefined; } /** * @public */ export interface UpdateKxDataviewResponse { /** *

A unique identifier for the kdb environment, where you want to update the dataview.

* @public */ environmentId?: string | undefined; /** *

* The name of the database. *

* @public */ databaseName?: string | undefined; /** *

* The name of the database under which the dataview was created. * *

* @public */ dataviewName?: string | undefined; /** *

The number of availability zones you want to assign per volume. Currently, FinSpace only supports SINGLE for volumes. This places dataview in a single AZ.

* @public */ azMode?: KxAzMode | undefined; /** *

* The identifier of the availability zones. *

* @public */ availabilityZoneId?: string | undefined; /** *

A unique identifier for the changeset.

* @public */ changesetId?: string | undefined; /** *

* 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.

* @public */ segmentConfigurations?: KxDataviewSegmentConfiguration[] | undefined; /** *

* The current active changeset versions of the database on the given dataview. * *

* @public */ activeVersions?: KxDataviewActiveVersion[] | undefined; /** *

* 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.

    *
  • *
* @public */ status?: KxDataviewStatus | undefined; /** *

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.

* @public */ autoUpdate?: boolean | undefined; /** *

Returns True if the dataview is created as writeable and False otherwise.

* @public */ readWrite?: boolean | undefined; /** *

A description of the dataview.

* @public */ description?: string | undefined; /** *

* 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. *

* @public */ createdTimestamp?: Date | undefined; /** *

* 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. *

* @public */ lastModifiedTimestamp?: Date | undefined; } /** * @public */ export interface UpdateKxEnvironmentRequest { /** *

A unique identifier for the kdb environment.

* @public */ environmentId: string | undefined; /** *

The name of the kdb environment.

* @public */ name?: string | undefined; /** *

A description of the kdb environment.

* @public */ description?: string | undefined; /** *

A token that ensures idempotency. This token expires in 10 minutes.

* @public */ clientToken?: string | undefined; } /** * @public */ export interface UpdateKxEnvironmentResponse { /** *

The name of the kdb environment.

* @public */ name?: string | undefined; /** *

A unique identifier for the kdb environment.

* @public */ environmentId?: string | undefined; /** *

The unique identifier of the AWS account that is used to create the kdb environment.

* @public */ awsAccountId?: string | undefined; /** *

The status of the kdb environment.

* @public */ status?: EnvironmentStatus | undefined; /** *

The status of the network configuration.

* @public */ tgwStatus?: TgwStatus | undefined; /** *

The status of DNS configuration.

* @public */ dnsStatus?: DnsStatus | undefined; /** *

Specifies the error message that appears if a flow fails.

* @public */ errorMessage?: string | undefined; /** *

The description of the environment.

* @public */ description?: string | undefined; /** *

The ARN identifier of the environment.

* @public */ environmentArn?: string | undefined; /** *

The KMS key ID to encrypt your data in the FinSpace environment.

* @public */ kmsKeyId?: string | undefined; /** *

A unique identifier for the AWS environment infrastructure account.

* @public */ dedicatedServiceAccountId?: string | undefined; /** *

The structure of the transit gateway and network configuration that is used to connect the kdb environment to an internal network.

* @public */ transitGatewayConfiguration?: TransitGatewayConfiguration | undefined; /** *

A list of DNS server name and server IP. This is used to set up Route-53 outbound resolvers.

* @public */ customDNSConfiguration?: CustomDNSServer[] | undefined; /** *

The timestamp at which the kdb environment was created in FinSpace.

* @public */ creationTimestamp?: Date | undefined; /** *

The timestamp at which the kdb environment was updated.

* @public */ updateTimestamp?: Date | undefined; /** *

The identifier of the availability zones where subnets for the environment are created.

* @public */ availabilityZoneIds?: string[] | undefined; } /** * @public */ export interface UpdateKxEnvironmentNetworkRequest { /** *

A unique identifier for the kdb environment.

* @public */ environmentId: string | undefined; /** *

Specifies the transit gateway and network configuration to connect the kdb environment to an internal network.

* @public */ transitGatewayConfiguration?: TransitGatewayConfiguration | undefined; /** *

A list of DNS server name and server IP. This is used to set up Route-53 outbound resolvers.

* @public */ customDNSConfiguration?: CustomDNSServer[] | undefined; /** *

A token that ensures idempotency. This token expires in 10 minutes.

* @public */ clientToken?: string | undefined; } /** * @public */ export interface UpdateKxEnvironmentNetworkResponse { /** *

The name of the kdb environment.

* @public */ name?: string | undefined; /** *

A unique identifier for the kdb environment.

* @public */ environmentId?: string | undefined; /** *

The unique identifier of the AWS account that is used to create the kdb environment.

* @public */ awsAccountId?: string | undefined; /** *

The status of the kdb environment.

* @public */ status?: EnvironmentStatus | undefined; /** *

The status of the network configuration.

* @public */ tgwStatus?: TgwStatus | undefined; /** *

The status of DNS configuration.

* @public */ dnsStatus?: DnsStatus | undefined; /** *

Specifies the error message that appears if a flow fails.

* @public */ errorMessage?: string | undefined; /** *

The description of the environment.

* @public */ description?: string | undefined; /** *

The ARN identifier of the environment.

* @public */ environmentArn?: string | undefined; /** *

The KMS key ID to encrypt your data in the FinSpace environment.

* @public */ kmsKeyId?: string | undefined; /** *

A unique identifier for the AWS environment infrastructure account.

* @public */ dedicatedServiceAccountId?: string | undefined; /** *

The structure of the transit gateway and network configuration that is used to connect the kdb environment to an internal network.

* @public */ transitGatewayConfiguration?: TransitGatewayConfiguration | undefined; /** *

A list of DNS server name and server IP. This is used to set up Route-53 outbound resolvers.

* @public */ customDNSConfiguration?: CustomDNSServer[] | undefined; /** *

The timestamp at which the kdb environment was created in FinSpace.

* @public */ creationTimestamp?: Date | undefined; /** *

The timestamp at which the kdb environment was updated.

* @public */ updateTimestamp?: Date | undefined; /** *

The identifier of the availability zones where subnets for the environment are created.

* @public */ availabilityZoneIds?: string[] | undefined; } /** * @public */ export interface UpdateKxUserRequest { /** *

A unique identifier for the kdb environment.

* @public */ environmentId: string | undefined; /** *

A unique identifier for the user.

* @public */ userName: string | undefined; /** *

The IAM role ARN that is associated with the user.

* @public */ iamRole: string | undefined; /** *

A token that ensures idempotency. This token expires in 10 minutes.

* @public */ clientToken?: string | undefined; } /** * @public */ export interface UpdateKxUserResponse { /** *

A unique identifier for the user.

* @public */ userName?: string | undefined; /** *

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.

* @public */ userArn?: string | undefined; /** *

A unique identifier for the kdb environment.

* @public */ environmentId?: string | undefined; /** *

The IAM role ARN that is associated with the user.

* @public */ iamRole?: string | undefined; } /** * @public */ export interface UpdateKxVolumeRequest { /** *

A unique identifier for the kdb environment where you created the storage volume.

* @public */ environmentId: string | undefined; /** *

* A unique identifier for the volume.

* @public */ volumeName: string | undefined; /** *

* A description of the volume. *

* @public */ description?: string | undefined; /** *

A token that ensures idempotency. This token expires in 10 minutes.

* @public */ clientToken?: string | undefined; /** *

Specifies the configuration for the Network attached storage (NAS_1) file system volume.

* @public */ nas1Configuration?: KxNAS1Configuration | undefined; } /** * @public */ export interface UpdateKxVolumeResponse { /** *

A unique identifier for the kdb environment where you want to update the volume.

* @public */ environmentId?: string | undefined; /** *

A unique identifier for the volume that you want to update.

* @public */ volumeName?: string | undefined; /** *

* The type of file system volume. Currently, FinSpace only supports NAS_1 volume type. *

* @public */ volumeType?: KxVolumeType | undefined; /** *

* The ARN identifier of the volume. *

* @public */ volumeArn?: string | undefined; /** *

Specifies the configuration for the Network attached storage (NAS_1) file system volume.

* @public */ nas1Configuration?: KxNAS1Configuration | undefined; /** *

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.

    *
  • *
* @public */ status?: KxVolumeStatus | undefined; /** *

* The description for the volume. *

* @public */ description?: string | undefined; /** *

The error message when a failed state occurs.

* @public */ statusReason?: string | undefined; /** *

* 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.

* @public */ createdTimestamp?: Date | undefined; /** *

The number of availability zones you want to assign per volume. Currently, FinSpace only supports SINGLE for volumes. This places dataview in a single AZ.

* @public */ azMode?: KxAzMode | undefined; /** *

The identifier of the availability zones.

* @public */ availabilityZoneIds?: string[] | undefined; /** *

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.

* @public */ lastModifiedTimestamp?: Date | undefined; /** *

* Specifies the clusters that a volume is attached to. *

* @public */ attachedClusters?: KxAttachedCluster[] | undefined; }