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:



70
71
72
# File 'lib/aws-sdk-s3/errors.rb', line 70

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

Instance Method Details

#access_tierString

Returns:

  • (String)


80
81
82
# File 'lib/aws-sdk-s3/errors.rb', line 80

def access_tier
  @data[:access_tier]
end

#storage_classString

Returns:

  • (String)


75
76
77
# File 'lib/aws-sdk-s3/errors.rb', line 75

def storage_class
  @data[:storage_class]
end