AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

GetHealthCheckLastFailureReasonInput

import "github.com/aws/aws-sdk-go/service/route53"

type GetHealthCheckLastFailureReasonInput struct { HealthCheckId *string `location:"uri" locationName:"HealthCheckId" type:"string" required:"true"` }

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

HealthCheckId

Type: *string

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.

HealthCheckId is a required field

Method

GoString

func (s GetHealthCheckLastFailureReasonInput) GoString() string

GoString returns the string representation

SetHealthCheckId

func (s *GetHealthCheckLastFailureReasonInput) SetHealthCheckId(v string) *GetHealthCheckLastFailureReasonInput

SetHealthCheckId sets the HealthCheckId field's value.

String

func (s GetHealthCheckLastFailureReasonInput) String() string

String returns the string representation

Validate

func (s *GetHealthCheckLastFailureReasonInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

On this page: