pub enum UpdateApprovalRuleTemplateContentError {
ApprovalRuleTemplateContentRequired(String),
ApprovalRuleTemplateDoesNotExist(String),
ApprovalRuleTemplateNameRequired(String),
InvalidApprovalRuleTemplateContent(String),
InvalidApprovalRuleTemplateName(String),
InvalidRuleContentSha256(String),
}Expand description
Errors returned by UpdateApprovalRuleTemplateContent
Variants§
ApprovalRuleTemplateContentRequired(String)
The content for the approval rule template is empty. You must provide some content for an approval rule template. The content cannot be null.
ApprovalRuleTemplateDoesNotExist(String)
The specified approval rule template does not exist. Verify that the name is correct and that you are signed in to the AWS Region where the template was created, and then try again.
ApprovalRuleTemplateNameRequired(String)
An approval rule template name is required, but was not specified.
InvalidApprovalRuleTemplateContent(String)
The content of the approval rule template is not valid.
InvalidApprovalRuleTemplateName(String)
The name of the approval rule template is not valid. Template names must be between 1 and 100 valid characters in length. For more information about limits in AWS CodeCommit, see AWS CodeCommit User Guide.
InvalidRuleContentSha256(String)
The SHA-256 hash signature for the rule content is not valid.
Implementations§
Trait Implementations§
Source§impl Error for UpdateApprovalRuleTemplateContentError
impl Error for UpdateApprovalRuleTemplateContentError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
Source§impl PartialEq for UpdateApprovalRuleTemplateContentError
impl PartialEq for UpdateApprovalRuleTemplateContentError
Source§fn eq(&self, other: &UpdateApprovalRuleTemplateContentError) -> bool
fn eq(&self, other: &UpdateApprovalRuleTemplateContentError) -> bool
self and other values to be equal, and is used by ==.