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.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.
  • drMarker - The marker for the next set of results. (You received this marker from a previous call.)
  • drRuleARNs - The Amazon Resource Names (ARN) of the rules.
  • drPageSize - The maximum number of results to return with this call.

data DescribeRules Source #

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 # 
ToHeaders DescribeRules Source # 
ToPath DescribeRules Source # 
ToQuery DescribeRules Source # 
type Rep DescribeRules Source # 
type Rep DescribeRules = D1 * (MetaData "DescribeRules" "Network.AWS.ELBv2.DescribeRules" "amazonka-elbv2-1.6.0-BDuuMSavAm89hMa3xHwuj" False) (C1 * (MetaCons "DescribeRules'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_drListenerARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_drMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_drRuleARNs") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [Text]))) (S1 * (MetaSel (Just Symbol "_drPageSize") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Nat))))))
type Rs DescribeRules Source # 

Request Lenses

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

The Amazon Resource Name (ARN) of the listener.

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

The marker for the next set of results. (You received this marker from a previous call.)

drRuleARNs :: Lens' DescribeRules [Text] Source #

The Amazon Resource Names (ARN) of the rules.

drPageSize :: Lens' DescribeRules (Maybe Natural) Source #

The maximum number of results to return with this call.

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:

  • drsrsRules - Information about the rules.
  • drsrsNextMarker - The marker to use when requesting the next set of results. If there are no additional results, the string is empty.
  • drsrsResponseStatus - -- | The response status code.

data DescribeRulesResponse Source #

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.6.0-BDuuMSavAm89hMa3xHwuj" False) (C1 * (MetaCons "DescribeRulesResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_drsrsRules") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [Rule]))) ((:*:) * (S1 * (MetaSel (Just Symbol "_drsrsNextMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_drsrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)))))

Response Lenses

drsrsRules :: Lens' DescribeRulesResponse [Rule] Source #

Information about the rules.

drsrsNextMarker :: Lens' DescribeRulesResponse (Maybe Text) Source #

The marker to use when requesting the next set of results. If there are no additional results, the string is empty.

drsrsResponseStatus :: Lens' DescribeRulesResponse Int Source #

  • - | The response status code.