Class: Aws::CloudFront::Errors::TooManyFieldLevelEncryptionContentTypeProfiles

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

Returns a new instance of TooManyFieldLevelEncryptionContentTypeProfiles.

Parameters:


1528
1529
1530
# File 'lib/aws-sdk-cloudfront/errors.rb', line 1528

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

Instance Method Details

#messageString

Returns:

  • (String)

1533
1534
1535
# File 'lib/aws-sdk-cloudfront/errors.rb', line 1533

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