github.com/aavshr/aws-sdk-go@v1.41.3/service/s3/errors.go (about)

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