update_dataset
(**kwargs)¶Updates a FinSpace Dataset.
See also: AWS API Documentation
Request Syntax
response = client.update_dataset(
clientToken='string',
datasetId='string',
datasetTitle='string',
kind='TABULAR'|'NON_TABULAR',
datasetDescription='string',
alias='string',
schemaDefinition={
'tabularSchemaConfig': {
'columns': [
{
'dataType': 'STRING'|'CHAR'|'INTEGER'|'TINYINT'|'SMALLINT'|'BIGINT'|'FLOAT'|'DOUBLE'|'DATE'|'DATETIME'|'BOOLEAN'|'BINARY',
'columnName': 'string',
'columnDescription': 'string'
},
],
'primaryKeyColumns': [
'string',
]
}
}
)
A token that ensures idempotency. This token expires in 10 minutes.
This field is autopopulated if not provided.
[REQUIRED]
The unique identifier for the Dataset to update.
[REQUIRED]
A display title for the Dataset.
[REQUIRED]
The format in which the Dataset data is structured.
TABULAR
– Data is structured in a tabular format.NON_TABULAR
– Data is structured in a non-tabular format.Definition for a schema on a tabular Dataset.
The configuration for a schema on a tabular Dataset.
List of column definitions.
The definition of a column in a tabular Dataset.
Data type of a column.
STRING
– A String data type. CHAR
– A char data type. INTEGER
– An integer data type. TINYINT
– A tinyint data type. SMALLINT
– A smallint data type. BIGINT
– A bigint data type. FLOAT
– A float data type. DOUBLE
– A double data type. DATE
– A date data type. DATETIME
– A datetime data type. BOOLEAN
– A boolean data type. BINARY
– A binary data type.The name of a column.
Description for a column.
List of column names used for primary key.
dict
Response Syntax
{
'datasetId': 'string'
}
Response Structure
(dict) -- The response from an UpdateDataset operation
datasetId (string) --
The unique identifier for updated Dataset.
Exceptions
FinSpaceData.Client.exceptions.InternalServerException
FinSpaceData.Client.exceptions.ValidationException
FinSpaceData.Client.exceptions.ThrottlingException
FinSpaceData.Client.exceptions.AccessDeniedException
FinSpaceData.Client.exceptions.ConflictException
FinSpaceData.Client.exceptions.ResourceNotFoundException