Class: Aws::APIGateway::Errors::ServiceUnavailableException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::APIGateway::Errors::ServiceUnavailableException
- Defined in:
- gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ServiceUnavailableException
constructor
A new instance of ServiceUnavailableException.
-
#message ⇒ String
-
#retry_after_seconds ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ServiceUnavailableException
Returns a new instance of ServiceUnavailableException.
114 115 116 |
# File 'gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/errors.rb', line 114 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
124 125 126 |
# File 'gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/errors.rb', line 124 def @message || @data[:message] end |
#retry_after_seconds ⇒ String
119 120 121 |
# File 'gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/errors.rb', line 119 def retry_after_seconds @data[:retry_after_seconds] end |