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.
142 143 144 |
# File 'lib/aws-sdk-databasemigrationservice/errors.rb', line 142 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
147 148 149 |
# File 'lib/aws-sdk-databasemigrationservice/errors.rb', line 147 def @message || @data[:message] end |