Enum aws_sdk_kinesis::error::GetRecordsErrorKind [−][src]
#[non_exhaustive]
pub enum GetRecordsErrorKind {
KmsAccessDeniedException(KmsAccessDeniedException),
KmsDisabledException(KmsDisabledException),
KmsNotFoundException(KmsNotFoundException),
ExpiredIteratorException(ExpiredIteratorException),
KmsOptInRequired(KmsOptInRequired),
KmsThrottlingException(KmsThrottlingException),
ProvisionedThroughputExceededException(ProvisionedThroughputExceededException),
InvalidArgumentException(InvalidArgumentException),
KmsInvalidStateException(KmsInvalidStateException),
ResourceNotFoundException(ResourceNotFoundException),
Unhandled(Box<dyn Error + Send + Sync + 'static>),
}
Expand description
Types of errors that can occur for the GetRecords
operation.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
KmsAccessDeniedException(KmsAccessDeniedException)
The ciphertext references a key that doesn't exist or that you don't have access to.
Tuple Fields of KmsAccessDeniedException
KmsDisabledException(KmsDisabledException)
The request was rejected because the specified customer master key (CMK) isn't enabled.
Tuple Fields of KmsDisabledException
KmsNotFoundException(KmsNotFoundException)
The request was rejected because the specified entity or resource can't be found.
Tuple Fields of KmsNotFoundException
ExpiredIteratorException(ExpiredIteratorException)
The provided iterator exceeds the maximum age allowed.
Tuple Fields of ExpiredIteratorException
KmsOptInRequired(KmsOptInRequired)
The AWS access key ID needs a subscription for the service.
Tuple Fields of KmsOptInRequired
KmsThrottlingException(KmsThrottlingException)
The request was denied due to request throttling. For more information about throttling, see Limits in the AWS Key Management Service Developer Guide.
Tuple Fields of KmsThrottlingException
ProvisionedThroughputExceededException(ProvisionedThroughputExceededException)
The request rate for the stream is too high, or the requested data is too large for the available throughput. Reduce the frequency or size of your requests. For more information, see Streams Limits in the Amazon Kinesis Data Streams Developer Guide, and Error Retries and Exponential Backoff in AWS in the AWS General Reference.
Tuple Fields of ProvisionedThroughputExceededException
InvalidArgumentException(InvalidArgumentException)
A specified parameter exceeds its restrictions, is not supported, or can't be used. For more information, see the returned message.
Tuple Fields of InvalidArgumentException
KmsInvalidStateException(KmsInvalidStateException)
The request was rejected because the state of the specified resource isn't valid for this request. For more information, see How Key State Affects Use of a Customer Master Key in the AWS Key Management Service Developer Guide.
Tuple Fields of KmsInvalidStateException
ResourceNotFoundException(ResourceNotFoundException)
The requested resource could not be found. The stream might not be specified correctly.
Tuple Fields of ResourceNotFoundException
An unexpected error, e.g. invalid JSON returned by the service or an unknown error code
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for GetRecordsErrorKind
impl Send for GetRecordsErrorKind
impl Sync for GetRecordsErrorKind
impl Unpin for GetRecordsErrorKind
impl !UnwindSafe for GetRecordsErrorKind
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