Class: Aws::GreengrassV2::Errors::ThrottlingException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::GreengrassV2::Errors::ThrottlingException
- Defined in:
- lib/aws-sdk-greengrassv2/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
- #service_code ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ThrottlingException
Returns a new instance of ThrottlingException.
185 186 187 |
# File 'lib/aws-sdk-greengrassv2/errors.rb', line 185 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
190 191 192 |
# File 'lib/aws-sdk-greengrassv2/errors.rb', line 190 def @message || @data[:message] end |
#quota_code ⇒ String
195 196 197 |
# File 'lib/aws-sdk-greengrassv2/errors.rb', line 195 def quota_code @data[:quota_code] end |
#retry_after_seconds ⇒ String
205 206 207 |
# File 'lib/aws-sdk-greengrassv2/errors.rb', line 205 def retry_after_seconds @data[:retry_after_seconds] end |
#service_code ⇒ String
200 201 202 |
# File 'lib/aws-sdk-greengrassv2/errors.rb', line 200 def service_code @data[:service_code] end |