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

Class: Aws::Route53::Types::GetHealthCheckLastFailureReasonRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-route53/lib/aws-sdk-route53/types.rb

Overview

Note:

When making an API call, you may pass GetHealthCheckLastFailureReasonRequest data as a hash:

{
  health_check_id: "HealthCheckId", # required
}

A request for the reason that a health check failed most recently.

Instance Attribute Summary collapse

Instance Attribute Details

#health_check_idString

The ID for the health check for which you want the last failure reason. When you created the health check, CreateHealthCheck returned the ID in the response, in the HealthCheckId element.

If you want to get the last failure reason for a calculated health check, you must use the Amazon Route 53 console or the CloudWatch console. You can't use GetHealthCheckLastFailureReason for a calculated health check.

Returns:

  • (String)


1995
1996
1997
1998
# File 'gems/aws-sdk-route53/lib/aws-sdk-route53/types.rb', line 1995

class GetHealthCheckLastFailureReasonRequest < Struct.new(
  :health_check_id)
  include Aws::Structure
end