finspace / Client / create_kx_environment

create_kx_environment#

finspace.Client.create_kx_environment(**kwargs)#

Creates a managed kdb environment for the account.

See also: AWS API Documentation

Request Syntax

response = client.create_kx_environment(
    name='string',
    description='string',
    kmsKeyId='string',
    tags={
        'string': 'string'
    },
    clientToken='string'
)
Parameters:
  • name (string) –

    [REQUIRED]

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

  • description (string) – A description for the kdb environment.

  • kmsKeyId (string) –

    [REQUIRED]

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

  • tags (dict) –

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

    • (string) –

      • (string) –

  • clientToken (string) – A token that ensures idempotency. This token expires in 10 minutes.

Return type:

dict

Returns:

Response Syntax

{
    'name': 'string',
    'status': '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',
    'description': 'string',
    'environmentArn': 'string',
    'kmsKeyId': 'string',
    'creationTimestamp': datetime(2015, 1, 1)
}

Response Structure

  • (dict) –

    • name (string) –

      The name of the kdb environment.

    • status (string) –

      The status of the kdb environment.

    • 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 (datetime) –

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

Exceptions

  • finspace.Client.exceptions.InternalServerException

  • finspace.Client.exceptions.ValidationException

  • finspace.Client.exceptions.AccessDeniedException

  • finspace.Client.exceptions.ThrottlingException

  • finspace.Client.exceptions.ServiceQuotaExceededException

  • finspace.Client.exceptions.LimitExceededException

  • finspace.Client.exceptions.ConflictException