create_data_view
¶
create_data_view(
dataset_id: DatasetId,
destination_type_params: DataViewDestinationTypeParams,
*,
config_overrides: Optional[finspacedataClientConfig] = None,
client_token: Optional[ClientToken] = None,
auto_update: Optional[Boolean] = None,
sort_columns: Optional[SortColumnList] = None,
partition_columns: Optional[PartitionColumnList] = None,
as_of_timestamp: Optional[TimestampEpoch] = None,
) -> CreateDataViewResponse
Creates a Dataview for a Dataset.
Parameters:
-
client_token(Optional[ClientToken], default:None) –A token that ensures idempotency. This token expires in 10 minutes.
-
dataset_id(DatasetId) –The unique Dataset identifier that is used to create a Dataview.
-
auto_update(Optional[Boolean], default:None) –Flag to indicate Dataview should be updated automatically.
-
sort_columns(Optional[SortColumnList], default:None) –Columns to be used for sorting the data.
-
partition_columns(Optional[PartitionColumnList], default:None) –Ordered set of column names used to partition data.
-
as_of_timestamp(Optional[TimestampEpoch], default:None) –Beginning time to use for the Dataview. 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.
-
destination_type_params(DataViewDestinationTypeParams) –Options that define the destination type for the Dataview.
Raises:
-
ConflictException–The request conflicts with an existing resource.
-
InternalServerException–The request processing has failed because of an unknown error, exception or failure.
-
LimitExceededException–A limit has exceeded.
-
ResourceNotFoundException–One or more resources can't be found.
-
ThrottlingException–The request was denied due to request throttling.
-
ValidationException–The input fails to satisfy the constraints specified by an AWS service.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_finspace_data/_services/finspacedata.py
472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 | |