amazonka-elb-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.ELB.DescribeInstanceHealth

Description

Describes the state of the specified instances with respect to the specified load balancer. If no instances are specified, the call describes the state of all instances that are currently registered with the load balancer. If instances are specified, their state is returned even if they are no longer registered with the load balancer. The state of terminated instances is not returned.

Synopsis

Creating a Request

data DescribeInstanceHealth Source #

Contains the parameters for DescribeInstanceHealth.

See: newDescribeInstanceHealth smart constructor.

Constructors

DescribeInstanceHealth' 

Fields

Instances

Instances details
ToHeaders DescribeInstanceHealth Source # 
Instance details

Defined in Amazonka.ELB.DescribeInstanceHealth

ToPath DescribeInstanceHealth Source # 
Instance details

Defined in Amazonka.ELB.DescribeInstanceHealth

ToQuery DescribeInstanceHealth Source # 
Instance details

Defined in Amazonka.ELB.DescribeInstanceHealth

AWSRequest DescribeInstanceHealth Source # 
Instance details

Defined in Amazonka.ELB.DescribeInstanceHealth

Associated Types

type AWSResponse DescribeInstanceHealth #

Generic DescribeInstanceHealth Source # 
Instance details

Defined in Amazonka.ELB.DescribeInstanceHealth

Associated Types

type Rep DescribeInstanceHealth :: Type -> Type #

Read DescribeInstanceHealth Source # 
Instance details

Defined in Amazonka.ELB.DescribeInstanceHealth

Show DescribeInstanceHealth Source # 
Instance details

Defined in Amazonka.ELB.DescribeInstanceHealth

NFData DescribeInstanceHealth Source # 
Instance details

Defined in Amazonka.ELB.DescribeInstanceHealth

Methods

rnf :: DescribeInstanceHealth -> () #

Eq DescribeInstanceHealth Source # 
Instance details

Defined in Amazonka.ELB.DescribeInstanceHealth

Hashable DescribeInstanceHealth Source # 
Instance details

Defined in Amazonka.ELB.DescribeInstanceHealth

type AWSResponse DescribeInstanceHealth Source # 
Instance details

Defined in Amazonka.ELB.DescribeInstanceHealth

type Rep DescribeInstanceHealth Source # 
Instance details

Defined in Amazonka.ELB.DescribeInstanceHealth

type Rep DescribeInstanceHealth = D1 ('MetaData "DescribeInstanceHealth" "Amazonka.ELB.DescribeInstanceHealth" "amazonka-elb-2.0-9cSN5cNCwnD5ZanKSOxHTf" 'False) (C1 ('MetaCons "DescribeInstanceHealth'" 'PrefixI 'True) (S1 ('MetaSel ('Just "instances") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Instance])) :*: S1 ('MetaSel ('Just "loadBalancerName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newDescribeInstanceHealth Source #

Create a value of DescribeInstanceHealth 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:

DescribeInstanceHealth, describeInstanceHealth_instances - The IDs of the instances.

DescribeInstanceHealth, describeInstanceHealth_loadBalancerName - The name of the load balancer.

Request Lenses

Destructuring the Response

data DescribeInstanceHealthResponse Source #

Contains the output for DescribeInstanceHealth.

See: newDescribeInstanceHealthResponse smart constructor.

Constructors

DescribeInstanceHealthResponse' 

Fields

Instances

Instances details
Generic DescribeInstanceHealthResponse Source # 
Instance details

Defined in Amazonka.ELB.DescribeInstanceHealth

Associated Types

type Rep DescribeInstanceHealthResponse :: Type -> Type #

Read DescribeInstanceHealthResponse Source # 
Instance details

Defined in Amazonka.ELB.DescribeInstanceHealth

Show DescribeInstanceHealthResponse Source # 
Instance details

Defined in Amazonka.ELB.DescribeInstanceHealth

NFData DescribeInstanceHealthResponse Source # 
Instance details

Defined in Amazonka.ELB.DescribeInstanceHealth

Eq DescribeInstanceHealthResponse Source # 
Instance details

Defined in Amazonka.ELB.DescribeInstanceHealth

type Rep DescribeInstanceHealthResponse Source # 
Instance details

Defined in Amazonka.ELB.DescribeInstanceHealth

type Rep DescribeInstanceHealthResponse = D1 ('MetaData "DescribeInstanceHealthResponse" "Amazonka.ELB.DescribeInstanceHealth" "amazonka-elb-2.0-9cSN5cNCwnD5ZanKSOxHTf" 'False) (C1 ('MetaCons "DescribeInstanceHealthResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "instanceStates") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [InstanceState])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDescribeInstanceHealthResponse Source #

Create a value of DescribeInstanceHealthResponse 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:instanceStates:DescribeInstanceHealthResponse', describeInstanceHealthResponse_instanceStates - Information about the health of the instances.

$sel:httpStatus:DescribeInstanceHealthResponse', describeInstanceHealthResponse_httpStatus - The response's http status code.

Response Lenses