[][src]Enum rusoto_codecommit::TagResourceError

pub enum TagResourceError {
    InvalidRepositoryName(String),
    InvalidResourceArn(String),
    InvalidSystemTagUsage(String),
    InvalidTagsMap(String),
    RepositoryDoesNotExist(String),
    ResourceArnRequired(String),
    TagPolicy(String),
    TagsMapRequired(String),
    TooManyTags(String),
}

Errors returned by TagResource

Variants

InvalidRepositoryName(String)

At least one specified repository name is not valid.

This exception only occurs when a specified repository name is not valid. Other exceptions occur when a required repository parameter is missing, or when a specified repository does not exist.

InvalidResourceArn(String)

The value for the resource ARN is not valid. For more information about resources in AWS CodeCommit, see CodeCommit Resources and Operations in the AWS CodeCommit User Guide.

InvalidSystemTagUsage(String)

The specified tag is not valid. Key names cannot be prefixed with aws:.

InvalidTagsMap(String)

The map of tags is not valid.

RepositoryDoesNotExist(String)

The specified repository does not exist.

ResourceArnRequired(String)

A valid Amazon Resource Name (ARN) for an AWS CodeCommit resource is required. For a list of valid resources in AWS CodeCommit, see CodeCommit Resources and Operations in the AWS CodeCommit User Guide.

TagPolicy(String)

The tag policy is not valid.

TagsMapRequired(String)

A map of tags is required.

TooManyTags(String)

The maximum number of tags for an AWS CodeCommit resource has been exceeded.

Methods

impl TagResourceError[src]

pub fn from_response(res: BufferedHttpResponse) -> RusotoError<TagResourceError>[src]

Trait Implementations

impl PartialEq<TagResourceError> for TagResourceError[src]

impl Debug for TagResourceError[src]

impl Display for TagResourceError[src]

impl Error for TagResourceError[src]

fn cause(&self) -> Option<&dyn Error>
1.0.0
[src]

Deprecated since 1.33.0:

replaced by Error::source, which can support downcasting

The lower-level cause of this error, if any. Read more

fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0
[src]

The lower-level source of this error, if any. Read more

Auto Trait Implementations

impl Send for TagResourceError

impl Sync for TagResourceError

Blanket Implementations

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

impl<T> From for T[src]

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

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

impl<T> Erased for T

impl<T> Same for T

type Output = T

Should always be Self