Class: Aws::Route53Resolver::Errors::ResourceInUseException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::Route53Resolver::Errors::ResourceInUseException
- Defined in:
- gems/aws-sdk-route53resolver/lib/aws-sdk-route53resolver/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ResourceInUseException
constructor
A new instance of ResourceInUseException.
-
#message ⇒ String
-
#resource_type ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ResourceInUseException
Returns a new instance of ResourceInUseException.
224 225 226 |
# File 'gems/aws-sdk-route53resolver/lib/aws-sdk-route53resolver/errors.rb', line 224 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
229 230 231 |
# File 'gems/aws-sdk-route53resolver/lib/aws-sdk-route53resolver/errors.rb', line 229 def @message || @data[:message] end |
#resource_type ⇒ String
234 235 236 |
# File 'gems/aws-sdk-route53resolver/lib/aws-sdk-route53resolver/errors.rb', line 234 def resource_type @data[:resource_type] end |