Class: Aws::CloudFront::Errors::NoSuchStreamingDistribution

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

Returns a new instance of NoSuchStreamingDistribution.

Parameters:



786
787
788
# File 'lib/aws-sdk-cloudfront/errors.rb', line 786

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

Instance Method Details

#messageString

Returns:

  • (String)


791
792
793
# File 'lib/aws-sdk-cloudfront/errors.rb', line 791

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