create_domain
¶
create_domain(
name: str,
*,
config_overrides: Optional[DataZoneClientConfig] = 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/data_zone.py
13533 13534 13535 13536 13537 13538 13539 13540 13541 13542 13543 13544 13545 13546 13547 13548 13549 13550 13551 13552 13553 13554 13555 13556 13557 13558 13559 13560 13561 13562 13563 13564 13565 13566 13567 13568 13569 13570 13571 13572 13573 13574 13575 13576 13577 13578 13579 13580 13581 13582 13583 13584 13585 13586 13587 13588 13589 13590 13591 13592 13593 13594 13595 13596 13597 13598 13599 13600 13601 13602 13603 13604 13605 13606 13607 13608 13609 13610 13611 13612 13613 13614 13615 13616 13617 13618 13619 13620 13621 13622 | |