Class: Aws::PCS::Errors::AccessDeniedException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::PCS::Errors::AccessDeniedException
- Defined in:
- lib/aws-sdk-pcs/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ AccessDeniedException
constructor
A new instance of AccessDeniedException.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ AccessDeniedException
Returns a new instance of AccessDeniedException.
49 50 51 |
# File 'lib/aws-sdk-pcs/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-pcs/errors.rb', line 54 def @message || @data[:message] end |