We announced the upcoming end-of-support for AWS SDK for JavaScript v2.
We recommend that you migrate to AWS SDK for JavaScript v3. For dates, additional details, and information on how to migrate, please refer to the linked announcement.

Class: AWS.Finspace

Inherits:
AWS.Service show all
Identifier:
finspace
API Version:
2021-03-12
Defined in:
(unknown)

Overview

Constructs a service interface object. Each API operation is exposed as a function on service.

Service Description

The FinSpace management service provides the APIs for managing FinSpace environments.

Sending a Request Using Finspace

var finspace = new AWS.Finspace();
finspace.createEnvironment(params, function (err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Locking the API Version

In order to ensure that the Finspace object uses this specific API, you can construct the object by passing the apiVersion option to the constructor:

var finspace = new AWS.Finspace({apiVersion: '2021-03-12'});

You can also set the API version globally in AWS.config.apiVersions using the finspace service identifier:

AWS.config.apiVersions = {
  finspace: '2021-03-12',
  // other service API versions
};

var finspace = new AWS.Finspace();

Version:

  • 2021-03-12

Constructor Summary collapse

Property Summary collapse

Properties inherited from AWS.Service

apiVersions

Method Summary collapse

Methods inherited from AWS.Service

makeRequest, makeUnauthenticatedRequest, waitFor, setupRequestListeners, defineService

Constructor Details

new AWS.Finspace(options = {}) ⇒ Object

Constructs a service object. This object has one method for each API operation.

Examples:

Constructing a Finspace object

var finspace = new AWS.Finspace({apiVersion: '2021-03-12'});

Options Hash (options):

  • params (map)

    An optional map of parameters to bind to every request sent by this service object. For more information on bound parameters, see "Working with Services" in the Getting Started Guide.

  • endpoint (String|AWS.Endpoint)

    The endpoint URI to send requests to. The default endpoint is built from the configured region. The endpoint should be a string like 'https://{service}.{region}.amazonaws.com' or an Endpoint object.

  • accessKeyId (String)

    your AWS access key ID.

  • secretAccessKey (String)

    your AWS secret access key.

  • sessionToken (AWS.Credentials)

    the optional AWS session token to sign requests with.

  • credentials (AWS.Credentials)

    the AWS credentials to sign requests with. You can either specify this object, or specify the accessKeyId and secretAccessKey options directly.

  • credentialProvider (AWS.CredentialProviderChain)

    the provider chain used to resolve credentials if no static credentials property is set.

  • region (String)

    the region to send service requests to. See AWS.Finspace.region for more information.

  • maxRetries (Integer)

    the maximum amount of retries to attempt with a request. See AWS.Finspace.maxRetries for more information.

  • maxRedirects (Integer)

    the maximum amount of redirects to follow with a request. See AWS.Finspace.maxRedirects for more information.

  • sslEnabled (Boolean)

    whether to enable SSL for requests.

  • paramValidation (Boolean|map)

    whether input parameters should be validated against the operation description before sending the request. Defaults to true. Pass a map to enable any of the following specific validation features:

    • min [Boolean] — Validates that a value meets the min constraint. This is enabled by default when paramValidation is set to true.
    • max [Boolean] — Validates that a value meets the max constraint.
    • pattern [Boolean] — Validates that a string value matches a regular expression.
    • enum [Boolean] — Validates that a string value matches one of the allowable enum values.
  • computeChecksums (Boolean)

    whether to compute checksums for payload bodies when the service accepts it (currently supported in S3 only)

  • convertResponseTypes (Boolean)

    whether types are converted when parsing response data. Currently only supported for JSON based services. Turning this off may improve performance on large response payloads. Defaults to true.

  • correctClockSkew (Boolean)

    whether to apply a clock skew correction and retry requests that fail because of an skewed client clock. Defaults to false.

  • s3ForcePathStyle (Boolean)

    whether to force path style URLs for S3 objects.

  • s3BucketEndpoint (Boolean)

    whether the provided endpoint addresses an individual bucket (false if it addresses the root API endpoint). Note that setting this configuration option requires an endpoint to be provided explicitly to the service constructor.

  • s3DisableBodySigning (Boolean)

    whether S3 body signing should be disabled when using signature version v4. Body signing can only be disabled when using https. Defaults to true.

  • s3UsEast1RegionalEndpoint ('legacy'|'regional')

    when region is set to 'us-east-1', whether to send s3 request to global endpoints or 'us-east-1' regional endpoints. This config is only applicable to S3 client. Defaults to legacy

  • s3UseArnRegion (Boolean)

    whether to override the request region with the region inferred from requested resource's ARN. Only available for S3 buckets Defaults to true

  • retryDelayOptions (map)

    A set of options to configure the retry delay on retryable errors. Currently supported options are:

    • base [Integer] — The base number of milliseconds to use in the exponential backoff for operation retries. Defaults to 100 ms for all services except DynamoDB, where it defaults to 50ms.
    • customBackoff [function] — A custom function that accepts a retry count and error and returns the amount of time to delay in milliseconds. If the result is a non-zero negative value, no further retry attempts will be made. The base option will be ignored if this option is supplied. The function is only called for retryable errors.
  • httpOptions (map)

    A set of options to pass to the low-level HTTP request. Currently supported options are:

    • proxy [String] — the URL to proxy requests through
    • agent [http.Agent, https.Agent] — the Agent object to perform HTTP requests with. Used for connection pooling. Defaults to the global agent (http.globalAgent) for non-SSL connections. Note that for SSL connections, a special Agent object is used in order to enable peer certificate verification. This feature is only available in the Node.js environment.
    • connectTimeout [Integer] — Sets the socket to timeout after failing to establish a connection with the server after connectTimeout milliseconds. This timeout has no effect once a socket connection has been established.
    • timeout [Integer] — Sets the socket to timeout after timeout milliseconds of inactivity on the socket. Defaults to two minutes (120000).
    • xhrAsync [Boolean] — Whether the SDK will send asynchronous HTTP requests. Used in the browser environment only. Set to false to send requests synchronously. Defaults to true (async on).
    • xhrWithCredentials [Boolean] — Sets the "withCredentials" property of an XMLHttpRequest object. Used in the browser environment only. Defaults to false.
  • apiVersion (String, Date)

    a String in YYYY-MM-DD format (or a date) that represents the latest possible API version that can be used in all services (unless overridden by apiVersions). Specify 'latest' to use the latest possible version.

  • apiVersions (map<String, String|Date>)

    a map of service identifiers (the lowercase service class name) with the API version to use when instantiating a service. Specify 'latest' for each individual that can use the latest available version.

  • logger (#write, #log)

    an object that responds to .write() (like a stream) or .log() (like the console object) in order to log information about requests

  • systemClockOffset (Number)

    an offset value in milliseconds to apply to all signing times. Use this to compensate for clock skew when your system may be out of sync with the service time. Note that this configuration option can only be applied to the global AWS.config object and cannot be overridden in service-specific configuration. Defaults to 0 milliseconds.

  • signatureVersion (String)

    the signature version to sign requests with (overriding the API configuration). Possible values are: 'v2', 'v3', 'v4'.

  • signatureCache (Boolean)

    whether the signature to sign requests with (overriding the API configuration) is cached. Only applies to the signature version 'v4'. Defaults to true.

  • dynamoDbCrc32 (Boolean)

    whether to validate the CRC32 checksum of HTTP response bodies returned by DynamoDB. Default: true.

  • useAccelerateEndpoint (Boolean)

    Whether to use the S3 Transfer Acceleration endpoint with the S3 service. Default: false.

  • clientSideMonitoring (Boolean)

    whether to collect and publish this client's performance metrics of all its API requests.

  • endpointDiscoveryEnabled (Boolean|undefined)

    whether to call operations with endpoints given by service dynamically. Setting this

  • endpointCacheSize (Number)

    the size of the global cache storing endpoints from endpoint discovery operations. Once endpoint cache is created, updating this setting cannot change existing cache size. Defaults to 1000

  • hostPrefixEnabled (Boolean)

    whether to marshal request parameters to the prefix of hostname. Defaults to true.

  • stsRegionalEndpoints ('legacy'|'regional')

    whether to send sts request to global endpoints or regional endpoints. Defaults to 'legacy'.

  • useFipsEndpoint (Boolean)

    Enables FIPS compatible endpoints. Defaults to false.

  • useDualstackEndpoint (Boolean)

    Enables IPv6 dualstack endpoint. Defaults to false.

Property Details

endpointAWS.Endpoint (readwrite)

Returns an Endpoint object representing the endpoint URL for service requests.

Returns:

  • (AWS.Endpoint)

    an Endpoint object representing the endpoint URL for service requests.

Method Details

createEnvironment(params = {}, callback) ⇒ AWS.Request

Create a new FinSpace environment.

Service Reference:

Examples:

Calling the createEnvironment operation

var params = {
  name: 'STRING_VALUE', /* required */
  dataBundles: [
    'STRING_VALUE',
    /* more items */
  ],
  description: 'STRING_VALUE',
  federationMode: FEDERATED | LOCAL,
  federationParameters: {
    applicationCallBackURL: 'STRING_VALUE',
    attributeMap: {
      '<FederationAttributeKey>': 'STRING_VALUE',
      /* '<FederationAttributeKey>': ... */
    },
    federationProviderName: 'STRING_VALUE',
    federationURN: 'STRING_VALUE',
    samlMetadataDocument: 'STRING_VALUE',
    samlMetadataURL: 'STRING_VALUE'
  },
  kmsKeyId: 'STRING_VALUE',
  superuserParameters: {
    emailAddress: 'STRING_VALUE', /* required */
    firstName: 'STRING_VALUE', /* required */
    lastName: 'STRING_VALUE' /* required */
  },
  tags: {
    '<TagKey>': 'STRING_VALUE',
    /* '<TagKey>': ... */
  }
};
finspace.createEnvironment(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • name — (String)

      The name of the FinSpace environment to be created.

    • description — (String)

      The description of the FinSpace environment to be created.

    • kmsKeyId — (String)

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

    • tags — (map<String>)

      Add tags to your FinSpace environment.

    • federationMode — (String)

      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.

      Possible values include:
      • "FEDERATED"
      • "LOCAL"
    • federationParameters — (map)

      Configuration information when authentication mode is FEDERATED.

      • samlMetadataDocument — (String)

        SAML 2.0 Metadata document from identity provider (IdP).

      • samlMetadataURL — (String)

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

      • applicationCallBackURL — (String)

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

      • federationURN — (String)

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

      • federationProviderName — (String)

        Name of the identity provider (IdP).

      • attributeMap — (map<String>)

        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.

    • superuserParameters — (map)

      Configuration information for the superuser.

      • emailAddressrequired — (String)

        The email address of the superuser.

      • firstNamerequired — (String)

        The first name of the superuser.

      • lastNamerequired — (String)

        The last name of the superuser.

    • dataBundles — (Array<String>)

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

      • arn:aws:finspace:${Region}::data-bundle/capital-markets-sample - Contains sample Capital Markets datasets, categories and controlled vocabularies.

      • arn:aws:finspace:${Region}::data-bundle/taq (default) - Contains trades and quotes data in addition to sample Capital Markets data.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • environmentId — (String)

        The unique identifier for FinSpace environment that you created.

      • environmentArn — (String)

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

      • environmentUrl — (String)

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

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

createKxChangeset(params = {}, callback) ⇒ AWS.Request

Creates a changeset for a kdb database. A changeset allows you to add and delete existing files by using an ordered list of change requests.

Service Reference:

Examples:

Calling the createKxChangeset operation

var params = {
  changeRequests: [ /* required */
    {
      changeType: PUT | DELETE, /* required */
      dbPath: 'STRING_VALUE', /* required */
      s3Path: 'STRING_VALUE'
    },
    /* more items */
  ],
  clientToken: 'STRING_VALUE', /* required */
  databaseName: 'STRING_VALUE', /* required */
  environmentId: 'STRING_VALUE' /* required */
};
finspace.createKxChangeset(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • environmentId — (String)

      A unique identifier of the kdb environment.

    • databaseName — (String)

      The name of the kdb database.

    • changeRequests — (Array<map>)

      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:

      • PUT – Adds or updates files in a database.

      • DELETE – Deletes files in a database.

      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. 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/"}

      3. 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/"}]

      4. This request deletes the 2020.01.02 partition of the database.

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

      5. 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/"}]

      • changeTyperequired — (String)

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

        • PUT – Adds or updates files in a database.

        • DELETE – Deletes files in a database.

        Possible values include:
        • "PUT"
        • "DELETE"
      • s3Path — (String)

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

      • dbPathrequired — (String)

        Defines the path within the database directory.

    • clientToken — (String)

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

      If a token is not provided, the SDK will use a version 4 UUID.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • changesetId — (String)

        A unique identifier for the changeset.

      • databaseName — (String)

        The name of the kdb database.

      • environmentId — (String)

        A unique identifier for the kdb environment.

      • changeRequests — (Array<map>)

        A list of change requests.

        • changeTyperequired — (String)

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

          • PUT – Adds or updates files in a database.

          • DELETE – Deletes files in a database.

          Possible values include:
          • "PUT"
          • "DELETE"
        • s3Path — (String)

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

        • dbPathrequired — (String)

          Defines the path within the database directory.

      • createdTimestamp — (Date)

        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.

      • lastModifiedTimestamp — (Date)

        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.

      • status — (String)

        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.

        Possible values include:
        • "PENDING"
        • "PROCESSING"
        • "FAILED"
        • "COMPLETED"
      • errorInfo — (map)

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

        • errorMessage — (String)

          Specifies the error message that appears if a flow fails.

        • errorType — (String)

          Specifies the type of error.

          Possible values include:
          • "The inputs to this request are invalid."
          • "Service limits have been exceeded."
          • "Missing required permission to perform this request."
          • "One or more inputs to this request were not found."
          • "The system temporarily lacks sufficient resources to process the request."
          • "An internal error has occurred."
          • "Cancelled"
          • "A user recoverable error has occurred"

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

createKxCluster(params = {}, callback) ⇒ AWS.Request

Creates a new kdb cluster.

Service Reference:

Examples:

Calling the createKxCluster operation

var params = {
  azMode: SINGLE | MULTI, /* required */
  clusterName: 'STRING_VALUE', /* required */
  clusterType: HDB | RDB | GATEWAY | GP | TICKERPLANT, /* required */
  environmentId: 'STRING_VALUE', /* required */
  releaseLabel: 'STRING_VALUE', /* required */
  vpcConfiguration: { /* required */
    ipAddressType: IP_V4,
    securityGroupIds: [
      'STRING_VALUE',
      /* more items */
    ],
    subnetIds: [
      'STRING_VALUE',
      /* more items */
    ],
    vpcId: 'STRING_VALUE'
  },
  autoScalingConfiguration: {
    autoScalingMetric: CPU_UTILIZATION_PERCENTAGE,
    maxNodeCount: 'NUMBER_VALUE',
    metricTarget: 'NUMBER_VALUE',
    minNodeCount: 'NUMBER_VALUE',
    scaleInCooldownSeconds: 'NUMBER_VALUE',
    scaleOutCooldownSeconds: 'NUMBER_VALUE'
  },
  availabilityZoneId: 'STRING_VALUE',
  cacheStorageConfigurations: [
    {
      size: 'NUMBER_VALUE', /* required */
      type: 'STRING_VALUE' /* required */
    },
    /* more items */
  ],
  capacityConfiguration: {
    nodeCount: 'NUMBER_VALUE',
    nodeType: 'STRING_VALUE'
  },
  clientToken: 'STRING_VALUE',
  clusterDescription: 'STRING_VALUE',
  code: {
    s3Bucket: 'STRING_VALUE',
    s3Key: 'STRING_VALUE',
    s3ObjectVersion: 'STRING_VALUE'
  },
  commandLineArguments: [
    {
      key: 'STRING_VALUE',
      value: 'STRING_VALUE'
    },
    /* more items */
  ],
  databases: [
    {
      databaseName: 'STRING_VALUE', /* required */
      cacheConfigurations: [
        {
          cacheType: 'STRING_VALUE', /* required */
          dbPaths: [ /* required */
            'STRING_VALUE',
            /* more items */
          ],
          dataviewName: 'STRING_VALUE'
        },
        /* more items */
      ],
      changesetId: 'STRING_VALUE',
      dataviewConfiguration: {
        changesetId: 'STRING_VALUE',
        dataviewName: 'STRING_VALUE',
        dataviewVersionId: 'STRING_VALUE',
        segmentConfigurations: [
          {
            dbPaths: [ /* required */
              'STRING_VALUE',
              /* more items */
            ],
            volumeName: 'STRING_VALUE', /* required */
            onDemand: true || false
          },
          /* more items */
        ]
      },
      dataviewName: 'STRING_VALUE'
    },
    /* more items */
  ],
  executionRole: 'STRING_VALUE',
  initializationScript: 'STRING_VALUE',
  savedownStorageConfiguration: {
    size: 'NUMBER_VALUE',
    type: SDS01,
    volumeName: 'STRING_VALUE'
  },
  scalingGroupConfiguration: {
    memoryReservation: 'NUMBER_VALUE', /* required */
    nodeCount: 'NUMBER_VALUE', /* required */
    scalingGroupName: 'STRING_VALUE', /* required */
    cpu: 'NUMBER_VALUE',
    memoryLimit: 'NUMBER_VALUE'
  },
  tags: {
    '<TagKey>': 'STRING_VALUE',
    /* '<TagKey>': ... */
  },
  tickerplantLogConfiguration: {
    tickerplantLogVolumes: [
      'STRING_VALUE',
      /* more items */
    ]
  }
};
finspace.createKxCluster(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • clientToken — (String)

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

      If a token is not provided, the SDK will use a version 4 UUID.
    • environmentId — (String)

      A unique identifier for the kdb environment.

    • clusterName — (String)

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

    • clusterType — (String)

      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.

      Possible values include:
      • "HDB"
      • "RDB"
      • "GATEWAY"
      • "GP"
      • "TICKERPLANT"
    • tickerplantLogConfiguration — (map)

      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.

      • tickerplantLogVolumes — (Array<String>)

        The name of the volumes for tickerplant logs.

    • databases — (Array<map>)

      A list of databases that will be available for querying.

      • databaseNamerequired — (String)

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

      • cacheConfigurations — (Array<map>)

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

        • cacheTyperequired — (String)

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

          • CACHE_1000 – This type provides at least 1000 MB/s disk access throughput.

        • dbPathsrequired — (Array<String>)

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

        • dataviewName — (String)

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

      • changesetId — (String)

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

      • dataviewName — (String)

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

      • dataviewConfiguration — (map)

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

        • dataviewName — (String)

          The unique identifier of the dataview.

        • dataviewVersionId — (String)

          The version of the dataview corresponding to a given changeset.

        • changesetId — (String)

          A unique identifier for the changeset.

        • segmentConfigurations — (Array<map>)

          The db path and volume configuration for the segmented database.

          • dbPathsrequired — (Array<String>)

            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.

          • volumeNamerequired — (String)

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

          • onDemand — (Boolean)

            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.

    • cacheStorageConfigurations — (Array<map>)

      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.

      • typerequired — (String)

        The type of cache storage. The valid values are:

        • CACHE_1000 – This type provides at least 1000 MB/s disk access throughput.

        • CACHE_250 – This type provides at least 250 MB/s disk access throughput.

        • CACHE_12 – This type provides at least 12 MB/s disk access throughput.

        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.

      • sizerequired — (Integer)

        The size of cache in Gigabytes.

    • autoScalingConfiguration — (map)

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

      • minNodeCount — (Integer)

        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.

      • maxNodeCount — (Integer)

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

      • autoScalingMetric — (String)

        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.

        Possible values include:
        • "CPU_UTILIZATION_PERCENTAGE"
      • metricTarget — (Float)

        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.

      • scaleInCooldownSeconds — (Float)

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

      • scaleOutCooldownSeconds — (Float)

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

    • clusterDescription — (String)

      A description of the cluster.

    • capacityConfiguration — (map)

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

      • nodeType — (String)

        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:

        • kx.s.large – The node type with a configuration of 12 GiB memory and 2 vCPUs.

        • kx.s.xlarge – The node type with a configuration of 27 GiB memory and 4 vCPUs.

        • kx.s.2xlarge – The node type with a configuration of 54 GiB memory and 8 vCPUs.

        • kx.s.4xlarge – The node type with a configuration of 108 GiB memory and 16 vCPUs.

        • kx.s.8xlarge – The node type with a configuration of 216 GiB memory and 32 vCPUs.

        • kx.s.16xlarge – The node type with a configuration of 432 GiB memory and 64 vCPUs.

        • kx.s.32xlarge – The node type with a configuration of 864 GiB memory and 128 vCPUs.

      • nodeCount — (Integer)

        The number of instances running in a cluster.

    • releaseLabel — (String)

      The version of FinSpace managed kdb to run.

    • vpcConfiguration — (map)

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

      • vpcId — (String)

        The identifier of the VPC endpoint.

      • securityGroupIds — (Array<String>)

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

      • subnetIds — (Array<String>)

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

      • ipAddressType — (String)

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

        • IP_V4 – IP address version 4

        Possible values include:
        • "IP_V4"
    • initializationScript — (String)

      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.

    • commandLineArguments — (Array<map>)

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

      • key — (String)

        The name of the key.

      • value — (String)

        The value of the key.

    • code — (map)

      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.

      • s3Bucket — (String)

        A unique name for the S3 bucket.

      • s3Key — (String)

        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.

      • s3ObjectVersion — (String)

        The version of an S3 object.

    • executionRole — (String)

      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.

    • savedownStorageConfiguration — (map)

      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 — (String)

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

        • SDS01 – This type represents 3000 IOPS and io2 ebs volume type.

        Possible values include:
        • "SDS01"
      • size — (Integer)

        The size of temporary storage in gibibytes.

      • volumeName — (String)

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

    • azMode — (String)

      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.

      Possible values include:
      • "SINGLE"
      • "MULTI"
    • availabilityZoneId — (String)

      The availability zone identifiers for the requested regions.

    • tags — (map<String>)

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

    • scalingGroupConfiguration — (map)

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

      • scalingGroupNamerequired — (String)

        A unique identifier for the kdb scaling group.

      • memoryLimit — (Integer)

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

      • memoryReservationrequired — (Integer)

        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.

      • nodeCountrequired — (Integer)

        The number of kdb cluster nodes.

      • cpu — (Float)

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

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • environmentId — (String)

        A unique identifier for the kdb environment.

      • status — (String)

        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.

        Possible values include:
        • "PENDING"
        • "CREATING"
        • "CREATE_FAILED"
        • "RUNNING"
        • "UPDATING"
        • "DELETING"
        • "DELETED"
        • "DELETE_FAILED"
      • statusReason — (String)

        The error message when a failed state occurs.

      • clusterName — (String)

        A unique name for the cluster.

      • clusterType — (String)

        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.

        Possible values include:
        • "HDB"
        • "RDB"
        • "GATEWAY"
        • "GP"
        • "TICKERPLANT"
      • tickerplantLogConfiguration — (map)

        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.

        • tickerplantLogVolumes — (Array<String>)

          The name of the volumes for tickerplant logs.

      • volumes — (Array<map>)

        A list of volumes mounted on the cluster.

        • volumeName — (String)

          A unique identifier for the volume.

        • volumeType — (String)

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

          Possible values include:
          • "NAS_1"
      • databases — (Array<map>)

        A list of databases that will be available for querying.

        • databaseNamerequired — (String)

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

        • cacheConfigurations — (Array<map>)

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

          • cacheTyperequired — (String)

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

            • CACHE_1000 – This type provides at least 1000 MB/s disk access throughput.

          • dbPathsrequired — (Array<String>)

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

          • dataviewName — (String)

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

        • changesetId — (String)

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

        • dataviewName — (String)

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

        • dataviewConfiguration — (map)

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

          • dataviewName — (String)

            The unique identifier of the dataview.

          • dataviewVersionId — (String)

            The version of the dataview corresponding to a given changeset.

          • changesetId — (String)

            A unique identifier for the changeset.

          • segmentConfigurations — (Array<map>)

            The db path and volume configuration for the segmented database.

            • dbPathsrequired — (Array<String>)

              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.

            • volumeNamerequired — (String)

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

            • onDemand — (Boolean)

              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.

      • cacheStorageConfigurations — (Array<map>)

        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.

        • typerequired — (String)

          The type of cache storage. The valid values are:

          • CACHE_1000 – This type provides at least 1000 MB/s disk access throughput.

          • CACHE_250 – This type provides at least 250 MB/s disk access throughput.

          • CACHE_12 – This type provides at least 12 MB/s disk access throughput.

          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.

        • sizerequired — (Integer)

          The size of cache in Gigabytes.

      • autoScalingConfiguration — (map)

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

        • minNodeCount — (Integer)

          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.

        • maxNodeCount — (Integer)

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

        • autoScalingMetric — (String)

          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.

          Possible values include:
          • "CPU_UTILIZATION_PERCENTAGE"
        • metricTarget — (Float)

          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.

        • scaleInCooldownSeconds — (Float)

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

        • scaleOutCooldownSeconds — (Float)

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

      • clusterDescription — (String)

        A description of the cluster.

      • capacityConfiguration — (map)

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

        • nodeType — (String)

          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:

          • kx.s.large – The node type with a configuration of 12 GiB memory and 2 vCPUs.

          • kx.s.xlarge – The node type with a configuration of 27 GiB memory and 4 vCPUs.

          • kx.s.2xlarge – The node type with a configuration of 54 GiB memory and 8 vCPUs.

          • kx.s.4xlarge – The node type with a configuration of 108 GiB memory and 16 vCPUs.

          • kx.s.8xlarge – The node type with a configuration of 216 GiB memory and 32 vCPUs.

          • kx.s.16xlarge – The node type with a configuration of 432 GiB memory and 64 vCPUs.

          • kx.s.32xlarge – The node type with a configuration of 864 GiB memory and 128 vCPUs.

        • nodeCount — (Integer)

          The number of instances running in a cluster.

      • releaseLabel — (String)

        A version of the FinSpace managed kdb to run.

      • vpcConfiguration — (map)

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

        • vpcId — (String)

          The identifier of the VPC endpoint.

        • securityGroupIds — (Array<String>)

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

        • subnetIds — (Array<String>)

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

        • ipAddressType — (String)

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

          • IP_V4 – IP address version 4

          Possible values include:
          • "IP_V4"
      • initializationScript — (String)

        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.

      • commandLineArguments — (Array<map>)

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

        • key — (String)

          The name of the key.

        • value — (String)

          The value of the key.

      • code — (map)

        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.

        • s3Bucket — (String)

          A unique name for the S3 bucket.

        • s3Key — (String)

          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.

        • s3ObjectVersion — (String)

          The version of an S3 object.

      • executionRole — (String)

        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.

      • lastModifiedTimestamp — (Date)

        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.

      • savedownStorageConfiguration — (map)

        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 — (String)

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

          • SDS01 – This type represents 3000 IOPS and io2 ebs volume type.

          Possible values include:
          • "SDS01"
        • size — (Integer)

          The size of temporary storage in gibibytes.

        • volumeName — (String)

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

      • azMode — (String)

        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.

        Possible values include:
        • "SINGLE"
        • "MULTI"
      • availabilityZoneId — (String)

        The availability zone identifiers for the requested regions.

      • createdTimestamp — (Date)

        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.

      • scalingGroupConfiguration — (map)

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

        • scalingGroupNamerequired — (String)

          A unique identifier for the kdb scaling group.

        • memoryLimit — (Integer)

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

        • memoryReservationrequired — (Integer)

          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.

        • nodeCountrequired — (Integer)

          The number of kdb cluster nodes.

        • cpu — (Float)

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

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

createKxDatabase(params = {}, callback) ⇒ AWS.Request

Creates a new kdb database in the environment.

Service Reference:

Examples:

Calling the createKxDatabase operation

var params = {
  clientToken: 'STRING_VALUE', /* required */
  databaseName: 'STRING_VALUE', /* required */
  environmentId: 'STRING_VALUE', /* required */
  description: 'STRING_VALUE',
  tags: {
    '<TagKey>': 'STRING_VALUE',
    /* '<TagKey>': ... */
  }
};
finspace.createKxDatabase(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • environmentId — (String)

      A unique identifier for the kdb environment.

    • databaseName — (String)

      The name of the kdb database.

    • description — (String)

      A description of the database.

    • tags — (map<String>)

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

    • clientToken — (String)

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

      If a token is not provided, the SDK will use a version 4 UUID.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • databaseName — (String)

        The name of the kdb database.

      • databaseArn — (String)

        The ARN identifier of the database.

      • environmentId — (String)

        A unique identifier for the kdb environment.

      • description — (String)

        A description of the database.

      • createdTimestamp — (Date)

        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.

      • lastModifiedTimestamp — (Date)

        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.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

createKxDataview(params = {}, callback) ⇒ AWS.Request

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.

Service Reference:

Examples:

Calling the createKxDataview operation

var params = {
  azMode: SINGLE | MULTI, /* required */
  clientToken: 'STRING_VALUE', /* required */
  databaseName: 'STRING_VALUE', /* required */
  dataviewName: 'STRING_VALUE', /* required */
  environmentId: 'STRING_VALUE', /* required */
  autoUpdate: true || false,
  availabilityZoneId: 'STRING_VALUE',
  changesetId: 'STRING_VALUE',
  description: 'STRING_VALUE',
  readWrite: true || false,
  segmentConfigurations: [
    {
      dbPaths: [ /* required */
        'STRING_VALUE',
        /* more items */
      ],
      volumeName: 'STRING_VALUE', /* required */
      onDemand: true || false
    },
    /* more items */
  ],
  tags: {
    '<TagKey>': 'STRING_VALUE',
    /* '<TagKey>': ... */
  }
};
finspace.createKxDataview(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • environmentId — (String)

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

    • databaseName — (String)

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

    • dataviewName — (String)

      A unique identifier for the dataview.

    • azMode — (String)

      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.

      Possible values include:
      • "SINGLE"
      • "MULTI"
    • availabilityZoneId — (String)

      The identifier of the availability zones.

    • changesetId — (String)

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

    • segmentConfigurations — (Array<map>)

      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.

      • dbPathsrequired — (Array<String>)

        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.

      • volumeNamerequired — (String)

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

      • onDemand — (Boolean)

        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.

    • autoUpdate — (Boolean)

      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.

    • readWrite — (Boolean)

      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.

    • description — (String)

      A description of the dataview.

    • tags — (map<String>)

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

    • clientToken — (String)

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

      If a token is not provided, the SDK will use a version 4 UUID.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • dataviewName — (String)

        A unique identifier for the dataview.

      • databaseName — (String)

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

      • environmentId — (String)

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

      • azMode — (String)

        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.

        Possible values include:
        • "SINGLE"
        • "MULTI"
      • availabilityZoneId — (String)

        The identifier of the availability zones.

      • changesetId — (String)

        A unique identifier for the changeset.

      • segmentConfigurations — (Array<map>)

        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.

        • dbPathsrequired — (Array<String>)

          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.

        • volumeNamerequired — (String)

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

        • onDemand — (Boolean)

          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.

      • description — (String)

        A description of the dataview.

      • autoUpdate — (Boolean)

        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.

      • readWrite — (Boolean)

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

      • createdTimestamp — (Date)

        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.

      • lastModifiedTimestamp — (Date)

        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.

      • status — (String)

        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.

        Possible values include:
        • "CREATING"
        • "ACTIVE"
        • "UPDATING"
        • "FAILED"
        • "DELETING"

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

createKxEnvironment(params = {}, callback) ⇒ AWS.Request

Creates a managed kdb environment for the account.

Service Reference:

Examples:

Calling the createKxEnvironment operation

var params = {
  kmsKeyId: 'STRING_VALUE', /* required */
  name: 'STRING_VALUE', /* required */
  clientToken: 'STRING_VALUE',
  description: 'STRING_VALUE',
  tags: {
    '<TagKey>': 'STRING_VALUE',
    /* '<TagKey>': ... */
  }
};
finspace.createKxEnvironment(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • name — (String)

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

    • description — (String)

      A description for the kdb environment.

    • kmsKeyId — (String)

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

    • tags — (map<String>)

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

    • clientToken — (String)

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

      If a token is not provided, the SDK will use a version 4 UUID.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • name — (String)

        The name of the kdb environment.

      • status — (String)

        The status of the kdb environment.

        Possible values include:
        • "CREATE_REQUESTED"
        • "CREATING"
        • "CREATED"
        • "DELETE_REQUESTED"
        • "DELETING"
        • "DELETED"
        • "FAILED_CREATION"
        • "RETRY_DELETION"
        • "FAILED_DELETION"
        • "UPDATE_NETWORK_REQUESTED"
        • "UPDATING_NETWORK"
        • "FAILED_UPDATING_NETWORK"
        • "SUSPENDED"
      • environmentId — (String)

        A unique identifier for the kdb environment.

      • description — (String)

        A description for the kdb environment.

      • environmentArn — (String)

        The ARN identifier of the environment.

      • kmsKeyId — (String)

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

      • creationTimestamp — (Date)

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

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

createKxScalingGroup(params = {}, callback) ⇒ AWS.Request

Creates a new scaling group.

Service Reference:

Examples:

Calling the createKxScalingGroup operation

var params = {
  availabilityZoneId: 'STRING_VALUE', /* required */
  clientToken: 'STRING_VALUE', /* required */
  environmentId: 'STRING_VALUE', /* required */
  hostType: 'STRING_VALUE', /* required */
  scalingGroupName: 'STRING_VALUE', /* required */
  tags: {
    '<TagKey>': 'STRING_VALUE',
    /* '<TagKey>': ... */
  }
};
finspace.createKxScalingGroup(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • clientToken — (String)

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

      If a token is not provided, the SDK will use a version 4 UUID.
    • environmentId — (String)

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

    • scalingGroupName — (String)

      A unique identifier for the kdb scaling group.

    • hostType — (String)

      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.

    • availabilityZoneId — (String)

      The identifier of the availability zones.

    • tags — (map<String>)

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

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • environmentId — (String)

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

      • scalingGroupName — (String)

        A unique identifier for the kdb scaling group.

      • hostType — (String)

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

      • availabilityZoneId — (String)

        The identifier of the availability zones.

      • status — (String)

        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.

        Possible values include:
        • "CREATING"
        • "CREATE_FAILED"
        • "ACTIVE"
        • "DELETING"
        • "DELETED"
        • "DELETE_FAILED"
      • lastModifiedTimestamp — (Date)

        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.

      • createdTimestamp — (Date)

        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.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

createKxUser(params = {}, callback) ⇒ AWS.Request

Creates a user in FinSpace kdb environment with an associated IAM role.

Service Reference:

Examples:

Calling the createKxUser operation

var params = {
  environmentId: 'STRING_VALUE', /* required */
  iamRole: 'STRING_VALUE', /* required */
  userName: 'STRING_VALUE', /* required */
  clientToken: 'STRING_VALUE',
  tags: {
    '<TagKey>': 'STRING_VALUE',
    /* '<TagKey>': ... */
  }
};
finspace.createKxUser(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • environmentId — (String)

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

    • userName — (String)

      A unique identifier for the user.

    • iamRole — (String)

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

    • tags — (map<String>)

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

    • clientToken — (String)

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

      If a token is not provided, the SDK will use a version 4 UUID.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • userName — (String)

        A unique identifier for the user.

      • userArn — (String)

        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.

      • environmentId — (String)

        A unique identifier for the kdb environment.

      • iamRole — (String)

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

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

createKxVolume(params = {}, callback) ⇒ AWS.Request

Creates a new volume with a specific amount of throughput and storage capacity.

Service Reference:

Examples:

Calling the createKxVolume operation

var params = {
  availabilityZoneIds: [ /* required */
    'STRING_VALUE',
    /* more items */
  ],
  azMode: SINGLE | MULTI, /* required */
  environmentId: 'STRING_VALUE', /* required */
  volumeName: 'STRING_VALUE', /* required */
  volumeType: NAS_1, /* required */
  clientToken: 'STRING_VALUE',
  description: 'STRING_VALUE',
  nas1Configuration: {
    size: 'NUMBER_VALUE',
    type: SSD_1000 | SSD_250 | HDD_12
  },
  tags: {
    '<TagKey>': 'STRING_VALUE',
    /* '<TagKey>': ... */
  }
};
finspace.createKxVolume(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • clientToken — (String)

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

      If a token is not provided, the SDK will use a version 4 UUID.
    • environmentId — (String)

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

    • volumeType — (String)

      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.

      Possible values include:
      • "NAS_1"
    • volumeName — (String)

      A unique identifier for the volume.

    • description — (String)

      A description of the volume.

    • nas1Configuration — (map)

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

      • type — (String)

        The type of the network attached storage.

        Possible values include:
        • "SSD_1000"
        • "SSD_250"
        • "HDD_12"
      • size — (Integer)

        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.

    • azMode — (String)

      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.

      Possible values include:
      • "SINGLE"
      • "MULTI"
    • availabilityZoneIds — (Array<String>)

      The identifier of the availability zones.

    • tags — (map<String>)

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

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • environmentId — (String)

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

      • volumeName — (String)

        A unique identifier for the volume.

      • volumeType — (String)

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

        Possible values include:
        • "NAS_1"
      • volumeArn — (String)

        The ARN identifier of the volume.

      • nas1Configuration — (map)

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

        • type — (String)

          The type of the network attached storage.

          Possible values include:
          • "SSD_1000"
          • "SSD_250"
          • "HDD_12"
        • size — (Integer)

          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.

      • status — (String)

        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.

        Possible values include:
        • "CREATING"
        • "CREATE_FAILED"
        • "ACTIVE"
        • "UPDATING"
        • "UPDATED"
        • "UPDATE_FAILED"
        • "DELETING"
        • "DELETED"
        • "DELETE_FAILED"
      • statusReason — (String)

        The error message when a failed state occurs.

      • azMode — (String)

        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.

        Possible values include:
        • "SINGLE"
        • "MULTI"
      • description — (String)

        A description of the volume.

      • availabilityZoneIds — (Array<String>)

        The identifier of the availability zones.

      • createdTimestamp — (Date)

        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.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

deleteEnvironment(params = {}, callback) ⇒ AWS.Request

Delete an FinSpace environment.

Service Reference:

Examples:

Calling the deleteEnvironment operation

var params = {
  environmentId: 'STRING_VALUE' /* required */
};
finspace.deleteEnvironment(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • environmentId — (String)

      The identifier for the FinSpace environment.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

deleteKxCluster(params = {}, callback) ⇒ AWS.Request

Deletes a kdb cluster.

Service Reference:

Examples:

Calling the deleteKxCluster operation

var params = {
  clusterName: 'STRING_VALUE', /* required */
  environmentId: 'STRING_VALUE', /* required */
  clientToken: 'STRING_VALUE'
};
finspace.deleteKxCluster(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • environmentId — (String)

      A unique identifier for the kdb environment.

    • clusterName — (String)

      The name of the cluster that you want to delete.

    • clientToken — (String)

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

      If a token is not provided, the SDK will use a version 4 UUID.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

deleteKxClusterNode(params = {}, callback) ⇒ AWS.Request

Deletes the specified nodes from a cluster.

Service Reference:

Examples:

Calling the deleteKxClusterNode operation

var params = {
  clusterName: 'STRING_VALUE', /* required */
  environmentId: 'STRING_VALUE', /* required */
  nodeId: 'STRING_VALUE' /* required */
};
finspace.deleteKxClusterNode(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • environmentId — (String)

      A unique identifier for the kdb environment.

    • clusterName — (String)

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

    • nodeId — (String)

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

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

deleteKxDatabase(params = {}, callback) ⇒ AWS.Request

Deletes the specified database and all of its associated data. This action is irreversible. You must copy any data out of the database before deleting it if the data is to be retained.

Service Reference:

Examples:

Calling the deleteKxDatabase operation

var params = {
  clientToken: 'STRING_VALUE', /* required */
  databaseName: 'STRING_VALUE', /* required */
  environmentId: 'STRING_VALUE' /* required */
};
finspace.deleteKxDatabase(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • environmentId — (String)

      A unique identifier for the kdb environment.

    • databaseName — (String)

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

    • clientToken — (String)

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

      If a token is not provided, the SDK will use a version 4 UUID.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

deleteKxDataview(params = {}, callback) ⇒ AWS.Request

Deletes the specified dataview. Before deleting a dataview, make sure that it is not in use by any cluster.

Service Reference:

Examples:

Calling the deleteKxDataview operation

var params = {
  clientToken: 'STRING_VALUE', /* required */
  databaseName: 'STRING_VALUE', /* required */
  dataviewName: 'STRING_VALUE', /* required */
  environmentId: 'STRING_VALUE' /* required */
};
finspace.deleteKxDataview(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • environmentId — (String)

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

    • databaseName — (String)

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

    • dataviewName — (String)

      The name of the dataview that you want to delete.

    • clientToken — (String)

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

      If a token is not provided, the SDK will use a version 4 UUID.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

deleteKxEnvironment(params = {}, callback) ⇒ AWS.Request

Deletes the kdb environment. This action is irreversible. Deleting a kdb environment will remove all the associated data and any services running in it.

Service Reference:

Examples:

Calling the deleteKxEnvironment operation

var params = {
  environmentId: 'STRING_VALUE', /* required */
  clientToken: 'STRING_VALUE'
};
finspace.deleteKxEnvironment(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • environmentId — (String)

      A unique identifier for the kdb environment.

    • clientToken — (String)

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

      If a token is not provided, the SDK will use a version 4 UUID.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

deleteKxScalingGroup(params = {}, callback) ⇒ AWS.Request

Deletes the specified scaling group. This action is irreversible. You cannot delete a scaling group until all the clusters running on it have been deleted.

Service Reference:

Examples:

Calling the deleteKxScalingGroup operation

var params = {
  environmentId: 'STRING_VALUE', /* required */
  scalingGroupName: 'STRING_VALUE', /* required */
  clientToken: 'STRING_VALUE'
};
finspace.deleteKxScalingGroup(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • environmentId — (String)

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

    • scalingGroupName — (String)

      A unique identifier for the kdb scaling group.

    • clientToken — (String)

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

      If a token is not provided, the SDK will use a version 4 UUID.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

deleteKxUser(params = {}, callback) ⇒ AWS.Request

Deletes a user in the specified kdb environment.

Service Reference:

Examples:

Calling the deleteKxUser operation

var params = {
  environmentId: 'STRING_VALUE', /* required */
  userName: 'STRING_VALUE', /* required */
  clientToken: 'STRING_VALUE'
};
finspace.deleteKxUser(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • userName — (String)

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

    • environmentId — (String)

      A unique identifier for the kdb environment.

    • clientToken — (String)

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

      If a token is not provided, the SDK will use a version 4 UUID.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

deleteKxVolume(params = {}, callback) ⇒ AWS.Request

Deletes a volume. You can only delete a volume if it's not attached to a cluster or a dataview. When a volume is deleted, any data on the volume is lost. This action is irreversible.

Service Reference:

Examples:

Calling the deleteKxVolume operation

var params = {
  environmentId: 'STRING_VALUE', /* required */
  volumeName: 'STRING_VALUE', /* required */
  clientToken: 'STRING_VALUE'
};
finspace.deleteKxVolume(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • environmentId — (String)

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

    • volumeName — (String)

      The name of the volume that you want to delete.

    • clientToken — (String)

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

      If a token is not provided, the SDK will use a version 4 UUID.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

getEnvironment(params = {}, callback) ⇒ AWS.Request

Returns the FinSpace environment object.

Service Reference:

Examples:

Calling the getEnvironment operation

var params = {
  environmentId: 'STRING_VALUE' /* required */
};
finspace.getEnvironment(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • environmentId — (String)

      The identifier of the FinSpace environment.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • environment — (map)

        The name of the FinSpace environment.

        • name — (String)

          The name of the FinSpace environment.

        • environmentId — (String)

          The identifier of the FinSpace environment.

        • awsAccountId — (String)

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

        • status — (String)

          The current status of creation of the FinSpace environment.

          Possible values include:
          • "CREATE_REQUESTED"
          • "CREATING"
          • "CREATED"
          • "DELETE_REQUESTED"
          • "DELETING"
          • "DELETED"
          • "FAILED_CREATION"
          • "RETRY_DELETION"
          • "FAILED_DELETION"
          • "UPDATE_NETWORK_REQUESTED"
          • "UPDATING_NETWORK"
          • "FAILED_UPDATING_NETWORK"
          • "SUSPENDED"
        • environmentUrl — (String)

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

        • description — (String)

          The description of the FinSpace environment.

        • environmentArn — (String)

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

        • sageMakerStudioDomainUrl — (String)

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

        • kmsKeyId — (String)

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

        • dedicatedServiceAccountId — (String)

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

        • federationMode — (String)

          The authentication mode for the environment.

          Possible values include:
          • "FEDERATED"
          • "LOCAL"
        • federationParameters — (map)

          Configuration information when authentication mode is FEDERATED.

          • samlMetadataDocument — (String)

            SAML 2.0 Metadata document from identity provider (IdP).

          • samlMetadataURL — (String)

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

          • applicationCallBackURL — (String)

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

          • federationURN — (String)

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

          • federationProviderName — (String)

            Name of the identity provider (IdP).

          • attributeMap — (map<String>)

            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.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

getKxChangeset(params = {}, callback) ⇒ AWS.Request

Returns information about a kdb changeset.

Service Reference:

Examples:

Calling the getKxChangeset operation

var params = {
  changesetId: 'STRING_VALUE', /* required */
  databaseName: 'STRING_VALUE', /* required */
  environmentId: 'STRING_VALUE' /* required */
};
finspace.getKxChangeset(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • environmentId — (String)

      A unique identifier for the kdb environment.

    • databaseName — (String)

      The name of the kdb database.

    • changesetId — (String)

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

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • changesetId — (String)

        A unique identifier for the changeset.

      • databaseName — (String)

        The name of the kdb database.

      • environmentId — (String)

        A unique identifier for the kdb environment.

      • changeRequests — (Array<map>)

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

        • changeTyperequired — (String)

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

          • PUT – Adds or updates files in a database.

          • DELETE – Deletes files in a database.

          Possible values include:
          • "PUT"
          • "DELETE"
        • s3Path — (String)

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

        • dbPathrequired — (String)

          Defines the path within the database directory.

      • createdTimestamp — (Date)

        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.

      • activeFromTimestamp — (Date)

        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.

      • lastModifiedTimestamp — (Date)

        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.

      • status — (String)

        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.

        Possible values include:
        • "PENDING"
        • "PROCESSING"
        • "FAILED"
        • "COMPLETED"
      • errorInfo — (map)

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

        • errorMessage — (String)

          Specifies the error message that appears if a flow fails.

        • errorType — (String)

          Specifies the type of error.

          Possible values include:
          • "The inputs to this request are invalid."
          • "Service limits have been exceeded."
          • "Missing required permission to perform this request."
          • "One or more inputs to this request were not found."
          • "The system temporarily lacks sufficient resources to process the request."
          • "An internal error has occurred."
          • "Cancelled"
          • "A user recoverable error has occurred"

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

getKxCluster(params = {}, callback) ⇒ AWS.Request

Retrieves information about a kdb cluster.

Service Reference:

Examples:

Calling the getKxCluster operation

var params = {
  clusterName: 'STRING_VALUE', /* required */
  environmentId: 'STRING_VALUE' /* required */
};
finspace.getKxCluster(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • environmentId — (String)

      A unique identifier for the kdb environment.

    • clusterName — (String)

      The name of the cluster that you want to retrieve.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • status — (String)

        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.

        Possible values include:
        • "PENDING"
        • "CREATING"
        • "CREATE_FAILED"
        • "RUNNING"
        • "UPDATING"
        • "DELETING"
        • "DELETED"
        • "DELETE_FAILED"
      • statusReason — (String)

        The error message when a failed state occurs.

      • clusterName — (String)

        A unique name for the cluster.

      • clusterType — (String)

        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.

        Possible values include:
        • "HDB"
        • "RDB"
        • "GATEWAY"
        • "GP"
        • "TICKERPLANT"
      • tickerplantLogConfiguration — (map)

        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.

        • tickerplantLogVolumes — (Array<String>)

          The name of the volumes for tickerplant logs.

      • volumes — (Array<map>)

        A list of volumes attached to the cluster.

        • volumeName — (String)

          A unique identifier for the volume.

        • volumeType — (String)

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

          Possible values include:
          • "NAS_1"
      • databases — (Array<map>)

        A list of databases mounted on the cluster.

        • databaseNamerequired — (String)

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

        • cacheConfigurations — (Array<map>)

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

          • cacheTyperequired — (String)

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

            • CACHE_1000 – This type provides at least 1000 MB/s disk access throughput.

          • dbPathsrequired — (Array<String>)

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

          • dataviewName — (String)

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

        • changesetId — (String)

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

        • dataviewName — (String)

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

        • dataviewConfiguration — (map)

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

          • dataviewName — (String)

            The unique identifier of the dataview.

          • dataviewVersionId — (String)

            The version of the dataview corresponding to a given changeset.

          • changesetId — (String)

            A unique identifier for the changeset.

          • segmentConfigurations — (Array<map>)

            The db path and volume configuration for the segmented database.

            • dbPathsrequired — (Array<String>)

              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.

            • volumeNamerequired — (String)

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

            • onDemand — (Boolean)

              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.

      • cacheStorageConfigurations — (Array<map>)

        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.

        • typerequired — (String)

          The type of cache storage. The valid values are:

          • CACHE_1000 – This type provides at least 1000 MB/s disk access throughput.

          • CACHE_250 – This type provides at least 250 MB/s disk access throughput.

          • CACHE_12 – This type provides at least 12 MB/s disk access throughput.

          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.

        • sizerequired — (Integer)

          The size of cache in Gigabytes.

      • autoScalingConfiguration — (map)

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

        • minNodeCount — (Integer)

          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.

        • maxNodeCount — (Integer)

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

        • autoScalingMetric — (String)

          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.

          Possible values include:
          • "CPU_UTILIZATION_PERCENTAGE"
        • metricTarget — (Float)

          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.

        • scaleInCooldownSeconds — (Float)

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

        • scaleOutCooldownSeconds — (Float)

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

      • clusterDescription — (String)

        A description of the cluster.

      • capacityConfiguration — (map)

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

        • nodeType — (String)

          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:

          • kx.s.large – The node type with a configuration of 12 GiB memory and 2 vCPUs.

          • kx.s.xlarge – The node type with a configuration of 27 GiB memory and 4 vCPUs.

          • kx.s.2xlarge – The node type with a configuration of 54 GiB memory and 8 vCPUs.

          • kx.s.4xlarge – The node type with a configuration of 108 GiB memory and 16 vCPUs.

          • kx.s.8xlarge – The node type with a configuration of 216 GiB memory and 32 vCPUs.

          • kx.s.16xlarge – The node type with a configuration of 432 GiB memory and 64 vCPUs.

          • kx.s.32xlarge – The node type with a configuration of 864 GiB memory and 128 vCPUs.

        • nodeCount — (Integer)

          The number of instances running in a cluster.

      • releaseLabel — (String)

        The version of FinSpace managed kdb to run.

      • vpcConfiguration — (map)

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

        • vpcId — (String)

          The identifier of the VPC endpoint.

        • securityGroupIds — (Array<String>)

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

        • subnetIds — (Array<String>)

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

        • ipAddressType — (String)

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

          • IP_V4 – IP address version 4

          Possible values include:
          • "IP_V4"
      • initializationScript — (String)

        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.

      • commandLineArguments — (Array<map>)

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

        • key — (String)

          The name of the key.

        • value — (String)

          The value of the key.

      • code — (map)

        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.

        • s3Bucket — (String)

          A unique name for the S3 bucket.

        • s3Key — (String)

          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.

        • s3ObjectVersion — (String)

          The version of an S3 object.

      • executionRole — (String)

        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.

      • lastModifiedTimestamp — (Date)

        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.

      • savedownStorageConfiguration — (map)

        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 — (String)

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

          • SDS01 – This type represents 3000 IOPS and io2 ebs volume type.

          Possible values include:
          • "SDS01"
        • size — (Integer)

          The size of temporary storage in gibibytes.

        • volumeName — (String)

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

      • azMode — (String)

        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.

        Possible values include:
        • "SINGLE"
        • "MULTI"
      • availabilityZoneId — (String)

        The availability zone identifiers for the requested regions.

      • createdTimestamp — (Date)

        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.

      • scalingGroupConfiguration — (map)

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

        • scalingGroupNamerequired — (String)

          A unique identifier for the kdb scaling group.

        • memoryLimit — (Integer)

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

        • memoryReservationrequired — (Integer)

          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.

        • nodeCountrequired — (Integer)

          The number of kdb cluster nodes.

        • cpu — (Float)

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

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

getKxConnectionString(params = {}, callback) ⇒ AWS.Request

Retrieves a connection string for a user to connect to a kdb cluster. You must call this API using the same role that you have defined while creating a user.

Service Reference:

Examples:

Calling the getKxConnectionString operation

var params = {
  clusterName: 'STRING_VALUE', /* required */
  environmentId: 'STRING_VALUE', /* required */
  userArn: 'STRING_VALUE' /* required */
};
finspace.getKxConnectionString(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • userArn — (String)

      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.

    • environmentId — (String)

      A unique identifier for the kdb environment.

    • clusterName — (String)

      A name of the kdb cluster.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • signedConnectionString — (String)

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

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

getKxDatabase(params = {}, callback) ⇒ AWS.Request

Returns database information for the specified environment ID.

Service Reference:

Examples:

Calling the getKxDatabase operation

var params = {
  databaseName: 'STRING_VALUE', /* required */
  environmentId: 'STRING_VALUE' /* required */
};
finspace.getKxDatabase(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • environmentId — (String)

      A unique identifier for the kdb environment.

    • databaseName — (String)

      The name of the kdb database.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • databaseName — (String)

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

      • databaseArn — (String)

        The ARN identifier of the database.

      • environmentId — (String)

        A unique identifier for the kdb environment.

      • description — (String)

        A description of the database.

      • createdTimestamp — (Date)

        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.

      • lastModifiedTimestamp — (Date)

        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.

      • lastCompletedChangesetId — (String)

        A unique identifier for the changeset.

      • numBytes — (Integer)

        The total number of bytes in the database.

      • numChangesets — (Integer)

        The total number of changesets in the database.

      • numFiles — (Integer)

        The total number of files in the database.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

getKxDataview(params = {}, callback) ⇒ AWS.Request

Retrieves details of the dataview.

Service Reference:

Examples:

Calling the getKxDataview operation

var params = {
  databaseName: 'STRING_VALUE', /* required */
  dataviewName: 'STRING_VALUE', /* required */
  environmentId: 'STRING_VALUE' /* required */
};
finspace.getKxDataview(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • environmentId — (String)

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

    • databaseName — (String)

      The name of the database where you created the dataview.

    • dataviewName — (String)

      A unique identifier for the dataview.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • databaseName — (String)

        The name of the database where you created the dataview.

      • dataviewName — (String)

        A unique identifier for the dataview.

      • azMode — (String)

        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.

        Possible values include:
        • "SINGLE"
        • "MULTI"
      • availabilityZoneId — (String)

        The identifier of the availability zones.

      • changesetId — (String)

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

      • segmentConfigurations — (Array<map>)

        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.

        • dbPathsrequired — (Array<String>)

          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.

        • volumeNamerequired — (String)

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

        • onDemand — (Boolean)

          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.

      • activeVersions — (Array<map>)

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

        • changesetId — (String)

          A unique identifier for the changeset.

        • segmentConfigurations — (Array<map>)

          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.

          • dbPathsrequired — (Array<String>)

            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.

          • volumeNamerequired — (String)

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

          • onDemand — (Boolean)

            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.

        • attachedClusters — (Array<String>)

          The list of clusters that are currently using this dataview.

        • createdTimestamp — (Date)

          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.

        • versionId — (String)

          A unique identifier of the active version.

      • description — (String)

        A description of the dataview.

      • autoUpdate — (Boolean)

        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.

      • readWrite — (Boolean)

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

      • environmentId — (String)

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

      • createdTimestamp — (Date)

        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.

      • lastModifiedTimestamp — (Date)

        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.

      • status — (String)

        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.

        Possible values include:
        • "CREATING"
        • "ACTIVE"
        • "UPDATING"
        • "FAILED"
        • "DELETING"
      • statusReason — (String)

        The error message when a failed state occurs.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

getKxEnvironment(params = {}, callback) ⇒ AWS.Request

Retrieves all the information for the specified kdb environment.

Service Reference:

Examples:

Calling the getKxEnvironment operation

var params = {
  environmentId: 'STRING_VALUE' /* required */
};
finspace.getKxEnvironment(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • environmentId — (String)

      A unique identifier for the kdb environment.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • name — (String)

        The name of the kdb environment.

      • environmentId — (String)

        A unique identifier for the kdb environment.

      • awsAccountId — (String)

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

      • status — (String)

        The status of the kdb environment.

        Possible values include:
        • "CREATE_REQUESTED"
        • "CREATING"
        • "CREATED"
        • "DELETE_REQUESTED"
        • "DELETING"
        • "DELETED"
        • "FAILED_CREATION"
        • "RETRY_DELETION"
        • "FAILED_DELETION"
        • "UPDATE_NETWORK_REQUESTED"
        • "UPDATING_NETWORK"
        • "FAILED_UPDATING_NETWORK"
        • "SUSPENDED"
      • tgwStatus — (String)

        The status of the network configuration.

        Possible values include:
        • "NONE"
        • "UPDATE_REQUESTED"
        • "UPDATING"
        • "FAILED_UPDATE"
        • "SUCCESSFULLY_UPDATED"
      • dnsStatus — (String)

        The status of DNS configuration.

        Possible values include:
        • "NONE"
        • "UPDATE_REQUESTED"
        • "UPDATING"
        • "FAILED_UPDATE"
        • "SUCCESSFULLY_UPDATED"
      • errorMessage — (String)

        Specifies the error message that appears if a flow fails.

      • description — (String)

        A description for the kdb environment.

      • environmentArn — (String)

        The ARN identifier of the environment.

      • kmsKeyId — (String)

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

      • dedicatedServiceAccountId — (String)

        A unique identifier for the AWS environment infrastructure account.

      • transitGatewayConfiguration — (map)

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

        • transitGatewayIDrequired — (String)

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

        • routableCIDRSpacerequired — (String)

          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.

        • attachmentNetworkAclConfiguration — (Array<map>)

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

          • ruleNumberrequired — (Integer)

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

          • protocolrequired — (String)

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

          • ruleActionrequired — (String)

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

            Possible values include:
            • "allow"
            • "deny"
          • portRange — (map)

            The range of ports the rule applies to.

            • fromrequired — (Integer)

              The first port in the range.

            • torequired — (Integer)

              The last port in the range.

          • icmpTypeCode — (map)

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

            • typerequired — (Integer)

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

            • coderequired — (Integer)

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

          • cidrBlockrequired — (String)

            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.

      • customDNSConfiguration — (Array<map>)

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

        • customDNSServerNamerequired — (String)

          The name of the DNS server.

        • customDNSServerIPrequired — (String)

          The IP address of the DNS server.

      • creationTimestamp — (Date)

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

      • updateTimestamp — (Date)

        The timestamp at which the kdb environment was updated.

      • availabilityZoneIds — (Array<String>)

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

      • certificateAuthorityArn — (String)

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

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

getKxScalingGroup(params = {}, callback) ⇒ AWS.Request

Retrieves details of a scaling group.

Service Reference:

Examples:

Calling the getKxScalingGroup operation

var params = {
  environmentId: 'STRING_VALUE', /* required */
  scalingGroupName: 'STRING_VALUE' /* required */
};
finspace.getKxScalingGroup(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • environmentId — (String)

      A unique identifier for the kdb environment.

    • scalingGroupName — (String)

      A unique identifier for the kdb scaling group.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • scalingGroupName — (String)

        A unique identifier for the kdb scaling group.

      • scalingGroupArn — (String)

        The ARN identifier for the scaling group.

      • hostType — (String)

        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.

      • clusters — (Array<String>)

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

      • availabilityZoneId — (String)

        The identifier of the availability zones.

      • status — (String)

        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.

        Possible values include:
        • "CREATING"
        • "CREATE_FAILED"
        • "ACTIVE"
        • "DELETING"
        • "DELETED"
        • "DELETE_FAILED"
      • statusReason — (String)

        The error message when a failed state occurs.

      • lastModifiedTimestamp — (Date)

        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.

      • createdTimestamp — (Date)

        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.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

getKxUser(params = {}, callback) ⇒ AWS.Request

Retrieves information about the specified kdb user.

Service Reference:

Examples:

Calling the getKxUser operation

var params = {
  environmentId: 'STRING_VALUE', /* required */
  userName: 'STRING_VALUE' /* required */
};
finspace.getKxUser(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • userName — (String)

      A unique identifier for the user.

    • environmentId — (String)

      A unique identifier for the kdb environment.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • userName — (String)

        A unique identifier for the user.

      • userArn — (String)

        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.

      • environmentId — (String)

        A unique identifier for the kdb environment.

      • iamRole — (String)

        The IAM role ARN that is associated with the user.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

getKxVolume(params = {}, callback) ⇒ AWS.Request

Retrieves the information about the volume.

Service Reference:

Examples:

Calling the getKxVolume operation

var params = {
  environmentId: 'STRING_VALUE', /* required */
  volumeName: 'STRING_VALUE' /* required */
};
finspace.getKxVolume(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • environmentId — (String)

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

    • volumeName — (String)

      A unique identifier for the volume.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • environmentId — (String)

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

      • volumeName — (String)

        A unique identifier for the volume.

      • volumeType — (String)

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

        Possible values include:
        • "NAS_1"
      • volumeArn — (String)

        The ARN identifier of the volume.

      • nas1Configuration — (map)

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

        • type — (String)

          The type of the network attached storage.

          Possible values include:
          • "SSD_1000"
          • "SSD_250"
          • "HDD_12"
        • size — (Integer)

          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.

      • status — (String)

        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.

        Possible values include:
        • "CREATING"
        • "CREATE_FAILED"
        • "ACTIVE"
        • "UPDATING"
        • "UPDATED"
        • "UPDATE_FAILED"
        • "DELETING"
        • "DELETED"
        • "DELETE_FAILED"
      • statusReason — (String)

        The error message when a failed state occurs.

      • createdTimestamp — (Date)

        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.

      • description — (String)

        A description of the volume.

      • azMode — (String)

        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.

        Possible values include:
        • "SINGLE"
        • "MULTI"
      • availabilityZoneIds — (Array<String>)

        The identifier of the availability zones.

      • lastModifiedTimestamp — (Date)

        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.

      • attachedClusters — (Array<map>)

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

        • clusterName — (String)

          A unique name for the attached cluster.

        • clusterType — (String)

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

          Possible values include:
          • "HDB"
          • "RDB"
          • "GATEWAY"
          • "GP"
          • "TICKERPLANT"
        • clusterStatus — (String)

          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.

          Possible values include:
          • "PENDING"
          • "CREATING"
          • "CREATE_FAILED"
          • "RUNNING"
          • "UPDATING"
          • "DELETING"
          • "DELETED"
          • "DELETE_FAILED"

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

listEnvironments(params = {}, callback) ⇒ AWS.Request

A list of all of your FinSpace environments.

Service Reference:

Examples:

Calling the listEnvironments operation

var params = {
  maxResults: 'NUMBER_VALUE',
  nextToken: 'STRING_VALUE'
};
finspace.listEnvironments(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • nextToken — (String)

      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.

    • maxResults — (Integer)

      The maximum number of results to return in this request.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • environments — (Array<map>)

        A list of all of your FinSpace environments.

        • name — (String)

          The name of the FinSpace environment.

        • environmentId — (String)

          The identifier of the FinSpace environment.

        • awsAccountId — (String)

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

        • status — (String)

          The current status of creation of the FinSpace environment.

          Possible values include:
          • "CREATE_REQUESTED"
          • "CREATING"
          • "CREATED"
          • "DELETE_REQUESTED"
          • "DELETING"
          • "DELETED"
          • "FAILED_CREATION"
          • "RETRY_DELETION"
          • "FAILED_DELETION"
          • "UPDATE_NETWORK_REQUESTED"
          • "UPDATING_NETWORK"
          • "FAILED_UPDATING_NETWORK"
          • "SUSPENDED"
        • environmentUrl — (String)

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

        • description — (String)

          The description of the FinSpace environment.

        • environmentArn — (String)

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

        • sageMakerStudioDomainUrl — (String)

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

        • kmsKeyId — (String)

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

        • dedicatedServiceAccountId — (String)

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

        • federationMode — (String)

          The authentication mode for the environment.

          Possible values include:
          • "FEDERATED"
          • "LOCAL"
        • federationParameters — (map)

          Configuration information when authentication mode is FEDERATED.

          • samlMetadataDocument — (String)

            SAML 2.0 Metadata document from identity provider (IdP).

          • samlMetadataURL — (String)

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

          • applicationCallBackURL — (String)

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

          • federationURN — (String)

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

          • federationProviderName — (String)

            Name of the identity provider (IdP).

          • attributeMap — (map<String>)

            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.

      • nextToken — (String)

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

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

listKxChangesets(params = {}, callback) ⇒ AWS.Request

Returns a list of all the changesets for a database.

Service Reference:

Examples:

Calling the listKxChangesets operation

var params = {
  databaseName: 'STRING_VALUE', /* required */
  environmentId: 'STRING_VALUE', /* required */
  maxResults: 'NUMBER_VALUE',
  nextToken: 'STRING_VALUE'
};
finspace.listKxChangesets(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • environmentId — (String)

      A unique identifier for the kdb environment.

    • databaseName — (String)

      The name of the kdb database.

    • nextToken — (String)

      A token that indicates where a results page should begin.

    • maxResults — (Integer)

      The maximum number of results to return in this request.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • kxChangesets — (Array<map>)

        A list of changesets for a database.

        • changesetId — (String)

          A unique identifier for the changeset.

        • createdTimestamp — (Date)

          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.

        • activeFromTimestamp — (Date)

          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.

        • lastModifiedTimestamp — (Date)

          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.

        • status — (String)

          Status of the changeset.

          • Pending – Changeset creation is pending.

          • Processing – Changeset creation is running.

          • Failed – Changeset creation has failed.

          • Complete – Changeset creation has succeeded.

          Possible values include:
          • "PENDING"
          • "PROCESSING"
          • "FAILED"
          • "COMPLETED"
      • nextToken — (String)

        A token that indicates where a results page should begin.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

listKxClusterNodes(params = {}, callback) ⇒ AWS.Request

Lists all the nodes in a kdb cluster.

Service Reference:

Examples:

Calling the listKxClusterNodes operation

var params = {
  clusterName: 'STRING_VALUE', /* required */
  environmentId: 'STRING_VALUE', /* required */
  maxResults: 'NUMBER_VALUE',
  nextToken: 'STRING_VALUE'
};
finspace.listKxClusterNodes(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • environmentId — (String)

      A unique identifier for the kdb environment.

    • clusterName — (String)

      A unique name for the cluster.

    • nextToken — (String)

      A token that indicates where a results page should begin.

    • maxResults — (Integer)

      The maximum number of results to return in this request.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • nodes — (Array<map>)

        A list of nodes associated with the cluster.

        • nodeId — (String)

          A unique identifier for the node.

        • availabilityZoneId — (String)

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

        • launchTime — (Date)

          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.

        • status — (String)

          Specifies the status of the cluster nodes.

          • RUNNING – The node is actively serving.

          • PROVISIONING – The node is being prepared.

          Possible values include:
          • "RUNNING"
          • "PROVISIONING"
      • nextToken — (String)

        A token that indicates where a results page should begin.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

listKxClusters(params = {}, callback) ⇒ AWS.Request

Returns a list of clusters.

Service Reference:

Examples:

Calling the listKxClusters operation

var params = {
  environmentId: 'STRING_VALUE', /* required */
  clusterType: HDB | RDB | GATEWAY | GP | TICKERPLANT,
  maxResults: 'NUMBER_VALUE',
  nextToken: 'STRING_VALUE'
};
finspace.listKxClusters(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • environmentId — (String)

      A unique identifier for the kdb environment.

    • clusterType — (String)

      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.

      Possible values include:
      • "HDB"
      • "RDB"
      • "GATEWAY"
      • "GP"
      • "TICKERPLANT"
    • maxResults — (Integer)

      The maximum number of results to return in this request.

    • nextToken — (String)

      A token that indicates where a results page should begin.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • kxClusterSummaries — (Array<map>)

        Lists the cluster details.

        • status — (String)

          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.

          Possible values include:
          • "PENDING"
          • "CREATING"
          • "CREATE_FAILED"
          • "RUNNING"
          • "UPDATING"
          • "DELETING"
          • "DELETED"
          • "DELETE_FAILED"
        • statusReason — (String)

          The error message when a failed state occurs.

        • clusterName — (String)

          A unique name for the cluster.

        • clusterType — (String)

          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.

          Possible values include:
          • "HDB"
          • "RDB"
          • "GATEWAY"
          • "GP"
          • "TICKERPLANT"
        • clusterDescription — (String)

          A description of the cluster.

        • releaseLabel — (String)

          A version of the FinSpace managed kdb to run.

        • volumes — (Array<map>)

          A list of volumes attached to the cluster.

          • volumeName — (String)

            A unique identifier for the volume.

          • volumeType — (String)

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

            Possible values include:
            • "NAS_1"
        • initializationScript — (String)

          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.

        • executionRole — (String)

          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.

        • azMode — (String)

          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.

          Possible values include:
          • "SINGLE"
          • "MULTI"
        • availabilityZoneId — (String)

          The availability zone identifiers for the requested regions.

        • lastModifiedTimestamp — (Date)

          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.

        • createdTimestamp — (Date)

          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.

      • nextToken — (String)

        A token that indicates where a results page should begin.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

listKxDatabases(params = {}, callback) ⇒ AWS.Request

Returns a list of all the databases in the kdb environment.

Service Reference:

Examples:

Calling the listKxDatabases operation

var params = {
  environmentId: 'STRING_VALUE', /* required */
  maxResults: 'NUMBER_VALUE',
  nextToken: 'STRING_VALUE'
};
finspace.listKxDatabases(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • environmentId — (String)

      A unique identifier for the kdb environment.

    • nextToken — (String)

      A token that indicates where a results page should begin.

    • maxResults — (Integer)

      The maximum number of results to return in this request.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • kxDatabases — (Array<map>)

        A list of databases in the kdb environment.

        • databaseName — (String)

          The name of the kdb database.

        • createdTimestamp — (Date)

          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.

        • lastModifiedTimestamp — (Date)

          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.

      • nextToken — (String)

        A token that indicates where a results page should begin.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

listKxDataviews(params = {}, callback) ⇒ AWS.Request

Returns a list of all the dataviews in the database.

Service Reference:

Examples:

Calling the listKxDataviews operation

var params = {
  databaseName: 'STRING_VALUE', /* required */
  environmentId: 'STRING_VALUE', /* required */
  maxResults: 'NUMBER_VALUE',
  nextToken: 'STRING_VALUE'
};
finspace.listKxDataviews(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • environmentId — (String)

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

    • databaseName — (String)

      The name of the database where the dataviews were created.

    • nextToken — (String)

      A token that indicates where a results page should begin.

    • maxResults — (Integer)

      The maximum number of results to return in this request.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • kxDataviews — (Array<map>)

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

        • environmentId — (String)

          A unique identifier for the kdb environment.

        • databaseName — (String)

          A unique identifier of the database.

        • dataviewName — (String)

          A unique identifier of the dataview.

        • azMode — (String)

          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.

          Possible values include:
          • "SINGLE"
          • "MULTI"
        • availabilityZoneId — (String)

          The identifier of the availability zones.

        • changesetId — (String)

          A unique identifier for the changeset.

        • segmentConfigurations — (Array<map>)

          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.

          • dbPathsrequired — (Array<String>)

            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.

          • volumeNamerequired — (String)

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

          • onDemand — (Boolean)

            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.

        • activeVersions — (Array<map>)

          The active changeset versions for the given dataview entry.

          • changesetId — (String)

            A unique identifier for the changeset.

          • segmentConfigurations — (Array<map>)

            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.

            • dbPathsrequired — (Array<String>)

              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.

            • volumeNamerequired — (String)

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

            • onDemand — (Boolean)

              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.

          • attachedClusters — (Array<String>)

            The list of clusters that are currently using this dataview.

          • createdTimestamp — (Date)

            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.

          • versionId — (String)

            A unique identifier of the active version.

        • status — (String)

          The status of a given dataview entry.

          Possible values include:
          • "CREATING"
          • "ACTIVE"
          • "UPDATING"
          • "FAILED"
          • "DELETING"
        • description — (String)

          A description for the dataview list entry.

        • autoUpdate — (Boolean)

          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.

        • readWrite — (Boolean)

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

        • createdTimestamp — (Date)

          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.

        • lastModifiedTimestamp — (Date)

          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.

        • statusReason — (String)

          The error message when a failed state occurs.

      • nextToken — (String)

        A token that indicates where a results page should begin.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

listKxEnvironments(params = {}, callback) ⇒ AWS.Request

Returns a list of kdb environments created in an account.

Service Reference:

Examples:

Calling the listKxEnvironments operation

var params = {
  maxResults: 'NUMBER_VALUE',
  nextToken: 'STRING_VALUE'
};
finspace.listKxEnvironments(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • nextToken — (String)

      A token that indicates where a results page should begin.

    • maxResults — (Integer)

      The maximum number of results to return in this request.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • environments — (Array<map>)

        A list of environments in an account.

        • name — (String)

          The name of the kdb environment.

        • environmentId — (String)

          A unique identifier for the kdb environment.

        • awsAccountId — (String)

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

        • status — (String)

          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.

          Possible values include:
          • "CREATE_REQUESTED"
          • "CREATING"
          • "CREATED"
          • "DELETE_REQUESTED"
          • "DELETING"
          • "DELETED"
          • "FAILED_CREATION"
          • "RETRY_DELETION"
          • "FAILED_DELETION"
          • "UPDATE_NETWORK_REQUESTED"
          • "UPDATING_NETWORK"
          • "FAILED_UPDATING_NETWORK"
          • "SUSPENDED"
        • tgwStatus — (String)

          The status of the network configuration.

          Possible values include:
          • "NONE"
          • "UPDATE_REQUESTED"
          • "UPDATING"
          • "FAILED_UPDATE"
          • "SUCCESSFULLY_UPDATED"
        • dnsStatus — (String)

          The status of DNS configuration.

          Possible values include:
          • "NONE"
          • "UPDATE_REQUESTED"
          • "UPDATING"
          • "FAILED_UPDATE"
          • "SUCCESSFULLY_UPDATED"
        • errorMessage — (String)

          Specifies the error message that appears if a flow fails.

        • description — (String)

          A description of the kdb environment.

        • environmentArn — (String)

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

        • kmsKeyId — (String)

          The unique identifier of the KMS key.

        • dedicatedServiceAccountId — (String)

          A unique identifier for the AWS environment infrastructure account.

        • transitGatewayConfiguration — (map)

          Specifies the transit gateway and network configuration to connect the kdb environment to an internal network.

          • transitGatewayIDrequired — (String)

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

          • routableCIDRSpacerequired — (String)

            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.

          • attachmentNetworkAclConfiguration — (Array<map>)

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

            • ruleNumberrequired — (Integer)

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

            • protocolrequired — (String)

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

            • ruleActionrequired — (String)

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

              Possible values include:
              • "allow"
              • "deny"
            • portRange — (map)

              The range of ports the rule applies to.

              • fromrequired — (Integer)

                The first port in the range.

              • torequired — (Integer)

                The last port in the range.

            • icmpTypeCode — (map)

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

              • typerequired — (Integer)

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

              • coderequired — (Integer)

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

            • cidrBlockrequired — (String)

              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.

        • customDNSConfiguration — (Array<map>)

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

          • customDNSServerNamerequired — (String)

            The name of the DNS server.

          • customDNSServerIPrequired — (String)

            The IP address of the DNS server.

        • creationTimestamp — (Date)

          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.

        • updateTimestamp — (Date)

          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.

        • availabilityZoneIds — (Array<String>)

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

        • certificateAuthorityArn — (String)

          The Amazon Resource Name (ARN) of the certificate authority:

      • nextToken — (String)

        A token that indicates where a results page should begin.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

listKxScalingGroups(params = {}, callback) ⇒ AWS.Request

Returns a list of scaling groups in a kdb environment.

Service Reference:

Examples:

Calling the listKxScalingGroups operation

var params = {
  environmentId: 'STRING_VALUE', /* required */
  maxResults: 'NUMBER_VALUE',
  nextToken: 'STRING_VALUE'
};
finspace.listKxScalingGroups(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • environmentId — (String)

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

    • maxResults — (Integer)

      The maximum number of results to return in this request.

    • nextToken — (String)

      A token that indicates where a results page should begin.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • scalingGroups — (Array<map>)

        A list of scaling groups available in a kdb environment.

        • scalingGroupName — (String)

          A unique identifier for the kdb scaling group.

        • hostType — (String)

          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.

        • clusters — (Array<String>)

          The list of clusters currently active in a given scaling group.

        • availabilityZoneId — (String)

          The identifier of the availability zones.

        • status — (String)

          The status of scaling groups.

          Possible values include:
          • "CREATING"
          • "CREATE_FAILED"
          • "ACTIVE"
          • "DELETING"
          • "DELETED"
          • "DELETE_FAILED"
        • statusReason — (String)

          The error message when a failed state occurs.

        • lastModifiedTimestamp — (Date)

          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.

        • createdTimestamp — (Date)

          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.

      • nextToken — (String)

        A token that indicates where a results page should begin.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

listKxUsers(params = {}, callback) ⇒ AWS.Request

Lists all the users in a kdb environment.

Service Reference:

Examples:

Calling the listKxUsers operation

var params = {
  environmentId: 'STRING_VALUE', /* required */
  maxResults: 'NUMBER_VALUE',
  nextToken: 'STRING_VALUE'
};
finspace.listKxUsers(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • environmentId — (String)

      A unique identifier for the kdb environment.

    • nextToken — (String)

      A token that indicates where a results page should begin.

    • maxResults — (Integer)

      The maximum number of results to return in this request.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • users — (Array<map>)

        A list of users in a kdb environment.

        • userArn — (String)

          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.

        • userName — (String)

          A unique identifier for the user.

        • iamRole — (String)

          The IAM role ARN that is associated with the user.

        • createTimestamp — (Date)

          The timestamp at which the kdb user was created.

        • updateTimestamp — (Date)

          The timestamp at which the kdb user was updated.

      • nextToken — (String)

        A token that indicates where a results page should begin.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

listKxVolumes(params = {}, callback) ⇒ AWS.Request

Lists all the volumes in a kdb environment.

Service Reference:

Examples:

Calling the listKxVolumes operation

var params = {
  environmentId: 'STRING_VALUE', /* required */
  maxResults: 'NUMBER_VALUE',
  nextToken: 'STRING_VALUE',
  volumeType: NAS_1
};
finspace.listKxVolumes(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • environmentId — (String)

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

    • maxResults — (Integer)

      The maximum number of results to return in this request.

    • nextToken — (String)

      A token that indicates where a results page should begin.

    • volumeType — (String)

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

      Possible values include:
      • "NAS_1"

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • kxVolumeSummaries — (Array<map>)

        A summary of volumes.

        • volumeName — (String)

          A unique identifier for the volume.

        • volumeType — (String)

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

          Possible values include:
          • "NAS_1"
        • status — (String)

          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.

          Possible values include:
          • "CREATING"
          • "CREATE_FAILED"
          • "ACTIVE"
          • "UPDATING"
          • "UPDATED"
          • "UPDATE_FAILED"
          • "DELETING"
          • "DELETED"
          • "DELETE_FAILED"
        • description — (String)

          A description of the volume.

        • statusReason — (String)

          The error message when a failed state occurs.

        • azMode — (String)

          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.

          Possible values include:
          • "SINGLE"
          • "MULTI"
        • availabilityZoneIds — (Array<String>)

          The identifier of the availability zones.

        • createdTimestamp — (Date)

          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.

        • lastModifiedTimestamp — (Date)

          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.

      • nextToken — (String)

        A token that indicates where a results page should begin.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

listTagsForResource(params = {}, callback) ⇒ AWS.Request

A list of all tags for a resource.

Service Reference:

Examples:

Calling the listTagsForResource operation

var params = {
  resourceArn: 'STRING_VALUE' /* required */
};
finspace.listTagsForResource(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • resourceArn — (String)

      The Amazon Resource Name of the resource.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • tags — (map<String>)

        A list of all tags for a resource.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

tagResource(params = {}, callback) ⇒ AWS.Request

Adds metadata tags to a FinSpace resource.

Service Reference:

Examples:

Calling the tagResource operation

var params = {
  resourceArn: 'STRING_VALUE', /* required */
  tags: { /* required */
    '<TagKey>': 'STRING_VALUE',
    /* '<TagKey>': ... */
  }
};
finspace.tagResource(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • resourceArn — (String)

      The Amazon Resource Name (ARN) for the resource.

    • tags — (map<String>)

      One or more tags to be assigned to the resource.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

untagResource(params = {}, callback) ⇒ AWS.Request

Removes metadata tags from a FinSpace resource.

Service Reference:

Examples:

Calling the untagResource operation

var params = {
  resourceArn: 'STRING_VALUE', /* required */
  tagKeys: [ /* required */
    'STRING_VALUE',
    /* more items */
  ]
};
finspace.untagResource(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • resourceArn — (String)

      A FinSpace resource from which you want to remove a tag or tags. The value for this parameter is an Amazon Resource Name (ARN).

    • tagKeys — (Array<String>)

      The tag keys (names) of one or more tags to be removed.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

updateEnvironment(params = {}, callback) ⇒ AWS.Request

Update your FinSpace environment.

Service Reference:

Examples:

Calling the updateEnvironment operation

var params = {
  environmentId: 'STRING_VALUE', /* required */
  description: 'STRING_VALUE',
  federationMode: FEDERATED | LOCAL,
  federationParameters: {
    applicationCallBackURL: 'STRING_VALUE',
    attributeMap: {
      '<FederationAttributeKey>': 'STRING_VALUE',
      /* '<FederationAttributeKey>': ... */
    },
    federationProviderName: 'STRING_VALUE',
    federationURN: 'STRING_VALUE',
    samlMetadataDocument: 'STRING_VALUE',
    samlMetadataURL: 'STRING_VALUE'
  },
  name: 'STRING_VALUE'
};
finspace.updateEnvironment(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • environmentId — (String)

      The identifier of the FinSpace environment.

    • name — (String)

      The name of the environment.

    • description — (String)

      The description of the environment.

    • federationMode — (String)

      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.

      Possible values include:
      • "FEDERATED"
      • "LOCAL"
    • federationParameters — (map)

      Configuration information when authentication mode is FEDERATED.

      • samlMetadataDocument — (String)

        SAML 2.0 Metadata document from identity provider (IdP).

      • samlMetadataURL — (String)

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

      • applicationCallBackURL — (String)

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

      • federationURN — (String)

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

      • federationProviderName — (String)

        Name of the identity provider (IdP).

      • attributeMap — (map<String>)

        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.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • environment — (map)

        Returns the FinSpace environment object.

        • name — (String)

          The name of the FinSpace environment.

        • environmentId — (String)

          The identifier of the FinSpace environment.

        • awsAccountId — (String)

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

        • status — (String)

          The current status of creation of the FinSpace environment.

          Possible values include:
          • "CREATE_REQUESTED"
          • "CREATING"
          • "CREATED"
          • "DELETE_REQUESTED"
          • "DELETING"
          • "DELETED"
          • "FAILED_CREATION"
          • "RETRY_DELETION"
          • "FAILED_DELETION"
          • "UPDATE_NETWORK_REQUESTED"
          • "UPDATING_NETWORK"
          • "FAILED_UPDATING_NETWORK"
          • "SUSPENDED"
        • environmentUrl — (String)

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

        • description — (String)

          The description of the FinSpace environment.

        • environmentArn — (String)

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

        • sageMakerStudioDomainUrl — (String)

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

        • kmsKeyId — (String)

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

        • dedicatedServiceAccountId — (String)

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

        • federationMode — (String)

          The authentication mode for the environment.

          Possible values include:
          • "FEDERATED"
          • "LOCAL"
        • federationParameters — (map)

          Configuration information when authentication mode is FEDERATED.

          • samlMetadataDocument — (String)

            SAML 2.0 Metadata document from identity provider (IdP).

          • samlMetadataURL — (String)

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

          • applicationCallBackURL — (String)

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

          • federationURN — (String)

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

          • federationProviderName — (String)

            Name of the identity provider (IdP).

          • attributeMap — (map<String>)

            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.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

updateKxClusterCodeConfiguration(params = {}, callback) ⇒ AWS.Request

Allows you to update code configuration on a running cluster. By using this API you can update the code, the initialization script path, and the command line arguments for a specific cluster. The configuration that you want to update will override any existing configurations on the cluster.

Examples:

Calling the updateKxClusterCodeConfiguration operation

var params = {
  clusterName: 'STRING_VALUE', /* required */
  code: { /* required */
    s3Bucket: 'STRING_VALUE',
    s3Key: 'STRING_VALUE',
    s3ObjectVersion: 'STRING_VALUE'
  },
  environmentId: 'STRING_VALUE', /* required */
  clientToken: 'STRING_VALUE',
  commandLineArguments: [
    {
      key: 'STRING_VALUE',
      value: 'STRING_VALUE'
    },
    /* more items */
  ],
  deploymentConfiguration: {
    deploymentStrategy: NO_RESTART | ROLLING | FORCE /* required */
  },
  initializationScript: 'STRING_VALUE'
};
finspace.updateKxClusterCodeConfiguration(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • environmentId — (String)

      A unique identifier of the kdb environment.

    • clusterName — (String)

      The name of the cluster.

    • clientToken — (String)

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

      If a token is not provided, the SDK will use a version 4 UUID.
    • code — (map)

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

      • s3Bucket — (String)

        A unique name for the S3 bucket.

      • s3Key — (String)

        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.

      • s3ObjectVersion — (String)

        The version of an S3 object.

    • initializationScript — (String)

      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.

    • commandLineArguments — (Array<map>)

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

      You cannot update this parameter for a NO_RESTART deployment.

      • key — (String)

        The name of the key.

      • value — (String)

        The value of the key.

    • deploymentConfiguration — (map)

      The configuration that allows you to choose how you want to update the code on a cluster.

      • deploymentStrategyrequired — (String)

        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.

        Possible values include:
        • "NO_RESTART"
        • "ROLLING"
        • "FORCE"

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

updateKxClusterDatabases(params = {}, callback) ⇒ AWS.Request

Updates the databases mounted on a kdb cluster, which includes the changesetId and all the dbPaths to be cached. This API does not allow you to change a database name or add a database if you created a cluster without one.

Using this API you can point a cluster to a different changeset and modify a list of partitions being cached.

Service Reference:

Examples:

Calling the updateKxClusterDatabases operation

var params = {
  clusterName: 'STRING_VALUE', /* required */
  databases: [ /* required */
    {
      databaseName: 'STRING_VALUE', /* required */
      cacheConfigurations: [
        {
          cacheType: 'STRING_VALUE', /* required */
          dbPaths: [ /* required */
            'STRING_VALUE',
            /* more items */
          ],
          dataviewName: 'STRING_VALUE'
        },
        /* more items */
      ],
      changesetId: 'STRING_VALUE',
      dataviewConfiguration: {
        changesetId: 'STRING_VALUE',
        dataviewName: 'STRING_VALUE',
        dataviewVersionId: 'STRING_VALUE',
        segmentConfigurations: [
          {
            dbPaths: [ /* required */
              'STRING_VALUE',
              /* more items */
            ],
            volumeName: 'STRING_VALUE', /* required */
            onDemand: true || false
          },
          /* more items */
        ]
      },
      dataviewName: 'STRING_VALUE'
    },
    /* more items */
  ],
  environmentId: 'STRING_VALUE', /* required */
  clientToken: 'STRING_VALUE',
  deploymentConfiguration: {
    deploymentStrategy: NO_RESTART | ROLLING /* required */
  }
};
finspace.updateKxClusterDatabases(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • environmentId — (String)

      The unique identifier of a kdb environment.

    • clusterName — (String)

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

    • clientToken — (String)

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

      If a token is not provided, the SDK will use a version 4 UUID.
    • databases — (Array<map>)

      The structure of databases mounted on the cluster.

      • databaseNamerequired — (String)

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

      • cacheConfigurations — (Array<map>)

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

        • cacheTyperequired — (String)

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

          • CACHE_1000 – This type provides at least 1000 MB/s disk access throughput.

        • dbPathsrequired — (Array<String>)

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

        • dataviewName — (String)

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

      • changesetId — (String)

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

      • dataviewName — (String)

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

      • dataviewConfiguration — (map)

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

        • dataviewName — (String)

          The unique identifier of the dataview.

        • dataviewVersionId — (String)

          The version of the dataview corresponding to a given changeset.

        • changesetId — (String)

          A unique identifier for the changeset.

        • segmentConfigurations — (Array<map>)

          The db path and volume configuration for the segmented database.

          • dbPathsrequired — (Array<String>)

            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.

          • volumeNamerequired — (String)

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

          • onDemand — (Boolean)

            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.

    • deploymentConfiguration — (map)

      The configuration that allows you to choose how you want to update the databases on a cluster.

      • deploymentStrategyrequired — (String)

        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.

        Possible values include:
        • "NO_RESTART"
        • "ROLLING"

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

updateKxDatabase(params = {}, callback) ⇒ AWS.Request

Updates information for the given kdb database.

Service Reference:

Examples:

Calling the updateKxDatabase operation

var params = {
  clientToken: 'STRING_VALUE', /* required */
  databaseName: 'STRING_VALUE', /* required */
  environmentId: 'STRING_VALUE', /* required */
  description: 'STRING_VALUE'
};
finspace.updateKxDatabase(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • environmentId — (String)

      A unique identifier for the kdb environment.

    • databaseName — (String)

      The name of the kdb database.

    • description — (String)

      A description of the database.

    • clientToken — (String)

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

      If a token is not provided, the SDK will use a version 4 UUID.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • databaseName — (String)

        The name of the kdb database.

      • environmentId — (String)

        A unique identifier for the kdb environment.

      • description — (String)

        A description of the database.

      • lastModifiedTimestamp — (Date)

        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.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

updateKxDataview(params = {}, callback) ⇒ AWS.Request

Updates the specified dataview. The dataviews get automatically updated when any new changesets are ingested. Each update of the dataview creates a new version, including changeset details and cache configurations

Service Reference:

Examples:

Calling the updateKxDataview operation

var params = {
  clientToken: 'STRING_VALUE', /* required */
  databaseName: 'STRING_VALUE', /* required */
  dataviewName: 'STRING_VALUE', /* required */
  environmentId: 'STRING_VALUE', /* required */
  changesetId: 'STRING_VALUE',
  description: 'STRING_VALUE',
  segmentConfigurations: [
    {
      dbPaths: [ /* required */
        'STRING_VALUE',
        /* more items */
      ],
      volumeName: 'STRING_VALUE', /* required */
      onDemand: true || false
    },
    /* more items */
  ]
};
finspace.updateKxDataview(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • environmentId — (String)

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

    • databaseName — (String)

      The name of the database.

    • dataviewName — (String)

      The name of the dataview that you want to update.

    • description — (String)

      The description for a dataview.

    • changesetId — (String)

      A unique identifier for the changeset.

    • segmentConfigurations — (Array<map>)

      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.

      • dbPathsrequired — (Array<String>)

        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.

      • volumeNamerequired — (String)

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

      • onDemand — (Boolean)

        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.

    • clientToken — (String)

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

      If a token is not provided, the SDK will use a version 4 UUID.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • environmentId — (String)

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

      • databaseName — (String)

        The name of the database.

      • dataviewName — (String)

        The name of the database under which the dataview was created.

      • azMode — (String)

        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.

        Possible values include:
        • "SINGLE"
        • "MULTI"
      • availabilityZoneId — (String)

        The identifier of the availability zones.

      • changesetId — (String)

        A unique identifier for the changeset.

      • segmentConfigurations — (Array<map>)

        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.

        • dbPathsrequired — (Array<String>)

          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.

        • volumeNamerequired — (String)

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

        • onDemand — (Boolean)

          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.

      • activeVersions — (Array<map>)

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

        • changesetId — (String)

          A unique identifier for the changeset.

        • segmentConfigurations — (Array<map>)

          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.

          • dbPathsrequired — (Array<String>)

            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.

          • volumeNamerequired — (String)

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

          • onDemand — (Boolean)

            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.

        • attachedClusters — (Array<String>)

          The list of clusters that are currently using this dataview.

        • createdTimestamp — (Date)

          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.

        • versionId — (String)

          A unique identifier of the active version.

      • status — (String)

        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.

        Possible values include:
        • "CREATING"
        • "ACTIVE"
        • "UPDATING"
        • "FAILED"
        • "DELETING"
      • autoUpdate — (Boolean)

        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.

      • readWrite — (Boolean)

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

      • description — (String)

        A description of the dataview.

      • createdTimestamp — (Date)

        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.

      • lastModifiedTimestamp — (Date)

        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.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

updateKxEnvironment(params = {}, callback) ⇒ AWS.Request

Updates information for the given kdb environment.

Service Reference:

Examples:

Calling the updateKxEnvironment operation

var params = {
  environmentId: 'STRING_VALUE', /* required */
  clientToken: 'STRING_VALUE',
  description: 'STRING_VALUE',
  name: 'STRING_VALUE'
};
finspace.updateKxEnvironment(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • environmentId — (String)

      A unique identifier for the kdb environment.

    • name — (String)

      The name of the kdb environment.

    • description — (String)

      A description of the kdb environment.

    • clientToken — (String)

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

      If a token is not provided, the SDK will use a version 4 UUID.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • name — (String)

        The name of the kdb environment.

      • environmentId — (String)

        A unique identifier for the kdb environment.

      • awsAccountId — (String)

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

      • status — (String)

        The status of the kdb environment.

        Possible values include:
        • "CREATE_REQUESTED"
        • "CREATING"
        • "CREATED"
        • "DELETE_REQUESTED"
        • "DELETING"
        • "DELETED"
        • "FAILED_CREATION"
        • "RETRY_DELETION"
        • "FAILED_DELETION"
        • "UPDATE_NETWORK_REQUESTED"
        • "UPDATING_NETWORK"
        • "FAILED_UPDATING_NETWORK"
        • "SUSPENDED"
      • tgwStatus — (String)

        The status of the network configuration.

        Possible values include:
        • "NONE"
        • "UPDATE_REQUESTED"
        • "UPDATING"
        • "FAILED_UPDATE"
        • "SUCCESSFULLY_UPDATED"
      • dnsStatus — (String)

        The status of DNS configuration.

        Possible values include:
        • "NONE"
        • "UPDATE_REQUESTED"
        • "UPDATING"
        • "FAILED_UPDATE"
        • "SUCCESSFULLY_UPDATED"
      • errorMessage — (String)

        Specifies the error message that appears if a flow fails.

      • description — (String)

        The description of the environment.

      • environmentArn — (String)

        The ARN identifier of the environment.

      • kmsKeyId — (String)

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

      • dedicatedServiceAccountId — (String)

        A unique identifier for the AWS environment infrastructure account.

      • transitGatewayConfiguration — (map)

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

        • transitGatewayIDrequired — (String)

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

        • routableCIDRSpacerequired — (String)

          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.

        • attachmentNetworkAclConfiguration — (Array<map>)

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

          • ruleNumberrequired — (Integer)

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

          • protocolrequired — (String)

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

          • ruleActionrequired — (String)

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

            Possible values include:
            • "allow"
            • "deny"
          • portRange — (map)

            The range of ports the rule applies to.

            • fromrequired — (Integer)

              The first port in the range.

            • torequired — (Integer)

              The last port in the range.

          • icmpTypeCode — (map)

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

            • typerequired — (Integer)

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

            • coderequired — (Integer)

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

          • cidrBlockrequired — (String)

            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.

      • customDNSConfiguration — (Array<map>)

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

        • customDNSServerNamerequired — (String)

          The name of the DNS server.

        • customDNSServerIPrequired — (String)

          The IP address of the DNS server.

      • creationTimestamp — (Date)

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

      • updateTimestamp — (Date)

        The timestamp at which the kdb environment was updated.

      • availabilityZoneIds — (Array<String>)

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

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

updateKxEnvironmentNetwork(params = {}, callback) ⇒ AWS.Request

Updates environment network to connect to your internal network by using a transit gateway. This API supports request to create a transit gateway attachment from FinSpace VPC to your transit gateway ID and create a custom Route-53 outbound resolvers.

Once you send a request to update a network, you cannot change it again. Network update might require termination of any clusters that are running in the existing network.

Service Reference:

Examples:

Calling the updateKxEnvironmentNetwork operation

var params = {
  environmentId: 'STRING_VALUE', /* required */
  clientToken: 'STRING_VALUE',
  customDNSConfiguration: [
    {
      customDNSServerIP: 'STRING_VALUE', /* required */
      customDNSServerName: 'STRING_VALUE' /* required */
    },
    /* more items */
  ],
  transitGatewayConfiguration: {
    routableCIDRSpace: 'STRING_VALUE', /* required */
    transitGatewayID: 'STRING_VALUE', /* required */
    attachmentNetworkAclConfiguration: [
      {
        cidrBlock: 'STRING_VALUE', /* required */
        protocol: 'STRING_VALUE', /* required */
        ruleAction: allow | deny, /* required */
        ruleNumber: 'NUMBER_VALUE', /* required */
        icmpTypeCode: {
          code: 'NUMBER_VALUE', /* required */
          type: 'NUMBER_VALUE' /* required */
        },
        portRange: {
          from: 'NUMBER_VALUE', /* required */
          to: 'NUMBER_VALUE' /* required */
        }
      },
      /* more items */
    ]
  }
};
finspace.updateKxEnvironmentNetwork(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • environmentId — (String)

      A unique identifier for the kdb environment.

    • transitGatewayConfiguration — (map)

      Specifies the transit gateway and network configuration to connect the kdb environment to an internal network.

      • transitGatewayIDrequired — (String)

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

      • routableCIDRSpacerequired — (String)

        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.

      • attachmentNetworkAclConfiguration — (Array<map>)

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

        • ruleNumberrequired — (Integer)

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

        • protocolrequired — (String)

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

        • ruleActionrequired — (String)

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

          Possible values include:
          • "allow"
          • "deny"
        • portRange — (map)

          The range of ports the rule applies to.

          • fromrequired — (Integer)

            The first port in the range.

          • torequired — (Integer)

            The last port in the range.

        • icmpTypeCode — (map)

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

          • typerequired — (Integer)

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

          • coderequired — (Integer)

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

        • cidrBlockrequired — (String)

          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.

    • customDNSConfiguration — (Array<map>)

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

      • customDNSServerNamerequired — (String)

        The name of the DNS server.

      • customDNSServerIPrequired — (String)

        The IP address of the DNS server.

    • clientToken — (String)

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

      If a token is not provided, the SDK will use a version 4 UUID.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • name — (String)

        The name of the kdb environment.

      • environmentId — (String)

        A unique identifier for the kdb environment.

      • awsAccountId — (String)

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

      • status — (String)

        The status of the kdb environment.

        Possible values include:
        • "CREATE_REQUESTED"
        • "CREATING"
        • "CREATED"
        • "DELETE_REQUESTED"
        • "DELETING"
        • "DELETED"
        • "FAILED_CREATION"
        • "RETRY_DELETION"
        • "FAILED_DELETION"
        • "UPDATE_NETWORK_REQUESTED"
        • "UPDATING_NETWORK"
        • "FAILED_UPDATING_NETWORK"
        • "SUSPENDED"
      • tgwStatus — (String)

        The status of the network configuration.

        Possible values include:
        • "NONE"
        • "UPDATE_REQUESTED"
        • "UPDATING"
        • "FAILED_UPDATE"
        • "SUCCESSFULLY_UPDATED"
      • dnsStatus — (String)

        The status of DNS configuration.

        Possible values include:
        • "NONE"
        • "UPDATE_REQUESTED"
        • "UPDATING"
        • "FAILED_UPDATE"
        • "SUCCESSFULLY_UPDATED"
      • errorMessage — (String)

        Specifies the error message that appears if a flow fails.

      • description — (String)

        The description of the environment.

      • environmentArn — (String)

        The ARN identifier of the environment.

      • kmsKeyId — (String)

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

      • dedicatedServiceAccountId — (String)

        A unique identifier for the AWS environment infrastructure account.

      • transitGatewayConfiguration — (map)

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

        • transitGatewayIDrequired — (String)

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

        • routableCIDRSpacerequired — (String)

          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.

        • attachmentNetworkAclConfiguration — (Array<map>)

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

          • ruleNumberrequired — (Integer)

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

          • protocolrequired — (String)

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

          • ruleActionrequired — (String)

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

            Possible values include:
            • "allow"
            • "deny"
          • portRange — (map)

            The range of ports the rule applies to.

            • fromrequired — (Integer)

              The first port in the range.

            • torequired — (Integer)

              The last port in the range.

          • icmpTypeCode — (map)

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

            • typerequired — (Integer)

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

            • coderequired — (Integer)

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

          • cidrBlockrequired — (String)

            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.

      • customDNSConfiguration — (Array<map>)

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

        • customDNSServerNamerequired — (String)

          The name of the DNS server.

        • customDNSServerIPrequired — (String)

          The IP address of the DNS server.

      • creationTimestamp — (Date)

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

      • updateTimestamp — (Date)

        The timestamp at which the kdb environment was updated.

      • availabilityZoneIds — (Array<String>)

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

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

updateKxUser(params = {}, callback) ⇒ AWS.Request

Updates the user details. You can only update the IAM role associated with a user.

Service Reference:

Examples:

Calling the updateKxUser operation

var params = {
  environmentId: 'STRING_VALUE', /* required */
  iamRole: 'STRING_VALUE', /* required */
  userName: 'STRING_VALUE', /* required */
  clientToken: 'STRING_VALUE'
};
finspace.updateKxUser(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • environmentId — (String)

      A unique identifier for the kdb environment.

    • userName — (String)

      A unique identifier for the user.

    • iamRole — (String)

      The IAM role ARN that is associated with the user.

    • clientToken — (String)

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

      If a token is not provided, the SDK will use a version 4 UUID.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • userName — (String)

        A unique identifier for the user.

      • userArn — (String)

        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.

      • environmentId — (String)

        A unique identifier for the kdb environment.

      • iamRole — (String)

        The IAM role ARN that is associated with the user.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

updateKxVolume(params = {}, callback) ⇒ AWS.Request

Updates the throughput or capacity of a volume. During the update process, the filesystem might be unavailable for a few minutes. You can retry any operations after the update is complete.

Service Reference:

Examples:

Calling the updateKxVolume operation

var params = {
  environmentId: 'STRING_VALUE', /* required */
  volumeName: 'STRING_VALUE', /* required */
  clientToken: 'STRING_VALUE',
  description: 'STRING_VALUE',
  nas1Configuration: {
    size: 'NUMBER_VALUE',
    type: SSD_1000 | SSD_250 | HDD_12
  }
};
finspace.updateKxVolume(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • environmentId — (String)

      A unique identifier for the kdb environment where you created the storage volume.

    • volumeName — (String)

      A unique identifier for the volume.

    • description — (String)

      A description of the volume.

    • clientToken — (String)

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

      If a token is not provided, the SDK will use a version 4 UUID.
    • nas1Configuration — (map)

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

      • type — (String)

        The type of the network attached storage.

        Possible values include:
        • "SSD_1000"
        • "SSD_250"
        • "HDD_12"
      • size — (Integer)

        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.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • environmentId — (String)

        A unique identifier for the kdb environment where you want to update the volume.

      • volumeName — (String)

        A unique identifier for the volume that you want to update.

      • volumeType — (String)

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

        Possible values include:
        • "NAS_1"
      • volumeArn — (String)

        The ARN identifier of the volume.

      • nas1Configuration — (map)

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

        • type — (String)

          The type of the network attached storage.

          Possible values include:
          • "SSD_1000"
          • "SSD_250"
          • "HDD_12"
        • size — (Integer)

          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.

      • status — (String)

        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.

        Possible values include:
        • "CREATING"
        • "CREATE_FAILED"
        • "ACTIVE"
        • "UPDATING"
        • "UPDATED"
        • "UPDATE_FAILED"
        • "DELETING"
        • "DELETED"
        • "DELETE_FAILED"
      • description — (String)

        The description for the volume.

      • statusReason — (String)

        The error message when a failed state occurs.

      • createdTimestamp — (Date)

        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.

      • azMode — (String)

        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.

        Possible values include:
        • "SINGLE"
        • "MULTI"
      • availabilityZoneIds — (Array<String>)

        The identifier of the availability zones.

      • lastModifiedTimestamp — (Date)

        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.

      • attachedClusters — (Array<map>)

        Specifies the clusters that a volume is attached to.

        • clusterName — (String)

          A unique name for the attached cluster.

        • clusterType — (String)

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

          Possible values include:
          • "HDB"
          • "RDB"
          • "GATEWAY"
          • "GP"
          • "TICKERPLANT"
        • clusterStatus — (String)

          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.

          Possible values include:
          • "PENDING"
          • "CREATING"
          • "CREATE_FAILED"
          • "RUNNING"
          • "UPDATING"
          • "DELETING"
          • "DELETED"
          • "DELETE_FAILED"

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.