pub enum UpdateApprovalRuleTemplateDescriptionError {
ApprovalRuleTemplateDoesNotExist(String),
ApprovalRuleTemplateNameRequired(String),
InvalidApprovalRuleTemplateDescription(String),
InvalidApprovalRuleTemplateName(String),
}Expand description
Errors returned by UpdateApprovalRuleTemplateDescription
Variants§
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.
InvalidApprovalRuleTemplateDescription(String)
The description for the approval rule template is not valid because it exceeds the maximum characters allowed for a description. For more information about limits in AWS CodeCommit, see AWS CodeCommit User Guide.
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.
Implementations§
Trait Implementations§
Source§impl Error for UpdateApprovalRuleTemplateDescriptionError
impl Error for UpdateApprovalRuleTemplateDescriptionError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl PartialEq for UpdateApprovalRuleTemplateDescriptionError
impl PartialEq for UpdateApprovalRuleTemplateDescriptionError
Source§fn eq(&self, other: &UpdateApprovalRuleTemplateDescriptionError) -> bool
fn eq(&self, other: &UpdateApprovalRuleTemplateDescriptionError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for UpdateApprovalRuleTemplateDescriptionError
Auto Trait Implementations§
impl Freeze for UpdateApprovalRuleTemplateDescriptionError
impl RefUnwindSafe for UpdateApprovalRuleTemplateDescriptionError
impl Send for UpdateApprovalRuleTemplateDescriptionError
impl Sync for UpdateApprovalRuleTemplateDescriptionError
impl Unpin for UpdateApprovalRuleTemplateDescriptionError
impl UnwindSafe for UpdateApprovalRuleTemplateDescriptionError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more