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,
) -> 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.
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
18640 18641 18642 18643 18644 18645 18646 18647 18648 18649 18650 18651 18652 18653 18654 18655 18656 18657 18658 18659 18660 18661 18662 18663 18664 18665 18666 18667 18668 18669 18670 18671 18672 18673 18674 18675 18676 18677 18678 18679 18680 18681 18682 18683 18684 18685 18686 18687 18688 18689 18690 18691 18692 18693 18694 18695 18696 18697 18698 18699 18700 18701 18702 18703 18704 18705 18706 18707 18708 18709 18710 18711 18712 18713 18714 18715 18716 18717 18718 18719 18720 18721 18722 18723 18724 18725 18726 18727 18728 18729 18730 18731 18732 18733 18734 18735 18736 18737 18738 18739 18740 18741 18742 18743 18744 18745 18746 18747 18748 18749 18750 18751 18752 18753 18754 18755 18756 18757 18758 18759 18760 18761 18762 18763 18764 18765 18766 18767 18768 18769 18770 18771 18772 18773 18774 18775 18776 18777 18778 18779 18780 | |