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

Defined in Network.AWS.Shield.CreateSubscription

Data CreateSubscription # 
Instance details

Defined in Network.AWS.Shield.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 # 
Instance details

Defined in Network.AWS.Shield.CreateSubscription

Show CreateSubscription # 
Instance details

Defined in Network.AWS.Shield.CreateSubscription

Generic CreateSubscription # 
Instance details

Defined in Network.AWS.Shield.CreateSubscription

Associated Types

type Rep CreateSubscription :: * -> * #

Hashable CreateSubscription # 
Instance details

Defined in Network.AWS.Shield.CreateSubscription

ToJSON CreateSubscription # 
Instance details

Defined in Network.AWS.Shield.CreateSubscription

AWSRequest CreateSubscription # 
Instance details

Defined in Network.AWS.Shield.CreateSubscription

Associated Types

type Rs CreateSubscription :: * #

ToHeaders CreateSubscription # 
Instance details

Defined in Network.AWS.Shield.CreateSubscription

ToPath CreateSubscription # 
Instance details

Defined in Network.AWS.Shield.CreateSubscription

ToQuery CreateSubscription # 
Instance details

Defined in Network.AWS.Shield.CreateSubscription

NFData CreateSubscription # 
Instance details

Defined in Network.AWS.Shield.CreateSubscription

Methods

rnf :: CreateSubscription -> () #

type Rep CreateSubscription # 
Instance details

Defined in Network.AWS.Shield.CreateSubscription

type Rep CreateSubscription = D1 (MetaData "CreateSubscription" "Network.AWS.Shield.CreateSubscription" "amazonka-shield-1.6.0-CmU3mtZalr1CO98Otb2ZRq" False) (C1 (MetaCons "CreateSubscription'" PrefixI False) (U1 :: * -> *))
type Rs CreateSubscription # 
Instance details

Defined in Network.AWS.Shield.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 # 
Instance details

Defined in Network.AWS.Shield.CreateSubscription

Data CreateSubscriptionResponse # 
Instance details

Defined in Network.AWS.Shield.CreateSubscription

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

Defined in Network.AWS.Shield.CreateSubscription

Show CreateSubscriptionResponse # 
Instance details

Defined in Network.AWS.Shield.CreateSubscription

Generic CreateSubscriptionResponse # 
Instance details

Defined in Network.AWS.Shield.CreateSubscription

Associated Types

type Rep CreateSubscriptionResponse :: * -> * #

NFData CreateSubscriptionResponse # 
Instance details

Defined in Network.AWS.Shield.CreateSubscription

type Rep CreateSubscriptionResponse # 
Instance details

Defined in Network.AWS.Shield.CreateSubscription

type Rep CreateSubscriptionResponse = D1 (MetaData "CreateSubscriptionResponse" "Network.AWS.Shield.CreateSubscription" "amazonka-shield-1.6.0-CmU3mtZalr1CO98Otb2ZRq" True) (C1 (MetaCons "CreateSubscriptionResponse'" PrefixI True) (S1 (MetaSel (Just "_csrsResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)))

Response Lenses

csrsResponseStatus :: Lens' CreateSubscriptionResponse Int #

  • - | The response status code.