pub enum TagResourceError {
ApplicationDoesNotExist(String),
ArnNotSupported(String),
DeploymentConfigDoesNotExist(String),
DeploymentGroupDoesNotExist(String),
InvalidArn(String),
InvalidTagsToAdd(String),
ResourceArnRequired(String),
TagRequired(String),
}
Expand description
Errors returned by TagResource
Variants§
ApplicationDoesNotExist(String)
The application does not exist with the IAM user or AWS account.
ArnNotSupported(String)
The specified ARN is not supported. For example, it might be an ARN for a resource that is not expected.
DeploymentConfigDoesNotExist(String)
The deployment configuration does not exist with the IAM user or AWS account.
DeploymentGroupDoesNotExist(String)
The named deployment group with the IAM user or AWS account does not exist.
InvalidArn(String)
The specified ARN is not in a valid format.
InvalidTagsToAdd(String)
The specified tags are not valid.
ResourceArnRequired(String)
The ARN of a resource is required, but was not found.
TagRequired(String)
A tag was not specified.
Implementations§
Source§impl TagResourceError
impl TagResourceError
pub fn from_response(res: BufferedHttpResponse) -> RusotoError<TagResourceError>
Trait Implementations§
Source§impl Debug for TagResourceError
impl Debug for TagResourceError
Source§impl Display for TagResourceError
impl Display for TagResourceError
Source§impl Error for TagResourceError
impl Error for TagResourceError
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 TagResourceError
impl PartialEq for TagResourceError
impl StructuralPartialEq for TagResourceError
Auto Trait Implementations§
impl Freeze for TagResourceError
impl RefUnwindSafe for TagResourceError
impl Send for TagResourceError
impl Sync for TagResourceError
impl Unpin for TagResourceError
impl UnwindSafe for TagResourceError
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