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
sourceimpl UpdateDistributionError
impl UpdateDistributionError
pub fn from_response(
res: BufferedHttpResponse
) -> RusotoError<UpdateDistributionError>
Trait Implementations
sourceimpl Debug for UpdateDistributionError
impl Debug for UpdateDistributionError
sourceimpl Display for UpdateDistributionError
impl Display for UpdateDistributionError
sourceimpl Error for UpdateDistributionError
impl Error for UpdateDistributionError
1.30.0 · sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
sourcefn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
backtrace
)Returns a stack backtrace, if available, of where this error occurred. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()
sourceimpl PartialEq<UpdateDistributionError> for UpdateDistributionError
impl PartialEq<UpdateDistributionError> for UpdateDistributionError
sourcefn eq(&self, other: &UpdateDistributionError) -> bool
fn eq(&self, other: &UpdateDistributionError) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &UpdateDistributionError) -> bool
fn ne(&self, other: &UpdateDistributionError) -> bool
This method tests for !=
.
impl StructuralPartialEq for UpdateDistributionError
Auto Trait Implementations
impl RefUnwindSafe for UpdateDistributionError
impl Send for UpdateDistributionError
impl Sync for UpdateDistributionError
impl Unpin for UpdateDistributionError
impl UnwindSafe for UpdateDistributionError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more