import type { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client"; import { IntelligentTieringAccessTier, StorageClass } from "./enums"; import { S3ServiceException as __BaseException } from "./S3ServiceException"; /** *

The specified multipart upload does not exist.

* @public */ export declare class NoSuchUpload extends __BaseException { readonly name: "NoSuchUpload"; readonly $fault: "client"; /** * @internal */ constructor(opts: __ExceptionOptionType); } /** *

The source object of the COPY action is not in the active tier and is only stored in Amazon S3 * Glacier.

* @public */ export declare class ObjectNotInActiveTierError extends __BaseException { readonly name: "ObjectNotInActiveTierError"; readonly $fault: "client"; /** * @internal */ constructor(opts: __ExceptionOptionType); } /** *

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.

* @public */ export declare class BucketAlreadyExists extends __BaseException { readonly name: "BucketAlreadyExists"; readonly $fault: "client"; /** * @internal */ constructor(opts: __ExceptionOptionType); } /** *

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).

* @public */ export declare class BucketAlreadyOwnedByYou extends __BaseException { readonly name: "BucketAlreadyOwnedByYou"; readonly $fault: "client"; /** * @internal */ constructor(opts: __ExceptionOptionType); } /** *

The specified bucket does not exist.

* @public */ export declare class NoSuchBucket extends __BaseException { readonly name: "NoSuchBucket"; readonly $fault: "client"; /** * @internal */ constructor(opts: __ExceptionOptionType); } /** *

Object is archived and inaccessible until restored.

*

If the object you are retrieving is stored in the S3 Glacier Flexible Retrieval storage class, the * S3 Glacier Deep Archive storage class, the S3 Intelligent-Tiering Archive Access tier, or the * S3 Intelligent-Tiering Deep Archive Access tier, before you can retrieve the object you must first restore a copy * using RestoreObject. Otherwise, this operation returns an InvalidObjectState error. For * information about restoring archived objects, see Restoring Archived Objects in the * Amazon S3 User Guide.

* @public */ export declare class InvalidObjectState extends __BaseException { readonly name: "InvalidObjectState"; readonly $fault: "client"; StorageClass?: StorageClass | undefined; AccessTier?: IntelligentTieringAccessTier | undefined; /** * @internal */ constructor(opts: __ExceptionOptionType); } /** *

The specified key does not exist.

* @public */ export declare class NoSuchKey extends __BaseException { readonly name: "NoSuchKey"; readonly $fault: "client"; /** * @internal */ constructor(opts: __ExceptionOptionType); } /** *

The specified content does not exist.

* @public */ export declare class NotFound extends __BaseException { readonly name: "NotFound"; readonly $fault: "client"; /** * @internal */ constructor(opts: __ExceptionOptionType); } /** *

The existing object was created with a different encryption type. Subsequent write requests must * include the appropriate encryption parameters in the request or while creating the session.

* @public */ export declare class EncryptionTypeMismatch extends __BaseException { readonly name: "EncryptionTypeMismatch"; readonly $fault: "client"; /** * @internal */ constructor(opts: __ExceptionOptionType); } /** *

You may receive this error in multiple cases. Depending on the reason for the error, you may receive * one of the messages below:

*
    *
  • *

    Cannot specify both a write offset value and user-defined object metadata for existing * objects.

    *
  • *
  • *

    Checksum Type mismatch occurred, expected checksum Type: sha1, actual checksum Type: * crc32c.

    *
  • *
  • *

    Request body cannot be empty when 'write offset' is specified.

    *
  • *
* @public */ export declare class InvalidRequest extends __BaseException { readonly name: "InvalidRequest"; readonly $fault: "client"; /** * @internal */ constructor(opts: __ExceptionOptionType); } /** *

The write offset value that you specified does not match the current object size.

* @public */ export declare class InvalidWriteOffset extends __BaseException { readonly name: "InvalidWriteOffset"; readonly $fault: "client"; /** * @internal */ constructor(opts: __ExceptionOptionType); } /** *

You have attempted to add more parts than the maximum of 10000 that are allowed for this object. * You can use the CopyObject operation to copy this object to another and then add more data to the newly * copied object.

* @public */ export declare class TooManyParts extends __BaseException { readonly name: "TooManyParts"; readonly $fault: "client"; /** * @internal */ constructor(opts: __ExceptionOptionType); } /** *

Parameters on this idempotent request are inconsistent with parameters used in previous request(s).

*

For a list of error codes and more information on Amazon S3 errors, see Error codes.

* *

Idempotency ensures that an API request completes no more than one time. With an idempotent * request, if the original request completes successfully, any subsequent retries complete successfully * without performing any further actions.

*
* @public */ export declare class IdempotencyParameterMismatch extends __BaseException { readonly name: "IdempotencyParameterMismatch"; readonly $fault: "client"; /** * @internal */ constructor(opts: __ExceptionOptionType); } /** *

This action is not allowed against this storage tier.

* @public */ export declare class ObjectAlreadyInActiveTierError extends __BaseException { readonly name: "ObjectAlreadyInActiveTierError"; readonly $fault: "client"; /** * @internal */ constructor(opts: __ExceptionOptionType); }