Class: Aws::Snowball::Errors::KMSRequestFailedException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::Snowball::Errors::KMSRequestFailedException
- Defined in:
- lib/aws-sdk-snowball/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ KMSRequestFailedException
constructor
A new instance of KMSRequestFailedException.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ KMSRequestFailedException
Returns a new instance of KMSRequestFailedException.
183 184 185 |
# File 'lib/aws-sdk-snowball/errors.rb', line 183 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
188 189 190 |
# File 'lib/aws-sdk-snowball/errors.rb', line 188 def @message || @data[:message] end |