update_domain_unit
async
¶
update_domain_unit(
domain_identifier: DomainId,
identifier: DomainUnitId,
*,
config_overrides: Optional[AsyncDataZoneClientConfig] = None,
description: Optional[DomainUnitDescription] = None,
name: Optional[DomainUnitName] = None,
) -> UpdateDomainUnitOutput
Updates the domain unit.
Parameters:
-
domain_identifier(DomainId) –The ID of the domain where you want to update a domain unit.
-
identifier(DomainUnitId) –The ID of the domain unit that you want to update.
-
description(Optional[DomainUnitDescription], default:None) –The description of the domain unit that you want to update.
-
name(Optional[DomainUnitName], default:None) –The name of the domain unit that you want to update.
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.
-
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
14227 14228 14229 14230 14231 14232 14233 14234 14235 14236 14237 14238 14239 14240 14241 14242 14243 14244 14245 14246 14247 14248 14249 14250 14251 14252 14253 14254 14255 14256 14257 14258 14259 14260 14261 14262 14263 14264 14265 14266 14267 14268 14269 14270 14271 14272 14273 14274 14275 14276 14277 14278 14279 14280 14281 14282 14283 14284 14285 14286 14287 14288 14289 14290 14291 14292 14293 14294 14295 14296 14297 14298 14299 14300 14301 14302 14303 14304 14305 14306 14307 14308 14309 14310 14311 | |