Class: Aws::CloudFront::Errors::NoSuchInvalidation

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

Returns a new instance of NoSuchInvalidation.

Parameters:



1197
1198
1199
# File 'lib/aws-sdk-cloudfront/errors.rb', line 1197

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

Instance Method Details

#messageString

Returns:

  • (String)


1202
1203
1204
# File 'lib/aws-sdk-cloudfront/errors.rb', line 1202

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