[][src]Enum rusoto_cloudfront::UpdateDistributionError

pub enum UpdateDistributionError {
    AccessDenied(String),
    CNAMEAlreadyExists(String),
    IllegalUpdate(String),
    InconsistentQuantities(String),
    InvalidArgument(String),
    InvalidDefaultRootObject(String),
    InvalidErrorCode(String),
    InvalidForwardCookies(String),
    InvalidGeoRestrictionParameter(String),
    InvalidHeadersForS3Origin(String),
    InvalidIfMatchVersion(String),
    InvalidLambdaFunctionAssociation(String),
    InvalidLocationCode(String),
    InvalidMinimumProtocolVersion(String),
    InvalidOriginAccessIdentity(String),
    InvalidOriginKeepaliveTimeout(String),
    InvalidOriginReadTimeout(String),
    InvalidQueryStringParameters(String),
    InvalidRelativePath(String),
    InvalidRequiredProtocol(String),
    InvalidResponseCode(String),
    InvalidTTLOrder(String),
    InvalidViewerCertificate(String),
    InvalidWebACLId(String),
    MissingBody(String),
    NoSuchDistribution(String),
    NoSuchOrigin(String),
    PreconditionFailed(String),
    TooManyCacheBehaviors(String),
    TooManyCertificates(String),
    TooManyCookieNamesInWhiteList(String),
    TooManyDistributionCNAMEs(String),
    TooManyDistributionsWithLambdaAssociations(String),
    TooManyHeadersInForwardedValues(String),
    TooManyLambdaFunctionAssociations(String),
    TooManyOriginCustomHeaders(String),
    TooManyOrigins(String),
    TooManyQueryStringParameters(String),
    TooManyTrustedSigners(String),
    TrustedSignerDoesNotExist(String),
    HttpDispatch(HttpDispatchError),
    Credentials(CredentialsError),
    Validation(String),
    ParseError(String),
    Unknown(BufferedHttpResponse),
}

Errors returned by UpdateDistribution

Variants

AccessDenied(String)

Access denied.

CNAMEAlreadyExists(String)IllegalUpdate(String)

Origin and CallerReference cannot be updated.

InconsistentQuantities(String)

The value of Quantity and the size of Items don't match.

InvalidArgument(String)

The argument is invalid.

InvalidDefaultRootObject(String)

The default root object file name is too big or contains an invalid character.

InvalidErrorCode(String)InvalidForwardCookies(String)

Your request contains forward cookies option which doesn't match with the expectation for the whitelisted list of cookie names. Either list of cookie names has been specified when not allowed or list of cookie names is missing when expected.

InvalidGeoRestrictionParameter(String)InvalidHeadersForS3Origin(String)InvalidIfMatchVersion(String)

The If-Match version is missing or not valid for the distribution.

InvalidLambdaFunctionAssociation(String)

The specified Lambda function association is invalid.

InvalidLocationCode(String)InvalidMinimumProtocolVersion(String)InvalidOriginAccessIdentity(String)

The origin access identity is not valid or doesn't exist.

InvalidOriginKeepaliveTimeout(String)InvalidOriginReadTimeout(String)InvalidQueryStringParameters(String)InvalidRelativePath(String)

The relative path is too big, is not URL-encoded, or does not begin with a slash (/).

InvalidRequiredProtocol(String)

This operation requires the HTTPS protocol. Ensure that you specify the HTTPS protocol in your request, or omit the RequiredProtocols element from your distribution configuration.

InvalidResponseCode(String)InvalidTTLOrder(String)InvalidViewerCertificate(String)InvalidWebACLId(String)MissingBody(String)

This operation requires a body. Ensure that the body is present and the Content-Type header is set.

NoSuchDistribution(String)

The specified distribution does not exist.

NoSuchOrigin(String)

No origin exists with the specified Origin Id.

PreconditionFailed(String)

The precondition given in one or more of the request-header fields evaluated to false.

TooManyCacheBehaviors(String)

You cannot create more cache behaviors for the distribution.

TooManyCertificates(String)

You cannot create anymore custom SSL/TLS certificates.

TooManyCookieNamesInWhiteList(String)

Your request contains more cookie names in the whitelist than are allowed per cache behavior.

TooManyDistributionCNAMEs(String)

Your request contains more CNAMEs than are allowed per distribution.

TooManyDistributionsWithLambdaAssociations(String)

Processing your request would cause the maximum number of distributions with Lambda function associations per owner to be exceeded.

TooManyHeadersInForwardedValues(String)TooManyLambdaFunctionAssociations(String)

Your request contains more Lambda function associations than are allowed per distribution.

TooManyOriginCustomHeaders(String)TooManyOrigins(String)

You cannot create more origins for the distribution.

TooManyQueryStringParameters(String)TooManyTrustedSigners(String)

Your request contains more trusted signers than are allowed per distribution.

TrustedSignerDoesNotExist(String)

One or more of your trusted signers don't exist.

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.

ParseError(String)

An error occurred parsing the response payload.

Unknown(BufferedHttpResponse)

An unknown error occurred. The raw HTTP response is provided.

Methods

impl UpdateDistributionError[src]

Trait Implementations

impl PartialEq<UpdateDistributionError> for UpdateDistributionError[src]

impl From<XmlParseError> for UpdateDistributionError[src]

impl From<CredentialsError> for UpdateDistributionError[src]

impl From<HttpDispatchError> for UpdateDistributionError[src]

impl From<Error> for UpdateDistributionError[src]

impl Display for UpdateDistributionError[src]

impl Debug for UpdateDistributionError[src]

impl Error for UpdateDistributionError[src]

fn cause(&self) -> Option<&dyn Error>
1.0.0
[src]

Deprecated since 1.33.0:

replaced by Error::source, which can support downcasting

The lower-level cause of this error, if any. Read more

fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0
[src]

The lower-level source of this error, if any. Read more

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Erased for T

impl<T> Same for T

type Output = T

Should always be Self