Values.GetRuleOutputSourceGets the details of 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.
type nonrec t = {identifier : RuleId.t option;The ID of the rule.
*)revision : Revision.t option;The revision of the rule.
*)name : RuleName.t option;The name of the rule.
*)ruleType : RuleType.t option;The type of the rule.
*)target : RuleTarget.t option;The target of the rule.
*)action : RuleAction.t option;The action of the rule.
*)scope : RuleScope.t option;The scope of the rule.
*)detail : RuleDetail.t option;The detail of the rule.
*)targetType : RuleTargetType.t option;The target type of the rule.
*)description : Description.t option;The description of the rule.
*)createdAt : CreatedAt.t option;The timestamp at which the rule was created.
*)updatedAt : UpdatedAt.t option;The timestamp at which the rule was last updated.
*)createdBy : CreatedBy.t option;The user who created the rule.
*)lastUpdatedBy : UpdatedBy.t option;The timestamp at which the rule was last updated.
*)}type nonrec error = [ | `AccessDeniedException of AccessDeniedException.t| `InternalServerException of InternalServerException.t| `ResourceNotFoundException of ResourceNotFoundException.t| `ThrottlingException of ThrottlingException.t| `ValidationException of ValidationException.t| `Unknown_operation_error of string * string option ]val error_of_json :
string ->
Yojson.Safe.t ->
[> `AccessDeniedException of AccessDeniedException.t
| `InternalServerException of InternalServerException.t
| `ResourceNotFoundException of ResourceNotFoundException.t
| `ThrottlingException of ThrottlingException.t
| `UnauthorizedException of UnauthorizedException.t
| `Unknown_operation_error of string * string option
| `ValidationException of ValidationException.t ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `AccessDeniedException of AccessDeniedException.t
| `InternalServerException of InternalServerException.t
| `ResourceNotFoundException of ResourceNotFoundException.t
| `ThrottlingException of ThrottlingException.t
| `UnauthorizedException of UnauthorizedException.t
| `Unknown_operation_error of string * string option
| `ValidationException of ValidationException.t ]val to_value :
t ->
[> `Structure of
(string
* [> `Enum of string
| `String of RuleId.t
| `Structure of
(string
* [> `Boolean of Boolean.t
| `Structure of
(string
* [> `Boolean of Boolean.t
| `Enum of string
| `List of
[> `String of AssetTypeIdentifier.t
| `Structure of
(string * [> `String of FormTypeIdentifier.t ]) list ]
list
| `String of DomainUnitId.t ])
list ])
list
| `Timestamp of CreatedAt.t ])
list ]