errors.go 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  1. // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
  2. package ecr
  3. const (
  4. // ErrCodeEmptyUploadException for service response error code
  5. // "EmptyUploadException".
  6. //
  7. // The specified layer upload does not contain any layer parts.
  8. ErrCodeEmptyUploadException = "EmptyUploadException"
  9. // ErrCodeImageAlreadyExistsException for service response error code
  10. // "ImageAlreadyExistsException".
  11. //
  12. // The specified image has already been pushed, and there were no changes to
  13. // the manifest or image tag after the last push.
  14. ErrCodeImageAlreadyExistsException = "ImageAlreadyExistsException"
  15. // ErrCodeImageNotFoundException for service response error code
  16. // "ImageNotFoundException".
  17. //
  18. // The image requested does not exist in the specified repository.
  19. ErrCodeImageNotFoundException = "ImageNotFoundException"
  20. // ErrCodeInvalidLayerException for service response error code
  21. // "InvalidLayerException".
  22. //
  23. // The layer digest calculation performed by Amazon ECR upon receipt of the
  24. // image layer does not match the digest specified.
  25. ErrCodeInvalidLayerException = "InvalidLayerException"
  26. // ErrCodeInvalidLayerPartException for service response error code
  27. // "InvalidLayerPartException".
  28. //
  29. // The layer part size is not valid, or the first byte specified is not consecutive
  30. // to the last byte of a previous layer part upload.
  31. ErrCodeInvalidLayerPartException = "InvalidLayerPartException"
  32. // ErrCodeInvalidParameterException for service response error code
  33. // "InvalidParameterException".
  34. //
  35. // The specified parameter is invalid. Review the available parameters for the
  36. // API request.
  37. ErrCodeInvalidParameterException = "InvalidParameterException"
  38. // ErrCodeInvalidTagParameterException for service response error code
  39. // "InvalidTagParameterException".
  40. //
  41. // An invalid parameter has been specified. Tag keys can have a maximum character
  42. // length of 128 characters, and tag values can have a maximum length of 256
  43. // characters.
  44. ErrCodeInvalidTagParameterException = "InvalidTagParameterException"
  45. // ErrCodeLayerAlreadyExistsException for service response error code
  46. // "LayerAlreadyExistsException".
  47. //
  48. // The image layer already exists in the associated repository.
  49. ErrCodeLayerAlreadyExistsException = "LayerAlreadyExistsException"
  50. // ErrCodeLayerInaccessibleException for service response error code
  51. // "LayerInaccessibleException".
  52. //
  53. // The specified layer is not available because it is not associated with an
  54. // image. Unassociated image layers may be cleaned up at any time.
  55. ErrCodeLayerInaccessibleException = "LayerInaccessibleException"
  56. // ErrCodeLayerPartTooSmallException for service response error code
  57. // "LayerPartTooSmallException".
  58. //
  59. // Layer parts must be at least 5 MiB in size.
  60. ErrCodeLayerPartTooSmallException = "LayerPartTooSmallException"
  61. // ErrCodeLayersNotFoundException for service response error code
  62. // "LayersNotFoundException".
  63. //
  64. // The specified layers could not be found, or the specified layer is not valid
  65. // for this repository.
  66. ErrCodeLayersNotFoundException = "LayersNotFoundException"
  67. // ErrCodeLifecyclePolicyNotFoundException for service response error code
  68. // "LifecyclePolicyNotFoundException".
  69. //
  70. // The lifecycle policy could not be found, and no policy is set to the repository.
  71. ErrCodeLifecyclePolicyNotFoundException = "LifecyclePolicyNotFoundException"
  72. // ErrCodeLifecyclePolicyPreviewInProgressException for service response error code
  73. // "LifecyclePolicyPreviewInProgressException".
  74. //
  75. // The previous lifecycle policy preview request has not completed. Please try
  76. // again later.
  77. ErrCodeLifecyclePolicyPreviewInProgressException = "LifecyclePolicyPreviewInProgressException"
  78. // ErrCodeLifecyclePolicyPreviewNotFoundException for service response error code
  79. // "LifecyclePolicyPreviewNotFoundException".
  80. //
  81. // There is no dry run for this repository.
  82. ErrCodeLifecyclePolicyPreviewNotFoundException = "LifecyclePolicyPreviewNotFoundException"
  83. // ErrCodeLimitExceededException for service response error code
  84. // "LimitExceededException".
  85. //
  86. // The operation did not succeed because it would have exceeded a service limit
  87. // for your account. For more information, see Amazon ECR Default Service Limits
  88. // (http://docs.aws.amazon.com/AmazonECR/latest/userguide/service_limits.html)
  89. // in the Amazon Elastic Container Registry User Guide.
  90. ErrCodeLimitExceededException = "LimitExceededException"
  91. // ErrCodeRepositoryAlreadyExistsException for service response error code
  92. // "RepositoryAlreadyExistsException".
  93. //
  94. // The specified repository already exists in the specified registry.
  95. ErrCodeRepositoryAlreadyExistsException = "RepositoryAlreadyExistsException"
  96. // ErrCodeRepositoryNotEmptyException for service response error code
  97. // "RepositoryNotEmptyException".
  98. //
  99. // The specified repository contains images. To delete a repository that contains
  100. // images, you must force the deletion with the force parameter.
  101. ErrCodeRepositoryNotEmptyException = "RepositoryNotEmptyException"
  102. // ErrCodeRepositoryNotFoundException for service response error code
  103. // "RepositoryNotFoundException".
  104. //
  105. // The specified repository could not be found. Check the spelling of the specified
  106. // repository and ensure that you are performing operations on the correct registry.
  107. ErrCodeRepositoryNotFoundException = "RepositoryNotFoundException"
  108. // ErrCodeRepositoryPolicyNotFoundException for service response error code
  109. // "RepositoryPolicyNotFoundException".
  110. //
  111. // The specified repository and registry combination does not have an associated
  112. // repository policy.
  113. ErrCodeRepositoryPolicyNotFoundException = "RepositoryPolicyNotFoundException"
  114. // ErrCodeServerException for service response error code
  115. // "ServerException".
  116. //
  117. // These errors are usually caused by a server-side issue.
  118. ErrCodeServerException = "ServerException"
  119. // ErrCodeTooManyTagsException for service response error code
  120. // "TooManyTagsException".
  121. //
  122. // The list of tags on the repository is over the limit. The maximum number
  123. // of tags that can be applied to a repository is 50.
  124. ErrCodeTooManyTagsException = "TooManyTagsException"
  125. // ErrCodeUploadNotFoundException for service response error code
  126. // "UploadNotFoundException".
  127. //
  128. // The upload could not be found, or the specified upload id is not valid for
  129. // this repository.
  130. ErrCodeUploadNotFoundException = "UploadNotFoundException"
  131. )