Module Smaws_Client_CodeCommit.UpdateApprovalRuleTemplateContent

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.

val error_to_string : [ Smaws_Lib.Protocols.AwsJson.error | `ApprovalRuleTemplateContentRequiredException of Types.approval_rule_template_content_required_exception | `ApprovalRuleTemplateDoesNotExistException of Types.approval_rule_template_does_not_exist_exception | `ApprovalRuleTemplateNameRequiredException of Types.approval_rule_template_name_required_exception | `InvalidApprovalRuleTemplateContentException of Types.invalid_approval_rule_template_content_exception | `InvalidApprovalRuleTemplateNameException of Types.invalid_approval_rule_template_name_exception | `InvalidRuleContentSha256Exception of Types.invalid_rule_content_sha256_exception ] -> string
val request : 'http_type Smaws_Lib.Context.t -> Types.update_approval_rule_template_content_input -> (Types.update_approval_rule_template_content_output, [> Smaws_Lib.Protocols.AwsJson.error | `ApprovalRuleTemplateContentRequiredException of Types.approval_rule_template_content_required_exception | `ApprovalRuleTemplateDoesNotExistException of Types.approval_rule_template_does_not_exist_exception | `ApprovalRuleTemplateNameRequiredException of Types.approval_rule_template_name_required_exception | `InvalidApprovalRuleTemplateContentException of Types.invalid_approval_rule_template_content_exception | `InvalidApprovalRuleTemplateNameException of Types.invalid_approval_rule_template_name_exception | `InvalidRuleContentSha256Exception of Types.invalid_rule_content_sha256_exception ]) Stdlib.result
val request_with_metadata : 'http_type Smaws_Lib.Context.t -> Types.update_approval_rule_template_content_input -> (Types.update_approval_rule_template_content_output Smaws_Lib.Response.t, [> Smaws_Lib.Protocols.AwsJson.error | `ApprovalRuleTemplateContentRequiredException of Types.approval_rule_template_content_required_exception | `ApprovalRuleTemplateDoesNotExistException of Types.approval_rule_template_does_not_exist_exception | `ApprovalRuleTemplateNameRequiredException of Types.approval_rule_template_name_required_exception | `InvalidApprovalRuleTemplateContentException of Types.invalid_approval_rule_template_content_exception | `InvalidApprovalRuleTemplateNameException of Types.invalid_approval_rule_template_name_exception | `InvalidRuleContentSha256Exception of Types.invalid_rule_content_sha256_exception ] * Smaws_Lib.Response.metadata) Stdlib.result