Class: Aws::SecurityLake::Errors::ThrottlingException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::SecurityLake::Errors::ThrottlingException
- Defined in:
- lib/aws-sdk-securitylake/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
- #retryable? ⇒ Boolean
- #service_code ⇒ String
- #throttling? ⇒ Boolean
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ThrottlingException
Returns a new instance of ThrottlingException.
152 153 154 |
# File 'lib/aws-sdk-securitylake/errors.rb', line 152 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
157 158 159 |
# File 'lib/aws-sdk-securitylake/errors.rb', line 157 def @message || @data[:message] end |
#quota_code ⇒ String
162 163 164 |
# File 'lib/aws-sdk-securitylake/errors.rb', line 162 def quota_code @data[:quota_code] end |
#retry_after_seconds ⇒ String
167 168 169 |
# File 'lib/aws-sdk-securitylake/errors.rb', line 167 def retry_after_seconds @data[:retry_after_seconds] end |
#retryable? ⇒ Boolean
176 177 178 |
# File 'lib/aws-sdk-securitylake/errors.rb', line 176 def retryable? true end |
#service_code ⇒ String
172 173 174 |
# File 'lib/aws-sdk-securitylake/errors.rb', line 172 def service_code @data[:service_code] end |
#throttling? ⇒ Boolean
180 181 182 |
# File 'lib/aws-sdk-securitylake/errors.rb', line 180 def throttling? true end |