Class: Aws::Route53Resolver::Errors::ResourceUnavailableException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::Route53Resolver::Errors::ResourceUnavailableException
- Defined in:
- gems/aws-sdk-route53resolver/lib/aws-sdk-route53resolver/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ResourceUnavailableException
constructor
A new instance of ResourceUnavailableException.
-
#message ⇒ String
-
#resource_type ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ResourceUnavailableException
Returns a new instance of ResourceUnavailableException.
264 265 266 |
# File 'gems/aws-sdk-route53resolver/lib/aws-sdk-route53resolver/errors.rb', line 264 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
269 270 271 |
# File 'gems/aws-sdk-route53resolver/lib/aws-sdk-route53resolver/errors.rb', line 269 def @message || @data[:message] end |
#resource_type ⇒ String
274 275 276 |
# File 'gems/aws-sdk-route53resolver/lib/aws-sdk-route53resolver/errors.rb', line 274 def resource_type @data[:resource_type] end |