Class: Aws::Schemas::Errors::UnauthorizedException
- Inherits:
-
ServiceError
- Object
- Errors::ServiceError
- ServiceError
- Aws::Schemas::Errors::UnauthorizedException
- Defined in:
- sig/errors.rbs,
lib/aws-sdk-schemas/errors.rb
Instance Method Summary collapse
- #code ⇒ String
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ UnauthorizedException
constructor
A new instance of UnauthorizedException.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ UnauthorizedException
Returns a new instance of UnauthorizedException.
232 233 234 |
# File 'lib/aws-sdk-schemas/errors.rb', line 232 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#code ⇒ String
237 |
# File 'lib/aws-sdk-schemas/errors.rb', line 237
def code: () -> ::String
|
#message ⇒ String
242 |
# File 'lib/aws-sdk-schemas/errors.rb', line 242
def message: () -> ::String
|