Class: Aws::Lambda::Errors::UnsupportedMediaTypeException

Inherits:
ServiceError
  • Object
show all
Defined in:
sig/errors.rbs,
lib/aws-sdk-lambda/errors.rb

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of UnsupportedMediaTypeException.

Parameters:



1213
1214
1215
# File 'lib/aws-sdk-lambda/errors.rb', line 1213

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

Instance Method Details

#messageString

Returns:

  • (String)


1223
# File 'lib/aws-sdk-lambda/errors.rb', line 1223

def message: () -> ::String

#typeString

Returns:

  • (String)


1218
# File 'lib/aws-sdk-lambda/errors.rb', line 1218

def type: () -> ::String