create_domain_unit
¶
create_domain_unit(
domain_identifier: DomainId,
name: DomainUnitName,
parent_domain_unit_identifier: DomainUnitId,
*,
config_overrides: Optional[DataZoneClientConfig] = None,
description: Optional[DomainUnitDescription] = None,
client_token: Optional[ClientToken] = None,
) -> CreateDomainUnitOutput
Creates a domain unit in Amazon DataZone.
Parameters:
-
domain_identifier(DomainId) –The ID of the domain where you want to crate a domain unit.
-
name(DomainUnitName) –The name of the domain unit.
-
parent_domain_unit_identifier(DomainUnitId) –The ID of the parent domain unit.
-
description(Optional[DomainUnitDescription], default:None) –The description of the domain unit.
-
client_token(Optional[ClientToken], default:None) –A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.
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.
-
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/data_zone.py
13419 13420 13421 13422 13423 13424 13425 13426 13427 13428 13429 13430 13431 13432 13433 13434 13435 13436 13437 13438 13439 13440 13441 13442 13443 13444 13445 13446 13447 13448 13449 13450 13451 13452 13453 13454 13455 13456 13457 13458 13459 13460 13461 13462 13463 13464 13465 13466 13467 13468 13469 13470 13471 13472 13473 13474 13475 13476 13477 13478 13479 13480 13481 13482 13483 13484 13485 13486 13487 13488 13489 13490 13491 13492 13493 13494 13495 13496 13497 13498 13499 13500 13501 13502 13503 13504 13505 13506 | |