update_data_source
async
¶
update_data_source(
aws_account_id: AwsAccountId,
data_source_id: ResourceId,
name: ResourceName,
*,
config_overrides: Optional[AsyncQuickSightClientConfig] = 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/async_quick_sight.py
20879 20880 20881 20882 20883 20884 20885 20886 20887 20888 20889 20890 20891 20892 20893 20894 20895 20896 20897 20898 20899 20900 20901 20902 20903 20904 20905 20906 20907 20908 20909 20910 20911 20912 20913 20914 20915 20916 20917 20918 20919 20920 20921 20922 20923 20924 20925 20926 20927 20928 20929 20930 20931 20932 20933 20934 20935 20936 20937 20938 20939 20940 20941 20942 20943 20944 20945 20946 20947 20948 20949 20950 20951 20952 20953 20954 20955 20956 20957 20958 20959 20960 20961 20962 20963 20964 20965 20966 20967 20968 20969 | |