Class: Aws::PcaConnectorAd::Errors::ThrottlingException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::PcaConnectorAd::Errors::ThrottlingException
- Defined in:
- lib/aws-sdk-pcaconnectorad/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
- #retryable? ⇒ Boolean
- #service_code ⇒ String
- #throttling? ⇒ Boolean
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ThrottlingException
Returns a new instance of ThrottlingException.
168 169 170 |
# File 'lib/aws-sdk-pcaconnectorad/errors.rb', line 168 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
173 174 175 |
# File 'lib/aws-sdk-pcaconnectorad/errors.rb', line 173 def @message || @data[:message] end |
#quota_code ⇒ String
178 179 180 |
# File 'lib/aws-sdk-pcaconnectorad/errors.rb', line 178 def quota_code @data[:quota_code] end |
#retryable? ⇒ Boolean
187 188 189 |
# File 'lib/aws-sdk-pcaconnectorad/errors.rb', line 187 def retryable? true end |
#service_code ⇒ String
183 184 185 |
# File 'lib/aws-sdk-pcaconnectorad/errors.rb', line 183 def service_code @data[:service_code] end |
#throttling? ⇒ Boolean
191 192 193 |
# File 'lib/aws-sdk-pcaconnectorad/errors.rb', line 191 def throttling? true end |