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
19106 19107 19108 19109 19110 19111 19112 19113 19114 19115 19116 19117 19118 19119 19120 19121 19122 19123 19124 19125 19126 19127 19128 19129 19130 19131 19132 19133 19134 19135 19136 19137 19138 19139 19140 19141 19142 19143 19144 19145 19146 19147 19148 19149 19150 19151 19152 19153 19154 19155 19156 19157 19158 19159 19160 19161 19162 19163 19164 19165 19166 19167 19168 19169 19170 19171 19172 19173 19174 19175 19176 19177 19178 19179 19180 19181 19182 19183 19184 19185 19186 19187 19188 19189 19190 19191 19192 19193 19194 19195 19196 | |