Class: Aws::KMS::Errors::InvalidKeyUsageException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::KMS::Errors::InvalidKeyUsageException
- Defined in:
- gems/aws-sdk-kms/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.
406 407 408 |
# File 'gems/aws-sdk-kms/lib/aws-sdk-kms/errors.rb', line 406 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
411 412 413 |
# File 'gems/aws-sdk-kms/lib/aws-sdk-kms/errors.rb', line 411 def @message || @data[:message] end |