pub enum DeprecateActivityTypeError {
OperationNotPermittedFault(String),
TypeDeprecatedFault(String),
UnknownResourceFault(String),
}
Expand description
Errors returned by DeprecateActivityType
Variants§
OperationNotPermittedFault(String)
Returned when the caller doesn't have sufficient permissions to invoke the action.
TypeDeprecatedFault(String)
Returned when the specified activity or workflow type was already deprecated.
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§
Source§impl DeprecateActivityTypeError
impl DeprecateActivityTypeError
pub fn from_response( res: BufferedHttpResponse, ) -> RusotoError<DeprecateActivityTypeError>
Trait Implementations§
Source§impl Debug for DeprecateActivityTypeError
impl Debug for DeprecateActivityTypeError
Source§impl Display for DeprecateActivityTypeError
impl Display for DeprecateActivityTypeError
Source§impl Error for DeprecateActivityTypeError
impl Error for DeprecateActivityTypeError
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()
impl StructuralPartialEq for DeprecateActivityTypeError
Auto Trait Implementations§
impl Freeze for DeprecateActivityTypeError
impl RefUnwindSafe for DeprecateActivityTypeError
impl Send for DeprecateActivityTypeError
impl Sync for DeprecateActivityTypeError
impl Unpin for DeprecateActivityTypeError
impl UnwindSafe for DeprecateActivityTypeError
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