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_tierString

Returns:

  • (String)


9084
9085
9086
9087
9088
9089
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 9084

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

#storage_classString

Returns:

  • (String)


9084
9085
9086
9087
9088
9089
# File 'gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb', line 9084

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