amazonka-waf-1.4.2: Amazon WAF 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.WAF.DeleteByteMatchSet

Contents

Description

Permanently deletes a ByteMatchSet. You can't delete a ByteMatchSet if it's still used in any Rules or if it still includes any ByteMatchTuple objects (any filters).

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

To permanently delete a ByteMatchSet, perform the following steps:

  1. Update the ByteMatchSet to remove filters, if any. For more information, see UpdateByteMatchSet.
  2. Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of a DeleteByteMatchSet request.
  3. Submit a DeleteByteMatchSet request.

Synopsis

Creating a Request

deleteByteMatchSet Source #

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

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

data DeleteByteMatchSet Source #

See: deleteByteMatchSet smart constructor.

Instances

Eq DeleteByteMatchSet Source # 
Data DeleteByteMatchSet Source # 

Methods

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

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

toConstr :: DeleteByteMatchSet -> Constr #

dataTypeOf :: DeleteByteMatchSet -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteByteMatchSet Source # 
Show DeleteByteMatchSet Source # 
Generic DeleteByteMatchSet Source # 
ToJSON DeleteByteMatchSet Source # 
Hashable DeleteByteMatchSet Source # 
NFData DeleteByteMatchSet Source # 

Methods

rnf :: DeleteByteMatchSet -> () #

AWSRequest DeleteByteMatchSet Source # 
ToPath DeleteByteMatchSet Source # 
ToHeaders DeleteByteMatchSet Source # 
ToQuery DeleteByteMatchSet Source # 
type Rep DeleteByteMatchSet Source # 
type Rep DeleteByteMatchSet = D1 (MetaData "DeleteByteMatchSet" "Network.AWS.WAF.DeleteByteMatchSet" "amazonka-waf-1.4.2-GUOLg0Y7f3KJKVyTZ0nfG8" False) (C1 (MetaCons "DeleteByteMatchSet'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_dbmsByteMatchSetId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_dbmsChangeToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs DeleteByteMatchSet Source # 

Request Lenses

dbmsByteMatchSetId :: Lens' DeleteByteMatchSet Text Source #

The ByteMatchSetId of the ByteMatchSet that you want to delete. ByteMatchSetId is returned by CreateByteMatchSet and by ListByteMatchSets.

dbmsChangeToken :: Lens' DeleteByteMatchSet Text Source #

The value returned by the most recent call to GetChangeToken.

Destructuring the Response

deleteByteMatchSetResponse Source #

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

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

data DeleteByteMatchSetResponse Source #

See: deleteByteMatchSetResponse smart constructor.

Instances

Eq DeleteByteMatchSetResponse Source # 
Data DeleteByteMatchSetResponse Source # 

Methods

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

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

toConstr :: DeleteByteMatchSetResponse -> Constr #

dataTypeOf :: DeleteByteMatchSetResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteByteMatchSetResponse Source # 
Show DeleteByteMatchSetResponse Source # 
Generic DeleteByteMatchSetResponse Source # 
NFData DeleteByteMatchSetResponse Source # 
type Rep DeleteByteMatchSetResponse Source # 
type Rep DeleteByteMatchSetResponse = D1 (MetaData "DeleteByteMatchSetResponse" "Network.AWS.WAF.DeleteByteMatchSet" "amazonka-waf-1.4.2-GUOLg0Y7f3KJKVyTZ0nfG8" False) (C1 (MetaCons "DeleteByteMatchSetResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_dbmsrsChangeToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_dbmsrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

dbmsrsChangeToken :: Lens' DeleteByteMatchSetResponse (Maybe Text) Source #

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