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
17160 17161 17162 17163 17164 17165 17166 17167 17168 17169 17170 17171 17172 17173 17174 17175 17176 17177 17178 17179 17180 17181 17182 17183 17184 17185 17186 17187 17188 17189 17190 17191 17192 17193 17194 17195 17196 17197 17198 17199 17200 17201 17202 17203 17204 17205 17206 17207 17208 17209 17210 17211 17212 17213 17214 17215 17216 17217 17218 17219 17220 17221 17222 17223 17224 17225 17226 17227 17228 17229 17230 17231 17232 17233 17234 17235 17236 17237 17238 17239 17240 17241 17242 17243 17244 17245 17246 17247 17248 17249 17250 17251 | |