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 #

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

data CreateSubscription #

See: createSubscription smart constructor.

Instances

Eq CreateSubscription # 
Data CreateSubscription # 

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 # 
Show CreateSubscription # 
Generic CreateSubscription # 
Hashable CreateSubscription # 
ToJSON CreateSubscription # 
NFData CreateSubscription # 

Methods

rnf :: CreateSubscription -> () #

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

Destructuring the Response

createSubscriptionResponse #

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 #

See: createSubscriptionResponse smart constructor.

Instances

Eq CreateSubscriptionResponse # 
Data CreateSubscriptionResponse # 

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 # 
Show CreateSubscriptionResponse # 
Generic CreateSubscriptionResponse # 
NFData CreateSubscriptionResponse # 
type Rep CreateSubscriptionResponse # 
type Rep CreateSubscriptionResponse = D1 * (MetaData "CreateSubscriptionResponse" "Network.AWS.Shield.CreateSubscription" "amazonka-shield-1.6.0-6msL1NyA5rn7XfVoLoYmV2" True) (C1 * (MetaCons "CreateSubscriptionResponse'" PrefixI True) (S1 * (MetaSel (Just Symbol "_csrsResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Int)))

Response Lenses

csrsResponseStatus :: Lens' CreateSubscriptionResponse Int #

  • - | The response status code.