Module Values.UpdateRuleOutputSource

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.

Sourcetype nonrec t = {
  1. identifier : RuleId.t option;
    (*

    The ID of the rule.

    *)
  2. revision : Revision.t option;
    (*

    The revision of the rule.

    *)
  3. name : RuleName.t option;
    (*

    The name of the rule.

    *)
  4. ruleType : RuleType.t option;
    (*

    The type of the rule.

    *)
  5. target : RuleTarget.t option;
    (*

    The target of the rule.

    *)
  6. action : RuleAction.t option;
    (*

    The action of the rule.

    *)
  7. scope : RuleScope.t option;
    (*

    The scope of the rule.

    *)
  8. detail : RuleDetail.t option;
    (*

    The detail of the rule.

    *)
  9. description : Description.t option;
    (*

    The description of the rule.

    *)
  10. createdAt : CreatedAt.t option;
    (*

    The timestamp at which the rule was created.

    *)
  11. updatedAt : UpdatedAt.t option;
    (*

    The timestamp at which the rule was last updated.

    *)
  12. createdBy : CreatedBy.t option;
    (*

    The user who created the rule.

    *)
  13. lastUpdatedBy : UpdatedBy.t option;
    (*

    The timestamp at which the rule was last updated.

    *)
}
Sourcetype nonrec error = [
  1. | `AccessDeniedException of AccessDeniedException.t
  2. | `ConflictException of ConflictException.t
  3. | `InternalServerException of InternalServerException.t
  4. | `ResourceNotFoundException of ResourceNotFoundException.t
  5. | `ServiceQuotaExceededException of ServiceQuotaExceededException.t
  6. | `ThrottlingException of ThrottlingException.t
  7. | `UnauthorizedException of UnauthorizedException.t
  8. | `ValidationException of ValidationException.t
  9. | `Unknown_operation_error of string * string option
]
Sourceval make : ?identifier:??? -> ?revision:??? -> ?name:??? -> ?ruleType:??? -> ?target:??? -> ?action:??? -> ?scope:??? -> ?detail:??? -> ?description:??? -> ?createdAt:??? -> ?updatedAt:??? -> ?createdBy:??? -> ?lastUpdatedBy:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `AccessDeniedException of AccessDeniedException.t | `ConflictException of ConflictException.t | `InternalServerException of InternalServerException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `ServiceQuotaExceededException of ServiceQuotaExceededException.t | `ThrottlingException of ThrottlingException.t | `UnauthorizedException of UnauthorizedException.t | `Unknown_operation_error of string * string option | `ValidationException of ValidationException.t ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `AccessDeniedException of AccessDeniedException.t | `ConflictException of ConflictException.t | `InternalServerException of InternalServerException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `ServiceQuotaExceededException of ServiceQuotaExceededException.t | `ThrottlingException of ThrottlingException.t | `UnauthorizedException of UnauthorizedException.t | `Unknown_operation_error of string * string option | `ValidationException of ValidationException.t ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval 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 ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t