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