[][src]Enum rusoto_codecommit::DeletePullRequestApprovalRuleError

pub enum DeletePullRequestApprovalRuleError {
    ApprovalRuleNameRequired(String),
    CannotDeleteApprovalRuleFromTemplate(String),
    EncryptionIntegrityChecksFailed(String),
    EncryptionKeyAccessDenied(String),
    EncryptionKeyDisabled(String),
    EncryptionKeyNotFound(String),
    EncryptionKeyUnavailable(String),
    InvalidApprovalRuleName(String),
    InvalidPullRequestId(String),
    PullRequestAlreadyClosed(String),
    PullRequestDoesNotExist(String),
    PullRequestIdRequired(String),
}

Errors returned by DeletePullRequestApprovalRule

Variants

ApprovalRuleNameRequired(String)

An approval rule name is required, but was not specified.

CannotDeleteApprovalRuleFromTemplate(String)

The approval rule cannot be deleted from the pull request because it was created by an approval rule template and applied to the pull request automatically.

EncryptionIntegrityChecksFailed(String)

An encryption integrity check failed.

EncryptionKeyAccessDenied(String)

An encryption key could not be accessed.

EncryptionKeyDisabled(String)

The encryption key is disabled.

EncryptionKeyNotFound(String)

No encryption key was found.

EncryptionKeyUnavailable(String)

The encryption key is not available.

InvalidApprovalRuleName(String)

The name for the approval rule is not valid.

InvalidPullRequestId(String)

The pull request ID is not valid. Make sure that you have provided the full ID and that the pull request is in the specified repository, and then try again.

PullRequestAlreadyClosed(String)

The pull request status cannot be updated because it is already closed.

PullRequestDoesNotExist(String)

The pull request ID could not be found. Make sure that you have specified the correct repository name and pull request ID, and then try again.

PullRequestIdRequired(String)

A pull request ID is required, but none was provided.

Implementations

impl DeletePullRequestApprovalRuleError[src]

Trait Implementations

impl Debug for DeletePullRequestApprovalRuleError[src]

impl Display for DeletePullRequestApprovalRuleError[src]

impl Error for DeletePullRequestApprovalRuleError[src]

impl PartialEq<DeletePullRequestApprovalRuleError> for DeletePullRequestApprovalRuleError[src]

impl StructuralPartialEq for DeletePullRequestApprovalRuleError[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, 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> Sealed<T> for T where
    T: ?Sized

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.