Class: Aws::MigrationHub::Errors::UnauthorizedOperation
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::MigrationHub::Errors::UnauthorizedOperation
- Defined in:
- lib/aws-sdk-migrationhub/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ UnauthorizedOperation
constructor
A new instance of UnauthorizedOperation.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ UnauthorizedOperation
Returns a new instance of UnauthorizedOperation.
192 193 194 |
# File 'lib/aws-sdk-migrationhub/errors.rb', line 192 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
197 198 199 |
# File 'lib/aws-sdk-migrationhub/errors.rb', line 197 def @message || @data[:message] end |