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.AssociateWebACL

Contents

Description

Associates a web ACL with a resource.

Synopsis

Creating a Request

associateWebACL Source #

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

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

  • awaWebACLId - A unique identifier (ID) for the web ACL.
  • awaResourceARN - The ARN (Amazon Resource Name) of the resource to be protected.

data AssociateWebACL Source #

See: associateWebACL smart constructor.

Instances

Eq AssociateWebACL Source # 
Data AssociateWebACL Source # 

Methods

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

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

toConstr :: AssociateWebACL -> Constr #

dataTypeOf :: AssociateWebACL -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Methods

rnf :: AssociateWebACL -> () #

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

Request Lenses

awaWebACLId :: Lens' AssociateWebACL Text Source #

A unique identifier (ID) for the web ACL.

awaResourceARN :: Lens' AssociateWebACL Text Source #

The ARN (Amazon Resource Name) of the resource to be protected.

Destructuring the Response

associateWebACLResponse Source #

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

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

data AssociateWebACLResponse Source #

See: associateWebACLResponse smart constructor.

Instances

Eq AssociateWebACLResponse Source # 
Data AssociateWebACLResponse Source # 

Methods

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

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

toConstr :: AssociateWebACLResponse -> Constr #

dataTypeOf :: AssociateWebACLResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read AssociateWebACLResponse Source # 
Show AssociateWebACLResponse Source # 
Generic AssociateWebACLResponse Source # 
NFData AssociateWebACLResponse Source # 

Methods

rnf :: AssociateWebACLResponse -> () #

type Rep AssociateWebACLResponse Source # 
type Rep AssociateWebACLResponse = D1 * (MetaData "AssociateWebACLResponse" "Network.AWS.WAFRegional.AssociateWebACL" "amazonka-waf-regional-1.6.0-8hbXet7pAjcFZLYYuMOYQd" True) (C1 * (MetaCons "AssociateWebACLResponse'" PrefixI True) (S1 * (MetaSel (Just Symbol "_awarsResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Int)))

Response Lenses