Class: Aws::Pipes::Errors::ThrottlingException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::Pipes::Errors::ThrottlingException
- Defined in:
- lib/aws-sdk-pipes/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ThrottlingException
constructor
A new instance of ThrottlingException.
- #message ⇒ String
- #quota_code ⇒ String
- #retry_after_seconds ⇒ String
- #service_code ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ThrottlingException
Returns a new instance of ThrottlingException.
143 144 145 |
# File 'lib/aws-sdk-pipes/errors.rb', line 143 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
148 149 150 |
# File 'lib/aws-sdk-pipes/errors.rb', line 148 def @message || @data[:message] end |
#quota_code ⇒ String
158 159 160 |
# File 'lib/aws-sdk-pipes/errors.rb', line 158 def quota_code @data[:quota_code] end |
#retry_after_seconds ⇒ String
163 164 165 |
# File 'lib/aws-sdk-pipes/errors.rb', line 163 def retry_after_seconds @data[:retry_after_seconds] end |
#service_code ⇒ String
153 154 155 |
# File 'lib/aws-sdk-pipes/errors.rb', line 153 def service_code @data[:service_code] end |