pub enum DeleteStreamingDistributionError {
AccessDenied(String),
InvalidIfMatchVersion(String),
NoSuchStreamingDistribution(String),
PreconditionFailed(String),
StreamingDistributionNotDisabled(String),
}
Expand description
Errors returned by DeleteStreamingDistribution
Variants§
AccessDenied(String)
Access denied.
InvalidIfMatchVersion(String)
The If-Match
version is missing or not valid for the distribution.
NoSuchStreamingDistribution(String)
The specified streaming distribution does not exist.
PreconditionFailed(String)
The precondition given in one or more of the request header fields evaluated to false
.
StreamingDistributionNotDisabled(String)
The specified CloudFront distribution is not disabled. You must disable the distribution before you can delete it.
Implementations§
Trait Implementations§
Source§impl Error for DeleteStreamingDistributionError
impl Error for DeleteStreamingDistributionError
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 DeleteStreamingDistributionError
impl PartialEq for DeleteStreamingDistributionError
Source§fn eq(&self, other: &DeleteStreamingDistributionError) -> bool
fn eq(&self, other: &DeleteStreamingDistributionError) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for DeleteStreamingDistributionError
Auto Trait Implementations§
impl Freeze for DeleteStreamingDistributionError
impl RefUnwindSafe for DeleteStreamingDistributionError
impl Send for DeleteStreamingDistributionError
impl Sync for DeleteStreamingDistributionError
impl Unpin for DeleteStreamingDistributionError
impl UnwindSafe for DeleteStreamingDistributionError
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