amazonka-greengrass-1.5.0: Amazon Greengrass SDK.

Copyright(c) 2013-2017 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, such as 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 # 
Data GetFunctionDefinition Source # 

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 # 
Show GetFunctionDefinition Source # 
Generic GetFunctionDefinition Source # 
Hashable GetFunctionDefinition Source # 
NFData GetFunctionDefinition Source # 

Methods

rnf :: GetFunctionDefinition -> () #

AWSRequest GetFunctionDefinition Source # 
ToQuery GetFunctionDefinition Source # 
ToPath GetFunctionDefinition Source # 
ToHeaders GetFunctionDefinition Source # 
type Rep GetFunctionDefinition Source # 
type Rep GetFunctionDefinition = D1 (MetaData "GetFunctionDefinition" "Network.AWS.Greengrass.GetFunctionDefinition" "amazonka-greengrass-1.5.0-71LOjgHB2qBUcTjNYOmi4" True) (C1 (MetaCons "GetFunctionDefinition'" PrefixI True) (S1 (MetaSel (Just Symbol "_gfdFunctionDefinitionId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs GetFunctionDefinition Source # 

Request Lenses

gfdFunctionDefinitionId :: Lens' GetFunctionDefinition Text Source #

the unique Id of the lambda 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 # 
Data GetFunctionDefinitionResponse Source # 

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 # 
Show GetFunctionDefinitionResponse Source # 
Generic GetFunctionDefinitionResponse Source # 
NFData GetFunctionDefinitionResponse Source # 
type Rep GetFunctionDefinitionResponse Source # 
type Rep GetFunctionDefinitionResponse = D1 (MetaData "GetFunctionDefinitionResponse" "Network.AWS.Greengrass.GetFunctionDefinition" "amazonka-greengrass-1.5.0-71LOjgHB2qBUcTjNYOmi4" False) (C1 (MetaCons "GetFunctionDefinitionResponse'" PrefixI True) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_gfdrsLatestVersionARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_gfdrsARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_gfdrsName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_gfdrsCreationTimestamp") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_gfdrsId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_gfdrsLatestVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_gfdrsLastUpdatedTimestamp") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_gfdrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))))

Response Lenses

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

Latest version arn of the definition.

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

Timestamp of when the definition was created.

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

Last updated timestamp of the definition.