update_rule
¶
update_rule(
domain_identifier: DomainId,
identifier: RuleId,
*,
config_overrides: Optional[DataZoneClientConfig] = 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/data_zone.py
16959 16960 16961 16962 16963 16964 16965 16966 16967 16968 16969 16970 16971 16972 16973 16974 16975 16976 16977 16978 16979 16980 16981 16982 16983 16984 16985 16986 16987 16988 16989 16990 16991 16992 16993 16994 16995 16996 16997 16998 16999 17000 17001 17002 17003 17004 17005 17006 17007 17008 17009 17010 17011 17012 17013 17014 17015 17016 17017 17018 17019 17020 17021 17022 17023 17024 17025 17026 17027 17028 17029 17030 17031 17032 17033 17034 17035 17036 17037 17038 17039 17040 17041 17042 17043 17044 17045 17046 17047 17048 17049 | |