pub enum PutRetentionPolicyError {
InvalidParameter(String),
LimitExceeded(String),
OrganizationNotFound(String),
OrganizationState(String),
}Expand description
Errors returned by PutRetentionPolicy
Variants§
InvalidParameter(String)
One or more of the input parameters don't match the service's restrictions.
LimitExceeded(String)
The request exceeds the limit of the resource.
OrganizationNotFound(String)
An operation received a valid organization identifier that either doesn't belong or exist in the system.
OrganizationState(String)
The organization must have a valid state (Active or Synchronizing) to perform certain operations on the organization or its members.
Implementations§
Source§impl PutRetentionPolicyError
impl PutRetentionPolicyError
pub fn from_response( res: BufferedHttpResponse, ) -> RusotoError<PutRetentionPolicyError>
Trait Implementations§
Source§impl Debug for PutRetentionPolicyError
impl Debug for PutRetentionPolicyError
Source§impl Display for PutRetentionPolicyError
impl Display for PutRetentionPolicyError
Source§impl Error for PutRetentionPolicyError
impl Error for PutRetentionPolicyError
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 PutRetentionPolicyError
impl PartialEq for PutRetentionPolicyError
impl StructuralPartialEq for PutRetentionPolicyError
Auto Trait Implementations§
impl Freeze for PutRetentionPolicyError
impl RefUnwindSafe for PutRetentionPolicyError
impl Send for PutRetentionPolicyError
impl Sync for PutRetentionPolicyError
impl Unpin for PutRetentionPolicyError
impl UnwindSafe for PutRetentionPolicyError
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