Values.CreateApprovalRuleTemplateOutputSourceCreates a template for approval rules that can then be associated with one or more repositories in your Amazon Web Services account. When you associate a template with a repository, CodeCommit creates an approval rule that matches the conditions of the template for all pull requests that meet the conditions of the template. For more information, see AssociateApprovalRuleTemplateWithRepository.
type nonrec t = {approvalRuleTemplate : ApprovalRuleTemplate.t option;The content and structure of the created approval rule template.
*)}type nonrec error = [ | `ApprovalRuleTemplateContentRequiredException of
ApprovalRuleTemplateContentRequiredException.t| `ApprovalRuleTemplateNameAlreadyExistsException of
ApprovalRuleTemplateNameAlreadyExistsException.t| `ApprovalRuleTemplateNameRequiredException of
ApprovalRuleTemplateNameRequiredException.t| `InvalidApprovalRuleTemplateContentException of
InvalidApprovalRuleTemplateContentException.t| `InvalidApprovalRuleTemplateDescriptionException of
InvalidApprovalRuleTemplateDescriptionException.t| `InvalidApprovalRuleTemplateNameException of
InvalidApprovalRuleTemplateNameException.t| `NumberOfRuleTemplatesExceededException of
NumberOfRuleTemplatesExceededException.t| `Unknown_operation_error of string * string option ]val error_of_json :
string ->
Yojson.Safe.t ->
[> `ApprovalRuleTemplateContentRequiredException of unit
| `ApprovalRuleTemplateNameAlreadyExistsException of unit
| `ApprovalRuleTemplateNameRequiredException of unit
| `InvalidApprovalRuleTemplateContentException of unit
| `InvalidApprovalRuleTemplateDescriptionException of unit
| `InvalidApprovalRuleTemplateNameException of unit
| `NumberOfRuleTemplatesExceededException of unit
| `Unknown_operation_error of string * string option ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `ApprovalRuleTemplateContentRequiredException of unit
| `ApprovalRuleTemplateNameAlreadyExistsException of unit
| `ApprovalRuleTemplateNameRequiredException of unit
| `InvalidApprovalRuleTemplateContentException of unit
| `InvalidApprovalRuleTemplateDescriptionException of unit
| `InvalidApprovalRuleTemplateNameException of unit
| `NumberOfRuleTemplatesExceededException of unit
| `Unknown_operation_error of string * string option ]val to_value :
t ->
[> `Structure of
(string
* [> `Structure of
(string
* [> `String of ApprovalRuleTemplateId.t
| `Timestamp of LastModifiedDate.t ])
list ])
list ]