Module Values.UpdateApprovalRuleTemplateContentOutputSource

Updates the content of an approval rule template. You can change the number of required approvals, the membership of the approval rule, and whether an approval pool is defined.

Sourcetype nonrec t = {
  1. approvalRuleTemplate : ApprovalRuleTemplate.t option;
}
Sourcetype nonrec error = [
  1. | `ApprovalRuleTemplateContentRequiredException of ApprovalRuleTemplateContentRequiredException.t
  2. | `ApprovalRuleTemplateDoesNotExistException of ApprovalRuleTemplateDoesNotExistException.t
  3. | `ApprovalRuleTemplateNameRequiredException of ApprovalRuleTemplateNameRequiredException.t
  4. | `InvalidApprovalRuleTemplateContentException of InvalidApprovalRuleTemplateContentException.t
  5. | `InvalidApprovalRuleTemplateNameException of InvalidApprovalRuleTemplateNameException.t
  6. | `InvalidRuleContentSha256Exception of InvalidRuleContentSha256Exception.t
  7. | `Unknown_operation_error of string * string option
]
Sourceval make : ?approvalRuleTemplate:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `ApprovalRuleTemplateContentRequiredException of unit | `ApprovalRuleTemplateDoesNotExistException of unit | `ApprovalRuleTemplateNameRequiredException of unit | `InvalidApprovalRuleTemplateContentException of unit | `InvalidApprovalRuleTemplateNameException of unit | `InvalidRuleContentSha256Exception of unit | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `ApprovalRuleTemplateContentRequiredException of unit | `ApprovalRuleTemplateDoesNotExistException of unit | `ApprovalRuleTemplateNameRequiredException of unit | `InvalidApprovalRuleTemplateContentException of unit | `InvalidApprovalRuleTemplateNameException of unit | `InvalidRuleContentSha256Exception of unit | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Structure of (string * [> `String of ApprovalRuleTemplateId.t | `Timestamp of LastModifiedDate.t ]) list ]) 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