pub enum UndeprecateActivityTypeError {
OperationNotPermittedFault(String),
TypeAlreadyExistsFault(String),
UnknownResourceFault(String),
}
Expand description
Errors returned by UndeprecateActivityType
Variants§
OperationNotPermittedFault(String)
Returned when the caller doesn't have sufficient permissions to invoke the action.
TypeAlreadyExistsFault(String)
Returned if the type already exists in the specified domain. You may get this fault if you are registering a type that is either already registered or deprecated, or if you undeprecate a type that is currently registered.
UnknownResourceFault(String)
Returned when the named resource cannot be found with in the scope of this operation (region or domain). This could happen if the named resource was never created or is no longer available for this operation.
Implementations§
Trait Implementations§
Source§impl Debug for UndeprecateActivityTypeError
impl Debug for UndeprecateActivityTypeError
Source§impl Error for UndeprecateActivityTypeError
impl Error for UndeprecateActivityTypeError
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 UndeprecateActivityTypeError
impl PartialEq for UndeprecateActivityTypeError
Source§fn eq(&self, other: &UndeprecateActivityTypeError) -> bool
fn eq(&self, other: &UndeprecateActivityTypeError) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for UndeprecateActivityTypeError
Auto Trait Implementations§
impl Freeze for UndeprecateActivityTypeError
impl RefUnwindSafe for UndeprecateActivityTypeError
impl Send for UndeprecateActivityTypeError
impl Sync for UndeprecateActivityTypeError
impl Unpin for UndeprecateActivityTypeError
impl UnwindSafe for UndeprecateActivityTypeError
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