Class: Aws::AgentDiscovery::Errors::ThrottlingException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::AgentDiscovery::Errors::ThrottlingException
- Defined in:
- gems/aws-sdk-agentdiscovery/lib/aws-sdk-agentdiscovery/errors.rb
Instance Method Summary collapse
-
#error_code ⇒ String
-
#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.
65 66 67 |
# File 'gems/aws-sdk-agentdiscovery/lib/aws-sdk-agentdiscovery/errors.rb', line 65 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#error_code ⇒ String
75 76 77 |
# File 'gems/aws-sdk-agentdiscovery/lib/aws-sdk-agentdiscovery/errors.rb', line 75 def error_code @data[:error_code] end |
#message ⇒ String
70 71 72 |
# File 'gems/aws-sdk-agentdiscovery/lib/aws-sdk-agentdiscovery/errors.rb', line 70 def @message || @data[:message] end |
#retryable? ⇒ Boolean
79 80 81 |
# File 'gems/aws-sdk-agentdiscovery/lib/aws-sdk-agentdiscovery/errors.rb', line 79 def retryable? true end |
#throttling? ⇒ Boolean
83 84 85 |
# File 'gems/aws-sdk-agentdiscovery/lib/aws-sdk-agentdiscovery/errors.rb', line 83 def throttling? true end |