update_data_source
¶
update_data_source(
aws_account_id: AwsAccountId,
data_source_id: ResourceId,
name: ResourceName,
*,
config_overrides: Optional[QuickSightClientConfig] = None,
data_source_parameters: Optional[DataSourceParameters] = None,
credentials: Optional[DataSourceCredentials] = None,
vpc_connection_properties: Optional[VpcConnectionProperties] = None,
ssl_properties: Optional[SslProperties] = None,
) -> UpdateDataSourceResponse
Updates a data source.
Parameters:
-
aws_account_id(AwsAccountId) –The Amazon Web Services account ID.
-
data_source_id(ResourceId) –The ID of the data source. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.
-
name(ResourceName) –A display name for the data source.
-
data_source_parameters(Optional[DataSourceParameters], default:None) –The parameters that Amazon Quick Sight uses to connect to your underlying source.
-
credentials(Optional[DataSourceCredentials], default:None) –The credentials that Amazon Quick Sight that uses to connect to your underlying source. Currently, only credentials based on user name and password are supported.
-
vpc_connection_properties(Optional[VpcConnectionProperties], default:None) –Use this parameter only when you want Amazon Quick Sight to use a VPC connection when connecting to your underlying source.
-
ssl_properties(Optional[SslProperties], default:None) –Secure Socket Layer (SSL) properties that apply when Amazon Quick Sight connects to your underlying source.
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.
-
CustomerManagedKeyUnavailableException–The customer managed key that is registered to your Amazon Quick Sight account is unavailable.
-
InternalFailureException–An internal failure occurred.
-
InvalidParameterValueException–One or more parameters has a value that isn't valid.
-
ResourceNotFoundException–One or more resources can't be found.
-
ThrottlingException–Access is throttled.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_quicksight/_services/quick_sight.py
18847 18848 18849 18850 18851 18852 18853 18854 18855 18856 18857 18858 18859 18860 18861 18862 18863 18864 18865 18866 18867 18868 18869 18870 18871 18872 18873 18874 18875 18876 18877 18878 18879 18880 18881 18882 18883 18884 18885 18886 18887 18888 18889 18890 18891 18892 18893 18894 18895 18896 18897 18898 18899 18900 18901 18902 18903 18904 18905 18906 18907 18908 18909 18910 18911 18912 18913 18914 18915 18916 18917 18918 18919 18920 18921 18922 18923 18924 18925 18926 18927 18928 18929 18930 18931 18932 18933 18934 18935 18936 | |