Amazon FinSpace Dataset Browser will be discontinued on November 29,
2024
. Starting November 29, 2023
, FinSpace will no longer accept the creation of new Dataset Browser
environments. Customers using Amazon FinSpace with Managed Kdb Insights
GetKxCluster
Retrieves information about a kdb cluster.
Request Syntax
GET /kx/environments/environmentId
/clusters/clusterName
HTTP/1.1
URI Request Parameters
The request uses the following URI parameters.
- clusterName
-
The name of the cluster that you want to retrieve.
Length Constraints: Minimum length of 3. Maximum length of 63.
Pattern:
^[a-zA-Z0-9][a-zA-Z0-9-_]*[a-zA-Z0-9]$
Required: Yes
- environmentId
-
A unique identifier for the kdb environment.
Length Constraints: Minimum length of 1. Maximum length of 32.
Pattern:
^[a-z0-9]+$
Required: Yes
Request Body
The request does not have a request body.
Response Syntax
HTTP/1.1 200
Content-type: application/json
{
"autoScalingConfiguration": {
"autoScalingMetric": "string",
"maxNodeCount": number,
"metricTarget": number,
"minNodeCount": number,
"scaleInCooldownSeconds": number,
"scaleOutCooldownSeconds": number
},
"availabilityZoneId": "string",
"azMode": "string",
"cacheStorageConfigurations": [
{
"size": number,
"type": "string"
}
],
"capacityConfiguration": {
"nodeCount": number,
"nodeType": "string"
},
"clusterDescription": "string",
"clusterName": "string",
"clusterType": "string",
"code": {
"s3Bucket": "string",
"s3Key": "string",
"s3ObjectVersion": "string"
},
"commandLineArguments": [
{
"key": "string",
"value": "string"
}
],
"createdTimestamp": number,
"databases": [
{
"cacheConfigurations": [
{
"cacheType": "string",
"dataviewName": "string",
"dbPaths": [ "string" ]
}
],
"changesetId": "string",
"databaseName": "string",
"dataviewConfiguration": {
"changesetId": "string",
"dataviewName": "string",
"dataviewVersionId": "string",
"segmentConfigurations": [
{
"dbPaths": [ "string" ],
"onDemand": boolean,
"volumeName": "string"
}
]
},
"dataviewName": "string"
}
],
"executionRole": "string",
"initializationScript": "string",
"lastModifiedTimestamp": number,
"releaseLabel": "string",
"savedownStorageConfiguration": {
"size": number,
"type": "string",
"volumeName": "string"
},
"scalingGroupConfiguration": {
"cpu": number,
"memoryLimit": number,
"memoryReservation": number,
"nodeCount": number,
"scalingGroupName": "string"
},
"status": "string",
"statusReason": "string",
"tickerplantLogConfiguration": {
"tickerplantLogVolumes": [ "string" ]
},
"volumes": [
{
"volumeName": "string",
"volumeType": "string"
}
],
"vpcConfiguration": {
"ipAddressType": "string",
"securityGroupIds": [ "string" ],
"subnetIds": [ "string" ],
"vpcId": "string"
}
}
Response Elements
If the action is successful, the service sends back an HTTP 200 response.
The following data is returned in JSON format by the service.
- autoScalingConfiguration
-
The configuration based on which FinSpace will scale in or scale out nodes in your cluster.
Type: AutoScalingConfiguration object
- availabilityZoneId
-
The availability zone identifiers for the requested regions.
Type: String
Length Constraints: Minimum length of 8. Maximum length of 12.
Pattern:
^[a-zA-Z0-9-]+$
- azMode
-
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.
Type: String
Valid Values:
SINGLE | MULTI
-
- cacheStorageConfigurations
-
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.
Type: Array of KxCacheStorageConfiguration objects
- capacityConfiguration
-
A structure for the metadata of a cluster. It includes information like the CPUs needed, memory of instances, and number of instances.
Type: CapacityConfiguration object
- clusterDescription
-
A description of the cluster.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 1000.
Pattern:
^[a-zA-Z0-9\_\-\.\s]+$
- clusterName
-
A unique name for the cluster.
Type: String
Length Constraints: Minimum length of 3. Maximum length of 63.
Pattern:
^[a-zA-Z0-9][a-zA-Z0-9-_]*[a-zA-Z0-9]$
- clusterType
-
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.
Type: String
Valid Values:
HDB | RDB | GATEWAY | GP | TICKERPLANT
-
- code
-
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.
Type: CodeConfiguration object
- commandLineArguments
-
Defines key-value pairs to make them available inside the cluster.
Type: Array of KxCommandLineArgument objects
- createdTimestamp
-
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.
Type: Timestamp
- databases
-
A list of databases mounted on the cluster.
Type: Array of KxDatabaseConfiguration objects
- executionRole
-
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.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 1024.
Pattern:
^arn:aws[a-z0-9-]*:iam::\d{12}:role\/[\w-\/.@+=,]{1,1017}$
- initializationScript
-
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
.Type: String
Length Constraints: Minimum length of 1. Maximum length of 255.
Pattern:
^[a-zA-Z0-9\_\-\.\/\\]+$
- lastModifiedTimestamp
-
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.
Type: Timestamp
- releaseLabel
-
The version of FinSpace managed kdb to run.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 16.
Pattern:
^[a-zA-Z0-9._-]+$
- savedownStorageConfiguration
-
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.Type: KxSavedownStorageConfiguration object
- scalingGroupConfiguration
-
The structure that stores the capacity configuration details of a scaling group.
Type: KxScalingGroupConfiguration object
- status
-
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.
Type: String
Valid Values:
PENDING | CREATING | CREATE_FAILED | RUNNING | UPDATING | DELETING | DELETED | DELETE_FAILED
-
- statusReason
-
The error message when a failed state occurs.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 250.
Pattern:
^[a-zA-Z0-9\_\-\.\s]+$
- tickerplantLogConfiguration
-
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
.Type: TickerplantLogConfiguration object
- volumes
-
A list of volumes attached to the cluster.
Type: Array of Volume objects
Array Members: Minimum number of 0 items. Maximum number of 5 items.
- vpcConfiguration
-
Configuration details about the network where the Privatelink endpoint of the cluster resides.
Type: VpcConfiguration object
Errors
For information about the errors that are common to all actions, see Common Errors.
- AccessDeniedException
-
You do not have sufficient access to perform this action.
HTTP Status Code: 403
- ConflictException
-
There was a conflict with this action, and it could not be completed.
HTTP Status Code: 409
- InternalServerException
-
The request processing has failed because of an unknown error, exception or failure.
HTTP Status Code: 500
- LimitExceededException
-
A service limit or quota is exceeded.
HTTP Status Code: 400
- ResourceNotFoundException
-
One or more resources can't be found.
HTTP Status Code: 404
- ThrottlingException
-
The request was denied due to request throttling.
HTTP Status Code: 429
- ValidationException
-
The input fails to satisfy the constraints specified by an AWS service.
HTTP Status Code: 400
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: