End of support notice: On October 7, 2026, AWS will end support for Amazon FinSpace. After October 7, 2026, you will no longer be able to access the FinSpace console or FinSpace resources. For more information, see Amazon FinSpace end of support.
After careful consideration, we decided to end support for Amazon FinSpace, effective October 7, 2026. Amazon FinSpace will no longer accept new customers beginning October 7, 2025. As an existing customer with an Amazon FinSpace environment created before October 7, 2025, you can continue to use the service as normal. After October 7, 2026, you will no longer be able to use Amazon FinSpace. For more information, see Amazon FinSpace end of support.
CreateKxDataview
Creates a snapshot of kdb database with tiered storage capabilities and a pre-warmed cache, ready for mounting on kdb clusters. Dataviews are only available for clusters running on a scaling group. They are not supported on dedicated clusters.
Request Syntax
POST /kx/environments/environmentId/databases/databaseName/dataviews HTTP/1.1
Content-type: application/json
{
"autoUpdate": boolean,
"availabilityZoneId": "string",
"azMode": "string",
"changesetId": "string",
"clientToken": "string",
"dataviewName": "string",
"description": "string",
"readWrite": boolean,
"segmentConfigurations": [
{
"dbPaths": [ "string" ],
"onDemand": boolean,
"volumeName": "string"
}
],
"tags": {
"string" : "string"
}
}
URI Request Parameters
The request uses the following URI parameters.
- databaseName
-
The name of the database where you want to create a dataview.
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, where you want to create the dataview.
Length Constraints: Minimum length of 1. Maximum length of 32.
Pattern:
.*\S.*Required: Yes
Request Body
The request accepts the following data in JSON format.
- azMode
-
The number of availability zones you want to assign per volume. Currently, FinSpace only supports
SINGLEfor volumes. This places dataview in a single AZ.Type: String
Valid Values:
SINGLE | MULTIRequired: Yes
- clientToken
-
A token that ensures idempotency. This token expires in 10 minutes.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 64.
Pattern:
^[a-zA-Z0-9-]+$Required: Yes
- dataviewName
-
A unique identifier for the dataview.
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]$Required: Yes
- autoUpdate
-
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.
Type: Boolean
Required: No
- availabilityZoneId
-
The identifier of the availability zones.
Type: String
Length Constraints: Minimum length of 8. Maximum length of 12.
Pattern:
^[a-zA-Z0-9-]+$Required: No
- changesetId
-
A unique identifier of the changeset that you want to use to ingest data.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 26.
Pattern:
^[a-zA-Z0-9]+$Required: No
- description
-
A description of the dataview.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 1000.
Pattern:
^[a-zA-Z0-9. ]{1,1000}$Required: No
- readWrite
-
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,
autoUpdatemust be set as False ifreadWriteis 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
readWriteparameter later.
Type: Boolean
Required: No
-
- segmentConfigurations
-
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.
Type: Array of KxDataviewSegmentConfiguration objects
Array Members: Minimum number of 0 items. Maximum number of 50 items.
Required: No
-
A list of key-value pairs to label the dataview. You can add up to 50 tags to a dataview.
Type: String to string map
Map Entries: Maximum number of 50 items.
Key Length Constraints: Minimum length of 1. Maximum length of 128.
Key Pattern:
^(?!aws:)[a-zA-Z+-=._:/]+$Value Length Constraints: Minimum length of 1. Maximum length of 256.
Value Pattern:
^[a-zA-Z0-9+-=._:@ ]+$Required: No
Response Syntax
HTTP/1.1 200
Content-type: application/json
{
"autoUpdate": boolean,
"availabilityZoneId": "string",
"azMode": "string",
"changesetId": "string",
"createdTimestamp": number,
"databaseName": "string",
"dataviewName": "string",
"description": "string",
"environmentId": "string",
"lastModifiedTimestamp": number,
"readWrite": boolean,
"segmentConfigurations": [
{
"dbPaths": [ "string" ],
"onDemand": boolean,
"volumeName": "string"
}
],
"status": "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.
- autoUpdate
-
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.
Type: Boolean
- availabilityZoneId
-
The identifier of the availability zones.
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 volume. Currently, FinSpace only supports
SINGLEfor volumes. This places dataview in a single AZ.Type: String
Valid Values:
SINGLE | MULTI - changesetId
-
A unique identifier for the changeset.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 26.
Pattern:
^[a-zA-Z0-9]+$ - createdTimestamp
-
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.
Type: Timestamp
- databaseName
-
The name of the database where you want to create a dataview.
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]$ - dataviewName
-
A unique identifier for the dataview.
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]$ - description
-
A description of the dataview.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 1000.
Pattern:
^[a-zA-Z0-9. ]{1,1000}$ - environmentId
-
A unique identifier for the kdb environment, where you want to create the dataview.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 32.
Pattern:
.*\S.* - lastModifiedTimestamp
-
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.
Type: Timestamp
- readWrite
-
Returns True if the dataview is created as writeable and False otherwise.
Type: Boolean
- segmentConfigurations
-
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.
Type: Array of KxDataviewSegmentConfiguration objects
Array Members: Minimum number of 0 items. Maximum number of 50 items.
- status
-
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.
Type: String
Valid Values:
CREATING | ACTIVE | UPDATING | FAILED | DELETING -
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.
- reason
-
The reason for the conflict exception.
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
- ResourceAlreadyExistsException
-
The specified resource group already exists.
HTTP Status Code: 409
- 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: