Class: Aws::Route53::Errors::TooManyTrafficPolicies

Inherits:
ServiceError
  • Object
show all
Defined in:
lib/aws-sdk-route53/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ TooManyTrafficPolicies

Returns a new instance of TooManyTrafficPolicies.

Parameters:



1016
1017
1018
# File 'lib/aws-sdk-route53/errors.rb', line 1016

def initialize(context, message, data = Aws::EmptyStructure.new)
  super(context, message, data)
end

Instance Method Details

#messageString

Returns:

  • (String)


1021
1022
1023
# File 'lib/aws-sdk-route53/errors.rb', line 1021

def message
  @message || @data[:message]
end