amazonka-greengrass-1.6.1: Amazon Greengrass 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.Greengrass.GetSubscriptionDefinition

Contents

Description

Retrieves information about a subscription definition.

Synopsis

Creating a Request

getSubscriptionDefinition Source #

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

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

data GetSubscriptionDefinition Source #

See: getSubscriptionDefinition smart constructor.

Instances
Eq GetSubscriptionDefinition Source # 
Instance details

Defined in Network.AWS.Greengrass.GetSubscriptionDefinition

Data GetSubscriptionDefinition Source # 
Instance details

Defined in Network.AWS.Greengrass.GetSubscriptionDefinition

Methods

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

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

toConstr :: GetSubscriptionDefinition -> Constr #

dataTypeOf :: GetSubscriptionDefinition -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetSubscriptionDefinition Source # 
Instance details

Defined in Network.AWS.Greengrass.GetSubscriptionDefinition

Show GetSubscriptionDefinition Source # 
Instance details

Defined in Network.AWS.Greengrass.GetSubscriptionDefinition

Generic GetSubscriptionDefinition Source # 
Instance details

Defined in Network.AWS.Greengrass.GetSubscriptionDefinition

Associated Types

type Rep GetSubscriptionDefinition :: Type -> Type #

Hashable GetSubscriptionDefinition Source # 
Instance details

Defined in Network.AWS.Greengrass.GetSubscriptionDefinition

AWSRequest GetSubscriptionDefinition Source # 
Instance details

Defined in Network.AWS.Greengrass.GetSubscriptionDefinition

Associated Types

type Rs GetSubscriptionDefinition :: Type #

ToHeaders GetSubscriptionDefinition Source # 
Instance details

Defined in Network.AWS.Greengrass.GetSubscriptionDefinition

ToPath GetSubscriptionDefinition Source # 
Instance details

Defined in Network.AWS.Greengrass.GetSubscriptionDefinition

ToQuery GetSubscriptionDefinition Source # 
Instance details

Defined in Network.AWS.Greengrass.GetSubscriptionDefinition

NFData GetSubscriptionDefinition Source # 
Instance details

Defined in Network.AWS.Greengrass.GetSubscriptionDefinition

type Rep GetSubscriptionDefinition Source # 
Instance details

Defined in Network.AWS.Greengrass.GetSubscriptionDefinition

type Rep GetSubscriptionDefinition = D1 (MetaData "GetSubscriptionDefinition" "Network.AWS.Greengrass.GetSubscriptionDefinition" "amazonka-greengrass-1.6.1-8Yb8rCOrAv2821KEQdBGt6" True) (C1 (MetaCons "GetSubscriptionDefinition'" PrefixI True) (S1 (MetaSel (Just "_gsdSubscriptionDefinitionId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs GetSubscriptionDefinition Source # 
Instance details

Defined in Network.AWS.Greengrass.GetSubscriptionDefinition

Request Lenses

gsdSubscriptionDefinitionId :: Lens' GetSubscriptionDefinition Text Source #

The ID of the subscription definition.

Destructuring the Response

getSubscriptionDefinitionResponse Source #

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

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

data GetSubscriptionDefinitionResponse Source #

See: getSubscriptionDefinitionResponse smart constructor.

Instances
Eq GetSubscriptionDefinitionResponse Source # 
Instance details

Defined in Network.AWS.Greengrass.GetSubscriptionDefinition

Data GetSubscriptionDefinitionResponse Source # 
Instance details

Defined in Network.AWS.Greengrass.GetSubscriptionDefinition

Methods

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

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

toConstr :: GetSubscriptionDefinitionResponse -> Constr #

dataTypeOf :: GetSubscriptionDefinitionResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetSubscriptionDefinitionResponse Source # 
Instance details

Defined in Network.AWS.Greengrass.GetSubscriptionDefinition

Show GetSubscriptionDefinitionResponse Source # 
Instance details

Defined in Network.AWS.Greengrass.GetSubscriptionDefinition

Generic GetSubscriptionDefinitionResponse Source # 
Instance details

Defined in Network.AWS.Greengrass.GetSubscriptionDefinition

Associated Types

type Rep GetSubscriptionDefinitionResponse :: Type -> Type #

NFData GetSubscriptionDefinitionResponse Source # 
Instance details

Defined in Network.AWS.Greengrass.GetSubscriptionDefinition

type Rep GetSubscriptionDefinitionResponse Source # 
Instance details

Defined in Network.AWS.Greengrass.GetSubscriptionDefinition

type Rep GetSubscriptionDefinitionResponse = D1 (MetaData "GetSubscriptionDefinitionResponse" "Network.AWS.Greengrass.GetSubscriptionDefinition" "amazonka-greengrass-1.6.1-8Yb8rCOrAv2821KEQdBGt6" False) (C1 (MetaCons "GetSubscriptionDefinitionResponse'" PrefixI True) (((S1 (MetaSel (Just "_gsdrsLatestVersionARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_gsdrsARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_gsdrsName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_gsdrsCreationTimestamp") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_gsdrsId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_gsdrsLatestVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_gsdrsLastUpdatedTimestamp") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_gsdrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))))

Response Lenses

gsdrsLatestVersionARN :: Lens' GetSubscriptionDefinitionResponse (Maybe Text) Source #

The ARN of the latest version of the definition.

gsdrsCreationTimestamp :: Lens' GetSubscriptionDefinitionResponse (Maybe Text) Source #

The time, in milliseconds since the epoch, when the definition was created.

gsdrsLatestVersion :: Lens' GetSubscriptionDefinitionResponse (Maybe Text) Source #

The latest version of the definition.

gsdrsLastUpdatedTimestamp :: Lens' GetSubscriptionDefinitionResponse (Maybe Text) Source #

The time, in milliseconds since the epoch, when the definition was last updated.