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 # 
Data 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 # 
Show ModifyRule # 
Generic ModifyRule # 

Associated Types

type Rep ModifyRule :: * -> * #

Hashable ModifyRule # 
NFData ModifyRule # 

Methods

rnf :: ModifyRule -> () #

AWSRequest ModifyRule # 
ToHeaders ModifyRule # 

Methods

toHeaders :: ModifyRule -> [Header] #

ToPath ModifyRule # 
ToQuery ModifyRule # 
type Rep ModifyRule # 
type Rep ModifyRule = D1 * (MetaData "ModifyRule" "Network.AWS.ELBv2.ModifyRule" "amazonka-elbv2-1.6.0-A9WY3bDmNBjLN5Xlgd8sNs" False) (C1 * (MetaCons "ModifyRule'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_mrActions") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [Action]))) ((:*:) * (S1 * (MetaSel (Just Symbol "_mrConditions") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [RuleCondition]))) (S1 * (MetaSel (Just Symbol "_mrRuleARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)))))
type Rs 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 # 
Data ModifyRuleResponse # 

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 # 
Show ModifyRuleResponse # 
Generic ModifyRuleResponse # 
NFData ModifyRuleResponse # 

Methods

rnf :: ModifyRuleResponse -> () #

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

Response Lenses

mrrsRules :: Lens' ModifyRuleResponse [Rule] #

Information about the rule.

mrrsResponseStatus :: Lens' ModifyRuleResponse Int #

  • - | The response status code.