Enum aws_sdk_greengrassv2::Error
source · [−]#[non_exhaustive]
pub enum Error {
AccessDeniedException(AccessDeniedException),
ConflictException(ConflictException),
InternalServerException(InternalServerException),
RequestAlreadyInProgressException(RequestAlreadyInProgressException),
ResourceNotFoundException(ResourceNotFoundException),
ServiceQuotaExceededException(ServiceQuotaExceededException),
ThrottlingException(ThrottlingException),
ValidationException(ValidationException),
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
AccessDeniedException(AccessDeniedException)
You don't have permission to perform the action.
ConflictException(ConflictException)
Your request has conflicting operations. This can occur if you're trying to perform more than one operation on the same resource at the same time.
InternalServerException(InternalServerException)
IoT Greengrass can't process your request right now. Try again later.
RequestAlreadyInProgressException(RequestAlreadyInProgressException)
The request is already in progress. This exception occurs when you use a client token for multiple requests while IoT Greengrass is still processing an earlier request that uses the same client token.
ResourceNotFoundException(ResourceNotFoundException)
The requested resource can't be found.
ServiceQuotaExceededException(ServiceQuotaExceededException)
Your request exceeds a service quota. For example, you might have the maximum number of components that you can create.
ThrottlingException(ThrottlingException)
Your request exceeded a request rate quota. For example, you might have exceeded the amount of times that you can retrieve device or deployment status per second.
ValidationException(ValidationException)
The request isn't valid. This can occur if your request contains malformed JSON or unsupported characters.
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<AssociateServiceRoleToAccountError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<AssociateServiceRoleToAccountError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<AssociateServiceRoleToAccountError, R>) -> Self
fn from(err: SdkError<AssociateServiceRoleToAccountError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<BatchAssociateClientDeviceWithCoreDeviceError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<BatchAssociateClientDeviceWithCoreDeviceError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<BatchAssociateClientDeviceWithCoreDeviceError, R>) -> Self
fn from(err: SdkError<BatchAssociateClientDeviceWithCoreDeviceError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<BatchDisassociateClientDeviceFromCoreDeviceError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<BatchDisassociateClientDeviceFromCoreDeviceError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(
err: SdkError<BatchDisassociateClientDeviceFromCoreDeviceError, R>
) -> Self
fn from(
err: SdkError<BatchDisassociateClientDeviceFromCoreDeviceError, R>
) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<CancelDeploymentError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<CancelDeploymentError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<CancelDeploymentError, R>) -> Self
fn from(err: SdkError<CancelDeploymentError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<CreateComponentVersionError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<CreateComponentVersionError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<CreateComponentVersionError, R>) -> Self
fn from(err: SdkError<CreateComponentVersionError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<CreateDeploymentError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<CreateDeploymentError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<CreateDeploymentError, R>) -> Self
fn from(err: SdkError<CreateDeploymentError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DeleteComponentError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DeleteComponentError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DeleteComponentError, R>) -> Self
fn from(err: SdkError<DeleteComponentError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DeleteCoreDeviceError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DeleteCoreDeviceError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DeleteCoreDeviceError, R>) -> Self
fn from(err: SdkError<DeleteCoreDeviceError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DeleteDeploymentError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DeleteDeploymentError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DeleteDeploymentError, R>) -> Self
fn from(err: SdkError<DeleteDeploymentError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DescribeComponentError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeComponentError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribeComponentError, R>) -> Self
fn from(err: SdkError<DescribeComponentError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DisassociateServiceRoleFromAccountError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DisassociateServiceRoleFromAccountError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DisassociateServiceRoleFromAccountError, R>) -> Self
fn from(err: SdkError<DisassociateServiceRoleFromAccountError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<GetComponentError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<GetComponentError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<GetComponentError, R>) -> Self
fn from(err: SdkError<GetComponentError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<GetComponentVersionArtifactError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<GetComponentVersionArtifactError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<GetComponentVersionArtifactError, R>) -> Self
fn from(err: SdkError<GetComponentVersionArtifactError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<GetConnectivityInfoError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<GetConnectivityInfoError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<GetConnectivityInfoError, R>) -> Self
fn from(err: SdkError<GetConnectivityInfoError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<GetCoreDeviceError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<GetCoreDeviceError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<GetCoreDeviceError, R>) -> Self
fn from(err: SdkError<GetCoreDeviceError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<GetDeploymentError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<GetDeploymentError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<GetDeploymentError, R>) -> Self
fn from(err: SdkError<GetDeploymentError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<GetServiceRoleForAccountError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<GetServiceRoleForAccountError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<GetServiceRoleForAccountError, R>) -> Self
fn from(err: SdkError<GetServiceRoleForAccountError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<ListClientDevicesAssociatedWithCoreDeviceError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ListClientDevicesAssociatedWithCoreDeviceError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(
err: SdkError<ListClientDevicesAssociatedWithCoreDeviceError, R>
) -> Self
fn from(
err: SdkError<ListClientDevicesAssociatedWithCoreDeviceError, R>
) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<ListComponentVersionsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ListComponentVersionsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ListComponentVersionsError, R>) -> Self
fn from(err: SdkError<ListComponentVersionsError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<ListComponentsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ListComponentsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ListComponentsError, R>) -> Self
fn from(err: SdkError<ListComponentsError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<ListCoreDevicesError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ListCoreDevicesError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ListCoreDevicesError, R>) -> Self
fn from(err: SdkError<ListCoreDevicesError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<ListDeploymentsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ListDeploymentsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ListDeploymentsError, R>) -> Self
fn from(err: SdkError<ListDeploymentsError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<ListEffectiveDeploymentsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ListEffectiveDeploymentsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ListEffectiveDeploymentsError, R>) -> Self
fn from(err: SdkError<ListEffectiveDeploymentsError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<ListInstalledComponentsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ListInstalledComponentsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ListInstalledComponentsError, R>) -> Self
fn from(err: SdkError<ListInstalledComponentsError, R>) -> Self
Converts to this type from the input type.
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
Converts to this type from the input type.
sourceimpl<R> From<SdkError<ResolveComponentCandidatesError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ResolveComponentCandidatesError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ResolveComponentCandidatesError, R>) -> Self
fn from(err: SdkError<ResolveComponentCandidatesError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<TagResourceError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<TagResourceError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<TagResourceError, R>) -> Self
fn from(err: SdkError<TagResourceError, R>) -> Self
Converts to this type from the input type.
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