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

Contents

Description

Modifies the specified rule.

Any existing properties that you do not modify retain their current values.

To modify the default action, use ModifyListener .

Synopsis

Creating a Request

modifyRule Source #

Arguments

:: Text

mrRuleARN

-> ModifyRule 

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

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

  • mrActions - The actions. The target group must use the HTTP or HTTPS protocol.
  • mrConditions - The conditions.
  • mrRuleARN - The Amazon Resource Name (ARN) of the rule.

data ModifyRule Source #

See: modifyRule smart constructor.

Instances
Eq ModifyRule Source # 
Instance details

Defined in Network.AWS.ELBv2.ModifyRule

Data ModifyRule Source # 
Instance details

Defined in Network.AWS.ELBv2.ModifyRule

Methods

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

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

toConstr :: ModifyRule -> Constr #

dataTypeOf :: ModifyRule -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ModifyRule Source # 
Instance details

Defined in Network.AWS.ELBv2.ModifyRule

Show ModifyRule Source # 
Instance details

Defined in Network.AWS.ELBv2.ModifyRule

Generic ModifyRule Source # 
Instance details

Defined in Network.AWS.ELBv2.ModifyRule

Associated Types

type Rep ModifyRule :: Type -> Type #

Hashable ModifyRule Source # 
Instance details

Defined in Network.AWS.ELBv2.ModifyRule

AWSRequest ModifyRule Source # 
Instance details

Defined in Network.AWS.ELBv2.ModifyRule

Associated Types

type Rs ModifyRule :: Type #

ToHeaders ModifyRule Source # 
Instance details

Defined in Network.AWS.ELBv2.ModifyRule

Methods

toHeaders :: ModifyRule -> [Header] #

ToPath ModifyRule Source # 
Instance details

Defined in Network.AWS.ELBv2.ModifyRule

ToQuery ModifyRule Source # 
Instance details

Defined in Network.AWS.ELBv2.ModifyRule

NFData ModifyRule Source # 
Instance details

Defined in Network.AWS.ELBv2.ModifyRule

Methods

rnf :: ModifyRule -> () #

type Rep ModifyRule Source # 
Instance details

Defined in Network.AWS.ELBv2.ModifyRule

type Rep ModifyRule = D1 (MetaData "ModifyRule" "Network.AWS.ELBv2.ModifyRule" "amazonka-elbv2-1.6.1-E4uu6EqNDMk4f08ZYDVKwx" False) (C1 (MetaCons "ModifyRule'" PrefixI True) (S1 (MetaSel (Just "_mrActions") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Action])) :*: (S1 (MetaSel (Just "_mrConditions") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [RuleCondition])) :*: S1 (MetaSel (Just "_mrRuleARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs ModifyRule Source # 
Instance details

Defined in Network.AWS.ELBv2.ModifyRule

Request Lenses

mrActions :: Lens' ModifyRule [Action] Source #

The actions. The target group must use the HTTP or HTTPS protocol.

mrRuleARN :: Lens' ModifyRule Text Source #

The Amazon Resource Name (ARN) of the rule.

Destructuring the Response

modifyRuleResponse Source #

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

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

data ModifyRuleResponse Source #

See: modifyRuleResponse smart constructor.

Instances
Eq ModifyRuleResponse Source # 
Instance details

Defined in Network.AWS.ELBv2.ModifyRule

Data ModifyRuleResponse Source # 
Instance details

Defined in Network.AWS.ELBv2.ModifyRule

Methods

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

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

toConstr :: ModifyRuleResponse -> Constr #

dataTypeOf :: ModifyRuleResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ModifyRuleResponse Source # 
Instance details

Defined in Network.AWS.ELBv2.ModifyRule

Show ModifyRuleResponse Source # 
Instance details

Defined in Network.AWS.ELBv2.ModifyRule

Generic ModifyRuleResponse Source # 
Instance details

Defined in Network.AWS.ELBv2.ModifyRule

Associated Types

type Rep ModifyRuleResponse :: Type -> Type #

NFData ModifyRuleResponse Source # 
Instance details

Defined in Network.AWS.ELBv2.ModifyRule

Methods

rnf :: ModifyRuleResponse -> () #

type Rep ModifyRuleResponse Source # 
Instance details

Defined in Network.AWS.ELBv2.ModifyRule

type Rep ModifyRuleResponse = D1 (MetaData "ModifyRuleResponse" "Network.AWS.ELBv2.ModifyRule" "amazonka-elbv2-1.6.1-E4uu6EqNDMk4f08ZYDVKwx" False) (C1 (MetaCons "ModifyRuleResponse'" PrefixI True) (S1 (MetaSel (Just "_mrrsRules") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Rule])) :*: S1 (MetaSel (Just "_mrrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))

Response Lenses

mrrsRules :: Lens' ModifyRuleResponse [Rule] Source #

Information about the rule.

mrrsResponseStatus :: Lens' ModifyRuleResponse Int Source #

  • - | The response status code.