Class: Aws::KMS::Errors::InvalidKeyUsageException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::KMS::Errors::InvalidKeyUsageException
- Defined in:
- lib/aws-sdk-kms/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ InvalidKeyUsageException
constructor
A new instance of InvalidKeyUsageException.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ InvalidKeyUsageException
Returns a new instance of InvalidKeyUsageException.
450 451 452 |
# File 'lib/aws-sdk-kms/errors.rb', line 450 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
455 456 457 |
# File 'lib/aws-sdk-kms/errors.rb', line 455 def @message || @data[:message] end |