Class: Aws::Inspector::Errors::ServiceTemporarilyUnavailableException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::Inspector::Errors::ServiceTemporarilyUnavailableException
- Defined in:
- lib/aws-sdk-inspector/errors.rb
Instance Method Summary collapse
- #can_retry ⇒ String
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ServiceTemporarilyUnavailableException
constructor
A new instance of ServiceTemporarilyUnavailableException.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ServiceTemporarilyUnavailableException
Returns a new instance of ServiceTemporarilyUnavailableException.
273 274 275 |
# File 'lib/aws-sdk-inspector/errors.rb', line 273 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#can_retry ⇒ String
283 284 285 |
# File 'lib/aws-sdk-inspector/errors.rb', line 283 def can_retry @data[:can_retry] end |
#message ⇒ String
278 279 280 |
# File 'lib/aws-sdk-inspector/errors.rb', line 278 def @message || @data[:message] end |