Class: Aws::ComputeOptimizer::Errors::OptInRequiredException
- Inherits:
 - 
      ServiceError
      
        
- Object
 - ServiceError
 - Aws::ComputeOptimizer::Errors::OptInRequiredException
 
 
- Defined in:
 - lib/aws-sdk-computeoptimizer/errors.rb
 
Instance Method Summary collapse
- 
  
    
      #initialize(context, message, data = Aws::EmptyStructure.new)  ⇒ OptInRequiredException 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of OptInRequiredException.
 - #message ⇒ String
 
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ OptInRequiredException
Returns a new instance of OptInRequiredException.
      126 127 128  | 
    
      # File 'lib/aws-sdk-computeoptimizer/errors.rb', line 126 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end  | 
  
Instance Method Details
#message ⇒ String
      131 132 133  | 
    
      # File 'lib/aws-sdk-computeoptimizer/errors.rb', line 131 def @message || @data[:message] end  |