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

  • Update the ByteMatchSet to remove filters, if any. For more information, see UpdateByteMatchSet .
  • Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of a DeleteByteMatchSet request.
  • 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:

  • dbmsByteMatchSetId - The ByteMatchSetId of the ByteMatchSet that you want to delete. ByteMatchSetId is returned by CreateByteMatchSet and by ListByteMatchSets .
  • dbmsChangeToken - The value returned by the most recent call to GetChangeToken .

data DeleteByteMatchSet Source #

See: deleteByteMatchSet smart constructor.

Instances
Eq DeleteByteMatchSet Source # 
Instance details

Defined in Network.AWS.WAF.DeleteByteMatchSet

Data DeleteByteMatchSet Source # 
Instance details

Defined in Network.AWS.WAF.DeleteByteMatchSet

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

Defined in Network.AWS.WAF.DeleteByteMatchSet

Show DeleteByteMatchSet Source # 
Instance details

Defined in Network.AWS.WAF.DeleteByteMatchSet

Generic DeleteByteMatchSet Source # 
Instance details

Defined in Network.AWS.WAF.DeleteByteMatchSet

Associated Types

type Rep DeleteByteMatchSet :: Type -> Type #

Hashable DeleteByteMatchSet Source # 
Instance details

Defined in Network.AWS.WAF.DeleteByteMatchSet

ToJSON DeleteByteMatchSet Source # 
Instance details

Defined in Network.AWS.WAF.DeleteByteMatchSet

AWSRequest DeleteByteMatchSet Source # 
Instance details

Defined in Network.AWS.WAF.DeleteByteMatchSet

Associated Types

type Rs DeleteByteMatchSet :: Type #

ToHeaders DeleteByteMatchSet Source # 
Instance details

Defined in Network.AWS.WAF.DeleteByteMatchSet

ToPath DeleteByteMatchSet Source # 
Instance details

Defined in Network.AWS.WAF.DeleteByteMatchSet

ToQuery DeleteByteMatchSet Source # 
Instance details

Defined in Network.AWS.WAF.DeleteByteMatchSet

NFData DeleteByteMatchSet Source # 
Instance details

Defined in Network.AWS.WAF.DeleteByteMatchSet

Methods

rnf :: DeleteByteMatchSet -> () #

type Rep DeleteByteMatchSet Source # 
Instance details

Defined in Network.AWS.WAF.DeleteByteMatchSet

type Rep DeleteByteMatchSet = D1 (MetaData "DeleteByteMatchSet" "Network.AWS.WAF.DeleteByteMatchSet" "amazonka-waf-1.6.1-AAUMqlxoZ2N3dlHnZE2nzz" False) (C1 (MetaCons "DeleteByteMatchSet'" PrefixI True) (S1 (MetaSel (Just "_dbmsByteMatchSetId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_dbmsChangeToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))
type Rs DeleteByteMatchSet Source # 
Instance details

Defined in Network.AWS.WAF.DeleteByteMatchSet

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:

  • dbmsrsChangeToken - 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 .
  • dbmsrsResponseStatus - -- | The response status code.

data DeleteByteMatchSetResponse Source #

See: deleteByteMatchSetResponse smart constructor.

Instances
Eq DeleteByteMatchSetResponse Source # 
Instance details

Defined in Network.AWS.WAF.DeleteByteMatchSet

Data DeleteByteMatchSetResponse Source # 
Instance details

Defined in Network.AWS.WAF.DeleteByteMatchSet

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

Defined in Network.AWS.WAF.DeleteByteMatchSet

Show DeleteByteMatchSetResponse Source # 
Instance details

Defined in Network.AWS.WAF.DeleteByteMatchSet

Generic DeleteByteMatchSetResponse Source # 
Instance details

Defined in Network.AWS.WAF.DeleteByteMatchSet

Associated Types

type Rep DeleteByteMatchSetResponse :: Type -> Type #

NFData DeleteByteMatchSetResponse Source # 
Instance details

Defined in Network.AWS.WAF.DeleteByteMatchSet

type Rep DeleteByteMatchSetResponse Source # 
Instance details

Defined in Network.AWS.WAF.DeleteByteMatchSet

type Rep DeleteByteMatchSetResponse = D1 (MetaData "DeleteByteMatchSetResponse" "Network.AWS.WAF.DeleteByteMatchSet" "amazonka-waf-1.6.1-AAUMqlxoZ2N3dlHnZE2nzz" False) (C1 (MetaCons "DeleteByteMatchSetResponse'" PrefixI True) (S1 (MetaSel (Just "_dbmsrsChangeToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_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 .