Enum rusoto_cloudfront::DeleteDistributionError
[−]
[src]
pub enum DeleteDistributionError { AccessDenied(String), DistributionNotDisabled(String), InvalidIfMatchVersion(String), NoSuchDistribution(String), PreconditionFailed(String), HttpDispatch(HttpDispatchError), Credentials(CredentialsError), Validation(String), Unknown(String), }
Errors returned by DeleteDistribution
Variants
AccessDenied(String)
Access denied.
DistributionNotDisabled(String)
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
.
HttpDispatch(HttpDispatchError)
An error occurred dispatching the HTTP request
Credentials(CredentialsError)
An error was encountered with AWS credentials.
Validation(String)
A validation error occurred. Details from AWS are provided.
Unknown(String)
An unknown error occurred. The raw HTTP response is provided.
Methods
impl DeleteDistributionError
[src]
fn from_body(body: &str) -> DeleteDistributionError
[src]
Trait Implementations
impl Debug for DeleteDistributionError
[src]
impl PartialEq for DeleteDistributionError
[src]
fn eq(&self, __arg_0: &DeleteDistributionError) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &DeleteDistributionError) -> bool
[src]
This method tests for !=
.
impl From<XmlParseError> for DeleteDistributionError
[src]
fn from(err: XmlParseError) -> DeleteDistributionError
[src]
Performs the conversion.
impl From<CredentialsError> for DeleteDistributionError
[src]
fn from(err: CredentialsError) -> DeleteDistributionError
[src]
Performs the conversion.
impl From<HttpDispatchError> for DeleteDistributionError
[src]
fn from(err: HttpDispatchError) -> DeleteDistributionError
[src]
Performs the conversion.
impl From<Error> for DeleteDistributionError
[src]
fn from(err: Error) -> DeleteDistributionError
[src]
Performs the conversion.
impl Display for DeleteDistributionError
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more