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

Copyright(c) 2013-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@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:

data ModifyRule Source #

Contains the parameters for ModifyRules.

See: modifyRule smart constructor.

Instances

Eq ModifyRule Source # 
Data ModifyRule Source # 

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

Associated Types

type Rep ModifyRule :: * -> * #

Hashable ModifyRule Source # 
NFData ModifyRule Source # 

Methods

rnf :: ModifyRule -> () #

AWSRequest ModifyRule Source # 
ToPath ModifyRule Source # 
ToHeaders ModifyRule Source # 

Methods

toHeaders :: ModifyRule -> [Header] #

ToQuery ModifyRule Source # 
type Rep ModifyRule Source # 
type Rep ModifyRule = D1 (MetaData "ModifyRule" "Network.AWS.ELBv2.ModifyRule" "amazonka-elbv2-1.4.5-J8ZeSE6X9TjH6Y7FrPuIXa" 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 Source # 

Request Lenses

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 #

Contains the output of ModifyRules.

See: modifyRuleResponse smart constructor.

Instances

Eq ModifyRuleResponse Source # 
Data ModifyRuleResponse Source # 

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

Methods

rnf :: ModifyRuleResponse -> () #

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

Response Lenses

mrrsRules :: Lens' ModifyRuleResponse [Rule] Source #

Information about the rule.

mrrsResponseStatus :: Lens' ModifyRuleResponse Int Source #

  • - | The response status code.