create_data_product_revision
async
¶
create_data_product_revision(
domain_identifier: DomainId,
identifier: DataProductId,
name: DataProductName,
*,
config_overrides: Optional[AsyncDataZoneClientConfig] = 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/async_data_zone.py
12306 12307 12308 12309 12310 12311 12312 12313 12314 12315 12316 12317 12318 12319 12320 12321 12322 12323 12324 12325 12326 12327 12328 12329 12330 12331 12332 12333 12334 12335 12336 12337 12338 12339 12340 12341 12342 12343 12344 12345 12346 12347 12348 12349 12350 12351 12352 12353 12354 12355 12356 12357 12358 12359 12360 12361 12362 12363 12364 12365 12366 12367 12368 12369 12370 12371 12372 12373 12374 12375 12376 12377 12378 12379 12380 12381 12382 12383 12384 12385 12386 12387 12388 12389 12390 12391 12392 12393 12394 12395 12396 12397 12398 12399 12400 12401 12402 12403 12404 12405 12406 12407 12408 12409 12410 12411 12412 12413 12414 12415 12416 | |