Class: Aws::Shield::Errors::InvalidResourceException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::Shield::Errors::InvalidResourceException
- Defined in:
- lib/aws-sdk-shield/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ InvalidResourceException
constructor
A new instance of InvalidResourceException.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ InvalidResourceException
Returns a new instance of InvalidResourceException.
155 156 157 |
# File 'lib/aws-sdk-shield/errors.rb', line 155 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
160 161 162 |
# File 'lib/aws-sdk-shield/errors.rb', line 160 def @message || @data[:message] end |