[][src]Enum rusoto_codecommit::UpdatePullRequestApprovalRuleContentError

pub enum UpdatePullRequestApprovalRuleContentError {
    ApprovalRuleContentRequired(String),
    ApprovalRuleDoesNotExist(String),
    ApprovalRuleNameRequired(String),
    CannotModifyApprovalRuleFromTemplate(String),
    EncryptionIntegrityChecksFailed(String),
    EncryptionKeyAccessDenied(String),
    EncryptionKeyDisabled(String),
    EncryptionKeyNotFound(String),
    EncryptionKeyUnavailable(String),
    InvalidApprovalRuleContent(String),
    InvalidApprovalRuleName(String),
    InvalidPullRequestId(String),
    InvalidRuleContentSha256(String),
    PullRequestAlreadyClosed(String),
    PullRequestDoesNotExist(String),
    PullRequestIdRequired(String),
}

Errors returned by UpdatePullRequestApprovalRuleContent

Variants

ApprovalRuleContentRequired(String)

The content for the approval rule is empty. You must provide some content for an approval rule. The content cannot be null.

ApprovalRuleDoesNotExist(String)

The specified approval rule does not exist.

ApprovalRuleNameRequired(String)

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

CannotModifyApprovalRuleFromTemplate(String)

The approval rule cannot be modified for 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.

InvalidApprovalRuleContent(String)

The content for the approval rule is not valid.

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.

InvalidRuleContentSha256(String)

The SHA-256 hash signature for the rule content is not valid.

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 UpdatePullRequestApprovalRuleContentError[src]

Trait Implementations

impl Debug for UpdatePullRequestApprovalRuleContentError[src]

impl Display for UpdatePullRequestApprovalRuleContentError[src]

impl Error for UpdatePullRequestApprovalRuleContentError[src]

impl PartialEq<UpdatePullRequestApprovalRuleContentError> for UpdatePullRequestApprovalRuleContentError[src]

impl StructuralPartialEq for UpdatePullRequestApprovalRuleContentError[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.