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 #

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

data GetSubscriptionState #

See: getSubscriptionState smart constructor.

Instances

Eq GetSubscriptionState # 
Data GetSubscriptionState # 

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

Methods

rnf :: GetSubscriptionState -> () #

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

Destructuring the Response

getSubscriptionStateResponse #

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 #

See: getSubscriptionStateResponse smart constructor.

Instances

Eq GetSubscriptionStateResponse # 
Data GetSubscriptionStateResponse # 

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 # 
Show GetSubscriptionStateResponse # 
Generic GetSubscriptionStateResponse # 
NFData GetSubscriptionStateResponse # 
type Rep GetSubscriptionStateResponse # 
type Rep GetSubscriptionStateResponse = D1 * (MetaData "GetSubscriptionStateResponse" "Network.AWS.Shield.GetSubscriptionState" "amazonka-shield-1.6.0-6msL1NyA5rn7XfVoLoYmV2" 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