Class: Aws::SnowDeviceManagement::Errors::AccessDeniedException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::SnowDeviceManagement::Errors::AccessDeniedException
- Defined in:
- lib/aws-sdk-snowdevicemanagement/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ AccessDeniedException
constructor
A new instance of AccessDeniedException.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ AccessDeniedException
Returns a new instance of AccessDeniedException.
48 49 50 |
# File 'lib/aws-sdk-snowdevicemanagement/errors.rb', line 48 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
53 54 55 |
# File 'lib/aws-sdk-snowdevicemanagement/errors.rb', line 53 def @message || @data[:message] end |