Class: Aws::CloudFront::Errors::PublicKeyInUse
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::CloudFront::Errors::PublicKeyInUse
- Defined in:
- lib/aws-sdk-cloudfront/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ PublicKeyInUse
constructor
A new instance of PublicKeyInUse.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ PublicKeyInUse
Returns a new instance of PublicKeyInUse.
1437 1438 1439 |
# File 'lib/aws-sdk-cloudfront/errors.rb', line 1437 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
1442 1443 1444 |
# File 'lib/aws-sdk-cloudfront/errors.rb', line 1442 def @message || @data[:message] end |