Enum aws_sdk_cognitosync::Error
source · [−]#[non_exhaustive]
pub enum Error {
Show 14 variants
AlreadyStreamedException(AlreadyStreamedException),
ConcurrentModificationException(ConcurrentModificationException),
DuplicateRequestException(DuplicateRequestException),
InternalErrorException(InternalErrorException),
InvalidConfigurationException(InvalidConfigurationException),
InvalidLambdaFunctionOutputException(InvalidLambdaFunctionOutputException),
InvalidParameterException(InvalidParameterException),
LambdaThrottledException(LambdaThrottledException),
LimitExceededException(LimitExceededException),
NotAuthorizedException(NotAuthorizedException),
ResourceConflictException(ResourceConflictException),
ResourceNotFoundException(ResourceNotFoundException),
TooManyRequestsException(TooManyRequestsException),
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
AlreadyStreamedException(AlreadyStreamedException)
An exception thrown when a bulk publish operation is requested less than 24 hours after a previous bulk publish operation completed successfully.
ConcurrentModificationException(ConcurrentModificationException)
Thrown if there are parallel requests to modify a resource.
DuplicateRequestException(DuplicateRequestException)
An exception thrown when there is an IN_PROGRESS bulk publish operation for the given identity pool.
InternalErrorException(InternalErrorException)
Indicates an internal service error.
InvalidConfigurationException(InvalidConfigurationException)
InvalidLambdaFunctionOutputException(InvalidLambdaFunctionOutputException)
The AWS Lambda function returned invalid output or an exception.
InvalidParameterException(InvalidParameterException)
Thrown when a request parameter does not comply with the associated constraints.
LambdaThrottledException(LambdaThrottledException)
AWS Lambda throttled your account, please contact AWS Support
LimitExceededException(LimitExceededException)
Thrown when the limit on the number of objects or operations has been exceeded.
NotAuthorizedException(NotAuthorizedException)
Thrown when a user is not authorized to access the requested resource.
ResourceConflictException(ResourceConflictException)
Thrown if an update can’t be applied because the resource was changed by another call and this would result in a conflict.
ResourceNotFoundException(ResourceNotFoundException)
Thrown if the resource doesn’t exist.
TooManyRequestsException(TooManyRequestsException)
Thrown if the request is throttled.
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<BulkPublishError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<BulkPublishError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<BulkPublishError, R>) -> Self
fn from(err: SdkError<BulkPublishError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DeleteDatasetError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DeleteDatasetError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DeleteDatasetError, R>) -> Self
fn from(err: SdkError<DeleteDatasetError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DescribeDatasetError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeDatasetError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribeDatasetError, R>) -> Self
fn from(err: SdkError<DescribeDatasetError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DescribeIdentityPoolUsageError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeIdentityPoolUsageError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribeIdentityPoolUsageError, R>) -> Self
fn from(err: SdkError<DescribeIdentityPoolUsageError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DescribeIdentityUsageError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeIdentityUsageError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribeIdentityUsageError, R>) -> Self
fn from(err: SdkError<DescribeIdentityUsageError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<GetBulkPublishDetailsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<GetBulkPublishDetailsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<GetBulkPublishDetailsError, R>) -> Self
fn from(err: SdkError<GetBulkPublishDetailsError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<GetCognitoEventsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<GetCognitoEventsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<GetCognitoEventsError, R>) -> Self
fn from(err: SdkError<GetCognitoEventsError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<GetIdentityPoolConfigurationError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<GetIdentityPoolConfigurationError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<GetIdentityPoolConfigurationError, R>) -> Self
fn from(err: SdkError<GetIdentityPoolConfigurationError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<ListDatasetsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ListDatasetsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ListDatasetsError, R>) -> Self
fn from(err: SdkError<ListDatasetsError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<ListIdentityPoolUsageError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ListIdentityPoolUsageError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ListIdentityPoolUsageError, R>) -> Self
fn from(err: SdkError<ListIdentityPoolUsageError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<ListRecordsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ListRecordsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ListRecordsError, R>) -> Self
fn from(err: SdkError<ListRecordsError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<RegisterDeviceError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<RegisterDeviceError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<RegisterDeviceError, R>) -> Self
fn from(err: SdkError<RegisterDeviceError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<SetCognitoEventsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<SetCognitoEventsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<SetCognitoEventsError, R>) -> Self
fn from(err: SdkError<SetCognitoEventsError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<SetIdentityPoolConfigurationError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<SetIdentityPoolConfigurationError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<SetIdentityPoolConfigurationError, R>) -> Self
fn from(err: SdkError<SetIdentityPoolConfigurationError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<SubscribeToDatasetError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<SubscribeToDatasetError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<SubscribeToDatasetError, R>) -> Self
fn from(err: SdkError<SubscribeToDatasetError, 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