Struct aws_sdk_rekognition::error::ListCollectionsError
source · [−]#[non_exhaustive]pub struct ListCollectionsError {
pub kind: ListCollectionsErrorKind,
/* private fields */
}Expand description
Error type for the ListCollections operation.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.kind: ListCollectionsErrorKindKind of error that occurred.
Implementations
Creates a new ListCollectionsError.
Creates the ListCollectionsError::Unhandled variant from any error type.
Creates the ListCollectionsError::Unhandled variant from a aws_smithy_types::Error.
Returns error metadata, which includes the error code, message, request ID, and potentially additional information.
Returns the request ID if it’s available.
Returns true if the error kind is ListCollectionsErrorKind::AccessDeniedException.
Returns true if the error kind is ListCollectionsErrorKind::InternalServerError.
Returns true if the error kind is ListCollectionsErrorKind::InvalidPaginationTokenException.
Returns true if the error kind is ListCollectionsErrorKind::InvalidParameterException.
Returns true if the error kind is ListCollectionsErrorKind::ProvisionedThroughputExceededException.
Returns true if the error kind is ListCollectionsErrorKind::ResourceNotFoundException.
Returns true if the error kind is ListCollectionsErrorKind::ThrottlingException.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for ListCollectionsError
impl Send for ListCollectionsError
impl Sync for ListCollectionsError
impl Unpin for ListCollectionsError
impl !UnwindSafe for ListCollectionsError
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more