Class: Aws::WellArchitected::Errors::ThrottlingException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::WellArchitected::Errors::ThrottlingException
- Defined in:
- lib/aws-sdk-wellarchitected/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
- #service_code ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ThrottlingException
Returns a new instance of ThrottlingException.
164 165 166 |
# File 'lib/aws-sdk-wellarchitected/errors.rb', line 164 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
169 170 171 |
# File 'lib/aws-sdk-wellarchitected/errors.rb', line 169 def @message || @data[:message] end |
#quota_code ⇒ String
174 175 176 |
# File 'lib/aws-sdk-wellarchitected/errors.rb', line 174 def quota_code @data[:quota_code] end |
#service_code ⇒ String
179 180 181 |
# File 'lib/aws-sdk-wellarchitected/errors.rb', line 179 def service_code @data[:service_code] end |