Class: Aws::S3::Types::InvalidObjectState

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb

Overview

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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#access_tier ⇒ String

Returns:

  • (String)


11354
11355
11356
11357
11358
11359
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 11354

class InvalidObjectState < Struct.new(
  :storage_class,
  :access_tier)
  SENSITIVE = []
  include Aws::Structure
end

#storage_class ⇒ String

Returns:

  • (String)


11354
11355
11356
11357
11358
11359
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 11354

class InvalidObjectState < Struct.new(
  :storage_class,
  :access_tier)
  SENSITIVE = []
  include Aws::Structure
end