pub enum DeleteDistributionError {
AccessDenied(String),
DistributionNotDisabled(String),
InvalidIfMatchVersion(String),
NoSuchDistribution(String),
PreconditionFailed(String),
}
Expand description
Errors returned by DeleteDistribution
Variants§
AccessDenied(String)
Access denied.
DistributionNotDisabled(String)
The specified CloudFront distribution is not disabled. You must disable the distribution before you can delete it.
InvalidIfMatchVersion(String)
The If-Match
version is missing or not valid for the distribution.
NoSuchDistribution(String)
The specified distribution does not exist.
PreconditionFailed(String)
The precondition given in one or more of the request header fields evaluated to false
.
Implementations§
Source§impl DeleteDistributionError
impl DeleteDistributionError
pub fn from_response( res: BufferedHttpResponse, ) -> RusotoError<DeleteDistributionError>
Trait Implementations§
Source§impl Debug for DeleteDistributionError
impl Debug for DeleteDistributionError
Source§impl Display for DeleteDistributionError
impl Display for DeleteDistributionError
Source§impl Error for DeleteDistributionError
impl Error for DeleteDistributionError
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 DeleteDistributionError
impl PartialEq for DeleteDistributionError
impl StructuralPartialEq for DeleteDistributionError
Auto Trait Implementations§
impl Freeze for DeleteDistributionError
impl RefUnwindSafe for DeleteDistributionError
impl Send for DeleteDistributionError
impl Sync for DeleteDistributionError
impl Unpin for DeleteDistributionError
impl UnwindSafe for DeleteDistributionError
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