Class: Aws::MQ::Errors::UnauthorizedException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::MQ::Errors::UnauthorizedException
- Defined in:
- lib/aws-sdk-mq/errors.rb
Instance Method Summary collapse
- #error_attribute ⇒ String
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ UnauthorizedException
constructor
A new instance of UnauthorizedException.
- #message ⇒ String
- #resource_share_errors ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ UnauthorizedException
Returns a new instance of UnauthorizedException.
173 174 175 |
# File 'lib/aws-sdk-mq/errors.rb', line 173 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#error_attribute ⇒ String
178 179 180 |
# File 'lib/aws-sdk-mq/errors.rb', line 178 def error_attribute @data[:error_attribute] end |
#message ⇒ String
183 184 185 |
# File 'lib/aws-sdk-mq/errors.rb', line 183 def @message || @data[:message] end |
#resource_share_errors ⇒ String
188 189 190 |
# File 'lib/aws-sdk-mq/errors.rb', line 188 def resource_share_errors @data[:resource_share_errors] end |