Enum aws_sdk_cloudfront::Error[][src]

#[non_exhaustive]
pub enum Error {
Show 128 variants AccessDenied(AccessDenied), BatchTooLarge(BatchTooLarge), CnameAlreadyExists(CnameAlreadyExists), CachePolicyAlreadyExists(CachePolicyAlreadyExists), CachePolicyInUse(CachePolicyInUse), CannotChangeImmutablePublicKeyFields(CannotChangeImmutablePublicKeyFields), CloudFrontOriginAccessIdentityAlreadyExists(CloudFrontOriginAccessIdentityAlreadyExists), CloudFrontOriginAccessIdentityInUse(CloudFrontOriginAccessIdentityInUse), DistributionAlreadyExists(DistributionAlreadyExists), DistributionNotDisabled(DistributionNotDisabled), FieldLevelEncryptionConfigAlreadyExists(FieldLevelEncryptionConfigAlreadyExists), FieldLevelEncryptionConfigInUse(FieldLevelEncryptionConfigInUse), FieldLevelEncryptionProfileAlreadyExists(FieldLevelEncryptionProfileAlreadyExists), FieldLevelEncryptionProfileInUse(FieldLevelEncryptionProfileInUse), FieldLevelEncryptionProfileSizeExceeded(FieldLevelEncryptionProfileSizeExceeded), FunctionAlreadyExists(FunctionAlreadyExists), FunctionInUse(FunctionInUse), FunctionSizeLimitExceeded(FunctionSizeLimitExceeded), IllegalDelete(IllegalDelete), IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior(IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior), IllegalUpdate(IllegalUpdate), InconsistentQuantities(InconsistentQuantities), InvalidArgument(InvalidArgument), InvalidDefaultRootObject(InvalidDefaultRootObject), InvalidErrorCode(InvalidErrorCode), InvalidForwardCookies(InvalidForwardCookies), InvalidFunctionAssociation(InvalidFunctionAssociation), InvalidGeoRestrictionParameter(InvalidGeoRestrictionParameter), InvalidHeadersForS3Origin(InvalidHeadersForS3Origin), InvalidIfMatchVersion(InvalidIfMatchVersion), InvalidLambdaFunctionAssociation(InvalidLambdaFunctionAssociation), InvalidLocationCode(InvalidLocationCode), InvalidMinimumProtocolVersion(InvalidMinimumProtocolVersion), InvalidOrigin(InvalidOrigin), InvalidOriginAccessIdentity(InvalidOriginAccessIdentity), InvalidOriginKeepaliveTimeout(InvalidOriginKeepaliveTimeout), InvalidOriginReadTimeout(InvalidOriginReadTimeout), InvalidProtocolSettings(InvalidProtocolSettings), InvalidQueryStringParameters(InvalidQueryStringParameters), InvalidRelativePath(InvalidRelativePath), InvalidRequiredProtocol(InvalidRequiredProtocol), InvalidResponseCode(InvalidResponseCode), InvalidTtlOrder(InvalidTtlOrder), InvalidTagging(InvalidTagging), InvalidViewerCertificate(InvalidViewerCertificate), InvalidWebAclId(InvalidWebAclId), KeyGroupAlreadyExists(KeyGroupAlreadyExists), MissingBody(MissingBody), NoSuchCachePolicy(NoSuchCachePolicy), NoSuchCloudFrontOriginAccessIdentity(NoSuchCloudFrontOriginAccessIdentity), NoSuchDistribution(NoSuchDistribution), NoSuchFieldLevelEncryptionConfig(NoSuchFieldLevelEncryptionConfig), NoSuchFieldLevelEncryptionProfile(NoSuchFieldLevelEncryptionProfile), NoSuchFunctionExists(NoSuchFunctionExists), NoSuchInvalidation(NoSuchInvalidation), NoSuchOrigin(NoSuchOrigin), NoSuchOriginRequestPolicy(NoSuchOriginRequestPolicy), NoSuchPublicKey(NoSuchPublicKey), NoSuchRealtimeLogConfig(NoSuchRealtimeLogConfig), NoSuchResource(NoSuchResource), NoSuchResponseHeadersPolicy(NoSuchResponseHeadersPolicy), NoSuchStreamingDistribution(NoSuchStreamingDistribution), OriginRequestPolicyAlreadyExists(OriginRequestPolicyAlreadyExists), OriginRequestPolicyInUse(OriginRequestPolicyInUse), PreconditionFailed(PreconditionFailed), PublicKeyAlreadyExists(PublicKeyAlreadyExists), PublicKeyInUse(PublicKeyInUse), QueryArgProfileEmpty(QueryArgProfileEmpty), RealtimeLogConfigAlreadyExists(RealtimeLogConfigAlreadyExists), RealtimeLogConfigInUse(RealtimeLogConfigInUse), RealtimeLogConfigOwnerMismatch(RealtimeLogConfigOwnerMismatch), ResourceInUse(ResourceInUse), ResponseHeadersPolicyAlreadyExists(ResponseHeadersPolicyAlreadyExists), ResponseHeadersPolicyInUse(ResponseHeadersPolicyInUse), StreamingDistributionAlreadyExists(StreamingDistributionAlreadyExists), StreamingDistributionNotDisabled(StreamingDistributionNotDisabled), TestFunctionFailed(TestFunctionFailed), TooManyCacheBehaviors(TooManyCacheBehaviors), TooManyCachePolicies(TooManyCachePolicies), TooManyCertificates(TooManyCertificates), TooManyCloudFrontOriginAccessIdentities(TooManyCloudFrontOriginAccessIdentities), TooManyCookieNamesInWhiteList(TooManyCookieNamesInWhiteList), TooManyCookiesInCachePolicy(TooManyCookiesInCachePolicy), TooManyCookiesInOriginRequestPolicy(TooManyCookiesInOriginRequestPolicy), TooManyCustomHeadersInResponseHeadersPolicy(TooManyCustomHeadersInResponseHeadersPolicy), TooManyDistributionCnamEs(TooManyDistributionCnamEs), TooManyDistributions(TooManyDistributions), TooManyDistributionsAssociatedToCachePolicy(TooManyDistributionsAssociatedToCachePolicy), TooManyDistributionsAssociatedToFieldLevelEncryptionConfig(TooManyDistributionsAssociatedToFieldLevelEncryptionConfig), TooManyDistributionsAssociatedToKeyGroup(TooManyDistributionsAssociatedToKeyGroup), TooManyDistributionsAssociatedToOriginRequestPolicy(TooManyDistributionsAssociatedToOriginRequestPolicy), TooManyDistributionsAssociatedToResponseHeadersPolicy(TooManyDistributionsAssociatedToResponseHeadersPolicy), TooManyDistributionsWithFunctionAssociations(TooManyDistributionsWithFunctionAssociations), TooManyDistributionsWithLambdaAssociations(TooManyDistributionsWithLambdaAssociations), TooManyDistributionsWithSingleFunctionArn(TooManyDistributionsWithSingleFunctionArn), TooManyFieldLevelEncryptionConfigs(TooManyFieldLevelEncryptionConfigs), TooManyFieldLevelEncryptionContentTypeProfiles(TooManyFieldLevelEncryptionContentTypeProfiles), TooManyFieldLevelEncryptionEncryptionEntities(TooManyFieldLevelEncryptionEncryptionEntities), TooManyFieldLevelEncryptionFieldPatterns(TooManyFieldLevelEncryptionFieldPatterns), TooManyFieldLevelEncryptionProfiles(TooManyFieldLevelEncryptionProfiles), TooManyFieldLevelEncryptionQueryArgProfiles(TooManyFieldLevelEncryptionQueryArgProfiles), TooManyFunctionAssociations(TooManyFunctionAssociations), TooManyFunctions(TooManyFunctions), TooManyHeadersInCachePolicy(TooManyHeadersInCachePolicy), TooManyHeadersInForwardedValues(TooManyHeadersInForwardedValues), TooManyHeadersInOriginRequestPolicy(TooManyHeadersInOriginRequestPolicy), TooManyInvalidationsInProgress(TooManyInvalidationsInProgress), TooManyKeyGroups(TooManyKeyGroups), TooManyKeyGroupsAssociatedToDistribution(TooManyKeyGroupsAssociatedToDistribution), TooManyLambdaFunctionAssociations(TooManyLambdaFunctionAssociations), TooManyOriginCustomHeaders(TooManyOriginCustomHeaders), TooManyOriginGroupsPerDistribution(TooManyOriginGroupsPerDistribution), TooManyOriginRequestPolicies(TooManyOriginRequestPolicies), TooManyOrigins(TooManyOrigins), TooManyPublicKeys(TooManyPublicKeys), TooManyPublicKeysInKeyGroup(TooManyPublicKeysInKeyGroup), TooManyQueryStringParameters(TooManyQueryStringParameters), TooManyQueryStringsInCachePolicy(TooManyQueryStringsInCachePolicy), TooManyQueryStringsInOriginRequestPolicy(TooManyQueryStringsInOriginRequestPolicy), TooManyRealtimeLogConfigs(TooManyRealtimeLogConfigs), TooManyResponseHeadersPolicies(TooManyResponseHeadersPolicies), TooManyStreamingDistributionCnamEs(TooManyStreamingDistributionCnamEs), TooManyStreamingDistributions(TooManyStreamingDistributions), TooManyTrustedSigners(TooManyTrustedSigners), TrustedKeyGroupDoesNotExist(TrustedKeyGroupDoesNotExist), TrustedSignerDoesNotExist(TrustedSignerDoesNotExist), UnsupportedOperation(UnsupportedOperation), Unhandled(Box<dyn Error + Send + Sync + 'static>),
}
Expand description

All possible error types for this service.

Variants (Non-exhaustive)

This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
AccessDenied(AccessDenied)

Access denied.

Tuple Fields of AccessDenied

0: AccessDenied
BatchTooLarge(BatchTooLarge)

Invalidation batch specified is too large.

Tuple Fields of BatchTooLarge

0: BatchTooLarge
CnameAlreadyExists(CnameAlreadyExists)

The CNAME specified is already defined for CloudFront.

Tuple Fields of CnameAlreadyExists

0: CnameAlreadyExists
CachePolicyAlreadyExists(CachePolicyAlreadyExists)

A cache policy with this name already exists. You must provide a unique name. To modify an existing cache policy, use UpdateCachePolicy.

Tuple Fields of CachePolicyAlreadyExists

0: CachePolicyAlreadyExists
CachePolicyInUse(CachePolicyInUse)

Cannot delete the cache policy because it is attached to one or more cache behaviors.

Tuple Fields of CachePolicyInUse

0: CachePolicyInUse
CannotChangeImmutablePublicKeyFields(CannotChangeImmutablePublicKeyFields)

You can't change the value of a public key.

Tuple Fields of CannotChangeImmutablePublicKeyFields

0: CannotChangeImmutablePublicKeyFields
CloudFrontOriginAccessIdentityAlreadyExists(CloudFrontOriginAccessIdentityAlreadyExists)

If the CallerReference is a value you already sent in a previous request to create an identity but the content of the CloudFrontOriginAccessIdentityConfig is different from the original request, CloudFront returns a CloudFrontOriginAccessIdentityAlreadyExists error.

Tuple Fields of CloudFrontOriginAccessIdentityAlreadyExists

0: CloudFrontOriginAccessIdentityAlreadyExists
CloudFrontOriginAccessIdentityInUse(CloudFrontOriginAccessIdentityInUse)

The Origin Access Identity specified is already in use.

Tuple Fields of CloudFrontOriginAccessIdentityInUse

0: CloudFrontOriginAccessIdentityInUse
DistributionAlreadyExists(DistributionAlreadyExists)

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

Tuple Fields of DistributionAlreadyExists

0: DistributionAlreadyExists
DistributionNotDisabled(DistributionNotDisabled)

The specified CloudFront distribution is not disabled. You must disable the distribution before you can delete it.

Tuple Fields of DistributionNotDisabled

0: DistributionNotDisabled
FieldLevelEncryptionConfigAlreadyExists(FieldLevelEncryptionConfigAlreadyExists)

The specified configuration for field-level encryption already exists.

Tuple Fields of FieldLevelEncryptionConfigAlreadyExists

0: FieldLevelEncryptionConfigAlreadyExists
FieldLevelEncryptionConfigInUse(FieldLevelEncryptionConfigInUse)

The specified configuration for field-level encryption is in use.

Tuple Fields of FieldLevelEncryptionConfigInUse

0: FieldLevelEncryptionConfigInUse
FieldLevelEncryptionProfileAlreadyExists(FieldLevelEncryptionProfileAlreadyExists)

The specified profile for field-level encryption already exists.

Tuple Fields of FieldLevelEncryptionProfileAlreadyExists

0: FieldLevelEncryptionProfileAlreadyExists
FieldLevelEncryptionProfileInUse(FieldLevelEncryptionProfileInUse)

The specified profile for field-level encryption is in use.

Tuple Fields of FieldLevelEncryptionProfileInUse

0: FieldLevelEncryptionProfileInUse
FieldLevelEncryptionProfileSizeExceeded(FieldLevelEncryptionProfileSizeExceeded)

The maximum size of a profile for field-level encryption was exceeded.

Tuple Fields of FieldLevelEncryptionProfileSizeExceeded

0: FieldLevelEncryptionProfileSizeExceeded
FunctionAlreadyExists(FunctionAlreadyExists)

A function with the same name already exists in this Amazon Web Services account. To create a function, you must provide a unique name. To update an existing function, use UpdateFunction.

Tuple Fields of FunctionAlreadyExists

0: FunctionAlreadyExists
FunctionInUse(FunctionInUse)

Cannot delete the function because it’s attached to one or more cache behaviors.

Tuple Fields of FunctionInUse

0: FunctionInUse
FunctionSizeLimitExceeded(FunctionSizeLimitExceeded)

The function is too large. For more information, see Quotas (formerly known as limits) in the Amazon CloudFront Developer Guide.

Tuple Fields of FunctionSizeLimitExceeded

0: FunctionSizeLimitExceeded
IllegalDelete(IllegalDelete)

You cannot delete a managed policy.

Tuple Fields of IllegalDelete

0: IllegalDelete
IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior(IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior)

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

Tuple Fields of IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior

0: IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior
IllegalUpdate(IllegalUpdate)

The update contains modifications that are not allowed.

Tuple Fields of IllegalUpdate

0: IllegalUpdate
InconsistentQuantities(InconsistentQuantities)

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

Tuple Fields of InconsistentQuantities

0: InconsistentQuantities
InvalidArgument(InvalidArgument)

An argument is invalid.

Tuple Fields of InvalidArgument

0: InvalidArgument
InvalidDefaultRootObject(InvalidDefaultRootObject)

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

Tuple Fields of InvalidDefaultRootObject

0: InvalidDefaultRootObject
InvalidErrorCode(InvalidErrorCode)

An invalid error code was specified.

Tuple Fields of InvalidErrorCode

0: 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

0: InvalidForwardCookies
InvalidFunctionAssociation(InvalidFunctionAssociation)

A CloudFront function association is invalid.

Tuple Fields of InvalidFunctionAssociation

0: InvalidFunctionAssociation
InvalidGeoRestrictionParameter(InvalidGeoRestrictionParameter)

The specified geo restriction parameter is not valid.

Tuple Fields of InvalidGeoRestrictionParameter

0: InvalidGeoRestrictionParameter
InvalidHeadersForS3Origin(InvalidHeadersForS3Origin)

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

Tuple Fields of InvalidHeadersForS3Origin

0: InvalidHeadersForS3Origin
InvalidIfMatchVersion(InvalidIfMatchVersion)

The If-Match version is missing or not valid.

Tuple Fields of InvalidIfMatchVersion

0: InvalidIfMatchVersion
InvalidLambdaFunctionAssociation(InvalidLambdaFunctionAssociation)

The specified Lambda@Edge function association is invalid.

Tuple Fields of InvalidLambdaFunctionAssociation

0: InvalidLambdaFunctionAssociation
InvalidLocationCode(InvalidLocationCode)

The location code specified is not valid.

Tuple Fields of InvalidLocationCode

0: InvalidLocationCode
InvalidMinimumProtocolVersion(InvalidMinimumProtocolVersion)

The minimum protocol version specified is not valid.

Tuple Fields of InvalidMinimumProtocolVersion

0: InvalidMinimumProtocolVersion
InvalidOrigin(InvalidOrigin)

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

Tuple Fields of InvalidOrigin

0: InvalidOrigin
InvalidOriginAccessIdentity(InvalidOriginAccessIdentity)

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

Tuple Fields of InvalidOriginAccessIdentity

0: InvalidOriginAccessIdentity
InvalidOriginKeepaliveTimeout(InvalidOriginKeepaliveTimeout)

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

Tuple Fields of InvalidOriginKeepaliveTimeout

0: InvalidOriginKeepaliveTimeout
InvalidOriginReadTimeout(InvalidOriginReadTimeout)

The read timeout specified for the origin is not valid.

Tuple Fields of InvalidOriginReadTimeout

0: 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

0: InvalidProtocolSettings
InvalidQueryStringParameters(InvalidQueryStringParameters)

The query string parameters specified are not valid.

Tuple Fields of InvalidQueryStringParameters

0: InvalidQueryStringParameters
InvalidRelativePath(InvalidRelativePath)

The relative path is too big, is not URL-encoded, or does not begin with a slash (/).

Tuple Fields of InvalidRelativePath

0: 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

0: InvalidRequiredProtocol
InvalidResponseCode(InvalidResponseCode)

A response code is not valid.

Tuple Fields of InvalidResponseCode

0: InvalidResponseCode
InvalidTtlOrder(InvalidTtlOrder)

The TTL order specified is not valid.

Tuple Fields of InvalidTtlOrder

0: InvalidTtlOrder
InvalidTagging(InvalidTagging)

The tagging specified is not valid.

Tuple Fields of InvalidTagging

0: InvalidTagging
InvalidViewerCertificate(InvalidViewerCertificate)

A viewer certificate specified is not valid.

Tuple Fields of InvalidViewerCertificate

0: 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

0: InvalidWebAclId
KeyGroupAlreadyExists(KeyGroupAlreadyExists)

A key group with this name already exists. You must provide a unique name. To modify an existing key group, use UpdateKeyGroup.

Tuple Fields of KeyGroupAlreadyExists

0: KeyGroupAlreadyExists
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

0: NoSuchCachePolicy
NoSuchCloudFrontOriginAccessIdentity(NoSuchCloudFrontOriginAccessIdentity)

The specified origin access identity does not exist.

Tuple Fields of NoSuchCloudFrontOriginAccessIdentity

0: NoSuchCloudFrontOriginAccessIdentity
NoSuchDistribution(NoSuchDistribution)

The specified distribution does not exist.

Tuple Fields of NoSuchDistribution

0: NoSuchDistribution
NoSuchFieldLevelEncryptionConfig(NoSuchFieldLevelEncryptionConfig)

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

Tuple Fields of NoSuchFieldLevelEncryptionConfig

0: NoSuchFieldLevelEncryptionConfig
NoSuchFieldLevelEncryptionProfile(NoSuchFieldLevelEncryptionProfile)

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

Tuple Fields of NoSuchFieldLevelEncryptionProfile

0: NoSuchFieldLevelEncryptionProfile
NoSuchFunctionExists(NoSuchFunctionExists)

The function does not exist.

Tuple Fields of NoSuchFunctionExists

0: NoSuchFunctionExists
NoSuchInvalidation(NoSuchInvalidation)

The specified invalidation does not exist.

Tuple Fields of NoSuchInvalidation

0: NoSuchInvalidation
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

0: NoSuchOriginRequestPolicy
NoSuchPublicKey(NoSuchPublicKey)

The specified public key doesn't exist.

Tuple Fields of NoSuchPublicKey

0: NoSuchPublicKey
NoSuchRealtimeLogConfig(NoSuchRealtimeLogConfig)

The real-time log configuration does not exist.

Tuple Fields of NoSuchRealtimeLogConfig

0: NoSuchRealtimeLogConfig
NoSuchResource(NoSuchResource)

A resource that was specified is not valid.

Tuple Fields of NoSuchResource

0: NoSuchResource
NoSuchResponseHeadersPolicy(NoSuchResponseHeadersPolicy)

The response headers policy does not exist.

Tuple Fields of NoSuchResponseHeadersPolicy

0: NoSuchResponseHeadersPolicy
NoSuchStreamingDistribution(NoSuchStreamingDistribution)

The specified streaming distribution does not exist.

Tuple Fields of NoSuchStreamingDistribution

0: NoSuchStreamingDistribution
OriginRequestPolicyAlreadyExists(OriginRequestPolicyAlreadyExists)

An origin request policy with this name already exists. You must provide a unique name. To modify an existing origin request policy, use UpdateOriginRequestPolicy.

Tuple Fields of OriginRequestPolicyAlreadyExists

0: OriginRequestPolicyAlreadyExists
OriginRequestPolicyInUse(OriginRequestPolicyInUse)

Cannot delete the origin request policy because it is attached to one or more cache behaviors.

Tuple Fields of OriginRequestPolicyInUse

0: OriginRequestPolicyInUse
PreconditionFailed(PreconditionFailed)

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

Tuple Fields of PreconditionFailed

0: PreconditionFailed
PublicKeyAlreadyExists(PublicKeyAlreadyExists)

The specified public key already exists.

Tuple Fields of PublicKeyAlreadyExists

0: PublicKeyAlreadyExists
PublicKeyInUse(PublicKeyInUse)

The specified public key is in use.

Tuple Fields of PublicKeyInUse

0: PublicKeyInUse
QueryArgProfileEmpty(QueryArgProfileEmpty)

No profile specified for the field-level encryption query argument.

Tuple Fields of QueryArgProfileEmpty

0: QueryArgProfileEmpty
RealtimeLogConfigAlreadyExists(RealtimeLogConfigAlreadyExists)

A real-time log configuration with this name already exists. You must provide a unique name. To modify an existing real-time log configuration, use UpdateRealtimeLogConfig.

Tuple Fields of RealtimeLogConfigAlreadyExists

0: RealtimeLogConfigAlreadyExists
RealtimeLogConfigInUse(RealtimeLogConfigInUse)

Cannot delete the real-time log configuration because it is attached to one or more cache behaviors.

Tuple Fields of RealtimeLogConfigInUse

0: RealtimeLogConfigInUse
RealtimeLogConfigOwnerMismatch(RealtimeLogConfigOwnerMismatch)

The specified real-time log configuration belongs to a different Amazon Web Services account.

Tuple Fields of RealtimeLogConfigOwnerMismatch

0: RealtimeLogConfigOwnerMismatch
ResourceInUse(ResourceInUse)

Cannot delete this resource because it is in use.

Tuple Fields of ResourceInUse

0: ResourceInUse
ResponseHeadersPolicyAlreadyExists(ResponseHeadersPolicyAlreadyExists)

A response headers policy with this name already exists. You must provide a unique name. To modify an existing response headers policy, use UpdateResponseHeadersPolicy.

Tuple Fields of ResponseHeadersPolicyAlreadyExists

0: ResponseHeadersPolicyAlreadyExists
ResponseHeadersPolicyInUse(ResponseHeadersPolicyInUse)

Cannot delete the response headers policy because it is attached to one or more cache behaviors in a CloudFront distribution.

Tuple Fields of ResponseHeadersPolicyInUse

0: ResponseHeadersPolicyInUse
StreamingDistributionAlreadyExists(StreamingDistributionAlreadyExists)

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

Tuple Fields of StreamingDistributionAlreadyExists

0: StreamingDistributionAlreadyExists
StreamingDistributionNotDisabled(StreamingDistributionNotDisabled)

The specified CloudFront distribution is not disabled. You must disable the distribution before you can delete it.

Tuple Fields of StreamingDistributionNotDisabled

0: StreamingDistributionNotDisabled
TestFunctionFailed(TestFunctionFailed)

The CloudFront function failed.

Tuple Fields of TestFunctionFailed

0: TestFunctionFailed
TooManyCacheBehaviors(TooManyCacheBehaviors)

You cannot create more cache behaviors for the distribution.

Tuple Fields of TooManyCacheBehaviors

0: TooManyCacheBehaviors
TooManyCachePolicies(TooManyCachePolicies)

You have reached the maximum number of cache policies for this Amazon Web Services account. For more information, see Quotas (formerly known as limits) in the Amazon CloudFront Developer Guide.

Tuple Fields of TooManyCachePolicies

0: TooManyCachePolicies
TooManyCertificates(TooManyCertificates)

You cannot create anymore custom SSL/TLS certificates.

Tuple Fields of TooManyCertificates

0: TooManyCertificates
TooManyCloudFrontOriginAccessIdentities(TooManyCloudFrontOriginAccessIdentities)

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

Tuple Fields of TooManyCloudFrontOriginAccessIdentities

0: TooManyCloudFrontOriginAccessIdentities
TooManyCookieNamesInWhiteList(TooManyCookieNamesInWhiteList)

Your request contains more cookie names in the whitelist than are allowed per cache behavior.

Tuple Fields of TooManyCookieNamesInWhiteList

0: TooManyCookieNamesInWhiteList
TooManyCookiesInCachePolicy(TooManyCookiesInCachePolicy)

The number of cookies in the cache policy exceeds the maximum. For more information, see Quotas (formerly known as limits) in the Amazon CloudFront Developer Guide.

Tuple Fields of TooManyCookiesInCachePolicy

0: TooManyCookiesInCachePolicy
TooManyCookiesInOriginRequestPolicy(TooManyCookiesInOriginRequestPolicy)

The number of cookies in the origin request policy exceeds the maximum. For more information, see Quotas (formerly known as limits) in the Amazon CloudFront Developer Guide.

Tuple Fields of TooManyCookiesInOriginRequestPolicy

0: TooManyCookiesInOriginRequestPolicy
TooManyCustomHeadersInResponseHeadersPolicy(TooManyCustomHeadersInResponseHeadersPolicy)

The number of custom headers in the response headers policy exceeds the maximum.

For more information, see Quotas (formerly known as limits) in the Amazon CloudFront Developer Guide.

Tuple Fields of TooManyCustomHeadersInResponseHeadersPolicy

0: TooManyCustomHeadersInResponseHeadersPolicy
TooManyDistributionCnamEs(TooManyDistributionCnamEs)

Your request contains more CNAMEs than are allowed per distribution.

Tuple Fields of TooManyDistributionCnamEs

0: TooManyDistributionCnamEs
TooManyDistributions(TooManyDistributions)

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

Tuple Fields of TooManyDistributions

0: 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

0: TooManyDistributionsAssociatedToCachePolicy
TooManyDistributionsAssociatedToFieldLevelEncryptionConfig(TooManyDistributionsAssociatedToFieldLevelEncryptionConfig)

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

Tuple Fields of TooManyDistributionsAssociatedToFieldLevelEncryptionConfig

0: 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

0: 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

0: 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

0: 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

0: 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

0: TooManyDistributionsWithLambdaAssociations
TooManyDistributionsWithSingleFunctionArn(TooManyDistributionsWithSingleFunctionArn)

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

Tuple Fields of TooManyDistributionsWithSingleFunctionArn

0: TooManyDistributionsWithSingleFunctionArn
TooManyFieldLevelEncryptionConfigs(TooManyFieldLevelEncryptionConfigs)

The maximum number of configurations for field-level encryption have been created.

Tuple Fields of TooManyFieldLevelEncryptionConfigs

0: TooManyFieldLevelEncryptionConfigs
TooManyFieldLevelEncryptionContentTypeProfiles(TooManyFieldLevelEncryptionContentTypeProfiles)

The maximum number of content type profiles for field-level encryption have been created.

Tuple Fields of TooManyFieldLevelEncryptionContentTypeProfiles

0: TooManyFieldLevelEncryptionContentTypeProfiles
TooManyFieldLevelEncryptionEncryptionEntities(TooManyFieldLevelEncryptionEncryptionEntities)

The maximum number of encryption entities for field-level encryption have been created.

Tuple Fields of TooManyFieldLevelEncryptionEncryptionEntities

0: TooManyFieldLevelEncryptionEncryptionEntities
TooManyFieldLevelEncryptionFieldPatterns(TooManyFieldLevelEncryptionFieldPatterns)

The maximum number of field patterns for field-level encryption have been created.

Tuple Fields of TooManyFieldLevelEncryptionFieldPatterns

0: TooManyFieldLevelEncryptionFieldPatterns
TooManyFieldLevelEncryptionProfiles(TooManyFieldLevelEncryptionProfiles)

The maximum number of profiles for field-level encryption have been created.

Tuple Fields of TooManyFieldLevelEncryptionProfiles

0: TooManyFieldLevelEncryptionProfiles
TooManyFieldLevelEncryptionQueryArgProfiles(TooManyFieldLevelEncryptionQueryArgProfiles)

The maximum number of query arg profiles for field-level encryption have been created.

Tuple Fields of TooManyFieldLevelEncryptionQueryArgProfiles

0: TooManyFieldLevelEncryptionQueryArgProfiles
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

0: TooManyFunctionAssociations
TooManyFunctions(TooManyFunctions)

You have reached the maximum number of CloudFront functions for this Amazon Web Services account. For more information, see Quotas (formerly known as limits) in the Amazon CloudFront Developer Guide.

Tuple Fields of TooManyFunctions

0: TooManyFunctions
TooManyHeadersInCachePolicy(TooManyHeadersInCachePolicy)

The number of headers in the cache policy exceeds the maximum. For more information, see Quotas (formerly known as limits) in the Amazon CloudFront Developer Guide.

Tuple Fields of TooManyHeadersInCachePolicy

0: TooManyHeadersInCachePolicy
TooManyHeadersInForwardedValues(TooManyHeadersInForwardedValues)

Your request contains too many headers in forwarded values.

Tuple Fields of TooManyHeadersInForwardedValues

0: TooManyHeadersInForwardedValues
TooManyHeadersInOriginRequestPolicy(TooManyHeadersInOriginRequestPolicy)

The number of headers in the origin request policy exceeds the maximum. For more information, see Quotas (formerly known as limits) in the Amazon CloudFront Developer Guide.

Tuple Fields of TooManyHeadersInOriginRequestPolicy

0: TooManyHeadersInOriginRequestPolicy
TooManyInvalidationsInProgress(TooManyInvalidationsInProgress)

You have exceeded the maximum number of allowable InProgress invalidation batch requests, or invalidation objects.

Tuple Fields of TooManyInvalidationsInProgress

0: TooManyInvalidationsInProgress
TooManyKeyGroups(TooManyKeyGroups)

You have reached the maximum number of key groups for this Amazon Web Services account. For more information, see Quotas (formerly known as limits) in the Amazon CloudFront Developer Guide.

Tuple Fields of TooManyKeyGroups

0: TooManyKeyGroups
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

0: TooManyKeyGroupsAssociatedToDistribution
TooManyLambdaFunctionAssociations(TooManyLambdaFunctionAssociations)

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

Tuple Fields of TooManyLambdaFunctionAssociations

0: TooManyLambdaFunctionAssociations
TooManyOriginCustomHeaders(TooManyOriginCustomHeaders)

Your request contains too many origin custom headers.

Tuple Fields of TooManyOriginCustomHeaders

0: TooManyOriginCustomHeaders
TooManyOriginGroupsPerDistribution(TooManyOriginGroupsPerDistribution)

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

Tuple Fields of TooManyOriginGroupsPerDistribution

0: TooManyOriginGroupsPerDistribution
TooManyOriginRequestPolicies(TooManyOriginRequestPolicies)

You have reached the maximum number of origin request policies for this Amazon Web Services account. For more information, see Quotas (formerly known as limits) in the Amazon CloudFront Developer Guide.

Tuple Fields of TooManyOriginRequestPolicies

0: TooManyOriginRequestPolicies
TooManyOrigins(TooManyOrigins)

You cannot create more origins for the distribution.

Tuple Fields of TooManyOrigins

0: TooManyOrigins
TooManyPublicKeys(TooManyPublicKeys)

The maximum number of public keys for field-level encryption have been created. To create a new public key, delete one of the existing keys.

Tuple Fields of TooManyPublicKeys

0: TooManyPublicKeys
TooManyPublicKeysInKeyGroup(TooManyPublicKeysInKeyGroup)

The number of public keys in 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 TooManyPublicKeysInKeyGroup

0: TooManyPublicKeysInKeyGroup
TooManyQueryStringParameters(TooManyQueryStringParameters)

Your request contains too many query string parameters.

Tuple Fields of TooManyQueryStringParameters

0: TooManyQueryStringParameters
TooManyQueryStringsInCachePolicy(TooManyQueryStringsInCachePolicy)

The number of query strings in the cache policy exceeds the maximum. For more information, see Quotas (formerly known as limits) in the Amazon CloudFront Developer Guide.

Tuple Fields of TooManyQueryStringsInCachePolicy

0: TooManyQueryStringsInCachePolicy
TooManyQueryStringsInOriginRequestPolicy(TooManyQueryStringsInOriginRequestPolicy)

The number of query strings in the origin request policy exceeds the maximum. For more information, see Quotas (formerly known as limits) in the Amazon CloudFront Developer Guide.

Tuple Fields of TooManyQueryStringsInOriginRequestPolicy

0: TooManyQueryStringsInOriginRequestPolicy
TooManyRealtimeLogConfigs(TooManyRealtimeLogConfigs)

You have reached the maximum number of real-time log configurations for this Amazon Web Services account. For more information, see Quotas (formerly known as limits) in the Amazon CloudFront Developer Guide.

Tuple Fields of TooManyRealtimeLogConfigs

0: TooManyRealtimeLogConfigs
TooManyResponseHeadersPolicies(TooManyResponseHeadersPolicies)

You have reached the maximum number of response headers policies for this Amazon Web Services account.

For more information, see Quotas (formerly known as limits) in the Amazon CloudFront Developer Guide.

Tuple Fields of TooManyResponseHeadersPolicies

0: TooManyResponseHeadersPolicies
TooManyStreamingDistributionCnamEs(TooManyStreamingDistributionCnamEs)

Your request contains more CNAMEs than are allowed per distribution.

Tuple Fields of TooManyStreamingDistributionCnamEs

0: TooManyStreamingDistributionCnamEs
TooManyStreamingDistributions(TooManyStreamingDistributions)

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

Tuple Fields of TooManyStreamingDistributions

0: TooManyStreamingDistributions
TooManyTrustedSigners(TooManyTrustedSigners)

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

Tuple Fields of TooManyTrustedSigners

0: TooManyTrustedSigners
TrustedKeyGroupDoesNotExist(TrustedKeyGroupDoesNotExist)

The specified key group does not exist.

Tuple Fields of TrustedKeyGroupDoesNotExist

0: TrustedKeyGroupDoesNotExist
TrustedSignerDoesNotExist(TrustedSignerDoesNotExist)

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

Tuple Fields of TrustedSignerDoesNotExist

0: TrustedSignerDoesNotExist
UnsupportedOperation(UnsupportedOperation)

This operation is not supported in this region.

Tuple Fields of UnsupportedOperation

0: UnsupportedOperation
Unhandled(Box<dyn Error + Send + Sync + 'static>)

An unhandled error occurred.

Tuple Fields of Unhandled

0: Box<dyn Error + Send + Sync + 'static>

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

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

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

Performs the conversion.

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

Performs the conversion.

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