Class: Aws::EventBridgeV2::Errors::ThrottlingException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::EventBridgeV2::Errors::ThrottlingException
- Defined in:
- gems/aws-sdk-eventbridgev2/lib/aws-sdk-eventbridgev2/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.
279 280 281 |
# File 'gems/aws-sdk-eventbridgev2/lib/aws-sdk-eventbridgev2/errors.rb', line 279 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
284 285 286 |
# File 'gems/aws-sdk-eventbridgev2/lib/aws-sdk-eventbridgev2/errors.rb', line 284 def @message || @data[:message] end |
#retryable? ⇒ Boolean
288 289 290 |
# File 'gems/aws-sdk-eventbridgev2/lib/aws-sdk-eventbridgev2/errors.rb', line 288 def retryable? true end |
#throttling? ⇒ Boolean
292 293 294 |
# File 'gems/aws-sdk-eventbridgev2/lib/aws-sdk-eventbridgev2/errors.rb', line 292 def throttling? true end |