[][src]Enum rusoto_cloudfront::CreateDistributionError

pub enum CreateDistributionError {
    AccessDenied(String),
    CNAMEAlreadyExists(String),
    DistributionAlreadyExists(String),
    IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior(String),
    InconsistentQuantities(String),
    InvalidArgument(String),
    InvalidDefaultRootObject(String),
    InvalidErrorCode(String),
    InvalidForwardCookies(String),
    InvalidGeoRestrictionParameter(String),
    InvalidHeadersForS3Origin(String),
    InvalidLambdaFunctionAssociation(String),
    InvalidLocationCode(String),
    InvalidMinimumProtocolVersion(String),
    InvalidOrigin(String),
    InvalidOriginAccessIdentity(String),
    InvalidOriginKeepaliveTimeout(String),
    InvalidOriginReadTimeout(String),
    InvalidProtocolSettings(String),
    InvalidQueryStringParameters(String),
    InvalidRelativePath(String),
    InvalidRequiredProtocol(String),
    InvalidResponseCode(String),
    InvalidTTLOrder(String),
    InvalidViewerCertificate(String),
    InvalidWebACLId(String),
    MissingBody(String),
    NoSuchFieldLevelEncryptionConfig(String),
    NoSuchOrigin(String),
    TooManyCacheBehaviors(String),
    TooManyCertificates(String),
    TooManyCookieNamesInWhiteList(String),
    TooManyDistributionCNAMEs(String),
    TooManyDistributions(String),
    TooManyDistributionsAssociatedToFieldLevelEncryptionConfig(String),
    TooManyDistributionsWithLambdaAssociations(String),
    TooManyHeadersInForwardedValues(String),
    TooManyLambdaFunctionAssociations(String),
    TooManyOriginCustomHeaders(String),
    TooManyOriginGroupsPerDistribution(String),
    TooManyOrigins(String),
    TooManyQueryStringParameters(String),
    TooManyTrustedSigners(String),
    TrustedSignerDoesNotExist(String),
}

Errors returned by CreateDistribution

Variants

AccessDenied(String)

Access denied.

CNAMEAlreadyExists(String)DistributionAlreadyExists(String)

The caller reference you attempted to create the distribution with is associated with another distribution.

IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior(String)

The specified configuration for field-level encryption can't be associated with the specified cache behavior.

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)InvalidLambdaFunctionAssociation(String)

The specified Lambda function association is invalid.

InvalidLocationCode(String)InvalidMinimumProtocolVersion(String)InvalidOrigin(String)

The Amazon S3 origin server specified does not refer to a valid Amazon S3 bucket.

InvalidOriginAccessIdentity(String)

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

InvalidOriginKeepaliveTimeout(String)InvalidOriginReadTimeout(String)InvalidProtocolSettings(String)

You cannot specify SSLv3 as the minimum protocol version if you only want to support only clients that support Server Name Indication (SNI).

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.

NoSuchFieldLevelEncryptionConfig(String)

The specified configuration for field-level encryption doesn't exist.

NoSuchOrigin(String)

No origin exists with the specified Origin Id.

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.

TooManyDistributions(String)

Processing your request would cause you to exceed the maximum number of distributions allowed.

TooManyDistributionsAssociatedToFieldLevelEncryptionConfig(String)

The maximum number of distributions have been associated with the specified configuration for field-level encryption.

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)TooManyOriginGroupsPerDistribution(String)

Processing your request would cause you to exceed the maximum number of origin groups allowed.

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.

Methods

impl CreateDistributionError[src]

pub fn from_response(
    res: BufferedHttpResponse
) -> RusotoError<CreateDistributionError>
[src]

Trait Implementations

impl PartialEq<CreateDistributionError> for CreateDistributionError[src]

impl Debug for CreateDistributionError[src]

impl Display for CreateDistributionError[src]

impl Error for CreateDistributionError[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

impl Send for CreateDistributionError

impl Sync for CreateDistributionError

Blanket Implementations

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

impl<T> From for T[src]

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

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

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

🔬 This is a nightly-only experimental API. (try_from)

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