pub enum PutRetentionConfigurationError {
InvalidParameterValue(String),
MaxNumberOfRetentionConfigurationsExceeded(String),
}Expand description
Errors returned by PutRetentionConfiguration
Variants§
InvalidParameterValue(String)
One or more of the specified parameters are invalid. Verify that your parameters are valid and try again.
MaxNumberOfRetentionConfigurationsExceeded(String)
Failed to add the retention configuration because a retention configuration with that name already exists.
Implementations§
Trait Implementations§
Source§impl Error for PutRetentionConfigurationError
impl Error for PutRetentionConfigurationError
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 PutRetentionConfigurationError
impl PartialEq for PutRetentionConfigurationError
Source§fn eq(&self, other: &PutRetentionConfigurationError) -> bool
fn eq(&self, other: &PutRetentionConfigurationError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PutRetentionConfigurationError
Auto Trait Implementations§
impl Freeze for PutRetentionConfigurationError
impl RefUnwindSafe for PutRetentionConfigurationError
impl Send for PutRetentionConfigurationError
impl Sync for PutRetentionConfigurationError
impl Unpin for PutRetentionConfigurationError
impl UnwindSafe for PutRetentionConfigurationError
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