AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

ErrCodeAccessDenied - ErrCodeTrustedSignerDoesNotExist

import "github.com/aws/aws-sdk-go/service/cloudfront"

const ( ErrCodeAccessDenied = "AccessDenied" ErrCodeBatchTooLarge = "BatchTooLarge" ErrCodeCNAMEAlreadyExists = "CNAMEAlreadyExists" ErrCodeCannotChangeImmutablePublicKeyFields = "CannotChangeImmutablePublicKeyFields" ErrCodeDistributionAlreadyExists = "DistributionAlreadyExists" ErrCodeDistributionNotDisabled = "DistributionNotDisabled" ErrCodeFieldLevelEncryptionConfigAlreadyExists = "FieldLevelEncryptionConfigAlreadyExists" ErrCodeFieldLevelEncryptionConfigInUse = "FieldLevelEncryptionConfigInUse" ErrCodeFieldLevelEncryptionProfileAlreadyExists = "FieldLevelEncryptionProfileAlreadyExists" ErrCodeFieldLevelEncryptionProfileInUse = "FieldLevelEncryptionProfileInUse" ErrCodeFieldLevelEncryptionProfileSizeExceeded = "FieldLevelEncryptionProfileSizeExceeded" ErrCodeIllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior = "IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior" ErrCodeIllegalUpdate = "IllegalUpdate" ErrCodeInconsistentQuantities = "InconsistentQuantities" ErrCodeInvalidArgument = "InvalidArgument" ErrCodeInvalidDefaultRootObject = "InvalidDefaultRootObject" ErrCodeInvalidErrorCode = "InvalidErrorCode" ErrCodeInvalidForwardCookies = "InvalidForwardCookies" ErrCodeInvalidGeoRestrictionParameter = "InvalidGeoRestrictionParameter" ErrCodeInvalidHeadersForS3Origin = "InvalidHeadersForS3Origin" ErrCodeInvalidIfMatchVersion = "InvalidIfMatchVersion" ErrCodeInvalidLambdaFunctionAssociation = "InvalidLambdaFunctionAssociation" ErrCodeInvalidLocationCode = "InvalidLocationCode" ErrCodeInvalidMinimumProtocolVersion = "InvalidMinimumProtocolVersion" ErrCodeInvalidOrigin = "InvalidOrigin" ErrCodeInvalidOriginAccessIdentity = "InvalidOriginAccessIdentity" ErrCodeInvalidOriginKeepaliveTimeout = "InvalidOriginKeepaliveTimeout" ErrCodeInvalidOriginReadTimeout = "InvalidOriginReadTimeout" ErrCodeInvalidProtocolSettings = "InvalidProtocolSettings" ErrCodeInvalidQueryStringParameters = "InvalidQueryStringParameters" ErrCodeInvalidRelativePath = "InvalidRelativePath" ErrCodeInvalidRequiredProtocol = "InvalidRequiredProtocol" ErrCodeInvalidResponseCode = "InvalidResponseCode" ErrCodeInvalidTTLOrder = "InvalidTTLOrder" ErrCodeInvalidTagging = "InvalidTagging" ErrCodeInvalidViewerCertificate = "InvalidViewerCertificate" ErrCodeInvalidWebACLId = "InvalidWebACLId" ErrCodeMissingBody = "MissingBody" ErrCodeNoSuchCloudFrontOriginAccessIdentity = "NoSuchCloudFrontOriginAccessIdentity" ErrCodeNoSuchDistribution = "NoSuchDistribution" ErrCodeNoSuchFieldLevelEncryptionConfig = "NoSuchFieldLevelEncryptionConfig" ErrCodeNoSuchFieldLevelEncryptionProfile = "NoSuchFieldLevelEncryptionProfile" ErrCodeNoSuchInvalidation = "NoSuchInvalidation" ErrCodeNoSuchOrigin = "NoSuchOrigin" ErrCodeNoSuchPublicKey = "NoSuchPublicKey" ErrCodeNoSuchResource = "NoSuchResource" ErrCodeNoSuchStreamingDistribution = "NoSuchStreamingDistribution" ErrCodeOriginAccessIdentityAlreadyExists = "CloudFrontOriginAccessIdentityAlreadyExists" ErrCodeOriginAccessIdentityInUse = "CloudFrontOriginAccessIdentityInUse" ErrCodePreconditionFailed = "PreconditionFailed" ErrCodePublicKeyAlreadyExists = "PublicKeyAlreadyExists" ErrCodePublicKeyInUse = "PublicKeyInUse" ErrCodeQueryArgProfileEmpty = "QueryArgProfileEmpty" ErrCodeStreamingDistributionAlreadyExists = "StreamingDistributionAlreadyExists" ErrCodeStreamingDistributionNotDisabled = "StreamingDistributionNotDisabled" ErrCodeTooManyCacheBehaviors = "TooManyCacheBehaviors" ErrCodeTooManyCertificates = "TooManyCertificates" ErrCodeTooManyCloudFrontOriginAccessIdentities = "TooManyCloudFrontOriginAccessIdentities" ErrCodeTooManyCookieNamesInWhiteList = "TooManyCookieNamesInWhiteList" ErrCodeTooManyDistributionCNAMEs = "TooManyDistributionCNAMEs" ErrCodeTooManyDistributions = "TooManyDistributions" ErrCodeTooManyDistributionsAssociatedToFieldLevelEncryptionConfig = "TooManyDistributionsAssociatedToFieldLevelEncryptionConfig" ErrCodeTooManyDistributionsWithLambdaAssociations = "TooManyDistributionsWithLambdaAssociations" ErrCodeTooManyFieldLevelEncryptionConfigs = "TooManyFieldLevelEncryptionConfigs" ErrCodeTooManyFieldLevelEncryptionContentTypeProfiles = "TooManyFieldLevelEncryptionContentTypeProfiles" ErrCodeTooManyFieldLevelEncryptionEncryptionEntities = "TooManyFieldLevelEncryptionEncryptionEntities" ErrCodeTooManyFieldLevelEncryptionFieldPatterns = "TooManyFieldLevelEncryptionFieldPatterns" ErrCodeTooManyFieldLevelEncryptionProfiles = "TooManyFieldLevelEncryptionProfiles" ErrCodeTooManyFieldLevelEncryptionQueryArgProfiles = "TooManyFieldLevelEncryptionQueryArgProfiles" ErrCodeTooManyHeadersInForwardedValues = "TooManyHeadersInForwardedValues" ErrCodeTooManyInvalidationsInProgress = "TooManyInvalidationsInProgress" ErrCodeTooManyLambdaFunctionAssociations = "TooManyLambdaFunctionAssociations" ErrCodeTooManyOriginCustomHeaders = "TooManyOriginCustomHeaders" ErrCodeTooManyOriginGroupsPerDistribution = "TooManyOriginGroupsPerDistribution" ErrCodeTooManyOrigins = "TooManyOrigins" ErrCodeTooManyPublicKeys = "TooManyPublicKeys" ErrCodeTooManyQueryStringParameters = "TooManyQueryStringParameters" ErrCodeTooManyStreamingDistributionCNAMEs = "TooManyStreamingDistributionCNAMEs" ErrCodeTooManyStreamingDistributions = "TooManyStreamingDistributions" ErrCodeTooManyTrustedSigners = "TooManyTrustedSigners" ErrCodeTrustedSignerDoesNotExist = "TrustedSignerDoesNotExist" )

ErrCodeAccessDenied

ErrCodeAccessDenied for service response error code "AccessDenied".

Access denied.

ErrCodeBatchTooLarge

ErrCodeBatchTooLarge for service response error code "BatchTooLarge".

ErrCodeCNAMEAlreadyExists

ErrCodeCNAMEAlreadyExists for service response error code "CNAMEAlreadyExists".

ErrCodeCannotChangeImmutablePublicKeyFields

ErrCodeCannotChangeImmutablePublicKeyFields for service response error code "CannotChangeImmutablePublicKeyFields".

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

ErrCodeDistributionAlreadyExists

ErrCodeDistributionAlreadyExists for service response error code "DistributionAlreadyExists".

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

ErrCodeDistributionNotDisabled

ErrCodeDistributionNotDisabled for service response error code "DistributionNotDisabled".

ErrCodeFieldLevelEncryptionConfigAlreadyExists

ErrCodeFieldLevelEncryptionConfigAlreadyExists for service response error code "FieldLevelEncryptionConfigAlreadyExists".

The specified configuration for field-level encryption already exists.

ErrCodeFieldLevelEncryptionConfigInUse

ErrCodeFieldLevelEncryptionConfigInUse for service response error code "FieldLevelEncryptionConfigInUse".

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

ErrCodeFieldLevelEncryptionProfileAlreadyExists

ErrCodeFieldLevelEncryptionProfileAlreadyExists for service response error code "FieldLevelEncryptionProfileAlreadyExists".

The specified profile for field-level encryption already exists.

ErrCodeFieldLevelEncryptionProfileInUse

ErrCodeFieldLevelEncryptionProfileInUse for service response error code "FieldLevelEncryptionProfileInUse".

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

ErrCodeFieldLevelEncryptionProfileSizeExceeded

ErrCodeFieldLevelEncryptionProfileSizeExceeded for service response error code "FieldLevelEncryptionProfileSizeExceeded".

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

ErrCodeIllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior

ErrCodeIllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior for service response error code "IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior".

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

ErrCodeIllegalUpdate

ErrCodeIllegalUpdate for service response error code "IllegalUpdate".

Origin and CallerReference cannot be updated.

ErrCodeInconsistentQuantities

ErrCodeInconsistentQuantities for service response error code "InconsistentQuantities".

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

ErrCodeInvalidArgument

ErrCodeInvalidArgument for service response error code "InvalidArgument".

The argument is invalid.

ErrCodeInvalidDefaultRootObject

ErrCodeInvalidDefaultRootObject for service response error code "InvalidDefaultRootObject".

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

ErrCodeInvalidErrorCode

ErrCodeInvalidErrorCode for service response error code "InvalidErrorCode".

ErrCodeInvalidForwardCookies

ErrCodeInvalidForwardCookies for service response error code "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.

ErrCodeInvalidGeoRestrictionParameter

ErrCodeInvalidGeoRestrictionParameter for service response error code "InvalidGeoRestrictionParameter".

ErrCodeInvalidHeadersForS3Origin

ErrCodeInvalidHeadersForS3Origin for service response error code "InvalidHeadersForS3Origin".

ErrCodeInvalidIfMatchVersion

ErrCodeInvalidIfMatchVersion for service response error code "InvalidIfMatchVersion".

The If-Match version is missing or not valid for the distribution.

ErrCodeInvalidLambdaFunctionAssociation

ErrCodeInvalidLambdaFunctionAssociation for service response error code "InvalidLambdaFunctionAssociation".

The specified Lambda function association is invalid.

ErrCodeInvalidLocationCode

ErrCodeInvalidLocationCode for service response error code "InvalidLocationCode".

ErrCodeInvalidMinimumProtocolVersion

ErrCodeInvalidMinimumProtocolVersion for service response error code "InvalidMinimumProtocolVersion".

ErrCodeInvalidOrigin

ErrCodeInvalidOrigin for service response error code "InvalidOrigin".

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

ErrCodeInvalidOriginAccessIdentity

ErrCodeInvalidOriginAccessIdentity for service response error code "InvalidOriginAccessIdentity".

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

ErrCodeInvalidOriginKeepaliveTimeout

ErrCodeInvalidOriginKeepaliveTimeout for service response error code "InvalidOriginKeepaliveTimeout".

ErrCodeInvalidOriginReadTimeout

ErrCodeInvalidOriginReadTimeout for service response error code "InvalidOriginReadTimeout".

ErrCodeInvalidProtocolSettings

ErrCodeInvalidProtocolSettings for service response error code "InvalidProtocolSettings".

You cannot specify SSLv3 as the minimum protocol version if you only want to support only clients that support Server Name Indication (SNI).

ErrCodeInvalidQueryStringParameters

ErrCodeInvalidQueryStringParameters for service response error code "InvalidQueryStringParameters".

ErrCodeInvalidRelativePath

ErrCodeInvalidRelativePath for service response error code "InvalidRelativePath".

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

ErrCodeInvalidRequiredProtocol

ErrCodeInvalidRequiredProtocol for service response error code "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.

ErrCodeInvalidResponseCode

ErrCodeInvalidResponseCode for service response error code "InvalidResponseCode".

ErrCodeInvalidTTLOrder

ErrCodeInvalidTTLOrder for service response error code "InvalidTTLOrder".

ErrCodeInvalidTagging

ErrCodeInvalidTagging for service response error code "InvalidTagging".

ErrCodeInvalidViewerCertificate

ErrCodeInvalidViewerCertificate for service response error code "InvalidViewerCertificate".

ErrCodeInvalidWebACLId

ErrCodeInvalidWebACLId for service response error code "InvalidWebACLId".

ErrCodeMissingBody

ErrCodeMissingBody for service response error code "MissingBody".

This operation requires a body. Ensure that the body is present and the Content-Type header is set.

ErrCodeNoSuchCloudFrontOriginAccessIdentity

ErrCodeNoSuchCloudFrontOriginAccessIdentity for service response error code "NoSuchCloudFrontOriginAccessIdentity".

The specified origin access identity does not exist.

ErrCodeNoSuchDistribution

ErrCodeNoSuchDistribution for service response error code "NoSuchDistribution".

The specified distribution does not exist.

ErrCodeNoSuchFieldLevelEncryptionConfig

ErrCodeNoSuchFieldLevelEncryptionConfig for service response error code "NoSuchFieldLevelEncryptionConfig".

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

ErrCodeNoSuchFieldLevelEncryptionProfile

ErrCodeNoSuchFieldLevelEncryptionProfile for service response error code "NoSuchFieldLevelEncryptionProfile".

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

ErrCodeNoSuchInvalidation

ErrCodeNoSuchInvalidation for service response error code "NoSuchInvalidation".

The specified invalidation does not exist.

ErrCodeNoSuchOrigin

ErrCodeNoSuchOrigin for service response error code "NoSuchOrigin".

No origin exists with the specified Origin Id.

ErrCodeNoSuchPublicKey

ErrCodeNoSuchPublicKey for service response error code "NoSuchPublicKey".

The specified public key doesn't exist.

ErrCodeNoSuchResource

ErrCodeNoSuchResource for service response error code "NoSuchResource".

ErrCodeNoSuchStreamingDistribution

ErrCodeNoSuchStreamingDistribution for service response error code "NoSuchStreamingDistribution".

The specified streaming distribution does not exist.

ErrCodeOriginAccessIdentityAlreadyExists

ErrCodeOriginAccessIdentityAlreadyExists for service response error code "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.

ErrCodeOriginAccessIdentityInUse

ErrCodeOriginAccessIdentityInUse for service response error code "CloudFrontOriginAccessIdentityInUse".

ErrCodePreconditionFailed

ErrCodePreconditionFailed for service response error code "PreconditionFailed".

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

ErrCodePublicKeyAlreadyExists

ErrCodePublicKeyAlreadyExists for service response error code "PublicKeyAlreadyExists".

The specified public key already exists.

ErrCodePublicKeyInUse

ErrCodePublicKeyInUse for service response error code "PublicKeyInUse".

The specified public key is in use.

ErrCodeQueryArgProfileEmpty

ErrCodeQueryArgProfileEmpty for service response error code "QueryArgProfileEmpty".

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

ErrCodeStreamingDistributionAlreadyExists

ErrCodeStreamingDistributionAlreadyExists for service response error code "StreamingDistributionAlreadyExists".

ErrCodeStreamingDistributionNotDisabled

ErrCodeStreamingDistributionNotDisabled for service response error code "StreamingDistributionNotDisabled".

ErrCodeTooManyCacheBehaviors

ErrCodeTooManyCacheBehaviors for service response error code "TooManyCacheBehaviors".

You cannot create more cache behaviors for the distribution.

ErrCodeTooManyCertificates

ErrCodeTooManyCertificates for service response error code "TooManyCertificates".

You cannot create anymore custom SSL/TLS certificates.

ErrCodeTooManyCloudFrontOriginAccessIdentities

ErrCodeTooManyCloudFrontOriginAccessIdentities for service response error code "TooManyCloudFrontOriginAccessIdentities".

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

ErrCodeTooManyCookieNamesInWhiteList

ErrCodeTooManyCookieNamesInWhiteList for service response error code "TooManyCookieNamesInWhiteList".

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

ErrCodeTooManyDistributionCNAMEs

ErrCodeTooManyDistributionCNAMEs for service response error code "TooManyDistributionCNAMEs".

Your request contains more CNAMEs than are allowed per distribution.

ErrCodeTooManyDistributions

ErrCodeTooManyDistributions for service response error code "TooManyDistributions".

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

ErrCodeTooManyDistributionsAssociatedToFieldLevelEncryptionConfig

ErrCodeTooManyDistributionsAssociatedToFieldLevelEncryptionConfig for service response error code "TooManyDistributionsAssociatedToFieldLevelEncryptionConfig".

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

ErrCodeTooManyDistributionsWithLambdaAssociations

ErrCodeTooManyDistributionsWithLambdaAssociations for service response error code "TooManyDistributionsWithLambdaAssociations".

Processing your request would cause the maximum number of distributions with Lambda function associations per owner to be exceeded.

ErrCodeTooManyFieldLevelEncryptionConfigs

ErrCodeTooManyFieldLevelEncryptionConfigs for service response error code "TooManyFieldLevelEncryptionConfigs".

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

ErrCodeTooManyFieldLevelEncryptionContentTypeProfiles

ErrCodeTooManyFieldLevelEncryptionContentTypeProfiles for service response error code "TooManyFieldLevelEncryptionContentTypeProfiles".

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

ErrCodeTooManyFieldLevelEncryptionEncryptionEntities

ErrCodeTooManyFieldLevelEncryptionEncryptionEntities for service response error code "TooManyFieldLevelEncryptionEncryptionEntities".

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

ErrCodeTooManyFieldLevelEncryptionFieldPatterns

ErrCodeTooManyFieldLevelEncryptionFieldPatterns for service response error code "TooManyFieldLevelEncryptionFieldPatterns".

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

ErrCodeTooManyFieldLevelEncryptionProfiles

ErrCodeTooManyFieldLevelEncryptionProfiles for service response error code "TooManyFieldLevelEncryptionProfiles".

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

ErrCodeTooManyFieldLevelEncryptionQueryArgProfiles

ErrCodeTooManyFieldLevelEncryptionQueryArgProfiles for service response error code "TooManyFieldLevelEncryptionQueryArgProfiles".

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

ErrCodeTooManyHeadersInForwardedValues

ErrCodeTooManyHeadersInForwardedValues for service response error code "TooManyHeadersInForwardedValues".

ErrCodeTooManyInvalidationsInProgress

ErrCodeTooManyInvalidationsInProgress for service response error code "TooManyInvalidationsInProgress".

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

ErrCodeTooManyLambdaFunctionAssociations

ErrCodeTooManyLambdaFunctionAssociations for service response error code "TooManyLambdaFunctionAssociations".

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

ErrCodeTooManyOriginCustomHeaders

ErrCodeTooManyOriginCustomHeaders for service response error code "TooManyOriginCustomHeaders".

ErrCodeTooManyOriginGroupsPerDistribution

ErrCodeTooManyOriginGroupsPerDistribution for service response error code "TooManyOriginGroupsPerDistribution".

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

ErrCodeTooManyOrigins

ErrCodeTooManyOrigins for service response error code "TooManyOrigins".

You cannot create more origins for the distribution.

ErrCodeTooManyPublicKeys

ErrCodeTooManyPublicKeys for service response error code "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.

ErrCodeTooManyQueryStringParameters

ErrCodeTooManyQueryStringParameters for service response error code "TooManyQueryStringParameters".

ErrCodeTooManyStreamingDistributionCNAMEs

ErrCodeTooManyStreamingDistributionCNAMEs for service response error code "TooManyStreamingDistributionCNAMEs".

ErrCodeTooManyStreamingDistributions

ErrCodeTooManyStreamingDistributions for service response error code "TooManyStreamingDistributions".

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

ErrCodeTooManyTrustedSigners

ErrCodeTooManyTrustedSigners for service response error code "TooManyTrustedSigners".

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

ErrCodeTrustedSignerDoesNotExist

ErrCodeTrustedSignerDoesNotExist for service response error code "TrustedSignerDoesNotExist".

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

On this page: