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

Contents

Description

Returns the SubscriptionState , either Active or Inactive .

Synopsis

Creating a Request

getSubscriptionState :: GetSubscriptionState Source #

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

data GetSubscriptionState Source #

See: getSubscriptionState smart constructor.

Instances

Eq GetSubscriptionState Source # 
Data GetSubscriptionState Source # 

Methods

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

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

toConstr :: GetSubscriptionState -> Constr #

dataTypeOf :: GetSubscriptionState -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Methods

rnf :: GetSubscriptionState -> () #

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

Destructuring the Response

getSubscriptionStateResponse Source #

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

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

data GetSubscriptionStateResponse Source #

See: getSubscriptionStateResponse smart constructor.

Instances

Eq GetSubscriptionStateResponse Source # 
Data GetSubscriptionStateResponse Source # 

Methods

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

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

toConstr :: GetSubscriptionStateResponse -> Constr #

dataTypeOf :: GetSubscriptionStateResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetSubscriptionStateResponse Source # 
Show GetSubscriptionStateResponse Source # 
Generic GetSubscriptionStateResponse Source # 
NFData GetSubscriptionStateResponse Source # 
type Rep GetSubscriptionStateResponse Source # 
type Rep GetSubscriptionStateResponse = D1 * (MetaData "GetSubscriptionStateResponse" "Network.AWS.Shield.GetSubscriptionState" "amazonka-shield-1.6.0-2xi7D1IHnHkEfNzXOp5G0j" False) (C1 * (MetaCons "GetSubscriptionStateResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_gssrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)) (S1 * (MetaSel (Just Symbol "_gssrsSubscriptionState") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * SubscriptionState))))

Response Lenses