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
13915 13916 13917 13918 13919 13920 13921 13922 13923 13924 13925 13926 13927 13928 13929 13930 13931 13932 13933 13934 13935 13936 13937 13938 13939 13940 13941 13942 13943 13944 13945 13946 13947 13948 13949 13950 13951 13952 13953 13954 13955 13956 13957 13958 13959 13960 13961 13962 13963 13964 13965 13966 13967 13968 13969 13970 13971 13972 13973 13974 13975 13976 13977 13978 13979 13980 13981 13982 13983 13984 13985 13986 13987 13988 13989 13990 13991 13992 13993 13994 13995 13996 13997 13998 13999 14000 14001 14002 | |