Class: Aws::ChimeSDKMeetings::Errors::UnauthorizedException

Inherits:
ServiceError
  • Object
show all
Defined in:
lib/aws-sdk-chimesdkmeetings/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ UnauthorizedException

Returns a new instance of UnauthorizedException.

Parameters:



319
320
321
# File 'lib/aws-sdk-chimesdkmeetings/errors.rb', line 319

def initialize(context, message, data = Aws::EmptyStructure.new)
  super(context, message, data)
end

Instance Method Details

#codeString

Returns:

  • (String)


324
325
326
# File 'lib/aws-sdk-chimesdkmeetings/errors.rb', line 324

def code
  @code || @data[:code]
end

#messageString

Returns:

  • (String)


329
330
331
# File 'lib/aws-sdk-chimesdkmeetings/errors.rb', line 329

def message
  @message || @data[:message]
end

#request_idString

Returns:

  • (String)


334
335
336
# File 'lib/aws-sdk-chimesdkmeetings/errors.rb', line 334

def request_id
  @data[:request_id]
end