Class: Aws::S3::Errors::InvalidObjectState

Inherits:
ServiceError
  • Object
show all
Defined in:
lib/aws-sdk-s3/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ InvalidObjectState

Returns a new instance of InvalidObjectState.

Parameters:



84
85
86
# File 'lib/aws-sdk-s3/errors.rb', line 84

def initialize(context, message, data = Aws::EmptyStructure.new)
  super(context, message, data)
end

Instance Method Details

#access_tierString

Returns:

  • (String)


94
95
96
# File 'lib/aws-sdk-s3/errors.rb', line 94

def access_tier
  @data[:access_tier]
end

#storage_classString

Returns:

  • (String)


89
90
91
# File 'lib/aws-sdk-s3/errors.rb', line 89

def storage_class
  @data[:storage_class]
end