create_data_product_revision
¶
create_data_product_revision(
domain_identifier: DomainId,
identifier: DataProductId,
name: DataProductName,
*,
config_overrides: Optional[DataZoneClientConfig] = None,
description: Optional[DataProductDescription] = None,
glossary_terms: Optional[GlossaryTerms] = None,
items: Optional[DataProductItems] = None,
forms_input: Optional[FormInputList] = None,
client_token: Optional[ClientToken] = None,
) -> CreateDataProductRevisionOutput
Creates a data product revision.
Prerequisites:
-
The original data product must exist in the given domain.
-
User must have permissions on the data product.
-
The domain must be valid and accessible.
-
The new revision name must comply with naming constraints (if required).
Parameters:
-
domain_identifier(DomainId) –The ID of the domain where the data product revision is created.
-
identifier(DataProductId) –The ID of the data product revision.
-
name(DataProductName) –The name of the data product revision.
-
description(Optional[DataProductDescription], default:None) –The description of the data product revision.
-
glossary_terms(Optional[GlossaryTerms], default:None) –The glossary terms of the data product revision.
-
items(Optional[DataProductItems], default:None) –The data assets of the data product revision.
-
forms_input(Optional[FormInputList], default:None) –The metadata forms of the data product revision.
-
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.
-
ResourceNotFoundException–The specified resource cannot be found.
-
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
12168 12169 12170 12171 12172 12173 12174 12175 12176 12177 12178 12179 12180 12181 12182 12183 12184 12185 12186 12187 12188 12189 12190 12191 12192 12193 12194 12195 12196 12197 12198 12199 12200 12201 12202 12203 12204 12205 12206 12207 12208 12209 12210 12211 12212 12213 12214 12215 12216 12217 12218 12219 12220 12221 12222 12223 12224 12225 12226 12227 12228 12229 12230 12231 12232 12233 12234 12235 12236 12237 12238 12239 12240 12241 12242 12243 12244 12245 12246 12247 12248 12249 12250 12251 12252 12253 12254 12255 12256 12257 12258 12259 12260 12261 12262 12263 12264 12265 12266 12267 12268 12269 12270 12271 12272 12273 12274 12275 12276 12277 | |