pub enum StartDeliveryStreamEncryptionError {
InvalidArgument(String),
InvalidKMSResource(String),
LimitExceeded(String),
ResourceInUse(String),
ResourceNotFound(String),
}Expand description
Errors returned by StartDeliveryStreamEncryption
Variants§
InvalidArgument(String)
The specified input parameter has a value that is not valid.
InvalidKMSResource(String)
Kinesis Data Firehose throws this exception when an attempt to put records or to start or stop delivery stream encryption fails. This happens when the KMS service throws one of the following exception types: AccessDeniedException, InvalidStateException, DisabledException, or NotFoundException.
LimitExceeded(String)
You have already reached the limit for a requested resource.
ResourceInUse(String)
The resource is already in use and not available for this operation.
ResourceNotFound(String)
The specified resource could not be found.
Implementations§
Trait Implementations§
Source§impl Error for StartDeliveryStreamEncryptionError
impl Error for StartDeliveryStreamEncryptionError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl PartialEq for StartDeliveryStreamEncryptionError
impl PartialEq for StartDeliveryStreamEncryptionError
Source§fn eq(&self, other: &StartDeliveryStreamEncryptionError) -> bool
fn eq(&self, other: &StartDeliveryStreamEncryptionError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for StartDeliveryStreamEncryptionError
Auto Trait Implementations§
impl Freeze for StartDeliveryStreamEncryptionError
impl RefUnwindSafe for StartDeliveryStreamEncryptionError
impl Send for StartDeliveryStreamEncryptionError
impl Sync for StartDeliveryStreamEncryptionError
impl Unpin for StartDeliveryStreamEncryptionError
impl UnwindSafe for StartDeliveryStreamEncryptionError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more