pub enum CreateDistributionError {
Show 57 variants
AccessDenied(String),
CNAMEAlreadyExists(String),
DistributionAlreadyExists(String),
IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior(String),
InconsistentQuantities(String),
InvalidArgument(String),
InvalidDefaultRootObject(String),
InvalidErrorCode(String),
InvalidForwardCookies(String),
InvalidFunctionAssociation(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),
NoSuchCachePolicy(String),
NoSuchFieldLevelEncryptionConfig(String),
NoSuchOrigin(String),
NoSuchOriginRequestPolicy(String),
NoSuchRealtimeLogConfig(String),
RealtimeLogConfigOwnerMismatch(String),
TooManyCacheBehaviors(String),
TooManyCertificates(String),
TooManyCookieNamesInWhiteList(String),
TooManyDistributionCNAMEs(String),
TooManyDistributions(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 CreateDistribution
Variants
AccessDenied(String)
Access denied.
CNAMEAlreadyExists(String)
The CNAME specified is already defined for CloudFront.
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)
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.
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.
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)
The keep alive timeout specified for the origin is not valid.
InvalidOriginReadTimeout(String)
The read timeout specified for the origin is not valid.
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)
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.
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.
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.
TooManyDistributions(String)
Processing your request would cause you to exceed the maximum number of distributions allowed.
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 CreateDistributionError
impl CreateDistributionError
pub fn from_response(
res: BufferedHttpResponse
) -> RusotoError<CreateDistributionError>
Trait Implementations
sourceimpl Debug for CreateDistributionError
impl Debug for CreateDistributionError
sourceimpl Display for CreateDistributionError
impl Display for CreateDistributionError
sourceimpl Error for CreateDistributionError
impl Error for CreateDistributionError
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<CreateDistributionError> for CreateDistributionError
impl PartialEq<CreateDistributionError> for CreateDistributionError
sourcefn eq(&self, other: &CreateDistributionError) -> bool
fn eq(&self, other: &CreateDistributionError) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &CreateDistributionError) -> bool
fn ne(&self, other: &CreateDistributionError) -> bool
This method tests for !=
.
impl StructuralPartialEq for CreateDistributionError
Auto Trait Implementations
impl RefUnwindSafe for CreateDistributionError
impl Send for CreateDistributionError
impl Sync for CreateDistributionError
impl Unpin for CreateDistributionError
impl UnwindSafe for CreateDistributionError
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