amazonka-waf-regional-1.5.0: Amazon WAF Regional SDK.

Copyright(c) 2013-2017 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.WAFRegional.GetIPSet

Contents

Description

Returns the IPSet that is specified by IPSetId .

Synopsis

Creating a Request

getIPSet Source #

Arguments

:: Text

gisIPSetId

-> GetIPSet 

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

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

  • gisIPSetId - The IPSetId of the IPSet that you want to get. IPSetId is returned by CreateIPSet and by ListIPSets .

data GetIPSet Source #

See: getIPSet smart constructor.

Instances

Eq GetIPSet Source # 
Data GetIPSet Source # 

Methods

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

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

toConstr :: GetIPSet -> Constr #

dataTypeOf :: GetIPSet -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetIPSet Source # 
Show GetIPSet Source # 
Generic GetIPSet Source # 

Associated Types

type Rep GetIPSet :: * -> * #

Methods

from :: GetIPSet -> Rep GetIPSet x #

to :: Rep GetIPSet x -> GetIPSet #

Hashable GetIPSet Source # 

Methods

hashWithSalt :: Int -> GetIPSet -> Int #

hash :: GetIPSet -> Int #

ToJSON GetIPSet Source # 
NFData GetIPSet Source # 

Methods

rnf :: GetIPSet -> () #

AWSRequest GetIPSet Source # 
ToQuery GetIPSet Source # 
ToPath GetIPSet Source # 
ToHeaders GetIPSet Source # 

Methods

toHeaders :: GetIPSet -> [Header] #

type Rep GetIPSet Source # 
type Rep GetIPSet = D1 (MetaData "GetIPSet" "Network.AWS.WAFRegional.GetIPSet" "amazonka-waf-regional-1.5.0-Kn8HIfa7qWEERHHaTClrk5" True) (C1 (MetaCons "GetIPSet'" PrefixI True) (S1 (MetaSel (Just Symbol "_gisIPSetId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs GetIPSet Source # 

Request Lenses

gisIPSetId :: Lens' GetIPSet Text Source #

The IPSetId of the IPSet that you want to get. IPSetId is returned by CreateIPSet and by ListIPSets .

Destructuring the Response

getIPSetResponse Source #

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

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

  • gisrsIPSet - Information about the IPSet that you specified in the GetIPSet request. For more information, see the following topics: * IPSet : Contains IPSetDescriptors , IPSetId , and Name * IPSetDescriptors : Contains an array of IPSetDescriptor objects. Each IPSetDescriptor object contains Type and Value
  • gisrsResponseStatus - -- | The response status code.

data GetIPSetResponse Source #

See: getIPSetResponse smart constructor.

Instances

Eq GetIPSetResponse Source # 
Data GetIPSetResponse Source # 

Methods

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

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

toConstr :: GetIPSetResponse -> Constr #

dataTypeOf :: GetIPSetResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetIPSetResponse Source # 
Show GetIPSetResponse Source # 
Generic GetIPSetResponse Source # 
NFData GetIPSetResponse Source # 

Methods

rnf :: GetIPSetResponse -> () #

type Rep GetIPSetResponse Source # 
type Rep GetIPSetResponse = D1 (MetaData "GetIPSetResponse" "Network.AWS.WAFRegional.GetIPSet" "amazonka-waf-regional-1.5.0-Kn8HIfa7qWEERHHaTClrk5" False) (C1 (MetaCons "GetIPSetResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_gisrsIPSet") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe IPSet))) (S1 (MetaSel (Just Symbol "_gisrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

gisrsIPSet :: Lens' GetIPSetResponse (Maybe IPSet) Source #

Information about the IPSet that you specified in the GetIPSet request. For more information, see the following topics: * IPSet : Contains IPSetDescriptors , IPSetId , and Name * IPSetDescriptors : Contains an array of IPSetDescriptor objects. Each IPSetDescriptor object contains Type and Value

gisrsResponseStatus :: Lens' GetIPSetResponse Int Source #

  • - | The response status code.