Class CloudFrontException
- Exception
-
RuntimeException
-
Aws\Exception\AwsException implements Aws\MonitoringEventsInterface, Aws\ResponseContainerInterface, ArrayAccess uses Aws\HasDataTrait, Aws\HasMonitoringEventsTrait
-
Aws\CloudFront\Exception\CloudFrontException
- Namespace: Aws\CloudFront\Exception
- Located at CloudFront/Exception/CloudFrontException.php
Represents an error interacting with the Amazon CloudFront service.
Methods Summary
Methods inherited from Aws\Exception\AwsException
__construct()
,
__toString()
,
get()
,
getAwsErrorCode()
,
getAwsErrorMessage()
,
getAwsErrorShape()
,
getAwsErrorType()
,
getAwsRequestId()
,
getCommand()
,
getRequest()
,
getResponse()
,
getResult()
,
getStatusCode()
,
getTransferInfo()
,
hasKey()
,
isConnectionError()
,
isMaxRetriesExceeded()
,
search()
,
setMaxRetriesExceeded()
,
setTransferInfo()
Methods inherited from Exception
__wakeup()
,
getCode()
,
getFile()
,
getLine()
,
getMessage()
,
getPrevious()
,
getTrace()
,
getTraceAsString()
Methods inherited from ArrayAccess
offsetExists()
,
offsetGet()
,
offsetSet()
,
offsetUnset()
Methods inherited from Aws\MonitoringEventsInterface
Methods used from Aws\HasDataTrait
Methods used from Aws\HasMonitoringEventsTrait
Expected Exception Codes
AccessDenied
[ 'Message' => '<string>', ]
BatchTooLarge
[ 'Message' => '<string>', ]
CNAMEAlreadyExists
[ 'Message' => '<string>', ]
CachePolicyAlreadyExists
[ 'Message' => '<string>', ]
Description
A cache policy with this name already exists. You must provide a unique name. To modify an existing cache policy, use UpdateCachePolicy
.
Members
CachePolicyInUse
[ 'Message' => '<string>', ]
Description
Cannot delete the cache policy because it is attached to one or more cache behaviors.
Members
CannotChangeImmutablePublicKeyFields
[ 'Message' => '<string>', ]
CloudFrontOriginAccessIdentityAlreadyExists
[ 'Message' => '<string>', ]
Description
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.
Members
CloudFrontOriginAccessIdentityInUse
[ 'Message' => '<string>', ]
DistributionAlreadyExists
[ 'Message' => '<string>', ]
Description
The caller reference you attempted to create the distribution with is associated with another distribution.
Members
DistributionNotDisabled
[ 'Message' => '<string>', ]
Description
The specified CloudFront distribution is not disabled. You must disable the distribution before you can delete it.
Members
FieldLevelEncryptionConfigAlreadyExists
[ 'Message' => '<string>', ]
Description
The specified configuration for field-level encryption already exists.
Members
FieldLevelEncryptionConfigInUse
[ 'Message' => '<string>', ]
Description
The specified configuration for field-level encryption is in use.
Members
FieldLevelEncryptionProfileAlreadyExists
[ 'Message' => '<string>', ]
Description
The specified profile for field-level encryption already exists.
Members
FieldLevelEncryptionProfileInUse
[ 'Message' => '<string>', ]
Description
The specified profile for field-level encryption is in use.
Members
FieldLevelEncryptionProfileSizeExceeded
[ 'Message' => '<string>', ]
Description
The maximum size of a profile for field-level encryption was exceeded.
Members
IllegalDelete
[ 'Message' => '<string>', ]
IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior
[ 'Message' => '<string>', ]
Description
The specified configuration for field-level encryption can't be associated with the specified cache behavior.
Members
IllegalUpdate
[ 'Message' => '<string>', ]
InconsistentQuantities
[ 'Message' => '<string>', ]
InvalidArgument
[ 'Message' => '<string>', ]
InvalidDefaultRootObject
[ 'Message' => '<string>', ]
Description
The default root object file name is too big or contains an invalid character.
Members
InvalidErrorCode
[ 'Message' => '<string>', ]
InvalidForwardCookies
[ 'Message' => '<string>', ]
Description
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.
Members
InvalidGeoRestrictionParameter
[ 'Message' => '<string>', ]
InvalidHeadersForS3Origin
[ 'Message' => '<string>', ]
Description
The headers specified are not valid for an Amazon S3 origin.
Members
InvalidIfMatchVersion
[ 'Message' => '<string>', ]
InvalidLambdaFunctionAssociation
[ 'Message' => '<string>', ]
InvalidLocationCode
[ 'Message' => '<string>', ]
InvalidMinimumProtocolVersion
[ 'Message' => '<string>', ]
InvalidOrigin
[ 'Message' => '<string>', ]
Description
The Amazon S3 origin server specified does not refer to a valid Amazon S3 bucket.
Members
InvalidOriginAccessIdentity
[ 'Message' => '<string>', ]
InvalidOriginKeepaliveTimeout
[ 'Message' => '<string>', ]
Description
The keep alive timeout specified for the origin is not valid.
Members
InvalidOriginReadTimeout
[ 'Message' => '<string>', ]
InvalidProtocolSettings
[ 'Message' => '<string>', ]
Description
You cannot specify SSLv3 as the minimum protocol version if you only want to support only clients that support Server Name Indication (SNI).
Members
InvalidQueryStringParameters
[ 'Message' => '<string>', ]
InvalidRelativePath
[ 'Message' => '<string>', ]
Description
The relative path is too big, is not URL-encoded, or does not begin with a slash (/).
Members
InvalidRequiredProtocol
[ 'Message' => '<string>', ]
Description
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.
Members
InvalidResponseCode
[ 'Message' => '<string>', ]
InvalidTTLOrder
[ 'Message' => '<string>', ]
InvalidTagging
[ 'Message' => '<string>', ]
InvalidViewerCertificate
[ 'Message' => '<string>', ]
InvalidWebACLId
[ 'Message' => '<string>', ]
Description
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
.
Members
KeyGroupAlreadyExists
[ 'Message' => '<string>', ]
Description
A key group with this name already exists. You must provide a unique name. To modify an existing key group, use UpdateKeyGroup
.
Members
MissingBody
[ 'Message' => '<string>', ]
Description
This operation requires a body. Ensure that the body is present and the Content-Type
header is set.
Members
NoSuchCachePolicy
[ 'Message' => '<string>', ]
NoSuchCloudFrontOriginAccessIdentity
[ 'Message' => '<string>', ]
NoSuchDistribution
[ 'Message' => '<string>', ]
NoSuchFieldLevelEncryptionConfig
[ 'Message' => '<string>', ]
Description
The specified configuration for field-level encryption doesn't exist.
Members
NoSuchFieldLevelEncryptionProfile
[ 'Message' => '<string>', ]
Description
The specified profile for field-level encryption doesn't exist.
Members
NoSuchInvalidation
[ 'Message' => '<string>', ]
NoSuchOrigin
[ 'Message' => '<string>', ]
NoSuchOriginRequestPolicy
[ 'Message' => '<string>', ]
NoSuchPublicKey
[ 'Message' => '<string>', ]
NoSuchRealtimeLogConfig
[ 'Message' => '<string>', ]
NoSuchResource
[ 'Message' => '<string>', ]
NoSuchStreamingDistribution
[ 'Message' => '<string>', ]
OriginRequestPolicyAlreadyExists
[ 'Message' => '<string>', ]
Description
An origin request policy with this name already exists. You must provide a unique name. To modify an existing origin request policy, use UpdateOriginRequestPolicy
.
Members
OriginRequestPolicyInUse
[ 'Message' => '<string>', ]
Description
Cannot delete the origin request policy because it is attached to one or more cache behaviors.
Members
PreconditionFailed
[ 'Message' => '<string>', ]
Description
The precondition given in one or more of the request header fields evaluated to false
.
Members
PublicKeyAlreadyExists
[ 'Message' => '<string>', ]
PublicKeyInUse
[ 'Message' => '<string>', ]
QueryArgProfileEmpty
[ 'Message' => '<string>', ]
Description
No profile specified for the field-level encryption query argument.
Members
RealtimeLogConfigAlreadyExists
[ 'Message' => '<string>', ]
Description
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
.
Members
RealtimeLogConfigInUse
[ 'Message' => '<string>', ]
Description
Cannot delete the real-time log configuration because it is attached to one or more cache behaviors.
Members
ResourceInUse
[ 'Message' => '<string>', ]
StreamingDistributionAlreadyExists
[ 'Message' => '<string>', ]
Description
The caller reference you attempted to create the streaming distribution with is associated with another distribution
Members
StreamingDistributionNotDisabled
[ 'Message' => '<string>', ]
Description
The specified CloudFront distribution is not disabled. You must disable the distribution before you can delete it.
Members
TooManyCacheBehaviors
[ 'Message' => '<string>', ]
Description
You cannot create more cache behaviors for the distribution.
Members
TooManyCachePolicies
[ 'Message' => '<string>', ]
Description
You have reached the maximum number of cache policies for this AWS account. For more information, see Quotas (formerly known as limits) in the Amazon CloudFront Developer Guide.
Members
TooManyCertificates
[ 'Message' => '<string>', ]
TooManyCloudFrontOriginAccessIdentities
[ 'Message' => '<string>', ]
Description
Processing your request would cause you to exceed the maximum number of origin access identities allowed.
Members
TooManyCookieNamesInWhiteList
[ 'Message' => '<string>', ]
Description
Your request contains more cookie names in the whitelist than are allowed per cache behavior.
Members
TooManyCookiesInCachePolicy
[ 'Message' => '<string>', ]
Description
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.
Members
TooManyCookiesInOriginRequestPolicy
[ 'Message' => '<string>', ]
Description
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.
Members
TooManyDistributionCNAMEs
[ 'Message' => '<string>', ]
Description
Your request contains more CNAMEs than are allowed per distribution.
Members
TooManyDistributions
[ 'Message' => '<string>', ]
Description
Processing your request would cause you to exceed the maximum number of distributions allowed.
Members
TooManyDistributionsAssociatedToCachePolicy
[ 'Message' => '<string>', ]
Description
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.
Members
TooManyDistributionsAssociatedToFieldLevelEncryptionConfig
[ 'Message' => '<string>', ]
Description
The maximum number of distributions have been associated with the specified configuration for field-level encryption.
Members
TooManyDistributionsAssociatedToKeyGroup
[ 'Message' => '<string>', ]
Description
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.
Members
TooManyDistributionsAssociatedToOriginRequestPolicy
[ 'Message' => '<string>', ]
Description
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.
Members
TooManyDistributionsWithLambdaAssociations
[ 'Message' => '<string>', ]
Description
Processing your request would cause the maximum number of distributions with Lambda function associations per owner to be exceeded.
Members
TooManyDistributionsWithSingleFunctionARN
[ 'Message' => '<string>', ]
Description
The maximum number of distributions have been associated with the specified Lambda function.
Members
TooManyFieldLevelEncryptionConfigs
[ 'Message' => '<string>', ]
Description
The maximum number of configurations for field-level encryption have been created.
Members
TooManyFieldLevelEncryptionContentTypeProfiles
[ 'Message' => '<string>', ]
Description
The maximum number of content type profiles for field-level encryption have been created.
Members
TooManyFieldLevelEncryptionEncryptionEntities
[ 'Message' => '<string>', ]
Description
The maximum number of encryption entities for field-level encryption have been created.
Members
TooManyFieldLevelEncryptionFieldPatterns
[ 'Message' => '<string>', ]
Description
The maximum number of field patterns for field-level encryption have been created.
Members
TooManyFieldLevelEncryptionProfiles
[ 'Message' => '<string>', ]
Description
The maximum number of profiles for field-level encryption have been created.
Members
TooManyFieldLevelEncryptionQueryArgProfiles
[ 'Message' => '<string>', ]
Description
The maximum number of query arg profiles for field-level encryption have been created.
Members
TooManyHeadersInCachePolicy
[ 'Message' => '<string>', ]
Description
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.
Members
TooManyHeadersInForwardedValues
[ 'Message' => '<string>', ]
Description
Your request contains too many headers in forwarded values.
Members
TooManyHeadersInOriginRequestPolicy
[ 'Message' => '<string>', ]
Description
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.
Members
TooManyInvalidationsInProgress
[ 'Message' => '<string>', ]
Description
You have exceeded the maximum number of allowable InProgress invalidation batch requests, or invalidation objects.
Members
TooManyKeyGroups
[ 'Message' => '<string>', ]
Description
You have reached the maximum number of key groups for this AWS account. For more information, see Quotas (formerly known as limits) in the Amazon CloudFront Developer Guide.
Members
TooManyKeyGroupsAssociatedToDistribution
[ 'Message' => '<string>', ]
Description
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.
Members
TooManyLambdaFunctionAssociations
[ 'Message' => '<string>', ]
Description
Your request contains more Lambda function associations than are allowed per distribution.
Members
TooManyOriginCustomHeaders
[ 'Message' => '<string>', ]
TooManyOriginGroupsPerDistribution
[ 'Message' => '<string>', ]
Description
Processing your request would cause you to exceed the maximum number of origin groups allowed.
Members
TooManyOriginRequestPolicies
[ 'Message' => '<string>', ]
Description
You have reached the maximum number of origin request policies for this AWS account. For more information, see Quotas (formerly known as limits) in the Amazon CloudFront Developer Guide.
Members
TooManyOrigins
[ 'Message' => '<string>', ]
TooManyPublicKeys
[ 'Message' => '<string>', ]
Description
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.
Members
TooManyPublicKeysInKeyGroup
[ 'Message' => '<string>', ]
Description
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.
Members
TooManyQueryStringParameters
[ 'Message' => '<string>', ]
TooManyQueryStringsInCachePolicy
[ 'Message' => '<string>', ]
Description
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.
Members
TooManyQueryStringsInOriginRequestPolicy
[ 'Message' => '<string>', ]
Description
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.
Members
TooManyRealtimeLogConfigs
[ 'Message' => '<string>', ]
Description
You have reached the maximum number of real-time log configurations for this AWS account. For more information, see Quotas (formerly known as limits) in the Amazon CloudFront Developer Guide.
Members
TooManyStreamingDistributionCNAMEs
[ 'Message' => '<string>', ]
Description
Your request contains more CNAMEs than are allowed per distribution.
Members
TooManyStreamingDistributions
[ 'Message' => '<string>', ]
Description
Processing your request would cause you to exceed the maximum number of streaming distributions allowed.
Members
TooManyTrustedSigners
[ 'Message' => '<string>', ]
Description
Your request contains more trusted signers than are allowed per distribution.
Members
TrustedKeyGroupDoesNotExist
[ 'Message' => '<string>', ]
TrustedSignerDoesNotExist
[ 'Message' => '<string>', ]