pub type CreateBucketErrorKind = CreateBucketError;
👎Deprecated: Operation *Error/*ErrorKind types were combined into a single *Error enum. The .kind field on *Error no longer exists and isn’t needed anymore (you can just match on the error directly since it’s an enum now).
Expand description

Do not use this.

Operation *Error/*ErrorKind types were combined into a single *Error enum. The .kind field on *Error no longer exists and isn’t needed anymore (you can just match on the error directly since it’s an enum now).

Aliased Type§

enum CreateBucketErrorKind {
    BucketAlreadyExists(BucketAlreadyExists),
    BucketAlreadyOwnedByYou(BucketAlreadyOwnedByYou),
    Unhandled(Unhandled),
}

Variants§

§

BucketAlreadyExists(BucketAlreadyExists)

The requested bucket name is not available. The bucket namespace is shared by all users of the system. Select a different name and try again.

§

BucketAlreadyOwnedByYou(BucketAlreadyOwnedByYou)

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

§

Unhandled(Unhandled)

An unexpected error occurred (e.g., invalid JSON returned by the service or an unknown error code).