Enum aws_sdk_cloudwatch::Error
source · [−]#[non_exhaustive]
pub enum Error {
Show 14 variants
ConcurrentModificationException(ConcurrentModificationException),
DashboardInvalidInputError(DashboardInvalidInputError),
DashboardNotFoundError(DashboardNotFoundError),
InternalServiceFault(InternalServiceFault),
InvalidFormatFault(InvalidFormatFault),
InvalidNextToken(InvalidNextToken),
InvalidParameterCombinationException(InvalidParameterCombinationException),
InvalidParameterValueException(InvalidParameterValueException),
LimitExceededException(LimitExceededException),
LimitExceededFault(LimitExceededFault),
MissingRequiredParameterException(MissingRequiredParameterException),
ResourceNotFound(ResourceNotFound),
ResourceNotFoundException(ResourceNotFoundException),
Unhandled(Box<dyn Error + Send + Sync + 'static>),
}
Expand description
All possible error types for this service.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
ConcurrentModificationException(ConcurrentModificationException)
More than one process tried to modify a resource at the same time.
DashboardInvalidInputError(DashboardInvalidInputError)
Some part of the dashboard data is invalid.
DashboardNotFoundError(DashboardNotFoundError)
The specified dashboard does not exist.
InternalServiceFault(InternalServiceFault)
Request processing has failed due to some unknown error, exception, or failure.
InvalidFormatFault(InvalidFormatFault)
Data was not syntactically valid JSON.
InvalidNextToken(InvalidNextToken)
The next token specified is invalid.
InvalidParameterCombinationException(InvalidParameterCombinationException)
Parameters were used together that cannot be used together.
InvalidParameterValueException(InvalidParameterValueException)
The value of an input parameter is bad or out-of-range.
LimitExceededException(LimitExceededException)
The operation exceeded one or more limits.
LimitExceededFault(LimitExceededFault)
The quota for alarms for this customer has already been reached.
MissingRequiredParameterException(MissingRequiredParameterException)
An input parameter that is required is missing.
ResourceNotFound(ResourceNotFound)
The named resource does not exist.
ResourceNotFoundException(ResourceNotFoundException)
The named resource does not exist.
Unhandled(Box<dyn Error + Send + Sync + 'static>)
An unhandled error occurred.
Trait Implementations
sourceimpl Error for Error
impl Error for Error
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<R> From<SdkError<DeleteAlarmsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DeleteAlarmsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DeleteAlarmsError, R>) -> Self
fn from(err: SdkError<DeleteAlarmsError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<DeleteAnomalyDetectorError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DeleteAnomalyDetectorError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DeleteAnomalyDetectorError, R>) -> Self
fn from(err: SdkError<DeleteAnomalyDetectorError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<DeleteDashboardsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DeleteDashboardsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DeleteDashboardsError, R>) -> Self
fn from(err: SdkError<DeleteDashboardsError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<DeleteInsightRulesError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DeleteInsightRulesError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DeleteInsightRulesError, R>) -> Self
fn from(err: SdkError<DeleteInsightRulesError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<DeleteMetricStreamError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DeleteMetricStreamError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DeleteMetricStreamError, R>) -> Self
fn from(err: SdkError<DeleteMetricStreamError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<DescribeAlarmHistoryError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeAlarmHistoryError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribeAlarmHistoryError, R>) -> Self
fn from(err: SdkError<DescribeAlarmHistoryError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<DescribeAlarmsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeAlarmsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribeAlarmsError, R>) -> Self
fn from(err: SdkError<DescribeAlarmsError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<DescribeAlarmsForMetricError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeAlarmsForMetricError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribeAlarmsForMetricError, R>) -> Self
fn from(err: SdkError<DescribeAlarmsForMetricError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<DescribeAnomalyDetectorsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeAnomalyDetectorsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribeAnomalyDetectorsError, R>) -> Self
fn from(err: SdkError<DescribeAnomalyDetectorsError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<DescribeInsightRulesError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeInsightRulesError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribeInsightRulesError, R>) -> Self
fn from(err: SdkError<DescribeInsightRulesError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<DisableAlarmActionsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DisableAlarmActionsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DisableAlarmActionsError, R>) -> Self
fn from(err: SdkError<DisableAlarmActionsError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<DisableInsightRulesError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DisableInsightRulesError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DisableInsightRulesError, R>) -> Self
fn from(err: SdkError<DisableInsightRulesError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<EnableAlarmActionsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<EnableAlarmActionsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<EnableAlarmActionsError, R>) -> Self
fn from(err: SdkError<EnableAlarmActionsError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<EnableInsightRulesError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<EnableInsightRulesError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<EnableInsightRulesError, R>) -> Self
fn from(err: SdkError<EnableInsightRulesError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<GetDashboardError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<GetDashboardError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<GetDashboardError, R>) -> Self
fn from(err: SdkError<GetDashboardError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<GetInsightRuleReportError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<GetInsightRuleReportError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<GetInsightRuleReportError, R>) -> Self
fn from(err: SdkError<GetInsightRuleReportError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<GetMetricDataError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<GetMetricDataError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<GetMetricDataError, R>) -> Self
fn from(err: SdkError<GetMetricDataError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<GetMetricStatisticsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<GetMetricStatisticsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<GetMetricStatisticsError, R>) -> Self
fn from(err: SdkError<GetMetricStatisticsError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<GetMetricStreamError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<GetMetricStreamError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<GetMetricStreamError, R>) -> Self
fn from(err: SdkError<GetMetricStreamError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<GetMetricWidgetImageError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<GetMetricWidgetImageError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<GetMetricWidgetImageError, R>) -> Self
fn from(err: SdkError<GetMetricWidgetImageError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<ListDashboardsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ListDashboardsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ListDashboardsError, R>) -> Self
fn from(err: SdkError<ListDashboardsError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<ListMetricStreamsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ListMetricStreamsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ListMetricStreamsError, R>) -> Self
fn from(err: SdkError<ListMetricStreamsError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<ListMetricsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ListMetricsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ListMetricsError, R>) -> Self
fn from(err: SdkError<ListMetricsError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<ListTagsForResourceError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ListTagsForResourceError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ListTagsForResourceError, R>) -> Self
fn from(err: SdkError<ListTagsForResourceError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<PutAnomalyDetectorError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<PutAnomalyDetectorError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<PutAnomalyDetectorError, R>) -> Self
fn from(err: SdkError<PutAnomalyDetectorError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<PutCompositeAlarmError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<PutCompositeAlarmError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<PutCompositeAlarmError, R>) -> Self
fn from(err: SdkError<PutCompositeAlarmError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<PutDashboardError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<PutDashboardError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<PutDashboardError, R>) -> Self
fn from(err: SdkError<PutDashboardError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<PutInsightRuleError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<PutInsightRuleError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<PutInsightRuleError, R>) -> Self
fn from(err: SdkError<PutInsightRuleError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<PutMetricAlarmError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<PutMetricAlarmError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<PutMetricAlarmError, R>) -> Self
fn from(err: SdkError<PutMetricAlarmError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<PutMetricDataError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<PutMetricDataError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<PutMetricDataError, R>) -> Self
fn from(err: SdkError<PutMetricDataError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<PutMetricStreamError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<PutMetricStreamError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<PutMetricStreamError, R>) -> Self
fn from(err: SdkError<PutMetricStreamError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<SetAlarmStateError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<SetAlarmStateError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<SetAlarmStateError, R>) -> Self
fn from(err: SdkError<SetAlarmStateError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<StartMetricStreamsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<StartMetricStreamsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<StartMetricStreamsError, R>) -> Self
fn from(err: SdkError<StartMetricStreamsError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<StopMetricStreamsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<StopMetricStreamsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<StopMetricStreamsError, R>) -> Self
fn from(err: SdkError<StopMetricStreamsError, R>) -> Self
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl !UnwindSafe for Error
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub 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