You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::APIGateway::Errors::ServiceUnavailableException

Inherits:
ServiceError
  • Object
show all
Defined in:
gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ServiceUnavailableException

Returns a new instance of ServiceUnavailableException

Parameters:



87
88
89
# File 'gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/errors.rb', line 87

def initialize(context, message, data = Aws::EmptyStructure.new)
  super(context, message, data)
end

Instance Method Details

#messageString

Returns:

  • (String)


97
98
99
# File 'gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/errors.rb', line 97

def message
  @message || @data[:message]
end

#retry_after_secondsString

Returns:

  • (String)


92
93
94
# File 'gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/errors.rb', line 92

def retry_after_seconds
  @data[:retry_after_seconds]
end