Class: Aws::CredentialBroker::Errors::ThrottlingException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::CredentialBroker::Errors::ThrottlingException
- Defined in:
- gems/aws-sdk-credentialbroker/lib/aws-sdk-credentialbroker/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ThrottlingException
constructor
A new instance of ThrottlingException.
-
#message ⇒ String
-
#retry_after_seconds ⇒ String
-
#retryable? ⇒ Boolean
-
#throttling? ⇒ Boolean
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ThrottlingException
Returns a new instance of ThrottlingException.
208 209 210 |
# File 'gems/aws-sdk-credentialbroker/lib/aws-sdk-credentialbroker/errors.rb', line 208 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
213 214 215 |
# File 'gems/aws-sdk-credentialbroker/lib/aws-sdk-credentialbroker/errors.rb', line 213 def @message || @data[:message] end |
#retry_after_seconds ⇒ String
218 219 220 |
# File 'gems/aws-sdk-credentialbroker/lib/aws-sdk-credentialbroker/errors.rb', line 218 def retry_after_seconds @data[:retry_after_seconds] end |
#retryable? ⇒ Boolean
222 223 224 |
# File 'gems/aws-sdk-credentialbroker/lib/aws-sdk-credentialbroker/errors.rb', line 222 def retryable? true end |
#throttling? ⇒ Boolean
226 227 228 |
# File 'gems/aws-sdk-credentialbroker/lib/aws-sdk-credentialbroker/errors.rb', line 226 def throttling? true end |