errors.go 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. // Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
  2. package s3
  3. const (
  4. // ErrCodeBucketAlreadyExists for service response error code
  5. // "BucketAlreadyExists".
  6. //
  7. // The requested bucket name is not available. The bucket namespace is shared
  8. // by all users of the system. Select a different name and try again.
  9. ErrCodeBucketAlreadyExists = "BucketAlreadyExists"
  10. // ErrCodeBucketAlreadyOwnedByYou for service response error code
  11. // "BucketAlreadyOwnedByYou".
  12. //
  13. // The bucket you tried to create already exists, and you own it. Amazon S3
  14. // returns this error in all Amazon Web Services Regions except in the North
  15. // Virginia Region. For legacy compatibility, if you re-create an existing bucket
  16. // that you already own in the North Virginia Region, Amazon S3 returns 200
  17. // OK and resets the bucket access control lists (ACLs).
  18. ErrCodeBucketAlreadyOwnedByYou = "BucketAlreadyOwnedByYou"
  19. // ErrCodeInvalidObjectState for service response error code
  20. // "InvalidObjectState".
  21. //
  22. // Object is archived and inaccessible until restored.
  23. ErrCodeInvalidObjectState = "InvalidObjectState"
  24. // ErrCodeNoSuchBucket for service response error code
  25. // "NoSuchBucket".
  26. //
  27. // The specified bucket does not exist.
  28. ErrCodeNoSuchBucket = "NoSuchBucket"
  29. // ErrCodeNoSuchKey for service response error code
  30. // "NoSuchKey".
  31. //
  32. // The specified key does not exist.
  33. ErrCodeNoSuchKey = "NoSuchKey"
  34. // ErrCodeNoSuchUpload for service response error code
  35. // "NoSuchUpload".
  36. //
  37. // The specified multipart upload does not exist.
  38. ErrCodeNoSuchUpload = "NoSuchUpload"
  39. // ErrCodeObjectAlreadyInActiveTierError for service response error code
  40. // "ObjectAlreadyInActiveTierError".
  41. //
  42. // This action is not allowed against this storage tier.
  43. ErrCodeObjectAlreadyInActiveTierError = "ObjectAlreadyInActiveTierError"
  44. // ErrCodeObjectNotInActiveTierError for service response error code
  45. // "ObjectNotInActiveTierError".
  46. //
  47. // The source object of the COPY action is not in the active tier and is only
  48. // stored in Amazon S3 Glacier.
  49. ErrCodeObjectNotInActiveTierError = "ObjectNotInActiveTierError"
  50. )