amazonka-elbv2-1.6.1: 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 # 
Instance details

Defined in Network.AWS.ELBv2.DescribeRules

Data DescribeRules Source # 
Instance details

Defined in Network.AWS.ELBv2.DescribeRules

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

Defined in Network.AWS.ELBv2.DescribeRules

Show DescribeRules Source # 
Instance details

Defined in Network.AWS.ELBv2.DescribeRules

Generic DescribeRules Source # 
Instance details

Defined in Network.AWS.ELBv2.DescribeRules

Associated Types

type Rep DescribeRules :: Type -> Type #

Hashable DescribeRules Source # 
Instance details

Defined in Network.AWS.ELBv2.DescribeRules

AWSRequest DescribeRules Source # 
Instance details

Defined in Network.AWS.ELBv2.DescribeRules

Associated Types

type Rs DescribeRules :: Type #

ToHeaders DescribeRules Source # 
Instance details

Defined in Network.AWS.ELBv2.DescribeRules

ToPath DescribeRules Source # 
Instance details

Defined in Network.AWS.ELBv2.DescribeRules

ToQuery DescribeRules Source # 
Instance details

Defined in Network.AWS.ELBv2.DescribeRules

NFData DescribeRules Source # 
Instance details

Defined in Network.AWS.ELBv2.DescribeRules

Methods

rnf :: DescribeRules -> () #

type Rep DescribeRules Source # 
Instance details

Defined in Network.AWS.ELBv2.DescribeRules

type Rep DescribeRules = D1 (MetaData "DescribeRules" "Network.AWS.ELBv2.DescribeRules" "amazonka-elbv2-1.6.1-E4uu6EqNDMk4f08ZYDVKwx" False) (C1 (MetaCons "DescribeRules'" PrefixI True) ((S1 (MetaSel (Just "_drListenerARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_drMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_drRuleARNs") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 (MetaSel (Just "_drPageSize") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat)))))
type Rs DescribeRules Source # 
Instance details

Defined in Network.AWS.ELBv2.DescribeRules

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

Defined in Network.AWS.ELBv2.DescribeRules

Data DescribeRulesResponse Source # 
Instance details

Defined in Network.AWS.ELBv2.DescribeRules

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

Defined in Network.AWS.ELBv2.DescribeRules

Show DescribeRulesResponse Source # 
Instance details

Defined in Network.AWS.ELBv2.DescribeRules

Generic DescribeRulesResponse Source # 
Instance details

Defined in Network.AWS.ELBv2.DescribeRules

Associated Types

type Rep DescribeRulesResponse :: Type -> Type #

NFData DescribeRulesResponse Source # 
Instance details

Defined in Network.AWS.ELBv2.DescribeRules

Methods

rnf :: DescribeRulesResponse -> () #

type Rep DescribeRulesResponse Source # 
Instance details

Defined in Network.AWS.ELBv2.DescribeRules

type Rep DescribeRulesResponse = D1 (MetaData "DescribeRulesResponse" "Network.AWS.ELBv2.DescribeRules" "amazonka-elbv2-1.6.1-E4uu6EqNDMk4f08ZYDVKwx" False) (C1 (MetaCons "DescribeRulesResponse'" PrefixI True) (S1 (MetaSel (Just "_drsrsRules") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Rule])) :*: (S1 (MetaSel (Just "_drsrsNextMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_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.