Struct aws_sdk_lambda::error::GetEventSourceMappingError [−][src]
#[non_exhaustive]pub struct GetEventSourceMappingError {
pub kind: GetEventSourceMappingErrorKind,
// some fields omitted
}Expand description
Error type for the GetEventSourceMapping 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: GetEventSourceMappingErrorKindKind of error that occurred.
Implementations
Creates a new GetEventSourceMappingError.
Creates the GetEventSourceMappingError::Unhandled variant from any error type.
Creates the GetEventSourceMappingError::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 GetEventSourceMappingErrorKind::InvalidParameterValueException.
Returns true if the error kind is GetEventSourceMappingErrorKind::ResourceNotFoundException.
Returns true if the error kind is GetEventSourceMappingErrorKind::ServiceException.
Returns true if the error kind is GetEventSourceMappingErrorKind::TooManyRequestsException.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for GetEventSourceMappingError
impl Send for GetEventSourceMappingError
impl Sync for GetEventSourceMappingError
impl Unpin for GetEventSourceMappingError
impl !UnwindSafe for GetEventSourceMappingError
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