Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Documentation
data TargetHealth Source #
Information about the connection health of an RDS Proxy target.
See: newTargetHealth
smart constructor.
TargetHealth' | |
|
Instances
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.