Class: Aws::DatabaseMigrationService::Errors::InvalidResourceStateFault
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::DatabaseMigrationService::Errors::InvalidResourceStateFault
- Defined in:
- lib/aws-sdk-databasemigrationservice/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ InvalidResourceStateFault
constructor
A new instance of InvalidResourceStateFault.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ InvalidResourceStateFault
Returns a new instance of InvalidResourceStateFault.
158 159 160 |
# File 'lib/aws-sdk-databasemigrationservice/errors.rb', line 158 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
163 164 165 |
# File 'lib/aws-sdk-databasemigrationservice/errors.rb', line 163 def @message || @data[:message] end |