create_domain
async
¶
create_domain(
name: str,
*,
config_overrides: Optional[AsyncDataZoneClientConfig] = None,
description: Optional[str] = None,
single_sign_on: Optional[SingleSignOn] = None,
domain_execution_role: Optional[RoleArn] = None,
kms_key_identifier: Optional[KmsKeyArn] = None,
tags: Optional[Tags] = None,
domain_version: Optional[DomainVersion] = None,
service_role: Optional[RoleArn] = None,
client_token: Optional[str] = None,
) -> CreateDomainOutput
Creates an Amazon DataZone domain.
Parameters:
-
name(str) –The name of the Amazon DataZone domain.
-
description(Optional[str], default:None) –The description of the Amazon DataZone domain.
-
single_sign_on(Optional[SingleSignOn], default:None) –The single-sign on configuration of the Amazon DataZone domain.
-
domain_execution_role(Optional[RoleArn], default:None) –The domain execution role that is created when an Amazon DataZone domain is created. The domain execution role is created in the Amazon Web Services account that houses the Amazon DataZone domain.
-
kms_key_identifier(Optional[KmsKeyArn], default:None) –The identifier of the Amazon Web Services Key Management Service (KMS) key that is used to encrypt the Amazon DataZone domain, metadata, and reporting data.
-
tags(Optional[Tags], default:None) –The tags specified for the Amazon DataZone domain.
-
domain_version(Optional[DomainVersion], default:None) –The version of the domain that is created.
-
service_role(Optional[RoleArn], default:None) –The service role of the domain that is created.
-
client_token(Optional[str], 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.
-
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
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 13242 13243 13244 13245 13246 13247 13248 13249 13250 13251 13252 13253 13254 13255 13256 13257 13258 13259 13260 13261 13262 13263 13264 13265 13266 13267 13268 13269 13270 13271 13272 13273 13274 | |