amazonka-greengrass-1.6.0: 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 # 
Data GetSubscriptionDefinition Source # 

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 # 
Show GetSubscriptionDefinition Source # 
Generic GetSubscriptionDefinition Source # 
Hashable GetSubscriptionDefinition Source # 
NFData GetSubscriptionDefinition Source # 
AWSRequest GetSubscriptionDefinition Source # 
ToHeaders GetSubscriptionDefinition Source # 
ToPath GetSubscriptionDefinition Source # 
ToQuery GetSubscriptionDefinition Source # 
type Rep GetSubscriptionDefinition Source # 
type Rep GetSubscriptionDefinition = D1 * (MetaData "GetSubscriptionDefinition" "Network.AWS.Greengrass.GetSubscriptionDefinition" "amazonka-greengrass-1.6.0-UQvTNoJiEcHgaWALQEura" True) (C1 * (MetaCons "GetSubscriptionDefinition'" PrefixI True) (S1 * (MetaSel (Just Symbol "_gsdSubscriptionDefinitionId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Text)))
type Rs GetSubscriptionDefinition Source # 

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 # 
Data GetSubscriptionDefinitionResponse Source # 

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 # 
Show GetSubscriptionDefinitionResponse Source # 
Generic GetSubscriptionDefinitionResponse Source # 
NFData GetSubscriptionDefinitionResponse Source # 
type Rep GetSubscriptionDefinitionResponse Source # 
type Rep GetSubscriptionDefinitionResponse = D1 * (MetaData "GetSubscriptionDefinitionResponse" "Network.AWS.Greengrass.GetSubscriptionDefinition" "amazonka-greengrass-1.6.0-UQvTNoJiEcHgaWALQEura" False) (C1 * (MetaCons "GetSubscriptionDefinitionResponse'" PrefixI True) ((:*:) * ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_gsdrsLatestVersionARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_gsdrsARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_gsdrsName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_gsdrsCreationTimestamp") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))))) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_gsdrsId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_gsdrsLatestVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_gsdrsLastUpdatedTimestamp") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_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.