Class: Aws::AmplifyBackend::Errors::TooManyRequestsException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::AmplifyBackend::Errors::TooManyRequestsException
- Defined in:
- lib/aws-sdk-amplifybackend/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ TooManyRequestsException
constructor
A new instance of TooManyRequestsException.
- #limit_type ⇒ String
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ TooManyRequestsException
Returns a new instance of TooManyRequestsException.
96 97 98 |
# File 'lib/aws-sdk-amplifybackend/errors.rb', line 96 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#limit_type ⇒ String
101 102 103 |
# File 'lib/aws-sdk-amplifybackend/errors.rb', line 101 def limit_type @data[:limit_type] end |
#message ⇒ String
106 107 108 |
# File 'lib/aws-sdk-amplifybackend/errors.rb', line 106 def @message || @data[:message] end |