update_data_source
async
¶
update_data_source(
domain_identifier: DomainId,
identifier: DataSourceId,
*,
config_overrides: Optional[AsyncDataZoneClientConfig] = None,
name: Optional[Name] = None,
description: Optional[Description] = None,
enable_setting: Optional[EnableSetting] = None,
publish_on_import: Optional[bool] = None,
asset_forms_input: Optional[FormInputList] = None,
schedule: Optional[ScheduleConfiguration] = None,
configuration: Optional[DataSourceConfigurationInput] = None,
recommendation: Optional[RecommendationConfiguration] = None,
retain_permissions_on_revoke_failure: Optional[bool] = None,
) -> UpdateDataSourceOutput
Updates the specified data source in Amazon DataZone.
Parameters:
-
domain_identifier(DomainId) –The identifier of the domain in which to update a data source.
-
identifier(DataSourceId) –The identifier of the data source to be updated.
-
name(Optional[Name], default:None) –The name to be updated as part of the
UpdateDataSourceaction. -
description(Optional[Description], default:None) –The description to be updated as part of the
UpdateDataSourceaction. -
enable_setting(Optional[EnableSetting], default:None) –The enable setting to be updated as part of the
UpdateDataSourceaction. -
publish_on_import(Optional[bool], default:None) –The publish on import setting to be updated as part of the
UpdateDataSourceaction. -
asset_forms_input(Optional[FormInputList], default:None) –The asset forms to be updated as part of the
UpdateDataSourceaction. -
schedule(Optional[ScheduleConfiguration], default:None) –The schedule to be updated as part of the
UpdateDataSourceaction. -
configuration(Optional[DataSourceConfigurationInput], default:None) –The configuration to be updated as part of the
UpdateDataSourceaction. -
recommendation(Optional[RecommendationConfiguration], default:None) –The recommendation to be updated as part of the
UpdateDataSourceaction. -
retain_permissions_on_revoke_failure(Optional[bool], default:None) –Specifies that the granted permissions are retained in case of a self-subscribe functionality failure for a data source.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
ThrottlingException–The request was denied due to request throttling.
-
UnauthorizedException–You do not have permission to perform this action.
-
ConflictException–There is a conflict while performing this action.
-
InternalServerException–The request has failed because of an unknown error, exception or failure.
-
ResourceNotFoundException–The specified resource cannot be found.
-
ServiceQuotaExceededException–The request has exceeded the specified service quota.
-
ValidationException–The input fails to satisfy the constraints specified by the Amazon Web Services service.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_datazone/_services/async_data_zone.py
13118 13119 13120 13121 13122 13123 13124 13125 13126 13127 13128 13129 13130 13131 13132 13133 13134 13135 13136 13137 13138 13139 13140 13141 13142 13143 13144 13145 13146 13147 13148 13149 13150 13151 13152 13153 13154 13155 13156 13157 13158 13159 13160 13161 13162 13163 13164 13165 13166 13167 13168 13169 13170 13171 13172 13173 13174 13175 13176 13177 13178 13179 13180 13181 13182 13183 13184 13185 13186 13187 13188 13189 13190 13191 13192 13193 13194 13195 13196 13197 13198 13199 13200 13201 13202 13203 13204 13205 13206 13207 13208 13209 13210 13211 13212 13213 13214 13215 13216 13217 13218 13219 13220 13221 13222 13223 13224 13225 13226 13227 13228 13229 13230 13231 13232 13233 13234 13235 13236 13237 13238 13239 13240 13241 | |