Class: Aws::PinpointSMSVoiceV2::Errors::ThrottlingException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::PinpointSMSVoiceV2::Errors::ThrottlingException
- Defined in:
- lib/aws-sdk-pinpointsmsvoicev2/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ThrottlingException
constructor
A new instance of ThrottlingException.
- #message ⇒ String
- #retryable? ⇒ Boolean
- #throttling? ⇒ Boolean
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ThrottlingException
Returns a new instance of ThrottlingException.
168 169 170 |
# File 'lib/aws-sdk-pinpointsmsvoicev2/errors.rb', line 168 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
173 174 175 |
# File 'lib/aws-sdk-pinpointsmsvoicev2/errors.rb', line 173 def @message || @data[:message] end |
#retryable? ⇒ Boolean
177 178 179 |
# File 'lib/aws-sdk-pinpointsmsvoicev2/errors.rb', line 177 def retryable? true end |
#throttling? ⇒ Boolean
181 182 183 |
# File 'lib/aws-sdk-pinpointsmsvoicev2/errors.rb', line 181 def throttling? true end |