NOTE: For Version 3 of the AWS SDK for PHP, please see the V3 User Guide and V3 API Reference.

# Namespace Aws\CloudFront\Exception

## Exceptions summary

AccessDeniedException | Access denied.
BatchTooLargeException | Exception that occurs when a BatchTooLargeException error is encountered
CloudFrontException | Default service exception class
CloudFrontOriginAccessIdentityAlreadyExistsException | 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.
CloudFrontOriginAccessIdentityInUseException | Exception that occurs when a CloudFrontOriginAccessIdentityInUseException error is encountered
CNAMEAlreadyExistsException | Exception that occurs when a CNAMEAlreadyExistsException error is encountered
DistributionAlreadyExistsException | The caller reference you attempted to create the distribution with is associated with another distribution.
DistributionNotDisabledException | Exception that occurs when a DistributionNotDisabledException error is encountered
Exception | Default service exception class
IllegalUpdateException | Origin and CallerReference cannot be updated.
InconsistentQuantitiesException | The value of Quantity and the size of Items do not match.
InvalidArgumentException | The argument is invalid.
InvalidDefaultRootObjectException | The default root object file name is too big or contains an invalid character.
InvalidErrorCodeException | Exception that occurs when a InvalidErrorCodeException error is encountered
InvalidForwardCookiesException | 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.
InvalidGeoRestrictionParameterException | Exception that occurs when a InvalidGeoRestrictionParameterException error is encountered
InvalidIfMatchVersionException | The If-Match version is missing or not valid for the distribution.
InvalidLocationCodeException | Exception that occurs when a InvalidLocationCodeException error is encountered
InvalidOriginAccessIdentityException | The origin access identity is not valid or doesn't exist.
InvalidOriginException | The Amazon S3 origin server specified does not refer to a valid Amazon S3 bucket.
InvalidRelativePathException | The relative path is too big, is not URL-encoded, or does not begin with a slash (/).
InvalidRequiredProtocolException | 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.
InvalidResponseCodeException | Exception that occurs when a InvalidResponseCodeException error is encountered
InvalidViewerCertificateException | Exception that occurs when a InvalidViewerCertificateException error is encountered
MissingBodyException | This operation requires a body. Ensure that the body is present and the Content-Type header is set.
NoSuchCloudFrontOriginAccessIdentityException | The specified origin access identity does not exist.
NoSuchDistributionException | The specified distribution does not exist.
NoSuchInvalidationException | The specified invalidation does not exist.
NoSuchOriginException | No origin exists with the specified Origin Id.
NoSuchStreamingDistributionException | The specified streaming distribution does not exist.
PreconditionFailedException | The precondition given in one or more of the request-header fields evaluated to false.
StreamingDistributionAlreadyExistsException | Exception that occurs when a StreamingDistributionAlreadyExistsException error is encountered
StreamingDistributionNotDisabledException | Exception that occurs when a StreamingDistributionNotDisabledException error is encountered
TooManyCacheBehaviorsException | You cannot create anymore cache behaviors for the distribution.
TooManyCertificatesException | You cannot create anymore custom ssl certificates.
TooManyCloudFrontOriginAccessIdentitiesException | Processing your request would cause you to exceed the maximum number of origin access identities allowed.
TooManyCookieNamesInWhiteListException | Your request contains more cookie names in the whitelist than are allowed per cache behavior.
TooManyDistributionCNAMEsException | Your request contains more CNAMEs than are allowed per distribution.
TooManyDistributionsException | Processing your request would cause you to exceed the maximum number of distributions allowed.
TooManyInvalidationsInProgressException | You have exceeded the maximum number of allowable InProgress invalidation batch requests, or invalidation objects.
TooManyOriginsException | You cannot create anymore origins for the distribution.
TooManyStreamingDistributionCNAMEsException | Exception that occurs when a TooManyStreamingDistributionCNAMEsException error is encountered
TooManyStreamingDistributionsException | Processing your request would cause you to exceed the maximum number of streaming distributions allowed.
TooManyTrustedSignersException | Your request contains more trusted signers than are allowed per distribution.
TrustedSignerDoesNotExistException | One or more of your trusted signers do not exist.