Enum aws_sdk_costexplorer::Error
source · [−]#[non_exhaustive]
pub enum Error {
BillExpirationException(BillExpirationException),
DataUnavailableException(DataUnavailableException),
InvalidNextTokenException(InvalidNextTokenException),
LimitExceededException(LimitExceededException),
RequestChangedException(RequestChangedException),
ResourceNotFoundException(ResourceNotFoundException),
ServiceQuotaExceededException(ServiceQuotaExceededException),
UnknownMonitorException(UnknownMonitorException),
UnknownSubscriptionException(UnknownSubscriptionException),
UnresolvableUsageUnitException(UnresolvableUsageUnitException),
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
BillExpirationException(BillExpirationException)
The requested report expired. Update the date interval and try again.
DataUnavailableException(DataUnavailableException)
The requested data is unavailable.
InvalidNextTokenException(InvalidNextTokenException)
The pagination token is invalid. Try again without a pagination token.
LimitExceededException(LimitExceededException)
You made too many calls in a short period of time. Try again later.
RequestChangedException(RequestChangedException)
Your request parameters changed between pages. Try again with the old parameters or without a pagination token.
ResourceNotFoundException(ResourceNotFoundException)
The specified ARN in the request doesn't exist.
ServiceQuotaExceededException(ServiceQuotaExceededException)
You've reached the limit on the number of resources you can create, or exceeded the size of an individual resource.
UnknownMonitorException(UnknownMonitorException)
The cost anomaly monitor does not exist for the account.
UnknownSubscriptionException(UnknownSubscriptionException)
The cost anomaly subscription does not exist for the account.
UnresolvableUsageUnitException(UnresolvableUsageUnitException)
Cost Explorer was unable to identify the usage unit. Provide UsageType/UsageTypeGroup
filter selections that contain matching units, for example: hours
.
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<CreateAnomalyMonitorError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<CreateAnomalyMonitorError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<CreateAnomalyMonitorError, R>) -> Self
fn from(err: SdkError<CreateAnomalyMonitorError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<CreateAnomalySubscriptionError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<CreateAnomalySubscriptionError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<CreateAnomalySubscriptionError, R>) -> Self
fn from(err: SdkError<CreateAnomalySubscriptionError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<CreateCostCategoryDefinitionError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<CreateCostCategoryDefinitionError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<CreateCostCategoryDefinitionError, R>) -> Self
fn from(err: SdkError<CreateCostCategoryDefinitionError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<DeleteAnomalyMonitorError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DeleteAnomalyMonitorError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DeleteAnomalyMonitorError, R>) -> Self
fn from(err: SdkError<DeleteAnomalyMonitorError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<DeleteAnomalySubscriptionError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DeleteAnomalySubscriptionError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DeleteAnomalySubscriptionError, R>) -> Self
fn from(err: SdkError<DeleteAnomalySubscriptionError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<DeleteCostCategoryDefinitionError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DeleteCostCategoryDefinitionError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DeleteCostCategoryDefinitionError, R>) -> Self
fn from(err: SdkError<DeleteCostCategoryDefinitionError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<DescribeCostCategoryDefinitionError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeCostCategoryDefinitionError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribeCostCategoryDefinitionError, R>) -> Self
fn from(err: SdkError<DescribeCostCategoryDefinitionError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<GetAnomaliesError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<GetAnomaliesError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<GetAnomaliesError, R>) -> Self
fn from(err: SdkError<GetAnomaliesError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<GetAnomalyMonitorsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<GetAnomalyMonitorsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<GetAnomalyMonitorsError, R>) -> Self
fn from(err: SdkError<GetAnomalyMonitorsError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<GetAnomalySubscriptionsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<GetAnomalySubscriptionsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<GetAnomalySubscriptionsError, R>) -> Self
fn from(err: SdkError<GetAnomalySubscriptionsError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<GetCostAndUsageError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<GetCostAndUsageError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<GetCostAndUsageError, R>) -> Self
fn from(err: SdkError<GetCostAndUsageError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<GetCostAndUsageWithResourcesError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<GetCostAndUsageWithResourcesError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<GetCostAndUsageWithResourcesError, R>) -> Self
fn from(err: SdkError<GetCostAndUsageWithResourcesError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<GetCostCategoriesError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<GetCostCategoriesError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<GetCostCategoriesError, R>) -> Self
fn from(err: SdkError<GetCostCategoriesError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<GetCostForecastError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<GetCostForecastError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<GetCostForecastError, R>) -> Self
fn from(err: SdkError<GetCostForecastError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<GetDimensionValuesError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<GetDimensionValuesError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<GetDimensionValuesError, R>) -> Self
fn from(err: SdkError<GetDimensionValuesError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<GetReservationCoverageError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<GetReservationCoverageError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<GetReservationCoverageError, R>) -> Self
fn from(err: SdkError<GetReservationCoverageError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<GetReservationPurchaseRecommendationError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<GetReservationPurchaseRecommendationError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<GetReservationPurchaseRecommendationError, R>) -> Self
fn from(err: SdkError<GetReservationPurchaseRecommendationError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<GetReservationUtilizationError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<GetReservationUtilizationError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<GetReservationUtilizationError, R>) -> Self
fn from(err: SdkError<GetReservationUtilizationError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<GetRightsizingRecommendationError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<GetRightsizingRecommendationError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<GetRightsizingRecommendationError, R>) -> Self
fn from(err: SdkError<GetRightsizingRecommendationError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<GetSavingsPlansCoverageError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<GetSavingsPlansCoverageError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<GetSavingsPlansCoverageError, R>) -> Self
fn from(err: SdkError<GetSavingsPlansCoverageError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<GetSavingsPlansPurchaseRecommendationError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<GetSavingsPlansPurchaseRecommendationError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<GetSavingsPlansPurchaseRecommendationError, R>) -> Self
fn from(err: SdkError<GetSavingsPlansPurchaseRecommendationError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<GetSavingsPlansUtilizationDetailsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<GetSavingsPlansUtilizationDetailsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<GetSavingsPlansUtilizationDetailsError, R>) -> Self
fn from(err: SdkError<GetSavingsPlansUtilizationDetailsError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<GetSavingsPlansUtilizationError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<GetSavingsPlansUtilizationError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<GetSavingsPlansUtilizationError, R>) -> Self
fn from(err: SdkError<GetSavingsPlansUtilizationError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<GetTagsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<GetTagsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<GetTagsError, R>) -> Self
fn from(err: SdkError<GetTagsError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<GetUsageForecastError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<GetUsageForecastError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<GetUsageForecastError, R>) -> Self
fn from(err: SdkError<GetUsageForecastError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<ListCostCategoryDefinitionsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ListCostCategoryDefinitionsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ListCostCategoryDefinitionsError, R>) -> Self
fn from(err: SdkError<ListCostCategoryDefinitionsError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<ProvideAnomalyFeedbackError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ProvideAnomalyFeedbackError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ProvideAnomalyFeedbackError, R>) -> Self
fn from(err: SdkError<ProvideAnomalyFeedbackError, R>) -> Self
Performs the conversion.
sourceimpl<R> From<SdkError<UpdateAnomalyMonitorError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<UpdateAnomalyMonitorError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<UpdateAnomalyMonitorError, R>) -> Self
fn from(err: SdkError<UpdateAnomalyMonitorError, 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 · 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