update_data_set
async
¶
update_data_set(
aws_account_id: AwsAccountId,
data_set_id: ResourceId,
name: ResourceName,
physical_table_map: PhysicalTableMap,
import_mode: DataSetImportMode,
*,
config_overrides: Optional[AsyncQuickSightClientConfig] = 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/async_quick_sight.py
20662 20663 20664 20665 20666 20667 20668 20669 20670 20671 20672 20673 20674 20675 20676 20677 20678 20679 20680 20681 20682 20683 20684 20685 20686 20687 20688 20689 20690 20691 20692 20693 20694 20695 20696 20697 20698 20699 20700 20701 20702 20703 20704 20705 20706 20707 20708 20709 20710 20711 20712 20713 20714 20715 20716 20717 20718 20719 20720 20721 20722 20723 20724 20725 20726 20727 20728 20729 20730 20731 20732 20733 20734 20735 20736 20737 20738 20739 20740 20741 20742 20743 20744 20745 20746 20747 20748 20749 20750 20751 20752 20753 20754 20755 20756 20757 20758 20759 20760 20761 20762 20763 20764 20765 20766 20767 20768 20769 20770 20771 20772 20773 20774 20775 20776 20777 20778 20779 20780 20781 20782 20783 20784 20785 20786 20787 20788 20789 20790 20791 20792 20793 20794 20795 20796 20797 20798 20799 20800 20801 20802 20803 20804 20805 20806 20807 20808 20809 20810 20811 | |