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
13037 13038 13039 13040 13041 13042 13043 13044 13045 13046 13047 13048 13049 13050 13051 13052 13053 13054 13055 13056 13057 13058 13059 13060 13061 13062 13063 13064 13065 13066 13067 13068 13069 13070 13071 13072 13073 13074 13075 13076 13077 13078 13079 13080 13081 13082 13083 13084 13085 13086 13087 13088 13089 13090 13091 13092 13093 13094 13095 13096 13097 13098 13099 13100 13101 13102 13103 13104 13105 13106 13107 13108 13109 13110 13111 13112 13113 13114 13115 13116 13117 13118 13119 13120 13121 13122 13123 13124 13125 13126 | |