logo
pub enum UpdateDistributionError {
Show 57 variants AccessDenied(String), CNAMEAlreadyExists(String), IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior(String), IllegalUpdate(String), InconsistentQuantities(String), InvalidArgument(String), InvalidDefaultRootObject(String), InvalidErrorCode(String), InvalidForwardCookies(String), InvalidFunctionAssociation(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), NoSuchCachePolicy(String), NoSuchDistribution(String), NoSuchFieldLevelEncryptionConfig(String), NoSuchOrigin(String), NoSuchOriginRequestPolicy(String), NoSuchRealtimeLogConfig(String), PreconditionFailed(String), RealtimeLogConfigOwnerMismatch(String), TooManyCacheBehaviors(String), TooManyCertificates(String), TooManyCookieNamesInWhiteList(String), TooManyDistributionCNAMEs(String), TooManyDistributionsAssociatedToCachePolicy(String), TooManyDistributionsAssociatedToFieldLevelEncryptionConfig(String), TooManyDistributionsAssociatedToKeyGroup(String), TooManyDistributionsAssociatedToOriginRequestPolicy(String), TooManyDistributionsWithFunctionAssociations(String), TooManyDistributionsWithLambdaAssociations(String), TooManyDistributionsWithSingleFunctionARN(String), TooManyFunctionAssociations(String), TooManyHeadersInForwardedValues(String), TooManyKeyGroupsAssociatedToDistribution(String), TooManyLambdaFunctionAssociations(String), TooManyOriginCustomHeaders(String), TooManyOriginGroupsPerDistribution(String), TooManyOrigins(String), TooManyQueryStringParameters(String), TooManyTrustedSigners(String), TrustedKeyGroupDoesNotExist(String), TrustedSignerDoesNotExist(String),
}
Expand description

Errors returned by UpdateDistribution

Variants

AccessDenied(String)

Access denied.

CNAMEAlreadyExists(String)

The CNAME specified is already defined for CloudFront.

IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior(String)

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

IllegalUpdate(String)

The update contains modifications that are not allowed.

InconsistentQuantities(String)

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

InvalidArgument(String)

An argument is invalid.

InvalidDefaultRootObject(String)

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

InvalidErrorCode(String)

An invalid error code was specified.

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.

InvalidFunctionAssociation(String)

A CloudFront function association is invalid.

InvalidGeoRestrictionParameter(String)

The specified geo restriction parameter is not valid.

InvalidHeadersForS3Origin(String)

The headers specified are not valid for an Amazon S3 origin.

InvalidIfMatchVersion(String)

The If-Match version is missing or not valid.

InvalidLambdaFunctionAssociation(String)

The specified Lambda function association is invalid.

InvalidLocationCode(String)

The location code specified is not valid.

InvalidMinimumProtocolVersion(String)

The minimum protocol version specified is not valid.

InvalidOriginAccessIdentity(String)

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

InvalidOriginKeepaliveTimeout(String)

The keep alive timeout specified for the origin is not valid.

InvalidOriginReadTimeout(String)

The read timeout specified for the origin is not valid.

InvalidQueryStringParameters(String)

The query string parameters specified are not valid.

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)

A response code is not valid.

InvalidTTLOrder(String)

The TTL order specified is not valid.

InvalidViewerCertificate(String)

A viewer certificate specified is not valid.

InvalidWebACLId(String)

A web ACL ID specified is not valid. To specify a web ACL created using the latest version of AWS WAF, use the ACL ARN, for example arn:aws:wafv2:us-east-1:123456789012:global/webacl/ExampleWebACL/473e64fd-f30b-4765-81a0-62ad96dd167a. To specify a web ACL created using AWS WAF Classic, use the ACL ID, for example 473e64fd-f30b-4765-81a0-62ad96dd167a.

MissingBody(String)

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

NoSuchCachePolicy(String)

The cache policy does not exist.

NoSuchDistribution(String)

The specified distribution does not exist.

NoSuchFieldLevelEncryptionConfig(String)

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

NoSuchOrigin(String)

No origin exists with the specified Origin Id.

NoSuchOriginRequestPolicy(String)

The origin request policy does not exist.

NoSuchRealtimeLogConfig(String)

The real-time log configuration does not exist.

PreconditionFailed(String)

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

RealtimeLogConfigOwnerMismatch(String)

The specified real-time log configuration belongs to a different AWS account.

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.

TooManyDistributionsAssociatedToCachePolicy(String)

The maximum number of distributions have been associated with the specified cache policy. For more information, see Quotas (formerly known as limits) in the Amazon CloudFront Developer Guide.

TooManyDistributionsAssociatedToFieldLevelEncryptionConfig(String)

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

TooManyDistributionsAssociatedToKeyGroup(String)

The number of distributions that reference this key group is more than the maximum allowed. For more information, see Quotas (formerly known as limits) in the Amazon CloudFront Developer Guide.

TooManyDistributionsAssociatedToOriginRequestPolicy(String)

The maximum number of distributions have been associated with the specified origin request policy. For more information, see Quotas (formerly known as limits) in the Amazon CloudFront Developer Guide.

TooManyDistributionsWithFunctionAssociations(String)

You have reached the maximum number of distributions that are associated with a CloudFront function. For more information, see Quotas (formerly known as limits) in the Amazon CloudFront Developer Guide.

TooManyDistributionsWithLambdaAssociations(String)

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

TooManyDistributionsWithSingleFunctionARN(String)

The maximum number of distributions have been associated with the specified Lambda function.

TooManyFunctionAssociations(String)

You have reached the maximum number of CloudFront function associations for this distribution. For more information, see Quotas (formerly known as limits) in the Amazon CloudFront Developer Guide.

TooManyHeadersInForwardedValues(String)

Your request contains too many headers in forwarded values.

TooManyKeyGroupsAssociatedToDistribution(String)

The number of key groups referenced by this distribution is more than the maximum allowed. For more information, see Quotas (formerly known as limits) in the Amazon CloudFront Developer Guide.

TooManyLambdaFunctionAssociations(String)

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

TooManyOriginCustomHeaders(String)

Your request contains too many origin custom headers.

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)

Your request contains too many query string parameters.

TooManyTrustedSigners(String)

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

TrustedKeyGroupDoesNotExist(String)

The specified key group does not exist.

TrustedSignerDoesNotExist(String)

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

Implementations

Trait Implementations

Formats the value using the given formatter. Read more

Formats the value using the given formatter. Read more

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

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

Returns a stack backtrace, if available, of where this error occurred. Read more

👎 Deprecated since 1.42.0:

use the Display impl or to_string()

👎 Deprecated since 1.33.0:

replaced by Error::source, which can support downcasting

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self

Converts the given value to a String. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more