Class: Aws::SQS::Errors::KmsInvalidKeyUsage
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::SQS::Errors::KmsInvalidKeyUsage
- Defined in:
- lib/aws-sdk-sqs/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ KmsInvalidKeyUsage
constructor
A new instance of KmsInvalidKeyUsage.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ KmsInvalidKeyUsage
Returns a new instance of KmsInvalidKeyUsage.
245 246 247 |
# File 'lib/aws-sdk-sqs/errors.rb', line 245 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
250 251 252 |
# File 'lib/aws-sdk-sqs/errors.rb', line 250 def @message || @data[:message] end |