amazonka-waf-regional-1.6.0: Amazon WAF Regional 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.WAFRegional.DeleteIPSet

Contents

Description

Permanently deletes an IPSet . You can't delete an IPSet if it's still used in any Rules or if it still includes any IP addresses.

If you just want to remove an IPSet from a Rule , use UpdateRule .

To permanently delete an IPSet from AWS WAF, perform the following steps:

  • Update the IPSet to remove IP address ranges, if any. For more information, see UpdateIPSet .
  • Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of a DeleteIPSet request.
  • Submit a DeleteIPSet request.

Synopsis

Creating a Request

deleteIPSet Source #

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

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

  • disIPSetId - The IPSetId of the IPSet that you want to delete. IPSetId is returned by CreateIPSet and by ListIPSets .
  • disChangeToken - The value returned by the most recent call to GetChangeToken .

data DeleteIPSet Source #

See: deleteIPSet smart constructor.

Instances

Eq DeleteIPSet Source # 
Data DeleteIPSet Source # 

Methods

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

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

toConstr :: DeleteIPSet -> Constr #

dataTypeOf :: DeleteIPSet -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteIPSet Source # 
Show DeleteIPSet Source # 
Generic DeleteIPSet Source # 

Associated Types

type Rep DeleteIPSet :: * -> * #

Hashable DeleteIPSet Source # 
ToJSON DeleteIPSet Source # 
NFData DeleteIPSet Source # 

Methods

rnf :: DeleteIPSet -> () #

AWSRequest DeleteIPSet Source # 
ToHeaders DeleteIPSet Source # 

Methods

toHeaders :: DeleteIPSet -> [Header] #

ToPath DeleteIPSet Source # 
ToQuery DeleteIPSet Source # 
type Rep DeleteIPSet Source # 
type Rep DeleteIPSet = D1 * (MetaData "DeleteIPSet" "Network.AWS.WAFRegional.DeleteIPSet" "amazonka-waf-regional-1.6.0-8hbXet7pAjcFZLYYuMOYQd" False) (C1 * (MetaCons "DeleteIPSet'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_disIPSetId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) (S1 * (MetaSel (Just Symbol "_disChangeToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text))))
type Rs DeleteIPSet Source # 

Request Lenses

disIPSetId :: Lens' DeleteIPSet Text Source #

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

disChangeToken :: Lens' DeleteIPSet Text Source #

The value returned by the most recent call to GetChangeToken .

Destructuring the Response

deleteIPSetResponse Source #

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

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

  • disrsChangeToken - The ChangeToken that you used to submit the DeleteIPSet request. You can also use this value to query the status of the request. For more information, see GetChangeTokenStatus .
  • disrsResponseStatus - -- | The response status code.

data DeleteIPSetResponse Source #

See: deleteIPSetResponse smart constructor.

Instances

Eq DeleteIPSetResponse Source # 
Data DeleteIPSetResponse Source # 

Methods

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

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

toConstr :: DeleteIPSetResponse -> Constr #

dataTypeOf :: DeleteIPSetResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteIPSetResponse Source # 
Show DeleteIPSetResponse Source # 
Generic DeleteIPSetResponse Source # 
NFData DeleteIPSetResponse Source # 

Methods

rnf :: DeleteIPSetResponse -> () #

type Rep DeleteIPSetResponse Source # 
type Rep DeleteIPSetResponse = D1 * (MetaData "DeleteIPSetResponse" "Network.AWS.WAFRegional.DeleteIPSet" "amazonka-waf-regional-1.6.0-8hbXet7pAjcFZLYYuMOYQd" False) (C1 * (MetaCons "DeleteIPSetResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_disrsChangeToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_disrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int))))

Response Lenses

disrsChangeToken :: Lens' DeleteIPSetResponse (Maybe Text) Source #

The ChangeToken that you used to submit the DeleteIPSet request. You can also use this value to query the status of the request. For more information, see GetChangeTokenStatus .

disrsResponseStatus :: Lens' DeleteIPSetResponse Int Source #

  • - | The response status code.