update_rule
async
¶
update_rule(
domain_identifier: DomainId,
identifier: RuleId,
*,
config_overrides: Optional[AsyncDataZoneClientConfig] = None,
name: Optional[RuleName] = None,
description: Optional[Description] = None,
scope: Optional[RuleScope] = None,
detail: Optional[RuleDetail] = None,
include_child_domain_units: Optional[bool] = None,
) -> UpdateRuleOutput
Updates a rule. In Amazon DataZone, a rule is a formal agreement that enforces specific requirements across user workflows (e.g., publishing assets to the catalog, requesting subscriptions, creating projects) within the Amazon DataZone data portal. These rules help maintain consistency, ensure compliance, and uphold governance standards in data management processes. For instance, a metadata enforcement rule can specify the required information for creating a subscription request or publishing a data asset to the catalog, ensuring alignment with organizational standards.
Parameters:
-
domain_identifier(DomainId) –The ID of the domain in which a rule is to be updated.
-
identifier(RuleId) –The ID of the rule that is to be updated
-
name(Optional[RuleName], default:None) –The name of the rule.
-
description(Optional[Description], default:None) –The description of the rule.
-
scope(Optional[RuleScope], default:None) –The scrope of the rule.
-
detail(Optional[RuleDetail], default:None) –The detail of the rule.
-
include_child_domain_units(Optional[bool], default:None) –Specifies whether to update this rule in the child domain units.
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.
-
ServiceQuotaExceededException–The request has exceeded the specified service quota.
-
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
16658 16659 16660 16661 16662 16663 16664 16665 16666 16667 16668 16669 16670 16671 16672 16673 16674 16675 16676 16677 16678 16679 16680 16681 16682 16683 16684 16685 16686 16687 16688 16689 16690 16691 16692 16693 16694 16695 16696 16697 16698 16699 16700 16701 16702 16703 16704 16705 16706 16707 16708 16709 16710 16711 16712 16713 16714 16715 16716 16717 16718 16719 16720 16721 16722 16723 16724 16725 16726 16727 16728 16729 16730 16731 16732 16733 16734 16735 16736 16737 16738 16739 16740 16741 16742 16743 16744 16745 16746 16747 16748 16749 | |