Class: Aws::EC2InstanceConnect::Errors::EC2InstanceTypeInvalidException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::EC2InstanceConnect::Errors::EC2InstanceTypeInvalidException
- Defined in:
- lib/aws-sdk-ec2instanceconnect/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ EC2InstanceTypeInvalidException
constructor
A new instance of EC2InstanceTypeInvalidException.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ EC2InstanceTypeInvalidException
Returns a new instance of EC2InstanceTypeInvalidException.
99 100 101 |
# File 'lib/aws-sdk-ec2instanceconnect/errors.rb', line 99 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
104 105 106 |
# File 'lib/aws-sdk-ec2instanceconnect/errors.rb', line 104 def @message || @data[:message] end |