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

Contents

Description

Describes the specified rules or the rules for the specified listener. You must specify either a listener or one or more rules.

Synopsis

Creating a Request

describeRules :: DescribeRules Source #

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

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

  • drListenerARN - The Amazon Resource Name (ARN) of the listener.
  • drRuleARNs - The Amazon Resource Names (ARN) of the rules.

data DescribeRules Source #

Contains the parameters for DescribeRules.

See: describeRules smart constructor.

Instances

Eq DescribeRules Source # 
Data DescribeRules Source # 

Methods

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

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

toConstr :: DescribeRules -> Constr #

dataTypeOf :: DescribeRules -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeRules Source # 
Show DescribeRules Source # 
Generic DescribeRules Source # 

Associated Types

type Rep DescribeRules :: * -> * #

Hashable DescribeRules Source # 
NFData DescribeRules Source # 

Methods

rnf :: DescribeRules -> () #

AWSRequest DescribeRules Source # 
ToPath DescribeRules Source # 
ToHeaders DescribeRules Source # 
ToQuery DescribeRules Source # 
type Rep DescribeRules Source # 
type Rep DescribeRules = D1 (MetaData "DescribeRules" "Network.AWS.ELBv2.DescribeRules" "amazonka-elbv2-1.4.5-J8ZeSE6X9TjH6Y7FrPuIXa" False) (C1 (MetaCons "DescribeRules'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_drListenerARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_drRuleARNs") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])))))
type Rs DescribeRules Source # 

Request Lenses

drListenerARN :: Lens' DescribeRules (Maybe Text) Source #

The Amazon Resource Name (ARN) of the listener.

drRuleARNs :: Lens' DescribeRules [Text] Source #

The Amazon Resource Names (ARN) of the rules.

Destructuring the Response

describeRulesResponse Source #

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

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

data DescribeRulesResponse Source #

Contains the output of DescribeRules.

See: describeRulesResponse smart constructor.

Instances

Eq DescribeRulesResponse Source # 
Data DescribeRulesResponse Source # 

Methods

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

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

toConstr :: DescribeRulesResponse -> Constr #

dataTypeOf :: DescribeRulesResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeRulesResponse Source # 
Show DescribeRulesResponse Source # 
Generic DescribeRulesResponse Source # 
NFData DescribeRulesResponse Source # 

Methods

rnf :: DescribeRulesResponse -> () #

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

Response Lenses

drsrsRules :: Lens' DescribeRulesResponse [Rule] Source #

Information about the rules.

drsrsResponseStatus :: Lens' DescribeRulesResponse Int Source #

  • - | The response status code.