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
13686 13687 13688 13689 13690 13691 13692 13693 13694 13695 13696 13697 13698 13699 13700 13701 13702 13703 13704 13705 13706 13707 13708 13709 13710 13711 13712 13713 13714 13715 13716 13717 13718 13719 13720 13721 13722 13723 13724 13725 13726 13727 13728 13729 13730 13731 13732 13733 13734 13735 13736 13737 13738 13739 13740 13741 13742 13743 13744 13745 13746 13747 13748 13749 13750 13751 13752 13753 13754 13755 13756 13757 13758 13759 13760 13761 13762 13763 13764 13765 13766 13767 13768 13769 13770 13771 13772 13773 13774 13775 13776 | |