Class: Aws::Lambda::Errors::InvalidSecurityGroupIDException

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

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of InvalidSecurityGroupIDException.

Parameters:



385
386
387
# File 'lib/aws-sdk-lambda/errors.rb', line 385

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

Instance Method Details

#messageString

Returns:

  • (String)


395
396
397
# File 'lib/aws-sdk-lambda/errors.rb', line 395

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

#typeString

Returns:

  • (String)


390
391
392
# File 'lib/aws-sdk-lambda/errors.rb', line 390

def type
  @data[:type]
end