errors.go 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474
  1. // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
  2. package cloudfront
  3. const (
  4. // ErrCodeAccessDenied for service response error code
  5. // "AccessDenied".
  6. //
  7. // Access denied.
  8. ErrCodeAccessDenied = "AccessDenied"
  9. // ErrCodeBatchTooLarge for service response error code
  10. // "BatchTooLarge".
  11. ErrCodeBatchTooLarge = "BatchTooLarge"
  12. // ErrCodeCNAMEAlreadyExists for service response error code
  13. // "CNAMEAlreadyExists".
  14. ErrCodeCNAMEAlreadyExists = "CNAMEAlreadyExists"
  15. // ErrCodeCannotChangeImmutablePublicKeyFields for service response error code
  16. // "CannotChangeImmutablePublicKeyFields".
  17. //
  18. // You can't change the value of a public key.
  19. ErrCodeCannotChangeImmutablePublicKeyFields = "CannotChangeImmutablePublicKeyFields"
  20. // ErrCodeDistributionAlreadyExists for service response error code
  21. // "DistributionAlreadyExists".
  22. //
  23. // The caller reference you attempted to create the distribution with is associated
  24. // with another distribution.
  25. ErrCodeDistributionAlreadyExists = "DistributionAlreadyExists"
  26. // ErrCodeDistributionNotDisabled for service response error code
  27. // "DistributionNotDisabled".
  28. ErrCodeDistributionNotDisabled = "DistributionNotDisabled"
  29. // ErrCodeFieldLevelEncryptionConfigAlreadyExists for service response error code
  30. // "FieldLevelEncryptionConfigAlreadyExists".
  31. //
  32. // The specified configuration for field-level encryption already exists.
  33. ErrCodeFieldLevelEncryptionConfigAlreadyExists = "FieldLevelEncryptionConfigAlreadyExists"
  34. // ErrCodeFieldLevelEncryptionConfigInUse for service response error code
  35. // "FieldLevelEncryptionConfigInUse".
  36. //
  37. // The specified configuration for field-level encryption is in use.
  38. ErrCodeFieldLevelEncryptionConfigInUse = "FieldLevelEncryptionConfigInUse"
  39. // ErrCodeFieldLevelEncryptionProfileAlreadyExists for service response error code
  40. // "FieldLevelEncryptionProfileAlreadyExists".
  41. //
  42. // The specified profile for field-level encryption already exists.
  43. ErrCodeFieldLevelEncryptionProfileAlreadyExists = "FieldLevelEncryptionProfileAlreadyExists"
  44. // ErrCodeFieldLevelEncryptionProfileInUse for service response error code
  45. // "FieldLevelEncryptionProfileInUse".
  46. //
  47. // The specified profile for field-level encryption is in use.
  48. ErrCodeFieldLevelEncryptionProfileInUse = "FieldLevelEncryptionProfileInUse"
  49. // ErrCodeFieldLevelEncryptionProfileSizeExceeded for service response error code
  50. // "FieldLevelEncryptionProfileSizeExceeded".
  51. //
  52. // The maximum size of a profile for field-level encryption was exceeded.
  53. ErrCodeFieldLevelEncryptionProfileSizeExceeded = "FieldLevelEncryptionProfileSizeExceeded"
  54. // ErrCodeIllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior for service response error code
  55. // "IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior".
  56. //
  57. // The specified configuration for field-level encryption can't be associated
  58. // with the specified cache behavior.
  59. ErrCodeIllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior = "IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior"
  60. // ErrCodeIllegalUpdate for service response error code
  61. // "IllegalUpdate".
  62. //
  63. // Origin and CallerReference cannot be updated.
  64. ErrCodeIllegalUpdate = "IllegalUpdate"
  65. // ErrCodeInconsistentQuantities for service response error code
  66. // "InconsistentQuantities".
  67. //
  68. // The value of Quantity and the size of Items don't match.
  69. ErrCodeInconsistentQuantities = "InconsistentQuantities"
  70. // ErrCodeInvalidArgument for service response error code
  71. // "InvalidArgument".
  72. //
  73. // The argument is invalid.
  74. ErrCodeInvalidArgument = "InvalidArgument"
  75. // ErrCodeInvalidDefaultRootObject for service response error code
  76. // "InvalidDefaultRootObject".
  77. //
  78. // The default root object file name is too big or contains an invalid character.
  79. ErrCodeInvalidDefaultRootObject = "InvalidDefaultRootObject"
  80. // ErrCodeInvalidErrorCode for service response error code
  81. // "InvalidErrorCode".
  82. ErrCodeInvalidErrorCode = "InvalidErrorCode"
  83. // ErrCodeInvalidForwardCookies for service response error code
  84. // "InvalidForwardCookies".
  85. //
  86. // Your request contains forward cookies option which doesn't match with the
  87. // expectation for the whitelisted list of cookie names. Either list of cookie
  88. // names has been specified when not allowed or list of cookie names is missing
  89. // when expected.
  90. ErrCodeInvalidForwardCookies = "InvalidForwardCookies"
  91. // ErrCodeInvalidGeoRestrictionParameter for service response error code
  92. // "InvalidGeoRestrictionParameter".
  93. ErrCodeInvalidGeoRestrictionParameter = "InvalidGeoRestrictionParameter"
  94. // ErrCodeInvalidHeadersForS3Origin for service response error code
  95. // "InvalidHeadersForS3Origin".
  96. ErrCodeInvalidHeadersForS3Origin = "InvalidHeadersForS3Origin"
  97. // ErrCodeInvalidIfMatchVersion for service response error code
  98. // "InvalidIfMatchVersion".
  99. //
  100. // The If-Match version is missing or not valid for the distribution.
  101. ErrCodeInvalidIfMatchVersion = "InvalidIfMatchVersion"
  102. // ErrCodeInvalidLambdaFunctionAssociation for service response error code
  103. // "InvalidLambdaFunctionAssociation".
  104. //
  105. // The specified Lambda function association is invalid.
  106. ErrCodeInvalidLambdaFunctionAssociation = "InvalidLambdaFunctionAssociation"
  107. // ErrCodeInvalidLocationCode for service response error code
  108. // "InvalidLocationCode".
  109. ErrCodeInvalidLocationCode = "InvalidLocationCode"
  110. // ErrCodeInvalidMinimumProtocolVersion for service response error code
  111. // "InvalidMinimumProtocolVersion".
  112. ErrCodeInvalidMinimumProtocolVersion = "InvalidMinimumProtocolVersion"
  113. // ErrCodeInvalidOrigin for service response error code
  114. // "InvalidOrigin".
  115. //
  116. // The Amazon S3 origin server specified does not refer to a valid Amazon S3
  117. // bucket.
  118. ErrCodeInvalidOrigin = "InvalidOrigin"
  119. // ErrCodeInvalidOriginAccessIdentity for service response error code
  120. // "InvalidOriginAccessIdentity".
  121. //
  122. // The origin access identity is not valid or doesn't exist.
  123. ErrCodeInvalidOriginAccessIdentity = "InvalidOriginAccessIdentity"
  124. // ErrCodeInvalidOriginKeepaliveTimeout for service response error code
  125. // "InvalidOriginKeepaliveTimeout".
  126. ErrCodeInvalidOriginKeepaliveTimeout = "InvalidOriginKeepaliveTimeout"
  127. // ErrCodeInvalidOriginReadTimeout for service response error code
  128. // "InvalidOriginReadTimeout".
  129. ErrCodeInvalidOriginReadTimeout = "InvalidOriginReadTimeout"
  130. // ErrCodeInvalidProtocolSettings for service response error code
  131. // "InvalidProtocolSettings".
  132. //
  133. // You cannot specify SSLv3 as the minimum protocol version if you only want
  134. // to support only clients that support Server Name Indication (SNI).
  135. ErrCodeInvalidProtocolSettings = "InvalidProtocolSettings"
  136. // ErrCodeInvalidQueryStringParameters for service response error code
  137. // "InvalidQueryStringParameters".
  138. ErrCodeInvalidQueryStringParameters = "InvalidQueryStringParameters"
  139. // ErrCodeInvalidRelativePath for service response error code
  140. // "InvalidRelativePath".
  141. //
  142. // The relative path is too big, is not URL-encoded, or does not begin with
  143. // a slash (/).
  144. ErrCodeInvalidRelativePath = "InvalidRelativePath"
  145. // ErrCodeInvalidRequiredProtocol for service response error code
  146. // "InvalidRequiredProtocol".
  147. //
  148. // This operation requires the HTTPS protocol. Ensure that you specify the HTTPS
  149. // protocol in your request, or omit the RequiredProtocols element from your
  150. // distribution configuration.
  151. ErrCodeInvalidRequiredProtocol = "InvalidRequiredProtocol"
  152. // ErrCodeInvalidResponseCode for service response error code
  153. // "InvalidResponseCode".
  154. ErrCodeInvalidResponseCode = "InvalidResponseCode"
  155. // ErrCodeInvalidTTLOrder for service response error code
  156. // "InvalidTTLOrder".
  157. ErrCodeInvalidTTLOrder = "InvalidTTLOrder"
  158. // ErrCodeInvalidTagging for service response error code
  159. // "InvalidTagging".
  160. ErrCodeInvalidTagging = "InvalidTagging"
  161. // ErrCodeInvalidViewerCertificate for service response error code
  162. // "InvalidViewerCertificate".
  163. ErrCodeInvalidViewerCertificate = "InvalidViewerCertificate"
  164. // ErrCodeInvalidWebACLId for service response error code
  165. // "InvalidWebACLId".
  166. ErrCodeInvalidWebACLId = "InvalidWebACLId"
  167. // ErrCodeMissingBody for service response error code
  168. // "MissingBody".
  169. //
  170. // This operation requires a body. Ensure that the body is present and the Content-Type
  171. // header is set.
  172. ErrCodeMissingBody = "MissingBody"
  173. // ErrCodeNoSuchCloudFrontOriginAccessIdentity for service response error code
  174. // "NoSuchCloudFrontOriginAccessIdentity".
  175. //
  176. // The specified origin access identity does not exist.
  177. ErrCodeNoSuchCloudFrontOriginAccessIdentity = "NoSuchCloudFrontOriginAccessIdentity"
  178. // ErrCodeNoSuchDistribution for service response error code
  179. // "NoSuchDistribution".
  180. //
  181. // The specified distribution does not exist.
  182. ErrCodeNoSuchDistribution = "NoSuchDistribution"
  183. // ErrCodeNoSuchFieldLevelEncryptionConfig for service response error code
  184. // "NoSuchFieldLevelEncryptionConfig".
  185. //
  186. // The specified configuration for field-level encryption doesn't exist.
  187. ErrCodeNoSuchFieldLevelEncryptionConfig = "NoSuchFieldLevelEncryptionConfig"
  188. // ErrCodeNoSuchFieldLevelEncryptionProfile for service response error code
  189. // "NoSuchFieldLevelEncryptionProfile".
  190. //
  191. // The specified profile for field-level encryption doesn't exist.
  192. ErrCodeNoSuchFieldLevelEncryptionProfile = "NoSuchFieldLevelEncryptionProfile"
  193. // ErrCodeNoSuchInvalidation for service response error code
  194. // "NoSuchInvalidation".
  195. //
  196. // The specified invalidation does not exist.
  197. ErrCodeNoSuchInvalidation = "NoSuchInvalidation"
  198. // ErrCodeNoSuchOrigin for service response error code
  199. // "NoSuchOrigin".
  200. //
  201. // No origin exists with the specified Origin Id.
  202. ErrCodeNoSuchOrigin = "NoSuchOrigin"
  203. // ErrCodeNoSuchPublicKey for service response error code
  204. // "NoSuchPublicKey".
  205. //
  206. // The specified public key doesn't exist.
  207. ErrCodeNoSuchPublicKey = "NoSuchPublicKey"
  208. // ErrCodeNoSuchResource for service response error code
  209. // "NoSuchResource".
  210. ErrCodeNoSuchResource = "NoSuchResource"
  211. // ErrCodeNoSuchStreamingDistribution for service response error code
  212. // "NoSuchStreamingDistribution".
  213. //
  214. // The specified streaming distribution does not exist.
  215. ErrCodeNoSuchStreamingDistribution = "NoSuchStreamingDistribution"
  216. // ErrCodeOriginAccessIdentityAlreadyExists for service response error code
  217. // "CloudFrontOriginAccessIdentityAlreadyExists".
  218. //
  219. // If the CallerReference is a value you already sent in a previous request
  220. // to create an identity but the content of the CloudFrontOriginAccessIdentityConfig
  221. // is different from the original request, CloudFront returns a CloudFrontOriginAccessIdentityAlreadyExists
  222. // error.
  223. ErrCodeOriginAccessIdentityAlreadyExists = "CloudFrontOriginAccessIdentityAlreadyExists"
  224. // ErrCodeOriginAccessIdentityInUse for service response error code
  225. // "CloudFrontOriginAccessIdentityInUse".
  226. ErrCodeOriginAccessIdentityInUse = "CloudFrontOriginAccessIdentityInUse"
  227. // ErrCodePreconditionFailed for service response error code
  228. // "PreconditionFailed".
  229. //
  230. // The precondition given in one or more of the request-header fields evaluated
  231. // to false.
  232. ErrCodePreconditionFailed = "PreconditionFailed"
  233. // ErrCodePublicKeyAlreadyExists for service response error code
  234. // "PublicKeyAlreadyExists".
  235. //
  236. // The specified public key already exists.
  237. ErrCodePublicKeyAlreadyExists = "PublicKeyAlreadyExists"
  238. // ErrCodePublicKeyInUse for service response error code
  239. // "PublicKeyInUse".
  240. //
  241. // The specified public key is in use.
  242. ErrCodePublicKeyInUse = "PublicKeyInUse"
  243. // ErrCodeQueryArgProfileEmpty for service response error code
  244. // "QueryArgProfileEmpty".
  245. //
  246. // No profile specified for the field-level encryption query argument.
  247. ErrCodeQueryArgProfileEmpty = "QueryArgProfileEmpty"
  248. // ErrCodeStreamingDistributionAlreadyExists for service response error code
  249. // "StreamingDistributionAlreadyExists".
  250. ErrCodeStreamingDistributionAlreadyExists = "StreamingDistributionAlreadyExists"
  251. // ErrCodeStreamingDistributionNotDisabled for service response error code
  252. // "StreamingDistributionNotDisabled".
  253. ErrCodeStreamingDistributionNotDisabled = "StreamingDistributionNotDisabled"
  254. // ErrCodeTooManyCacheBehaviors for service response error code
  255. // "TooManyCacheBehaviors".
  256. //
  257. // You cannot create more cache behaviors for the distribution.
  258. ErrCodeTooManyCacheBehaviors = "TooManyCacheBehaviors"
  259. // ErrCodeTooManyCertificates for service response error code
  260. // "TooManyCertificates".
  261. //
  262. // You cannot create anymore custom SSL/TLS certificates.
  263. ErrCodeTooManyCertificates = "TooManyCertificates"
  264. // ErrCodeTooManyCloudFrontOriginAccessIdentities for service response error code
  265. // "TooManyCloudFrontOriginAccessIdentities".
  266. //
  267. // Processing your request would cause you to exceed the maximum number of origin
  268. // access identities allowed.
  269. ErrCodeTooManyCloudFrontOriginAccessIdentities = "TooManyCloudFrontOriginAccessIdentities"
  270. // ErrCodeTooManyCookieNamesInWhiteList for service response error code
  271. // "TooManyCookieNamesInWhiteList".
  272. //
  273. // Your request contains more cookie names in the whitelist than are allowed
  274. // per cache behavior.
  275. ErrCodeTooManyCookieNamesInWhiteList = "TooManyCookieNamesInWhiteList"
  276. // ErrCodeTooManyDistributionCNAMEs for service response error code
  277. // "TooManyDistributionCNAMEs".
  278. //
  279. // Your request contains more CNAMEs than are allowed per distribution.
  280. ErrCodeTooManyDistributionCNAMEs = "TooManyDistributionCNAMEs"
  281. // ErrCodeTooManyDistributions for service response error code
  282. // "TooManyDistributions".
  283. //
  284. // Processing your request would cause you to exceed the maximum number of distributions
  285. // allowed.
  286. ErrCodeTooManyDistributions = "TooManyDistributions"
  287. // ErrCodeTooManyDistributionsAssociatedToFieldLevelEncryptionConfig for service response error code
  288. // "TooManyDistributionsAssociatedToFieldLevelEncryptionConfig".
  289. //
  290. // The maximum number of distributions have been associated with the specified
  291. // configuration for field-level encryption.
  292. ErrCodeTooManyDistributionsAssociatedToFieldLevelEncryptionConfig = "TooManyDistributionsAssociatedToFieldLevelEncryptionConfig"
  293. // ErrCodeTooManyDistributionsWithLambdaAssociations for service response error code
  294. // "TooManyDistributionsWithLambdaAssociations".
  295. //
  296. // Processing your request would cause the maximum number of distributions with
  297. // Lambda function associations per owner to be exceeded.
  298. ErrCodeTooManyDistributionsWithLambdaAssociations = "TooManyDistributionsWithLambdaAssociations"
  299. // ErrCodeTooManyFieldLevelEncryptionConfigs for service response error code
  300. // "TooManyFieldLevelEncryptionConfigs".
  301. //
  302. // The maximum number of configurations for field-level encryption have been
  303. // created.
  304. ErrCodeTooManyFieldLevelEncryptionConfigs = "TooManyFieldLevelEncryptionConfigs"
  305. // ErrCodeTooManyFieldLevelEncryptionContentTypeProfiles for service response error code
  306. // "TooManyFieldLevelEncryptionContentTypeProfiles".
  307. //
  308. // The maximum number of content type profiles for field-level encryption have
  309. // been created.
  310. ErrCodeTooManyFieldLevelEncryptionContentTypeProfiles = "TooManyFieldLevelEncryptionContentTypeProfiles"
  311. // ErrCodeTooManyFieldLevelEncryptionEncryptionEntities for service response error code
  312. // "TooManyFieldLevelEncryptionEncryptionEntities".
  313. //
  314. // The maximum number of encryption entities for field-level encryption have
  315. // been created.
  316. ErrCodeTooManyFieldLevelEncryptionEncryptionEntities = "TooManyFieldLevelEncryptionEncryptionEntities"
  317. // ErrCodeTooManyFieldLevelEncryptionFieldPatterns for service response error code
  318. // "TooManyFieldLevelEncryptionFieldPatterns".
  319. //
  320. // The maximum number of field patterns for field-level encryption have been
  321. // created.
  322. ErrCodeTooManyFieldLevelEncryptionFieldPatterns = "TooManyFieldLevelEncryptionFieldPatterns"
  323. // ErrCodeTooManyFieldLevelEncryptionProfiles for service response error code
  324. // "TooManyFieldLevelEncryptionProfiles".
  325. //
  326. // The maximum number of profiles for field-level encryption have been created.
  327. ErrCodeTooManyFieldLevelEncryptionProfiles = "TooManyFieldLevelEncryptionProfiles"
  328. // ErrCodeTooManyFieldLevelEncryptionQueryArgProfiles for service response error code
  329. // "TooManyFieldLevelEncryptionQueryArgProfiles".
  330. //
  331. // The maximum number of query arg profiles for field-level encryption have
  332. // been created.
  333. ErrCodeTooManyFieldLevelEncryptionQueryArgProfiles = "TooManyFieldLevelEncryptionQueryArgProfiles"
  334. // ErrCodeTooManyHeadersInForwardedValues for service response error code
  335. // "TooManyHeadersInForwardedValues".
  336. ErrCodeTooManyHeadersInForwardedValues = "TooManyHeadersInForwardedValues"
  337. // ErrCodeTooManyInvalidationsInProgress for service response error code
  338. // "TooManyInvalidationsInProgress".
  339. //
  340. // You have exceeded the maximum number of allowable InProgress invalidation
  341. // batch requests, or invalidation objects.
  342. ErrCodeTooManyInvalidationsInProgress = "TooManyInvalidationsInProgress"
  343. // ErrCodeTooManyLambdaFunctionAssociations for service response error code
  344. // "TooManyLambdaFunctionAssociations".
  345. //
  346. // Your request contains more Lambda function associations than are allowed
  347. // per distribution.
  348. ErrCodeTooManyLambdaFunctionAssociations = "TooManyLambdaFunctionAssociations"
  349. // ErrCodeTooManyOriginCustomHeaders for service response error code
  350. // "TooManyOriginCustomHeaders".
  351. ErrCodeTooManyOriginCustomHeaders = "TooManyOriginCustomHeaders"
  352. // ErrCodeTooManyOriginGroupsPerDistribution for service response error code
  353. // "TooManyOriginGroupsPerDistribution".
  354. //
  355. // Processing your request would cause you to exceed the maximum number of origin
  356. // groups allowed.
  357. ErrCodeTooManyOriginGroupsPerDistribution = "TooManyOriginGroupsPerDistribution"
  358. // ErrCodeTooManyOrigins for service response error code
  359. // "TooManyOrigins".
  360. //
  361. // You cannot create more origins for the distribution.
  362. ErrCodeTooManyOrigins = "TooManyOrigins"
  363. // ErrCodeTooManyPublicKeys for service response error code
  364. // "TooManyPublicKeys".
  365. //
  366. // The maximum number of public keys for field-level encryption have been created.
  367. // To create a new public key, delete one of the existing keys.
  368. ErrCodeTooManyPublicKeys = "TooManyPublicKeys"
  369. // ErrCodeTooManyQueryStringParameters for service response error code
  370. // "TooManyQueryStringParameters".
  371. ErrCodeTooManyQueryStringParameters = "TooManyQueryStringParameters"
  372. // ErrCodeTooManyStreamingDistributionCNAMEs for service response error code
  373. // "TooManyStreamingDistributionCNAMEs".
  374. ErrCodeTooManyStreamingDistributionCNAMEs = "TooManyStreamingDistributionCNAMEs"
  375. // ErrCodeTooManyStreamingDistributions for service response error code
  376. // "TooManyStreamingDistributions".
  377. //
  378. // Processing your request would cause you to exceed the maximum number of streaming
  379. // distributions allowed.
  380. ErrCodeTooManyStreamingDistributions = "TooManyStreamingDistributions"
  381. // ErrCodeTooManyTrustedSigners for service response error code
  382. // "TooManyTrustedSigners".
  383. //
  384. // Your request contains more trusted signers than are allowed per distribution.
  385. ErrCodeTooManyTrustedSigners = "TooManyTrustedSigners"
  386. // ErrCodeTrustedSignerDoesNotExist for service response error code
  387. // "TrustedSignerDoesNotExist".
  388. //
  389. // One or more of your trusted signers don't exist.
  390. ErrCodeTrustedSignerDoesNotExist = "TrustedSignerDoesNotExist"
  391. )