Enum aws_sdk_rum::Error
source · #[non_exhaustive]
pub enum Error {
AccessDeniedException(AccessDeniedException),
ConflictException(ConflictException),
InternalServerException(InternalServerException),
ResourceNotFoundException(ResourceNotFoundException),
ServiceQuotaExceededException(ServiceQuotaExceededException),
ThrottlingException(ThrottlingException),
ValidationException(ValidationException),
Unhandled(Unhandled),
}
Expand description
All possible error types for this service.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
AccessDeniedException(AccessDeniedException)
You don't have sufficient permissions to perform this action.
ConflictException(ConflictException)
This operation attempted to create a resource that already exists.
InternalServerException(InternalServerException)
Internal service exception.
ResourceNotFoundException(ResourceNotFoundException)
Resource not found.
ServiceQuotaExceededException(ServiceQuotaExceededException)
This request exceeds a service quota.
ThrottlingException(ThrottlingException)
The request was throttled because of quota limits.
ValidationException(ValidationException)
One of the arguments for the request is not valid.
Unhandled(Unhandled)
An unexpected error occurred (e.g., invalid JSON returned by the service or an unknown error code).
When logging an error from the SDK, it is recommended that you either wrap the error in
DisplayErrorContext
, use another
error reporter library that visits the error’s cause/source chain, or call
Error::source
for more details about the underlying cause.
Trait Implementations§
source§impl Error for Error
impl Error for Error
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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 From<BatchCreateRumMetricDefinitionsError> for Error
impl From<BatchCreateRumMetricDefinitionsError> for Error
source§fn from(err: BatchCreateRumMetricDefinitionsError) -> Self
fn from(err: BatchCreateRumMetricDefinitionsError) -> Self
Converts to this type from the input type.
source§impl From<BatchDeleteRumMetricDefinitionsError> for Error
impl From<BatchDeleteRumMetricDefinitionsError> for Error
source§fn from(err: BatchDeleteRumMetricDefinitionsError) -> Self
fn from(err: BatchDeleteRumMetricDefinitionsError) -> Self
Converts to this type from the input type.
source§impl From<BatchGetRumMetricDefinitionsError> for Error
impl From<BatchGetRumMetricDefinitionsError> for Error
source§fn from(err: BatchGetRumMetricDefinitionsError) -> Self
fn from(err: BatchGetRumMetricDefinitionsError) -> Self
Converts to this type from the input type.
source§impl From<CreateAppMonitorError> for Error
impl From<CreateAppMonitorError> for Error
source§fn from(err: CreateAppMonitorError) -> Self
fn from(err: CreateAppMonitorError) -> Self
Converts to this type from the input type.
source§impl From<DeleteAppMonitorError> for Error
impl From<DeleteAppMonitorError> for Error
source§fn from(err: DeleteAppMonitorError) -> Self
fn from(err: DeleteAppMonitorError) -> Self
Converts to this type from the input type.
source§impl From<DeleteRumMetricsDestinationError> for Error
impl From<DeleteRumMetricsDestinationError> for Error
source§fn from(err: DeleteRumMetricsDestinationError) -> Self
fn from(err: DeleteRumMetricsDestinationError) -> Self
Converts to this type from the input type.
source§impl From<GetAppMonitorDataError> for Error
impl From<GetAppMonitorDataError> for Error
source§fn from(err: GetAppMonitorDataError) -> Self
fn from(err: GetAppMonitorDataError) -> Self
Converts to this type from the input type.
source§impl From<GetAppMonitorError> for Error
impl From<GetAppMonitorError> for Error
source§fn from(err: GetAppMonitorError) -> Self
fn from(err: GetAppMonitorError) -> Self
Converts to this type from the input type.
source§impl From<ListAppMonitorsError> for Error
impl From<ListAppMonitorsError> for Error
source§fn from(err: ListAppMonitorsError) -> Self
fn from(err: ListAppMonitorsError) -> Self
Converts to this type from the input type.
source§impl From<ListRumMetricsDestinationsError> for Error
impl From<ListRumMetricsDestinationsError> for Error
source§fn from(err: ListRumMetricsDestinationsError) -> Self
fn from(err: ListRumMetricsDestinationsError) -> Self
Converts to this type from the input type.
source§impl From<ListTagsForResourceError> for Error
impl From<ListTagsForResourceError> for Error
source§fn from(err: ListTagsForResourceError) -> Self
fn from(err: ListTagsForResourceError) -> Self
Converts to this type from the input type.
source§impl From<PutRumEventsError> for Error
impl From<PutRumEventsError> for Error
source§fn from(err: PutRumEventsError) -> Self
fn from(err: PutRumEventsError) -> Self
Converts to this type from the input type.
source§impl From<PutRumMetricsDestinationError> for Error
impl From<PutRumMetricsDestinationError> for Error
source§fn from(err: PutRumMetricsDestinationError) -> Self
fn from(err: PutRumMetricsDestinationError) -> Self
Converts to this type from the input type.
source§impl<R> From<SdkError<BatchCreateRumMetricDefinitionsError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<BatchCreateRumMetricDefinitionsError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
source§fn from(err: SdkError<BatchCreateRumMetricDefinitionsError, R>) -> Self
fn from(err: SdkError<BatchCreateRumMetricDefinitionsError, R>) -> Self
Converts to this type from the input type.
source§impl<R> From<SdkError<BatchDeleteRumMetricDefinitionsError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<BatchDeleteRumMetricDefinitionsError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
source§fn from(err: SdkError<BatchDeleteRumMetricDefinitionsError, R>) -> Self
fn from(err: SdkError<BatchDeleteRumMetricDefinitionsError, R>) -> Self
Converts to this type from the input type.
source§impl<R> From<SdkError<BatchGetRumMetricDefinitionsError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<BatchGetRumMetricDefinitionsError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
source§fn from(err: SdkError<BatchGetRumMetricDefinitionsError, R>) -> Self
fn from(err: SdkError<BatchGetRumMetricDefinitionsError, R>) -> Self
Converts to this type from the input type.
source§impl<R> From<SdkError<CreateAppMonitorError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<CreateAppMonitorError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
source§fn from(err: SdkError<CreateAppMonitorError, R>) -> Self
fn from(err: SdkError<CreateAppMonitorError, R>) -> Self
Converts to this type from the input type.
source§impl<R> From<SdkError<DeleteAppMonitorError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DeleteAppMonitorError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
source§fn from(err: SdkError<DeleteAppMonitorError, R>) -> Self
fn from(err: SdkError<DeleteAppMonitorError, R>) -> Self
Converts to this type from the input type.
source§impl<R> From<SdkError<DeleteRumMetricsDestinationError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DeleteRumMetricsDestinationError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
source§fn from(err: SdkError<DeleteRumMetricsDestinationError, R>) -> Self
fn from(err: SdkError<DeleteRumMetricsDestinationError, R>) -> Self
Converts to this type from the input type.
source§impl<R> From<SdkError<GetAppMonitorDataError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<GetAppMonitorDataError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
source§fn from(err: SdkError<GetAppMonitorDataError, R>) -> Self
fn from(err: SdkError<GetAppMonitorDataError, R>) -> Self
Converts to this type from the input type.
source§impl<R> From<SdkError<GetAppMonitorError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<GetAppMonitorError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
source§fn from(err: SdkError<GetAppMonitorError, R>) -> Self
fn from(err: SdkError<GetAppMonitorError, R>) -> Self
Converts to this type from the input type.
source§impl<R> From<SdkError<ListAppMonitorsError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ListAppMonitorsError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
source§fn from(err: SdkError<ListAppMonitorsError, R>) -> Self
fn from(err: SdkError<ListAppMonitorsError, R>) -> Self
Converts to this type from the input type.
source§impl<R> From<SdkError<ListRumMetricsDestinationsError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ListRumMetricsDestinationsError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
source§fn from(err: SdkError<ListRumMetricsDestinationsError, R>) -> Self
fn from(err: SdkError<ListRumMetricsDestinationsError, R>) -> Self
Converts to this type from the input type.
source§impl<R> From<SdkError<ListTagsForResourceError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ListTagsForResourceError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
source§fn from(err: SdkError<ListTagsForResourceError, R>) -> Self
fn from(err: SdkError<ListTagsForResourceError, R>) -> Self
Converts to this type from the input type.
source§impl<R> From<SdkError<PutRumEventsError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<PutRumEventsError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
source§fn from(err: SdkError<PutRumEventsError, R>) -> Self
fn from(err: SdkError<PutRumEventsError, R>) -> Self
Converts to this type from the input type.
source§impl<R> From<SdkError<PutRumMetricsDestinationError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<PutRumMetricsDestinationError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
source§fn from(err: SdkError<PutRumMetricsDestinationError, R>) -> Self
fn from(err: SdkError<PutRumMetricsDestinationError, R>) -> Self
Converts to this type from the input type.
source§impl<R> From<SdkError<TagResourceError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<TagResourceError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
source§fn from(err: SdkError<TagResourceError, R>) -> Self
fn from(err: SdkError<TagResourceError, R>) -> Self
Converts to this type from the input type.
source§impl<R> From<SdkError<UntagResourceError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<UntagResourceError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
source§fn from(err: SdkError<UntagResourceError, R>) -> Self
fn from(err: SdkError<UntagResourceError, R>) -> Self
Converts to this type from the input type.
source§impl<R> From<SdkError<UpdateAppMonitorError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<UpdateAppMonitorError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
source§fn from(err: SdkError<UpdateAppMonitorError, R>) -> Self
fn from(err: SdkError<UpdateAppMonitorError, R>) -> Self
Converts to this type from the input type.
source§impl<R> From<SdkError<UpdateRumMetricDefinitionError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<UpdateRumMetricDefinitionError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
source§fn from(err: SdkError<UpdateRumMetricDefinitionError, R>) -> Self
fn from(err: SdkError<UpdateRumMetricDefinitionError, R>) -> Self
Converts to this type from the input type.
source§impl From<TagResourceError> for Error
impl From<TagResourceError> for Error
source§fn from(err: TagResourceError) -> Self
fn from(err: TagResourceError) -> Self
Converts to this type from the input type.
source§impl From<UntagResourceError> for Error
impl From<UntagResourceError> for Error
source§fn from(err: UntagResourceError) -> Self
fn from(err: UntagResourceError) -> Self
Converts to this type from the input type.
source§impl From<UpdateAppMonitorError> for Error
impl From<UpdateAppMonitorError> for Error
source§fn from(err: UpdateAppMonitorError) -> Self
fn from(err: UpdateAppMonitorError) -> Self
Converts to this type from the input type.
source§impl From<UpdateRumMetricDefinitionError> for Error
impl From<UpdateRumMetricDefinitionError> for Error
source§fn from(err: UpdateRumMetricDefinitionError) -> Self
fn from(err: UpdateRumMetricDefinitionError) -> Self
Converts to this type from the input type.