publish_data_transformation_profile
¶
publish_data_transformation_profile(
profile_id: ProfileIdString,
source_format: SourceFormat,
*,
config_overrides: Optional[HealthLakeClientConfig] = None,
from_existing_version: Optional[ProfileVersion] = None,
change_description: Optional[ChangeDescription] = None,
) -> PublishDataTransformationProfileResponse
Promotes the current DRAFT version of a data transformation profile to a new immutable published version. Also supports rollback by publishing from a previously published version.
Parameters:
-
profile_id(ProfileIdString) –The unique identifier of the profile to publish.
-
source_format(SourceFormat) –The source data format of the profile.
-
from_existing_version(Optional[ProfileVersion], default:None) –The version number of a previously published version to republish as the new latest version. Use this parameter for rollback scenarios. If you omit this parameter, the service publishes the current DRAFT version.
-
change_description(Optional[ChangeDescription], default:None) –A description of what changed or why this version is being published.
Raises:
-
AccessDeniedException–Access is denied. Your account is not authorized to perform this operation.
-
InternalServerException–An unknown internal error occurred in the service.
-
ResourceNotFoundException–The requested data store was not found.
-
ServiceQuotaExceededException–The request exceeds the service quota.
-
ThrottlingException–The user has exceeded their maximum number of allowed calls to the given API.
-
ValidationException–The user input parameter was invalid.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_healthlake/_services/health_lake.py
1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 | |