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

Contents

Description

Provides details about the AWS Shield Advanced subscription for an account.

Synopsis

Creating a Request

describeSubscription :: DescribeSubscription Source #

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

data DescribeSubscription Source #

See: describeSubscription smart constructor.

Instances
Eq DescribeSubscription Source # 
Instance details

Defined in Network.AWS.Shield.DescribeSubscription

Data DescribeSubscription Source # 
Instance details

Defined in Network.AWS.Shield.DescribeSubscription

Methods

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

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

toConstr :: DescribeSubscription -> Constr #

dataTypeOf :: DescribeSubscription -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeSubscription Source # 
Instance details

Defined in Network.AWS.Shield.DescribeSubscription

Show DescribeSubscription Source # 
Instance details

Defined in Network.AWS.Shield.DescribeSubscription

Generic DescribeSubscription Source # 
Instance details

Defined in Network.AWS.Shield.DescribeSubscription

Associated Types

type Rep DescribeSubscription :: Type -> Type #

Hashable DescribeSubscription Source # 
Instance details

Defined in Network.AWS.Shield.DescribeSubscription

ToJSON DescribeSubscription Source # 
Instance details

Defined in Network.AWS.Shield.DescribeSubscription

AWSRequest DescribeSubscription Source # 
Instance details

Defined in Network.AWS.Shield.DescribeSubscription

Associated Types

type Rs DescribeSubscription :: Type #

ToHeaders DescribeSubscription Source # 
Instance details

Defined in Network.AWS.Shield.DescribeSubscription

ToPath DescribeSubscription Source # 
Instance details

Defined in Network.AWS.Shield.DescribeSubscription

ToQuery DescribeSubscription Source # 
Instance details

Defined in Network.AWS.Shield.DescribeSubscription

NFData DescribeSubscription Source # 
Instance details

Defined in Network.AWS.Shield.DescribeSubscription

Methods

rnf :: DescribeSubscription -> () #

type Rep DescribeSubscription Source # 
Instance details

Defined in Network.AWS.Shield.DescribeSubscription

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

Defined in Network.AWS.Shield.DescribeSubscription

Destructuring the Response

describeSubscriptionResponse Source #

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

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

data DescribeSubscriptionResponse Source #

See: describeSubscriptionResponse smart constructor.

Instances
Eq DescribeSubscriptionResponse Source # 
Instance details

Defined in Network.AWS.Shield.DescribeSubscription

Data DescribeSubscriptionResponse Source # 
Instance details

Defined in Network.AWS.Shield.DescribeSubscription

Methods

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

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

toConstr :: DescribeSubscriptionResponse -> Constr #

dataTypeOf :: DescribeSubscriptionResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeSubscriptionResponse Source # 
Instance details

Defined in Network.AWS.Shield.DescribeSubscription

Show DescribeSubscriptionResponse Source # 
Instance details

Defined in Network.AWS.Shield.DescribeSubscription

Generic DescribeSubscriptionResponse Source # 
Instance details

Defined in Network.AWS.Shield.DescribeSubscription

Associated Types

type Rep DescribeSubscriptionResponse :: Type -> Type #

NFData DescribeSubscriptionResponse Source # 
Instance details

Defined in Network.AWS.Shield.DescribeSubscription

type Rep DescribeSubscriptionResponse Source # 
Instance details

Defined in Network.AWS.Shield.DescribeSubscription

type Rep DescribeSubscriptionResponse = D1 (MetaData "DescribeSubscriptionResponse" "Network.AWS.Shield.DescribeSubscription" "amazonka-shield-1.6.1-8Y66prV5lhL7KZmytnDDA7" False) (C1 (MetaCons "DescribeSubscriptionResponse'" PrefixI True) (S1 (MetaSel (Just "_dsrsSubscription") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Subscription)) :*: S1 (MetaSel (Just "_dsrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))

Response Lenses

dsrsSubscription :: Lens' DescribeSubscriptionResponse (Maybe Subscription) Source #

The AWS Shield Advanced subscription details for an account.