Class InvalidObjectStateException

All Implemented Interfaces:
Serializable, SdkPojo, ToCopyableBuilder<InvalidObjectStateException.Builder,InvalidObjectStateException>

@Generated("software.amazon.awssdk:codegen") public final class InvalidObjectStateException extends S3Exception implements ToCopyableBuilder<InvalidObjectStateException.Builder,InvalidObjectStateException>

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.

See Also: