amazonka-elbv2-1.6.0: 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 #

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 #

See: modifyRule smart constructor.

Instances
Eq ModifyRule # 
Instance details

Defined in Network.AWS.ELBv2.ModifyRule

Data ModifyRule # 
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 # 
Instance details

Defined in Network.AWS.ELBv2.ModifyRule

Show ModifyRule # 
Instance details

Defined in Network.AWS.ELBv2.ModifyRule

Generic ModifyRule # 
Instance details

Defined in Network.AWS.ELBv2.ModifyRule

Associated Types

type Rep ModifyRule :: * -> * #

Hashable ModifyRule # 
Instance details

Defined in Network.AWS.ELBv2.ModifyRule

AWSRequest ModifyRule # 
Instance details

Defined in Network.AWS.ELBv2.ModifyRule

Associated Types

type Rs ModifyRule :: * #

ToHeaders ModifyRule # 
Instance details

Defined in Network.AWS.ELBv2.ModifyRule

Methods

toHeaders :: ModifyRule -> [Header] #

ToPath ModifyRule # 
Instance details

Defined in Network.AWS.ELBv2.ModifyRule

ToQuery ModifyRule # 
Instance details

Defined in Network.AWS.ELBv2.ModifyRule

NFData ModifyRule # 
Instance details

Defined in Network.AWS.ELBv2.ModifyRule

Methods

rnf :: ModifyRule -> () #

type Rep ModifyRule # 
Instance details

Defined in Network.AWS.ELBv2.ModifyRule

type Rep ModifyRule = D1 (MetaData "ModifyRule" "Network.AWS.ELBv2.ModifyRule" "amazonka-elbv2-1.6.0-BVt7aZYOjY5Am9wtaPXlVG" 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 # 
Instance details

Defined in Network.AWS.ELBv2.ModifyRule

Request Lenses

mrActions :: Lens' ModifyRule [Action] #

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

mrRuleARN :: Lens' ModifyRule Text #

The Amazon Resource Name (ARN) of the rule.

Destructuring the Response

modifyRuleResponse #

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 #

See: modifyRuleResponse smart constructor.

Instances
Eq ModifyRuleResponse # 
Instance details

Defined in Network.AWS.ELBv2.ModifyRule

Data ModifyRuleResponse # 
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 # 
Instance details

Defined in Network.AWS.ELBv2.ModifyRule

Show ModifyRuleResponse # 
Instance details

Defined in Network.AWS.ELBv2.ModifyRule

Generic ModifyRuleResponse # 
Instance details

Defined in Network.AWS.ELBv2.ModifyRule

Associated Types

type Rep ModifyRuleResponse :: * -> * #

NFData ModifyRuleResponse # 
Instance details

Defined in Network.AWS.ELBv2.ModifyRule

Methods

rnf :: ModifyRuleResponse -> () #

type Rep ModifyRuleResponse # 
Instance details

Defined in Network.AWS.ELBv2.ModifyRule

type Rep ModifyRuleResponse = D1 (MetaData "ModifyRuleResponse" "Network.AWS.ELBv2.ModifyRule" "amazonka-elbv2-1.6.0-BVt7aZYOjY5Am9wtaPXlVG" 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] #

Information about the rule.

mrrsResponseStatus :: Lens' ModifyRuleResponse Int #

  • - | The response status code.