amazonka-shield-1.6.1: 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 # 
Instance details

Defined in Network.AWS.Shield.CreateSubscription

Data CreateSubscription Source # 
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 Source # 
Instance details

Defined in Network.AWS.Shield.CreateSubscription

Show CreateSubscription Source # 
Instance details

Defined in Network.AWS.Shield.CreateSubscription

Generic CreateSubscription Source # 
Instance details

Defined in Network.AWS.Shield.CreateSubscription

Associated Types

type Rep CreateSubscription :: Type -> Type #

Hashable CreateSubscription Source # 
Instance details

Defined in Network.AWS.Shield.CreateSubscription

ToJSON CreateSubscription Source # 
Instance details

Defined in Network.AWS.Shield.CreateSubscription

AWSRequest CreateSubscription Source # 
Instance details

Defined in Network.AWS.Shield.CreateSubscription

Associated Types

type Rs CreateSubscription :: Type #

ToHeaders CreateSubscription Source # 
Instance details

Defined in Network.AWS.Shield.CreateSubscription

ToPath CreateSubscription Source # 
Instance details

Defined in Network.AWS.Shield.CreateSubscription

ToQuery CreateSubscription Source # 
Instance details

Defined in Network.AWS.Shield.CreateSubscription

NFData CreateSubscription Source # 
Instance details

Defined in Network.AWS.Shield.CreateSubscription

Methods

rnf :: CreateSubscription -> () #

type Rep CreateSubscription Source # 
Instance details

Defined in Network.AWS.Shield.CreateSubscription

type Rep CreateSubscription = D1 (MetaData "CreateSubscription" "Network.AWS.Shield.CreateSubscription" "amazonka-shield-1.6.1-8Y66prV5lhL7KZmytnDDA7" False) (C1 (MetaCons "CreateSubscription'" PrefixI False) (U1 :: Type -> Type))
type Rs CreateSubscription Source # 
Instance details

Defined in Network.AWS.Shield.CreateSubscription

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

Defined in Network.AWS.Shield.CreateSubscription

Data CreateSubscriptionResponse Source # 
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 Source # 
Instance details

Defined in Network.AWS.Shield.CreateSubscription

Show CreateSubscriptionResponse Source # 
Instance details

Defined in Network.AWS.Shield.CreateSubscription

Generic CreateSubscriptionResponse Source # 
Instance details

Defined in Network.AWS.Shield.CreateSubscription

Associated Types

type Rep CreateSubscriptionResponse :: Type -> Type #

NFData CreateSubscriptionResponse Source # 
Instance details

Defined in Network.AWS.Shield.CreateSubscription

type Rep CreateSubscriptionResponse Source # 
Instance details

Defined in Network.AWS.Shield.CreateSubscription

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

Response Lenses