Class: Aws::CloudHSMV2::Errors::CloudHsmAccessDeniedException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::CloudHSMV2::Errors::CloudHsmAccessDeniedException
- Defined in:
- lib/aws-sdk-cloudhsmv2/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ CloudHsmAccessDeniedException
constructor
A new instance of CloudHsmAccessDeniedException.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ CloudHsmAccessDeniedException
Returns a new instance of CloudHsmAccessDeniedException.
49 50 51 |
# File 'lib/aws-sdk-cloudhsmv2/errors.rb', line 49 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
54 55 56 |
# File 'lib/aws-sdk-cloudhsmv2/errors.rb', line 54 def @message || @data[:message] end |