update_designation
¶
update_designation(
domain_identifier: DomainId,
identifier: DesignationId,
*,
config_overrides: Optional[DataZoneClientConfig] = 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/data_zone.py
10623 10624 10625 10626 10627 10628 10629 10630 10631 10632 10633 10634 10635 10636 10637 10638 10639 10640 10641 10642 10643 10644 10645 10646 10647 10648 10649 10650 10651 10652 10653 10654 10655 10656 10657 10658 10659 10660 10661 10662 10663 10664 10665 10666 10667 10668 10669 10670 10671 10672 10673 10674 10675 10676 10677 10678 10679 10680 10681 10682 10683 10684 10685 10686 10687 10688 10689 10690 10691 10692 10693 10694 10695 10696 10697 10698 10699 10700 10701 10702 10703 10704 10705 10706 10707 10708 10709 10710 10711 10712 10713 10714 | |