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

Defined in Network.AWS.Shield.GetSubscriptionState

Data GetSubscriptionState Source # 
Instance details

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

Defined in Network.AWS.Shield.GetSubscriptionState

Show GetSubscriptionState Source # 
Instance details

Defined in Network.AWS.Shield.GetSubscriptionState

Generic GetSubscriptionState Source # 
Instance details

Defined in Network.AWS.Shield.GetSubscriptionState

Associated Types

type Rep GetSubscriptionState :: Type -> Type #

Hashable GetSubscriptionState Source # 
Instance details

Defined in Network.AWS.Shield.GetSubscriptionState

ToJSON GetSubscriptionState Source # 
Instance details

Defined in Network.AWS.Shield.GetSubscriptionState

AWSRequest GetSubscriptionState Source # 
Instance details

Defined in Network.AWS.Shield.GetSubscriptionState

Associated Types

type Rs GetSubscriptionState :: Type #

ToHeaders GetSubscriptionState Source # 
Instance details

Defined in Network.AWS.Shield.GetSubscriptionState

ToPath GetSubscriptionState Source # 
Instance details

Defined in Network.AWS.Shield.GetSubscriptionState

ToQuery GetSubscriptionState Source # 
Instance details

Defined in Network.AWS.Shield.GetSubscriptionState

NFData GetSubscriptionState Source # 
Instance details

Defined in Network.AWS.Shield.GetSubscriptionState

Methods

rnf :: GetSubscriptionState -> () #

type Rep GetSubscriptionState Source # 
Instance details

Defined in Network.AWS.Shield.GetSubscriptionState

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

Defined in Network.AWS.Shield.GetSubscriptionState

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

Defined in Network.AWS.Shield.GetSubscriptionState

Data GetSubscriptionStateResponse Source # 
Instance details

Defined in Network.AWS.Shield.GetSubscriptionState

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

Defined in Network.AWS.Shield.GetSubscriptionState

Show GetSubscriptionStateResponse Source # 
Instance details

Defined in Network.AWS.Shield.GetSubscriptionState

Generic GetSubscriptionStateResponse Source # 
Instance details

Defined in Network.AWS.Shield.GetSubscriptionState

Associated Types

type Rep GetSubscriptionStateResponse :: Type -> Type #

NFData GetSubscriptionStateResponse Source # 
Instance details

Defined in Network.AWS.Shield.GetSubscriptionState

type Rep GetSubscriptionStateResponse Source # 
Instance details

Defined in Network.AWS.Shield.GetSubscriptionState

type Rep GetSubscriptionStateResponse = D1 (MetaData "GetSubscriptionStateResponse" "Network.AWS.Shield.GetSubscriptionState" "amazonka-shield-1.6.1-8Y66prV5lhL7KZmytnDDA7" False) (C1 (MetaCons "GetSubscriptionStateResponse'" PrefixI True) (S1 (MetaSel (Just "_gssrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int) :*: S1 (MetaSel (Just "_gssrsSubscriptionState") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 SubscriptionState)))

Response Lenses