Struct aws_sdk_kinesis::error::PutRecordsError [−][src]
#[non_exhaustive]pub struct PutRecordsError {
pub kind: PutRecordsErrorKind,
// some fields omitted
}
Expand description
Error type for the PutRecords
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: PutRecordsErrorKind
Kind of error that occurred.
Implementations
Creates a new PutRecordsError
.
Creates the PutRecordsError::Unhandled
variant from any error type.
Creates the PutRecordsError::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 PutRecordsErrorKind::KmsAccessDeniedException
.
Returns true
if the error kind is PutRecordsErrorKind::KmsDisabledException
.
Returns true
if the error kind is PutRecordsErrorKind::KmsNotFoundException
.
Returns true
if the error kind is PutRecordsErrorKind::KmsOptInRequired
.
Returns true
if the error kind is PutRecordsErrorKind::KmsThrottlingException
.
Returns true
if the error kind is PutRecordsErrorKind::ProvisionedThroughputExceededException
.
Returns true
if the error kind is PutRecordsErrorKind::InvalidArgumentException
.
Returns true
if the error kind is PutRecordsErrorKind::KmsInvalidStateException
.
Returns true
if the error kind is PutRecordsErrorKind::ResourceNotFoundException
.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for PutRecordsError
impl Send for PutRecordsError
impl Sync for PutRecordsError
impl Unpin for PutRecordsError
impl !UnwindSafe for PutRecordsError
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