amazonka-elbv2-1.6.1: Amazon Elastic Load Balancing SDK.

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.ELBv2.ModifyTargetGroup

Contents

Description

Modifies the health checks used when evaluating the health state of the targets in the specified target group.

To monitor the health of the targets, use DescribeTargetHealth .

Synopsis

Creating a Request

modifyTargetGroup Source #

Creates a value of ModifyTargetGroup with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • mtgMatcher - [HTTP/HTTPS health checks] The HTTP codes to use when checking for a successful response from a target.
  • mtgHealthCheckPath - [HTTP/HTTPS health checks] The ping path that is the destination for the health check request.
  • mtgUnhealthyThresholdCount - The number of consecutive health check failures required before considering the target unhealthy. For Network Load Balancers, this value must be the same as the healthy threshold count.
  • mtgHealthCheckIntervalSeconds - The approximate amount of time, in seconds, between health checks of an individual target. For Application Load Balancers, the range is 5 to 300 seconds. For Network Load Balancers, the supported values are 10 or 30 seconds.
  • mtgHealthyThresholdCount - The number of consecutive health checks successes required before considering an unhealthy target healthy.
  • mtgHealthCheckProtocol - The protocol the load balancer uses when performing health checks on targets. The TCP protocol is supported only if the protocol of the target group is TCP.
  • mtgHealthCheckTimeoutSeconds - [HTTP/HTTPS health checks] The amount of time, in seconds, during which no response means a failed health check.
  • mtgHealthCheckPort - The port the load balancer uses when performing health checks on targets.
  • mtgTargetGroupARN - The Amazon Resource Name (ARN) of the target group.

data ModifyTargetGroup Source #

See: modifyTargetGroup smart constructor.

Instances
Eq ModifyTargetGroup Source # 
Instance details

Defined in Network.AWS.ELBv2.ModifyTargetGroup

Data ModifyTargetGroup Source # 
Instance details

Defined in Network.AWS.ELBv2.ModifyTargetGroup

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ModifyTargetGroup -> c ModifyTargetGroup #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ModifyTargetGroup #

toConstr :: ModifyTargetGroup -> Constr #

dataTypeOf :: ModifyTargetGroup -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ModifyTargetGroup) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ModifyTargetGroup) #

gmapT :: (forall b. Data b => b -> b) -> ModifyTargetGroup -> ModifyTargetGroup #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ModifyTargetGroup -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ModifyTargetGroup -> r #

gmapQ :: (forall d. Data d => d -> u) -> ModifyTargetGroup -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ModifyTargetGroup -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ModifyTargetGroup -> m ModifyTargetGroup #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ModifyTargetGroup -> m ModifyTargetGroup #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ModifyTargetGroup -> m ModifyTargetGroup #

Read ModifyTargetGroup Source # 
Instance details

Defined in Network.AWS.ELBv2.ModifyTargetGroup

Show ModifyTargetGroup Source # 
Instance details

Defined in Network.AWS.ELBv2.ModifyTargetGroup

Generic ModifyTargetGroup Source # 
Instance details

Defined in Network.AWS.ELBv2.ModifyTargetGroup

Associated Types

type Rep ModifyTargetGroup :: Type -> Type #

Hashable ModifyTargetGroup Source # 
Instance details

Defined in Network.AWS.ELBv2.ModifyTargetGroup

AWSRequest ModifyTargetGroup Source # 
Instance details

Defined in Network.AWS.ELBv2.ModifyTargetGroup

Associated Types

type Rs ModifyTargetGroup :: Type #

ToHeaders ModifyTargetGroup Source # 
Instance details

Defined in Network.AWS.ELBv2.ModifyTargetGroup

ToPath ModifyTargetGroup Source # 
Instance details

Defined in Network.AWS.ELBv2.ModifyTargetGroup

ToQuery ModifyTargetGroup Source # 
Instance details

Defined in Network.AWS.ELBv2.ModifyTargetGroup

NFData ModifyTargetGroup Source # 
Instance details

Defined in Network.AWS.ELBv2.ModifyTargetGroup

Methods

rnf :: ModifyTargetGroup -> () #

type Rep ModifyTargetGroup Source # 
Instance details

Defined in Network.AWS.ELBv2.ModifyTargetGroup

type Rep ModifyTargetGroup = D1 (MetaData "ModifyTargetGroup" "Network.AWS.ELBv2.ModifyTargetGroup" "amazonka-elbv2-1.6.1-E4uu6EqNDMk4f08ZYDVKwx" False) (C1 (MetaCons "ModifyTargetGroup'" PrefixI True) (((S1 (MetaSel (Just "_mtgMatcher") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Matcher)) :*: S1 (MetaSel (Just "_mtgHealthCheckPath") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_mtgUnhealthyThresholdCount") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat)) :*: S1 (MetaSel (Just "_mtgHealthCheckIntervalSeconds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat)))) :*: ((S1 (MetaSel (Just "_mtgHealthyThresholdCount") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat)) :*: S1 (MetaSel (Just "_mtgHealthCheckProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ProtocolEnum))) :*: (S1 (MetaSel (Just "_mtgHealthCheckTimeoutSeconds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat)) :*: (S1 (MetaSel (Just "_mtgHealthCheckPort") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_mtgTargetGroupARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))))
type Rs ModifyTargetGroup Source # 
Instance details

Defined in Network.AWS.ELBv2.ModifyTargetGroup

Request Lenses

mtgMatcher :: Lens' ModifyTargetGroup (Maybe Matcher) Source #

HTTP/HTTPS health checks
The HTTP codes to use when checking for a successful response from a target.

mtgHealthCheckPath :: Lens' ModifyTargetGroup (Maybe Text) Source #

HTTP/HTTPS health checks
The ping path that is the destination for the health check request.

mtgUnhealthyThresholdCount :: Lens' ModifyTargetGroup (Maybe Natural) Source #

The number of consecutive health check failures required before considering the target unhealthy. For Network Load Balancers, this value must be the same as the healthy threshold count.

mtgHealthCheckIntervalSeconds :: Lens' ModifyTargetGroup (Maybe Natural) Source #

The approximate amount of time, in seconds, between health checks of an individual target. For Application Load Balancers, the range is 5 to 300 seconds. For Network Load Balancers, the supported values are 10 or 30 seconds.

mtgHealthyThresholdCount :: Lens' ModifyTargetGroup (Maybe Natural) Source #

The number of consecutive health checks successes required before considering an unhealthy target healthy.

mtgHealthCheckProtocol :: Lens' ModifyTargetGroup (Maybe ProtocolEnum) Source #

The protocol the load balancer uses when performing health checks on targets. The TCP protocol is supported only if the protocol of the target group is TCP.

mtgHealthCheckTimeoutSeconds :: Lens' ModifyTargetGroup (Maybe Natural) Source #

HTTP/HTTPS health checks
The amount of time, in seconds, during which no response means a failed health check.

mtgHealthCheckPort :: Lens' ModifyTargetGroup (Maybe Text) Source #

The port the load balancer uses when performing health checks on targets.

mtgTargetGroupARN :: Lens' ModifyTargetGroup Text Source #

The Amazon Resource Name (ARN) of the target group.

Destructuring the Response

modifyTargetGroupResponse Source #

Creates a value of ModifyTargetGroupResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data ModifyTargetGroupResponse Source #

See: modifyTargetGroupResponse smart constructor.

Instances
Eq ModifyTargetGroupResponse Source # 
Instance details

Defined in Network.AWS.ELBv2.ModifyTargetGroup

Data ModifyTargetGroupResponse Source # 
Instance details

Defined in Network.AWS.ELBv2.ModifyTargetGroup

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ModifyTargetGroupResponse -> c ModifyTargetGroupResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ModifyTargetGroupResponse #

toConstr :: ModifyTargetGroupResponse -> Constr #

dataTypeOf :: ModifyTargetGroupResponse -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ModifyTargetGroupResponse) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ModifyTargetGroupResponse) #

gmapT :: (forall b. Data b => b -> b) -> ModifyTargetGroupResponse -> ModifyTargetGroupResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ModifyTargetGroupResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ModifyTargetGroupResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> ModifyTargetGroupResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ModifyTargetGroupResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ModifyTargetGroupResponse -> m ModifyTargetGroupResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ModifyTargetGroupResponse -> m ModifyTargetGroupResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ModifyTargetGroupResponse -> m ModifyTargetGroupResponse #

Read ModifyTargetGroupResponse Source # 
Instance details

Defined in Network.AWS.ELBv2.ModifyTargetGroup

Show ModifyTargetGroupResponse Source # 
Instance details

Defined in Network.AWS.ELBv2.ModifyTargetGroup

Generic ModifyTargetGroupResponse Source # 
Instance details

Defined in Network.AWS.ELBv2.ModifyTargetGroup

Associated Types

type Rep ModifyTargetGroupResponse :: Type -> Type #

NFData ModifyTargetGroupResponse Source # 
Instance details

Defined in Network.AWS.ELBv2.ModifyTargetGroup

type Rep ModifyTargetGroupResponse Source # 
Instance details

Defined in Network.AWS.ELBv2.ModifyTargetGroup

type Rep ModifyTargetGroupResponse = D1 (MetaData "ModifyTargetGroupResponse" "Network.AWS.ELBv2.ModifyTargetGroup" "amazonka-elbv2-1.6.1-E4uu6EqNDMk4f08ZYDVKwx" False) (C1 (MetaCons "ModifyTargetGroupResponse'" PrefixI True) (S1 (MetaSel (Just "_mtgrsTargetGroups") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [TargetGroup])) :*: S1 (MetaSel (Just "_mtgrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))

Response Lenses

mtgrsTargetGroups :: Lens' ModifyTargetGroupResponse [TargetGroup] Source #

Information about the target group.