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

Inherits:
ServiceError
  • Object
show all
Defined in:
gems/aws-sdk-route53/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:



1046
1047
1048
# File 'gems/aws-sdk-route53/lib/aws-sdk-route53/errors.rb', line 1046

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

Instance Method Details

#messageString

Returns:

  • (String)


1051
1052
1053
# File 'gems/aws-sdk-route53/lib/aws-sdk-route53/errors.rb', line 1051

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