update_data_set
¶
update_data_set(
aws_account_id: AwsAccountId,
data_set_id: ResourceId,
name: ResourceName,
physical_table_map: PhysicalTableMap,
import_mode: DataSetImportMode,
*,
config_overrides: Optional[QuickSightClientConfig] = None,
logical_table_map: Optional[LogicalTableMap] = None,
column_groups: Optional[ColumnGroupList] = None,
field_folders: Optional[FieldFolderMap] = None,
row_level_permission_data_set: Optional[RowLevelPermissionDataSet] = None,
row_level_permission_tag_configuration: Optional[
RowLevelPermissionTagConfiguration
] = None,
column_level_permission_rules: Optional[ColumnLevelPermissionRuleList] = None,
data_set_usage_configuration: Optional[DataSetUsageConfiguration] = None,
dataset_parameters: Optional[DatasetParameterList] = None,
performance_configuration: Optional[PerformanceConfiguration] = None,
data_prep_configuration: Optional[DataPrepConfiguration] = None,
semantic_model_configuration: Optional[SemanticModelConfiguration] = None,
unmaterialized_calculated_columns: Optional[
UnmaterializedCalculatedColumnList
] = None,
) -> UpdateDataSetResponse
Updates a dataset. Partial updates are not supported by this operation.
Parameters:
-
aws_account_id(AwsAccountId) –The Amazon Web Services account ID.
-
data_set_id(ResourceId) –The ID for the dataset that you want to update. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.
-
name(ResourceName) –The display name for the dataset.
-
physical_table_map(PhysicalTableMap) –Declares the physical tables that are available in the underlying data sources.
-
logical_table_map(Optional[LogicalTableMap], default:None) –Configures the combination and transformation of the data from the physical tables. This parameter is used with the legacy data preparation experience.
-
import_mode(DataSetImportMode) –Indicates whether you want to import the data into SPICE.
-
column_groups(Optional[ColumnGroupList], default:None) –Groupings of columns that work together in certain Amazon Quick Sight features. Currently, only geospatial hierarchy is supported.
-
field_folders(Optional[FieldFolderMap], default:None) –The folder that contains fields and nested subfolders for your dataset.
-
row_level_permission_data_set(Optional[RowLevelPermissionDataSet], default:None) –The row-level security configuration for the data you want to create. This parameter is used with the legacy data preparation experience.
-
row_level_permission_tag_configuration(Optional[RowLevelPermissionTagConfiguration], default:None) –The configuration of tags on a dataset to set row-level security. Row-level security tags are currently supported for anonymous embedding only. This parameter is used with the legacy data preparation experience.
-
column_level_permission_rules(Optional[ColumnLevelPermissionRuleList], default:None) –A set of one or more definitions of a
ColumnLevelPermissionRule. -
dataset_parameters(Optional[DatasetParameterList], default:None) –The parameter declarations of the dataset.
-
performance_configuration(Optional[PerformanceConfiguration], default:None) –The configuration for the performance optimization of the dataset that contains a
UniqueKeyconfiguration. -
data_prep_configuration(Optional[DataPrepConfiguration], default:None) –The data preparation configuration for the dataset. This configuration defines the source tables, transformation steps, and destination tables used to prepare the data. Required when using the new data preparation experience.
-
semantic_model_configuration(Optional[SemanticModelConfiguration], default:None) –The semantic model configuration for the dataset. This configuration defines how the prepared data is structured for an analysis, including table mappings and row-level security configurations. Required when using the new data preparation experience.
-
unmaterialized_calculated_columns(Optional[UnmaterializedCalculatedColumnList], default:None) –A list of unmaterialized calculated columns for the dataset. These columns are computed at analysis time and are not stored in the prepared data. You can only use this with the new data preparation experience.
Raises:
-
AccessDeniedException–You don't have access to this item. The provided credentials couldn't be validated. You might not be authorized to carry out the request. Make sure that your account is authorized to use the Amazon Quick Sight service, that your policies have the correct permissions, and that you are using the correct credentials.
-
ConflictException–Updating or deleting a resource can cause an inconsistent state.
-
InternalFailureException–An internal failure occurred.
-
InvalidDataSetParameterValueException–An exception thrown when an invalid parameter value is provided for dataset operations.
-
InvalidParameterValueException–One or more parameters has a value that isn't valid.
-
LimitExceededException–A limit is exceeded.
-
ResourceNotFoundException–One or more resources can't be found.
-
ThrottlingException–Access is throttled.
-
UnsupportedUserEditionException–This error indicates that you are calling an operation on an Amazon Quick Suite subscription where the edition doesn't include support for that operation. Amazon Quick Suite currently has Standard Edition and Enterprise Edition. Not every operation and capability is available in every edition.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_quicksight/_services/quick_sight.py
20381 20382 20383 20384 20385 20386 20387 20388 20389 20390 20391 20392 20393 20394 20395 20396 20397 20398 20399 20400 20401 20402 20403 20404 20405 20406 20407 20408 20409 20410 20411 20412 20413 20414 20415 20416 20417 20418 20419 20420 20421 20422 20423 20424 20425 20426 20427 20428 20429 20430 20431 20432 20433 20434 20435 20436 20437 20438 20439 20440 20441 20442 20443 20444 20445 20446 20447 20448 20449 20450 20451 20452 20453 20454 20455 20456 20457 20458 20459 20460 20461 20462 20463 20464 20465 20466 20467 20468 20469 20470 20471 20472 20473 20474 20475 20476 20477 20478 20479 20480 20481 20482 20483 20484 20485 20486 20487 20488 20489 20490 20491 20492 20493 20494 20495 20496 20497 20498 20499 20500 20501 20502 20503 20504 20505 20506 20507 20508 20509 20510 20511 20512 20513 20514 20515 20516 20517 20518 20519 20520 20521 20522 20523 20524 20525 20526 20527 20528 20529 | |