Class: Aws::WorkSpaces::Errors::OperationNotSupportedException
- Inherits:
 - 
      ServiceError
      
        
- Object
 - ServiceError
 - Aws::WorkSpaces::Errors::OperationNotSupportedException
 
 
- Defined in:
 - lib/aws-sdk-workspaces/errors.rb
 
Instance Method Summary collapse
- 
  
    
      #initialize(context, message, data = Aws::EmptyStructure.new)  ⇒ OperationNotSupportedException 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of OperationNotSupportedException.
 - #message ⇒ String
 - #reason ⇒ String
 
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ OperationNotSupportedException
Returns a new instance of OperationNotSupportedException.
      194 195 196  | 
    
      # File 'lib/aws-sdk-workspaces/errors.rb', line 194 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end  | 
  
Instance Method Details
#message ⇒ String
      199 200 201  | 
    
      # File 'lib/aws-sdk-workspaces/errors.rb', line 199 def @message || @data[:message] end  | 
  
#reason ⇒ String
      204 205 206  | 
    
      # File 'lib/aws-sdk-workspaces/errors.rb', line 204 def reason @data[:reason] end  |