libZSservicesZSamazonka-rdsZSamazonka-rds
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.RDS.Types.TargetHealth

Description

 
Synopsis

Documentation

data TargetHealth Source #

Information about the connection health of an RDS Proxy target.

See: newTargetHealth smart constructor.

Constructors

TargetHealth' 

Fields

  • state :: Maybe TargetState

    The current state of the connection health lifecycle for the RDS Proxy target. The following is a typical lifecycle example for the states of an RDS Proxy target:

    registering > unavailable > available > unavailable > available

  • reason :: Maybe TargetHealthReason

    The reason for the current health State of the RDS Proxy target.

  • description :: Maybe Text

    A description of the health of the RDS Proxy target. If the State is AVAILABLE, a description is not included.

Instances

Instances details
Eq TargetHealth Source # 
Instance details

Defined in Amazonka.RDS.Types.TargetHealth

Read TargetHealth Source # 
Instance details

Defined in Amazonka.RDS.Types.TargetHealth

Show TargetHealth Source # 
Instance details

Defined in Amazonka.RDS.Types.TargetHealth

Generic TargetHealth Source # 
Instance details

Defined in Amazonka.RDS.Types.TargetHealth

Associated Types

type Rep TargetHealth :: Type -> Type #

NFData TargetHealth Source # 
Instance details

Defined in Amazonka.RDS.Types.TargetHealth

Methods

rnf :: TargetHealth -> () #

Hashable TargetHealth Source # 
Instance details

Defined in Amazonka.RDS.Types.TargetHealth

FromXML TargetHealth Source # 
Instance details

Defined in Amazonka.RDS.Types.TargetHealth

type Rep TargetHealth Source # 
Instance details

Defined in Amazonka.RDS.Types.TargetHealth

type Rep TargetHealth = D1 ('MetaData "TargetHealth" "Amazonka.RDS.Types.TargetHealth" "libZSservicesZSamazonka-rdsZSamazonka-rds" 'False) (C1 ('MetaCons "TargetHealth'" 'PrefixI 'True) (S1 ('MetaSel ('Just "state") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TargetState)) :*: (S1 ('MetaSel ('Just "reason") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TargetHealthReason)) :*: S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newTargetHealth :: TargetHealth Source #

Create a value of TargetHealth 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:state:TargetHealth', targetHealth_state - The current state of the connection health lifecycle for the RDS Proxy target. The following is a typical lifecycle example for the states of an RDS Proxy target:

registering > unavailable > available > unavailable > available

$sel:reason:TargetHealth', targetHealth_reason - The reason for the current health State of the RDS Proxy target.

$sel:description:TargetHealth', targetHealth_description - A description of the health of the RDS Proxy target. If the State is AVAILABLE, a description is not included.

targetHealth_state :: Lens' TargetHealth (Maybe TargetState) Source #

The current state of the connection health lifecycle for the RDS Proxy target. The following is a typical lifecycle example for the states of an RDS Proxy target:

registering > unavailable > available > unavailable > available

targetHealth_reason :: Lens' TargetHealth (Maybe TargetHealthReason) Source #

The reason for the current health State of the RDS Proxy target.

targetHealth_description :: Lens' TargetHealth (Maybe Text) Source #

A description of the health of the RDS Proxy target. If the State is AVAILABLE, a description is not included.