Package 

Class BucketAlreadyOwnedByYouError

  • All Implemented Interfaces:
    java.io.Serializable

    
    public class BucketAlreadyOwnedByYouError
    extends BucketAlreadyExistsError
                        

    BucketAlreadyOwnedByYou

    The bucket that you tried to create already exists, and you own it. Amazon S3 returns this error in all AWS Regions except in the US East (N. Virginia) Region (us-east-1). For legacy compatibility, if you re-create an existing bucket that you already own in us-east-1, Amazon S3 returns 200 OK and resets the bucket access control lists (ACLs).

    For Amazon S3 on Outposts, the bucket that you tried to create already exists in your Outpost and you own it.

    • Constructor Detail

      • BucketAlreadyOwnedByYouError

        BucketAlreadyOwnedByYouError(BucketName bucket)
      • BucketAlreadyOwnedByYouError

        BucketAlreadyOwnedByYouError(BucketName bucket, String message)
      • BucketAlreadyOwnedByYouError

        BucketAlreadyOwnedByYouError(BucketName bucket, Throwable cause)
    • Method Detail