libZSservicesZSamazonka-route53ZSamazonka-route53
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Route53.GetHealthCheckLastFailureReason

Description

Gets the reason that a specified health check failed most recently.

Synopsis

Creating a Request

data GetHealthCheckLastFailureReason Source #

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

See: newGetHealthCheckLastFailureReason smart constructor.

Constructors

GetHealthCheckLastFailureReason' 

Fields

  • healthCheckId :: Text

    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.

Instances

Instances details
Eq GetHealthCheckLastFailureReason Source # 
Instance details

Defined in Amazonka.Route53.GetHealthCheckLastFailureReason

Read GetHealthCheckLastFailureReason Source # 
Instance details

Defined in Amazonka.Route53.GetHealthCheckLastFailureReason

Show GetHealthCheckLastFailureReason Source # 
Instance details

Defined in Amazonka.Route53.GetHealthCheckLastFailureReason

Generic GetHealthCheckLastFailureReason Source # 
Instance details

Defined in Amazonka.Route53.GetHealthCheckLastFailureReason

Associated Types

type Rep GetHealthCheckLastFailureReason :: Type -> Type #

NFData GetHealthCheckLastFailureReason Source # 
Instance details

Defined in Amazonka.Route53.GetHealthCheckLastFailureReason

Hashable GetHealthCheckLastFailureReason Source # 
Instance details

Defined in Amazonka.Route53.GetHealthCheckLastFailureReason

AWSRequest GetHealthCheckLastFailureReason Source # 
Instance details

Defined in Amazonka.Route53.GetHealthCheckLastFailureReason

ToHeaders GetHealthCheckLastFailureReason Source # 
Instance details

Defined in Amazonka.Route53.GetHealthCheckLastFailureReason

ToPath GetHealthCheckLastFailureReason Source # 
Instance details

Defined in Amazonka.Route53.GetHealthCheckLastFailureReason

ToQuery GetHealthCheckLastFailureReason Source # 
Instance details

Defined in Amazonka.Route53.GetHealthCheckLastFailureReason

type Rep GetHealthCheckLastFailureReason Source # 
Instance details

Defined in Amazonka.Route53.GetHealthCheckLastFailureReason

type Rep GetHealthCheckLastFailureReason = D1 ('MetaData "GetHealthCheckLastFailureReason" "Amazonka.Route53.GetHealthCheckLastFailureReason" "libZSservicesZSamazonka-route53ZSamazonka-route53" 'False) (C1 ('MetaCons "GetHealthCheckLastFailureReason'" 'PrefixI 'True) (S1 ('MetaSel ('Just "healthCheckId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse GetHealthCheckLastFailureReason Source # 
Instance details

Defined in Amazonka.Route53.GetHealthCheckLastFailureReason

newGetHealthCheckLastFailureReason Source #

Create a value of GetHealthCheckLastFailureReason with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:healthCheckId:GetHealthCheckLastFailureReason', getHealthCheckLastFailureReason_healthCheckId - 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.

Request Lenses

getHealthCheckLastFailureReason_healthCheckId :: Lens' GetHealthCheckLastFailureReason Text Source #

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.

Destructuring the Response

data GetHealthCheckLastFailureReasonResponse Source #

A complex type that contains the response to a GetHealthCheckLastFailureReason request.

See: newGetHealthCheckLastFailureReasonResponse smart constructor.

Constructors

GetHealthCheckLastFailureReasonResponse' 

Fields

Instances

Instances details
Eq GetHealthCheckLastFailureReasonResponse Source # 
Instance details

Defined in Amazonka.Route53.GetHealthCheckLastFailureReason

Read GetHealthCheckLastFailureReasonResponse Source # 
Instance details

Defined in Amazonka.Route53.GetHealthCheckLastFailureReason

Show GetHealthCheckLastFailureReasonResponse Source # 
Instance details

Defined in Amazonka.Route53.GetHealthCheckLastFailureReason

Generic GetHealthCheckLastFailureReasonResponse Source # 
Instance details

Defined in Amazonka.Route53.GetHealthCheckLastFailureReason

NFData GetHealthCheckLastFailureReasonResponse Source # 
Instance details

Defined in Amazonka.Route53.GetHealthCheckLastFailureReason

type Rep GetHealthCheckLastFailureReasonResponse Source # 
Instance details

Defined in Amazonka.Route53.GetHealthCheckLastFailureReason

type Rep GetHealthCheckLastFailureReasonResponse = D1 ('MetaData "GetHealthCheckLastFailureReasonResponse" "Amazonka.Route53.GetHealthCheckLastFailureReason" "libZSservicesZSamazonka-route53ZSamazonka-route53" 'False) (C1 ('MetaCons "GetHealthCheckLastFailureReasonResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "healthCheckObservations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [HealthCheckObservation])))

newGetHealthCheckLastFailureReasonResponse Source #

Create a value of GetHealthCheckLastFailureReasonResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:httpStatus:GetHealthCheckLastFailureReasonResponse', getHealthCheckLastFailureReasonResponse_httpStatus - The response's http status code.

$sel:healthCheckObservations:GetHealthCheckLastFailureReasonResponse', getHealthCheckLastFailureReasonResponse_healthCheckObservations - A list that contains one Observation element for each Amazon Route 53 health checker that is reporting a last failure reason.

Response Lenses

getHealthCheckLastFailureReasonResponse_healthCheckObservations :: Lens' GetHealthCheckLastFailureReasonResponse [HealthCheckObservation] Source #

A list that contains one Observation element for each Amazon Route 53 health checker that is reporting a last failure reason.