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

Contents

Description

Retrieves information about a Lambda function definition, including its creation time and latest version.

Synopsis

Creating a Request

getFunctionDefinition Source #

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

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

data GetFunctionDefinition Source #

See: getFunctionDefinition smart constructor.

Instances
Eq GetFunctionDefinition Source # 
Instance details

Defined in Network.AWS.Greengrass.GetFunctionDefinition

Data GetFunctionDefinition Source # 
Instance details

Defined in Network.AWS.Greengrass.GetFunctionDefinition

Methods

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

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

toConstr :: GetFunctionDefinition -> Constr #

dataTypeOf :: GetFunctionDefinition -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetFunctionDefinition Source # 
Instance details

Defined in Network.AWS.Greengrass.GetFunctionDefinition

Show GetFunctionDefinition Source # 
Instance details

Defined in Network.AWS.Greengrass.GetFunctionDefinition

Generic GetFunctionDefinition Source # 
Instance details

Defined in Network.AWS.Greengrass.GetFunctionDefinition

Associated Types

type Rep GetFunctionDefinition :: Type -> Type #

Hashable GetFunctionDefinition Source # 
Instance details

Defined in Network.AWS.Greengrass.GetFunctionDefinition

AWSRequest GetFunctionDefinition Source # 
Instance details

Defined in Network.AWS.Greengrass.GetFunctionDefinition

Associated Types

type Rs GetFunctionDefinition :: Type #

ToHeaders GetFunctionDefinition Source # 
Instance details

Defined in Network.AWS.Greengrass.GetFunctionDefinition

ToPath GetFunctionDefinition Source # 
Instance details

Defined in Network.AWS.Greengrass.GetFunctionDefinition

ToQuery GetFunctionDefinition Source # 
Instance details

Defined in Network.AWS.Greengrass.GetFunctionDefinition

NFData GetFunctionDefinition Source # 
Instance details

Defined in Network.AWS.Greengrass.GetFunctionDefinition

Methods

rnf :: GetFunctionDefinition -> () #

type Rep GetFunctionDefinition Source # 
Instance details

Defined in Network.AWS.Greengrass.GetFunctionDefinition

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

Defined in Network.AWS.Greengrass.GetFunctionDefinition

Request Lenses

gfdFunctionDefinitionId :: Lens' GetFunctionDefinition Text Source #

The ID of the Lambda function definition.

Destructuring the Response

getFunctionDefinitionResponse Source #

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

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

data GetFunctionDefinitionResponse Source #

See: getFunctionDefinitionResponse smart constructor.

Instances
Eq GetFunctionDefinitionResponse Source # 
Instance details

Defined in Network.AWS.Greengrass.GetFunctionDefinition

Data GetFunctionDefinitionResponse Source # 
Instance details

Defined in Network.AWS.Greengrass.GetFunctionDefinition

Methods

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

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

toConstr :: GetFunctionDefinitionResponse -> Constr #

dataTypeOf :: GetFunctionDefinitionResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetFunctionDefinitionResponse Source # 
Instance details

Defined in Network.AWS.Greengrass.GetFunctionDefinition

Show GetFunctionDefinitionResponse Source # 
Instance details

Defined in Network.AWS.Greengrass.GetFunctionDefinition

Generic GetFunctionDefinitionResponse Source # 
Instance details

Defined in Network.AWS.Greengrass.GetFunctionDefinition

Associated Types

type Rep GetFunctionDefinitionResponse :: Type -> Type #

NFData GetFunctionDefinitionResponse Source # 
Instance details

Defined in Network.AWS.Greengrass.GetFunctionDefinition

type Rep GetFunctionDefinitionResponse Source # 
Instance details

Defined in Network.AWS.Greengrass.GetFunctionDefinition

type Rep GetFunctionDefinitionResponse = D1 (MetaData "GetFunctionDefinitionResponse" "Network.AWS.Greengrass.GetFunctionDefinition" "amazonka-greengrass-1.6.1-8Yb8rCOrAv2821KEQdBGt6" False) (C1 (MetaCons "GetFunctionDefinitionResponse'" PrefixI True) (((S1 (MetaSel (Just "_gfdrsLatestVersionARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_gfdrsARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_gfdrsName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_gfdrsCreationTimestamp") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_gfdrsId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_gfdrsLatestVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_gfdrsLastUpdatedTimestamp") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_gfdrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))))

Response Lenses

gfdrsLatestVersionARN :: Lens' GetFunctionDefinitionResponse (Maybe Text) Source #

The ARN of the latest version of the definition.

gfdrsCreationTimestamp :: Lens' GetFunctionDefinitionResponse (Maybe Text) Source #

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

gfdrsLatestVersion :: Lens' GetFunctionDefinitionResponse (Maybe Text) Source #

The latest version of the definition.

gfdrsLastUpdatedTimestamp :: Lens' GetFunctionDefinitionResponse (Maybe Text) Source #

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