Class: Aws::Route53::Errors::TooManyTrafficPolicyVersionsForCurrentPolicy

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) ⇒ TooManyTrafficPolicyVersionsForCurrentPolicy

Returns a new instance of TooManyTrafficPolicyVersionsForCurrentPolicy.

Parameters:


950
951
952
# File 'lib/aws-sdk-route53/errors.rb', line 950

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

Instance Method Details

#messageString

Returns:

  • (String)

955
956
957
# File 'lib/aws-sdk-route53/errors.rb', line 955

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