pub enum RegisterActivityTypeError {
LimitExceededFault(String),
OperationNotPermittedFault(String),
TypeAlreadyExistsFault(String),
UnknownResourceFault(String),
}
Expand description
Errors returned by RegisterActivityType
Variants
LimitExceededFault(String)
Returned by any operation if a system imposed limitation has been reached. To address this fault you should either clean up unused resources or increase the limit by contacting AWS.
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
sourceimpl Debug for RegisterActivityTypeError
impl Debug for RegisterActivityTypeError
sourceimpl Display for RegisterActivityTypeError
impl Display for RegisterActivityTypeError
sourceimpl Error for RegisterActivityTypeError
impl Error for RegisterActivityTypeError
1.30.0 · sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
sourcefn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
backtrace
)Returns a stack backtrace, if available, of where this error occurred. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()
sourceimpl PartialEq<RegisterActivityTypeError> for RegisterActivityTypeError
impl PartialEq<RegisterActivityTypeError> for RegisterActivityTypeError
sourcefn eq(&self, other: &RegisterActivityTypeError) -> bool
fn eq(&self, other: &RegisterActivityTypeError) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &RegisterActivityTypeError) -> bool
fn ne(&self, other: &RegisterActivityTypeError) -> bool
This method tests for !=
.
impl StructuralPartialEq for RegisterActivityTypeError
Auto Trait Implementations
impl RefUnwindSafe for RegisterActivityTypeError
impl Send for RegisterActivityTypeError
impl Sync for RegisterActivityTypeError
impl Unpin for RegisterActivityTypeError
impl UnwindSafe for RegisterActivityTypeError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more