Class: Aws::IAM::Errors::FeatureEnabledException Deprecated

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

Overview

Deprecated.

This error class is not used during parsing. Please use ‘FeatureEnabled` instead.

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of FeatureEnabledException.

Parameters:



299
300
301
# File 'lib/aws-sdk-iam/errors.rb', line 299

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

Instance Method Details

#messageString

Returns:

  • (String)


304
305
306
# File 'lib/aws-sdk-iam/errors.rb', line 304

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