Class: Aws::CloudFront::Errors::TooManyStreamingDistributionCNAMEs

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

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of TooManyStreamingDistributionCNAMEs.

Parameters:



2352
2353
2354
# File 'lib/aws-sdk-cloudfront/errors.rb', line 2352

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

Instance Method Details

#messageString

Returns:

  • (String)


2357
2358
2359
# File 'lib/aws-sdk-cloudfront/errors.rb', line 2357

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