Class: Aws::CloudFront::Errors::TrustedKeyGroupDoesNotExist

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

Returns a new instance of TrustedKeyGroupDoesNotExist.

Parameters:



2397
2398
2399
# File 'lib/aws-sdk-cloudfront/errors.rb', line 2397

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

Instance Method Details

#messageString

Returns:

  • (String)


2402
2403
2404
# File 'lib/aws-sdk-cloudfront/errors.rb', line 2402

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