Class: Aws::Transfer::Errors::ResourceExistsException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::Transfer::Errors::ResourceExistsException
- Defined in:
- lib/aws-sdk-transfer/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ResourceExistsException
constructor
A new instance of ResourceExistsException.
- #message ⇒ String
- #resource ⇒ String
- #resource_type ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ResourceExistsException
Returns a new instance of ResourceExistsException.
126 127 128 |
# File 'lib/aws-sdk-transfer/errors.rb', line 126 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
131 132 133 |
# File 'lib/aws-sdk-transfer/errors.rb', line 131 def @message || @data[:message] end |
#resource ⇒ String
136 137 138 |
# File 'lib/aws-sdk-transfer/errors.rb', line 136 def resource @data[:resource] end |
#resource_type ⇒ String
141 142 143 |
# File 'lib/aws-sdk-transfer/errors.rb', line 141 def resource_type @data[:resource_type] end |