Class: Aws::CognitoSync::Errors::TooManyRequestsException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::CognitoSync::Errors::TooManyRequestsException
- Defined in:
- lib/aws-sdk-cognitosync/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ TooManyRequestsException
constructor
A new instance of TooManyRequestsException.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ TooManyRequestsException
Returns a new instance of TooManyRequestsException.
235 236 237 |
# File 'lib/aws-sdk-cognitosync/errors.rb', line 235 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
240 241 242 |
# File 'lib/aws-sdk-cognitosync/errors.rb', line 240 def @message || @data[:message] end |