Class: Aws::KinesisVideoArchivedMedia::Errors::NotAuthorizedException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::KinesisVideoArchivedMedia::Errors::NotAuthorizedException
- Defined in:
- lib/aws-sdk-kinesisvideoarchivedmedia/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ NotAuthorizedException
constructor
A new instance of NotAuthorizedException.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ NotAuthorizedException
Returns a new instance of NotAuthorizedException.
141 142 143 |
# File 'lib/aws-sdk-kinesisvideoarchivedmedia/errors.rb', line 141 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
146 147 148 |
# File 'lib/aws-sdk-kinesisvideoarchivedmedia/errors.rb', line 146 def @message || @data[:message] end |