[][src]Enum rusoto_codecommit::CreateApprovalRuleTemplateError

pub enum CreateApprovalRuleTemplateError {
    ApprovalRuleTemplateContentRequired(String),
    ApprovalRuleTemplateNameAlreadyExists(String),
    ApprovalRuleTemplateNameRequired(String),
    InvalidApprovalRuleTemplateContent(String),
    InvalidApprovalRuleTemplateDescription(String),
    InvalidApprovalRuleTemplateName(String),
    NumberOfRuleTemplatesExceeded(String),
}

Errors returned by CreateApprovalRuleTemplate

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.

ApprovalRuleTemplateNameAlreadyExists(String)

You cannot create an approval rule template with that name because a template with that name already exists in this AWS Region for your AWS account. Approval rule template names must be unique.

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.

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.

NumberOfRuleTemplatesExceeded(String)

The maximum number of approval rule templates has been exceeded for this AWS Region.

Implementations

impl CreateApprovalRuleTemplateError[src]

Trait Implementations

impl Debug for CreateApprovalRuleTemplateError[src]

impl Display for CreateApprovalRuleTemplateError[src]

impl Error for CreateApprovalRuleTemplateError[src]

impl PartialEq<CreateApprovalRuleTemplateError> for CreateApprovalRuleTemplateError[src]

impl StructuralPartialEq for CreateApprovalRuleTemplateError[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.