1
0
Fork 0
mirror of https://github.com/fog/fog-aws.git synced 2022-11-09 13:50:52 -05:00
fog--fog-aws/lib/fog/aws/requests/dns/delete_health_check.rb

25 lines
603 B
Ruby
Raw Normal View History

module Fog
module DNS
2015-01-02 12:34:40 -05:00
class AWS
class Real
# This action deletes a health check.
# http://docs.aws.amazon.com/Route53/latest/APIReference/API_DeleteHealthCheck.html
#
# ==== Parameters
# * id<~String> - Health check ID
# === Returns
# * response<~Excon::Response>:
# * status<~Integer> - 200 when successful
def delete_health_check(id)
request({
:expects => 200,
:method => 'DELETE',
:path => "healthcheck/#{id}"
})
end
end
end
end
end