update_designation
async
¶
update_designation(
domain_identifier: DomainId,
identifier: DesignationId,
*,
config_overrides: Optional[AsyncDataZoneClientConfig] = None,
name: Optional[DesignationName] = None,
description: Optional[Description] = None,
policy: Optional[CedarDesignationPolicy] = None,
deletion_protection: Optional[bool] = None,
) -> UpdateDesignationOutput
Updates an existing user-created designation. Managed designations cannot be modified. Omit a field to leave its current value unchanged.
Parameters:
-
domain_identifier(DomainId) –The identifier of the Amazon DataZone domain that contains the designation to update.
-
identifier(DesignationId) –The unique ID of the designation to update.
-
name(Optional[DesignationName], default:None) –The updated name of the designation. The name must be unique within the domain.
-
description(Optional[Description], default:None) –The updated human-readable description of the designation and its intended use.
-
policy(Optional[CedarDesignationPolicy], default:None) –The updated Cedar permit policy. Omit to keep the existing policy.
-
deletion_protection(Optional[bool], default:None) –Specifies whether deletion protection is enabled for this designation. Omit to keep the existing value.
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
10741 10742 10743 10744 10745 10746 10747 10748 10749 10750 10751 10752 10753 10754 10755 10756 10757 10758 10759 10760 10761 10762 10763 10764 10765 10766 10767 10768 10769 10770 10771 10772 10773 10774 10775 10776 10777 10778 10779 10780 10781 10782 10783 10784 10785 10786 10787 10788 10789 10790 10791 10792 10793 10794 10795 10796 10797 10798 10799 10800 10801 10802 10803 10804 10805 10806 10807 10808 10809 10810 10811 10812 10813 10814 10815 10816 10817 10818 10819 10820 10821 10822 10823 10824 10825 10826 10827 10828 10829 10830 10831 10832 10833 | |