amazonka-elbv2-2.0: Amazon Elastic Load Balancing SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.ELBV2.Types.LoadBalancerState

Description

 
Synopsis

Documentation

data LoadBalancerState Source #

Information about the state of the load balancer.

See: newLoadBalancerState smart constructor.

Constructors

LoadBalancerState' 

Fields

  • code :: Maybe LoadBalancerStateEnum

    The state code. The initial state of the load balancer is provisioning. After the load balancer is fully set up and ready to route traffic, its state is active. If load balancer is routing traffic but does not have the resources it needs to scale, its state isactive_impaired. If the load balancer could not be set up, its state is failed.

  • reason :: Maybe Text

    A description of the state.

Instances

Instances details
FromXML LoadBalancerState Source # 
Instance details

Defined in Amazonka.ELBV2.Types.LoadBalancerState

Generic LoadBalancerState Source # 
Instance details

Defined in Amazonka.ELBV2.Types.LoadBalancerState

Associated Types

type Rep LoadBalancerState :: Type -> Type #

Read LoadBalancerState Source # 
Instance details

Defined in Amazonka.ELBV2.Types.LoadBalancerState

Show LoadBalancerState Source # 
Instance details

Defined in Amazonka.ELBV2.Types.LoadBalancerState

NFData LoadBalancerState Source # 
Instance details

Defined in Amazonka.ELBV2.Types.LoadBalancerState

Methods

rnf :: LoadBalancerState -> () #

Eq LoadBalancerState Source # 
Instance details

Defined in Amazonka.ELBV2.Types.LoadBalancerState

Hashable LoadBalancerState Source # 
Instance details

Defined in Amazonka.ELBV2.Types.LoadBalancerState

type Rep LoadBalancerState Source # 
Instance details

Defined in Amazonka.ELBV2.Types.LoadBalancerState

type Rep LoadBalancerState = D1 ('MetaData "LoadBalancerState" "Amazonka.ELBV2.Types.LoadBalancerState" "amazonka-elbv2-2.0-361J9F5fkBoAtGaOoJg8Ev" 'False) (C1 ('MetaCons "LoadBalancerState'" 'PrefixI 'True) (S1 ('MetaSel ('Just "code") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LoadBalancerStateEnum)) :*: S1 ('MetaSel ('Just "reason") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newLoadBalancerState :: LoadBalancerState Source #

Create a value of LoadBalancerState 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:code:LoadBalancerState', loadBalancerState_code - The state code. The initial state of the load balancer is provisioning. After the load balancer is fully set up and ready to route traffic, its state is active. If load balancer is routing traffic but does not have the resources it needs to scale, its state isactive_impaired. If the load balancer could not be set up, its state is failed.

$sel:reason:LoadBalancerState', loadBalancerState_reason - A description of the state.

loadBalancerState_code :: Lens' LoadBalancerState (Maybe LoadBalancerStateEnum) Source #

The state code. The initial state of the load balancer is provisioning. After the load balancer is fully set up and ready to route traffic, its state is active. If load balancer is routing traffic but does not have the resources it needs to scale, its state isactive_impaired. If the load balancer could not be set up, its state is failed.