Enum aws_sdk_cloudfront::error::CreateDistributionWithTagsErrorKind [−][src]
#[non_exhaustive]
pub enum CreateDistributionWithTagsErrorKind {
Show 61 variants
AccessDenied(AccessDenied),
CnameAlreadyExists(CnameAlreadyExists),
DistributionAlreadyExists(DistributionAlreadyExists),
IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior(IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior),
InconsistentQuantities(InconsistentQuantities),
InvalidArgument(InvalidArgument),
InvalidDefaultRootObject(InvalidDefaultRootObject),
InvalidErrorCode(InvalidErrorCode),
InvalidForwardCookies(InvalidForwardCookies),
InvalidFunctionAssociation(InvalidFunctionAssociation),
InvalidGeoRestrictionParameter(InvalidGeoRestrictionParameter),
InvalidHeadersForS3Origin(InvalidHeadersForS3Origin),
InvalidLambdaFunctionAssociation(InvalidLambdaFunctionAssociation),
InvalidLocationCode(InvalidLocationCode),
InvalidMinimumProtocolVersion(InvalidMinimumProtocolVersion),
InvalidOrigin(InvalidOrigin),
InvalidOriginAccessIdentity(InvalidOriginAccessIdentity),
InvalidOriginKeepaliveTimeout(InvalidOriginKeepaliveTimeout),
InvalidOriginReadTimeout(InvalidOriginReadTimeout),
InvalidProtocolSettings(InvalidProtocolSettings),
InvalidQueryStringParameters(InvalidQueryStringParameters),
InvalidRelativePath(InvalidRelativePath),
InvalidRequiredProtocol(InvalidRequiredProtocol),
InvalidResponseCode(InvalidResponseCode),
InvalidTagging(InvalidTagging),
InvalidTtlOrder(InvalidTtlOrder),
InvalidViewerCertificate(InvalidViewerCertificate),
InvalidWebAclId(InvalidWebAclId),
MissingBody(MissingBody),
NoSuchCachePolicy(NoSuchCachePolicy),
NoSuchFieldLevelEncryptionConfig(NoSuchFieldLevelEncryptionConfig),
NoSuchOrigin(NoSuchOrigin),
NoSuchOriginRequestPolicy(NoSuchOriginRequestPolicy),
NoSuchRealtimeLogConfig(NoSuchRealtimeLogConfig),
NoSuchResponseHeadersPolicy(NoSuchResponseHeadersPolicy),
RealtimeLogConfigOwnerMismatch(RealtimeLogConfigOwnerMismatch),
TooManyCacheBehaviors(TooManyCacheBehaviors),
TooManyCertificates(TooManyCertificates),
TooManyCookieNamesInWhiteList(TooManyCookieNamesInWhiteList),
TooManyDistributionCnamEs(TooManyDistributionCnamEs),
TooManyDistributions(TooManyDistributions),
TooManyDistributionsAssociatedToCachePolicy(TooManyDistributionsAssociatedToCachePolicy),
TooManyDistributionsAssociatedToFieldLevelEncryptionConfig(TooManyDistributionsAssociatedToFieldLevelEncryptionConfig),
TooManyDistributionsAssociatedToKeyGroup(TooManyDistributionsAssociatedToKeyGroup),
TooManyDistributionsAssociatedToOriginRequestPolicy(TooManyDistributionsAssociatedToOriginRequestPolicy),
TooManyDistributionsAssociatedToResponseHeadersPolicy(TooManyDistributionsAssociatedToResponseHeadersPolicy),
TooManyDistributionsWithFunctionAssociations(TooManyDistributionsWithFunctionAssociations),
TooManyDistributionsWithLambdaAssociations(TooManyDistributionsWithLambdaAssociations),
TooManyDistributionsWithSingleFunctionArn(TooManyDistributionsWithSingleFunctionArn),
TooManyFunctionAssociations(TooManyFunctionAssociations),
TooManyHeadersInForwardedValues(TooManyHeadersInForwardedValues),
TooManyKeyGroupsAssociatedToDistribution(TooManyKeyGroupsAssociatedToDistribution),
TooManyLambdaFunctionAssociations(TooManyLambdaFunctionAssociations),
TooManyOriginCustomHeaders(TooManyOriginCustomHeaders),
TooManyOriginGroupsPerDistribution(TooManyOriginGroupsPerDistribution),
TooManyOrigins(TooManyOrigins),
TooManyQueryStringParameters(TooManyQueryStringParameters),
TooManyTrustedSigners(TooManyTrustedSigners),
TrustedKeyGroupDoesNotExist(TrustedKeyGroupDoesNotExist),
TrustedSignerDoesNotExist(TrustedSignerDoesNotExist),
Unhandled(Box<dyn Error + Send + Sync + 'static>),
}
Expand description
Types of errors that can occur for the CreateDistributionWithTags
operation.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
AccessDenied(AccessDenied)
Access denied.
Tuple Fields of AccessDenied
0: AccessDenied
CnameAlreadyExists(CnameAlreadyExists)
The CNAME specified is already defined for CloudFront.
Tuple Fields of CnameAlreadyExists
DistributionAlreadyExists(DistributionAlreadyExists)
The caller reference you attempted to create the distribution with is associated with another distribution.
Tuple Fields of DistributionAlreadyExists
IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior(IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior)
The specified configuration for field-level encryption can't be associated with the specified cache behavior.
Tuple Fields of IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior
InconsistentQuantities(InconsistentQuantities)
The value of Quantity
and the size of Items
don't match.
Tuple Fields of InconsistentQuantities
InvalidArgument(InvalidArgument)
An argument is invalid.
Tuple Fields of InvalidArgument
InvalidDefaultRootObject(InvalidDefaultRootObject)
The default root object file name is too big or contains an invalid character.
Tuple Fields of InvalidDefaultRootObject
InvalidErrorCode(InvalidErrorCode)
An invalid error code was specified.
Tuple Fields of InvalidErrorCode
InvalidForwardCookies(InvalidForwardCookies)
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.
Tuple Fields of InvalidForwardCookies
InvalidFunctionAssociation(InvalidFunctionAssociation)
A CloudFront function association is invalid.
Tuple Fields of InvalidFunctionAssociation
InvalidGeoRestrictionParameter(InvalidGeoRestrictionParameter)
The specified geo restriction parameter is not valid.
Tuple Fields of InvalidGeoRestrictionParameter
InvalidHeadersForS3Origin(InvalidHeadersForS3Origin)
The headers specified are not valid for an Amazon S3 origin.
Tuple Fields of InvalidHeadersForS3Origin
InvalidLambdaFunctionAssociation(InvalidLambdaFunctionAssociation)
The specified Lambda@Edge function association is invalid.
Tuple Fields of InvalidLambdaFunctionAssociation
InvalidLocationCode(InvalidLocationCode)
The location code specified is not valid.
Tuple Fields of InvalidLocationCode
InvalidMinimumProtocolVersion(InvalidMinimumProtocolVersion)
The minimum protocol version specified is not valid.
Tuple Fields of InvalidMinimumProtocolVersion
InvalidOrigin(InvalidOrigin)
The Amazon S3 origin server specified does not refer to a valid Amazon S3 bucket.
Tuple Fields of InvalidOrigin
InvalidOriginAccessIdentity(InvalidOriginAccessIdentity)
The origin access identity is not valid or doesn't exist.
Tuple Fields of InvalidOriginAccessIdentity
InvalidOriginKeepaliveTimeout(InvalidOriginKeepaliveTimeout)
The keep alive timeout specified for the origin is not valid.
Tuple Fields of InvalidOriginKeepaliveTimeout
InvalidOriginReadTimeout(InvalidOriginReadTimeout)
The read timeout specified for the origin is not valid.
Tuple Fields of InvalidOriginReadTimeout
InvalidProtocolSettings(InvalidProtocolSettings)
You cannot specify SSLv3 as the minimum protocol version if you only want to support only clients that support Server Name Indication (SNI).
Tuple Fields of InvalidProtocolSettings
InvalidQueryStringParameters(InvalidQueryStringParameters)
The query string parameters specified are not valid.
Tuple Fields of InvalidQueryStringParameters
InvalidRelativePath(InvalidRelativePath)
The relative path is too big, is not URL-encoded, or does not begin with a slash (/).
Tuple Fields of InvalidRelativePath
InvalidRequiredProtocol(InvalidRequiredProtocol)
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.
Tuple Fields of InvalidRequiredProtocol
InvalidResponseCode(InvalidResponseCode)
A response code is not valid.
Tuple Fields of InvalidResponseCode
InvalidTagging(InvalidTagging)
The tagging specified is not valid.
Tuple Fields of InvalidTagging
InvalidTtlOrder(InvalidTtlOrder)
The TTL order specified is not valid.
Tuple Fields of InvalidTtlOrder
InvalidViewerCertificate(InvalidViewerCertificate)
A viewer certificate specified is not valid.
Tuple Fields of InvalidViewerCertificate
InvalidWebAclId(InvalidWebAclId)
A web ACL ID specified is not valid. To specify a web ACL created using the latest
version of 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 WAF Classic, use the ACL ID, for example
473e64fd-f30b-4765-81a0-62ad96dd167a
.
Tuple Fields of InvalidWebAclId
MissingBody(MissingBody)
This operation requires a body. Ensure that the body is present and the Content-Type
header is set.
Tuple Fields of MissingBody
0: MissingBody
NoSuchCachePolicy(NoSuchCachePolicy)
The cache policy does not exist.
Tuple Fields of NoSuchCachePolicy
NoSuchFieldLevelEncryptionConfig(NoSuchFieldLevelEncryptionConfig)
The specified configuration for field-level encryption doesn't exist.
Tuple Fields of NoSuchFieldLevelEncryptionConfig
NoSuchOrigin(NoSuchOrigin)
No origin exists with the specified Origin Id
.
Tuple Fields of NoSuchOrigin
0: NoSuchOrigin
NoSuchOriginRequestPolicy(NoSuchOriginRequestPolicy)
The origin request policy does not exist.
Tuple Fields of NoSuchOriginRequestPolicy
NoSuchRealtimeLogConfig(NoSuchRealtimeLogConfig)
The real-time log configuration does not exist.
Tuple Fields of NoSuchRealtimeLogConfig
NoSuchResponseHeadersPolicy(NoSuchResponseHeadersPolicy)
The response headers policy does not exist.
Tuple Fields of NoSuchResponseHeadersPolicy
RealtimeLogConfigOwnerMismatch(RealtimeLogConfigOwnerMismatch)
The specified real-time log configuration belongs to a different Amazon Web Services account.
Tuple Fields of RealtimeLogConfigOwnerMismatch
TooManyCacheBehaviors(TooManyCacheBehaviors)
You cannot create more cache behaviors for the distribution.
Tuple Fields of TooManyCacheBehaviors
TooManyCertificates(TooManyCertificates)
You cannot create anymore custom SSL/TLS certificates.
Tuple Fields of TooManyCertificates
TooManyCookieNamesInWhiteList(TooManyCookieNamesInWhiteList)
Your request contains more cookie names in the whitelist than are allowed per cache behavior.
Tuple Fields of TooManyCookieNamesInWhiteList
TooManyDistributionCnamEs(TooManyDistributionCnamEs)
Your request contains more CNAMEs than are allowed per distribution.
Tuple Fields of TooManyDistributionCnamEs
TooManyDistributions(TooManyDistributions)
Processing your request would cause you to exceed the maximum number of distributions allowed.
Tuple Fields of TooManyDistributions
TooManyDistributionsAssociatedToCachePolicy(TooManyDistributionsAssociatedToCachePolicy)
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.
Tuple Fields of TooManyDistributionsAssociatedToCachePolicy
TooManyDistributionsAssociatedToFieldLevelEncryptionConfig(TooManyDistributionsAssociatedToFieldLevelEncryptionConfig)
The maximum number of distributions have been associated with the specified configuration for field-level encryption.
Tuple Fields of TooManyDistributionsAssociatedToFieldLevelEncryptionConfig
TooManyDistributionsAssociatedToKeyGroup(TooManyDistributionsAssociatedToKeyGroup)
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.
Tuple Fields of TooManyDistributionsAssociatedToKeyGroup
TooManyDistributionsAssociatedToOriginRequestPolicy(TooManyDistributionsAssociatedToOriginRequestPolicy)
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.
Tuple Fields of TooManyDistributionsAssociatedToOriginRequestPolicy
TooManyDistributionsAssociatedToResponseHeadersPolicy(TooManyDistributionsAssociatedToResponseHeadersPolicy)
The maximum number of distributions have been associated with the specified response headers policy.
For more information, see Quotas (formerly known as limits) in the Amazon CloudFront Developer Guide.
Tuple Fields of TooManyDistributionsAssociatedToResponseHeadersPolicy
TooManyDistributionsWithFunctionAssociations(TooManyDistributionsWithFunctionAssociations)
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.
Tuple Fields of TooManyDistributionsWithFunctionAssociations
TooManyDistributionsWithLambdaAssociations(TooManyDistributionsWithLambdaAssociations)
Processing your request would cause the maximum number of distributions with Lambda@Edge function associations per owner to be exceeded.
Tuple Fields of TooManyDistributionsWithLambdaAssociations
TooManyDistributionsWithSingleFunctionArn(TooManyDistributionsWithSingleFunctionArn)
The maximum number of distributions have been associated with the specified Lambda@Edge function.
Tuple Fields of TooManyDistributionsWithSingleFunctionArn
TooManyFunctionAssociations(TooManyFunctionAssociations)
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.
Tuple Fields of TooManyFunctionAssociations
TooManyHeadersInForwardedValues(TooManyHeadersInForwardedValues)
Your request contains too many headers in forwarded values.
Tuple Fields of TooManyHeadersInForwardedValues
TooManyKeyGroupsAssociatedToDistribution(TooManyKeyGroupsAssociatedToDistribution)
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.
Tuple Fields of TooManyKeyGroupsAssociatedToDistribution
TooManyLambdaFunctionAssociations(TooManyLambdaFunctionAssociations)
Your request contains more Lambda@Edge function associations than are allowed per distribution.
Tuple Fields of TooManyLambdaFunctionAssociations
TooManyOriginCustomHeaders(TooManyOriginCustomHeaders)
Your request contains too many origin custom headers.
Tuple Fields of TooManyOriginCustomHeaders
TooManyOriginGroupsPerDistribution(TooManyOriginGroupsPerDistribution)
Processing your request would cause you to exceed the maximum number of origin groups allowed.
Tuple Fields of TooManyOriginGroupsPerDistribution
TooManyOrigins(TooManyOrigins)
You cannot create more origins for the distribution.
Tuple Fields of TooManyOrigins
TooManyQueryStringParameters(TooManyQueryStringParameters)
Your request contains too many query string parameters.
Tuple Fields of TooManyQueryStringParameters
TooManyTrustedSigners(TooManyTrustedSigners)
Your request contains more trusted signers than are allowed per distribution.
Tuple Fields of TooManyTrustedSigners
TrustedKeyGroupDoesNotExist(TrustedKeyGroupDoesNotExist)
The specified key group does not exist.
Tuple Fields of TrustedKeyGroupDoesNotExist
TrustedSignerDoesNotExist(TrustedSignerDoesNotExist)
One or more of your trusted signers don't exist.
Tuple Fields of TrustedSignerDoesNotExist
An unexpected error, e.g. invalid JSON returned by the service or an unknown error code
Trait Implementations
Auto Trait Implementations
impl Send for CreateDistributionWithTagsErrorKind
impl Sync for CreateDistributionWithTagsErrorKind
impl Unpin for CreateDistributionWithTagsErrorKind
Blanket Implementations
Mutably borrows from an owned value. Read more
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