amazonka-shield-1.6.0: Amazon Shield 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.Shield.CreateSubscription

Contents

Description

Activates AWS Shield Advanced for an account.

Synopsis

Creating a Request

createSubscription :: CreateSubscription Source #

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

data CreateSubscription Source #

See: createSubscription smart constructor.

Instances

Eq CreateSubscription Source # 
Data CreateSubscription Source # 

Methods

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

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

toConstr :: CreateSubscription -> Constr #

dataTypeOf :: CreateSubscription -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Methods

rnf :: CreateSubscription -> () #

AWSRequest CreateSubscription Source # 
ToHeaders CreateSubscription Source # 
ToPath CreateSubscription Source # 
ToQuery CreateSubscription Source # 
type Rep CreateSubscription Source # 
type Rep CreateSubscription = D1 * (MetaData "CreateSubscription" "Network.AWS.Shield.CreateSubscription" "amazonka-shield-1.6.0-2xi7D1IHnHkEfNzXOp5G0j" False) (C1 * (MetaCons "CreateSubscription'" PrefixI False) (U1 *))
type Rs CreateSubscription Source # 

Destructuring the Response

createSubscriptionResponse Source #

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

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

data CreateSubscriptionResponse Source #

See: createSubscriptionResponse smart constructor.

Instances

Eq CreateSubscriptionResponse Source # 
Data CreateSubscriptionResponse Source # 

Methods

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

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

toConstr :: CreateSubscriptionResponse -> Constr #

dataTypeOf :: CreateSubscriptionResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateSubscriptionResponse Source # 
Show CreateSubscriptionResponse Source # 
Generic CreateSubscriptionResponse Source # 
NFData CreateSubscriptionResponse Source # 
type Rep CreateSubscriptionResponse Source # 
type Rep CreateSubscriptionResponse = D1 * (MetaData "CreateSubscriptionResponse" "Network.AWS.Shield.CreateSubscription" "amazonka-shield-1.6.0-2xi7D1IHnHkEfNzXOp5G0j" True) (C1 * (MetaCons "CreateSubscriptionResponse'" PrefixI True) (S1 * (MetaSel (Just Symbol "_csrsResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Int)))

Response Lenses