libZSservicesZSamazonka-elbv2ZSamazonka-elbv2
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.ELBV2.Types.LoadBalancerState

Description

 
Synopsis

Documentation

data LoadBalancerState Source #

Information about the state of the load balancer.

See: newLoadBalancerState smart constructor.

Constructors

LoadBalancerState' 

Fields

  • reason :: Maybe Text

    A description of the state.

  • 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.

Instances

Instances details
Eq LoadBalancerState Source # 
Instance details

Defined in Amazonka.ELBV2.Types.LoadBalancerState

Read LoadBalancerState Source # 
Instance details

Defined in Amazonka.ELBV2.Types.LoadBalancerState

Show 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 #

NFData LoadBalancerState Source # 
Instance details

Defined in Amazonka.ELBV2.Types.LoadBalancerState

Methods

rnf :: LoadBalancerState -> () #

Hashable LoadBalancerState Source # 
Instance details

Defined in Amazonka.ELBV2.Types.LoadBalancerState

FromXML 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" "libZSservicesZSamazonka-elbv2ZSamazonka-elbv2" 'False) (C1 ('MetaCons "LoadBalancerState'" 'PrefixI 'True) (S1 ('MetaSel ('Just "reason") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "code") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LoadBalancerStateEnum))))

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:reason:LoadBalancerState', loadBalancerState_reason - A description of the state.

$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.

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.