Class: Aws::Organizations::Errors::TooManyRequestsException

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

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of TooManyRequestsException.

Parameters:



784
785
786
# File 'gems/aws-sdk-organizations/lib/aws-sdk-organizations/errors.rb', line 784

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

Instance Method Details

#messageString

Returns:

  • (String)


794
795
796
# File 'gems/aws-sdk-organizations/lib/aws-sdk-organizations/errors.rb', line 794

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

#typeString

Returns:

  • (String)


789
790
791
# File 'gems/aws-sdk-organizations/lib/aws-sdk-organizations/errors.rb', line 789

def type
  @data[:type]
end