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

Contents

Description

Creates a version of a Lambda function definition that has already been defined.

Synopsis

Creating a Request

createFunctionDefinitionVersion Source #

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

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

data CreateFunctionDefinitionVersion Source #

Information needed to create a function definition version.

See: createFunctionDefinitionVersion smart constructor.

Instances
Eq CreateFunctionDefinitionVersion Source # 
Instance details

Defined in Network.AWS.Greengrass.CreateFunctionDefinitionVersion

Data CreateFunctionDefinitionVersion Source # 
Instance details

Defined in Network.AWS.Greengrass.CreateFunctionDefinitionVersion

Methods

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

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

toConstr :: CreateFunctionDefinitionVersion -> Constr #

dataTypeOf :: CreateFunctionDefinitionVersion -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateFunctionDefinitionVersion Source # 
Instance details

Defined in Network.AWS.Greengrass.CreateFunctionDefinitionVersion

Show CreateFunctionDefinitionVersion Source # 
Instance details

Defined in Network.AWS.Greengrass.CreateFunctionDefinitionVersion

Generic CreateFunctionDefinitionVersion Source # 
Instance details

Defined in Network.AWS.Greengrass.CreateFunctionDefinitionVersion

Associated Types

type Rep CreateFunctionDefinitionVersion :: Type -> Type #

Hashable CreateFunctionDefinitionVersion Source # 
Instance details

Defined in Network.AWS.Greengrass.CreateFunctionDefinitionVersion

ToJSON CreateFunctionDefinitionVersion Source # 
Instance details

Defined in Network.AWS.Greengrass.CreateFunctionDefinitionVersion

AWSRequest CreateFunctionDefinitionVersion Source # 
Instance details

Defined in Network.AWS.Greengrass.CreateFunctionDefinitionVersion

Associated Types

type Rs CreateFunctionDefinitionVersion :: Type #

ToHeaders CreateFunctionDefinitionVersion Source # 
Instance details

Defined in Network.AWS.Greengrass.CreateFunctionDefinitionVersion

ToPath CreateFunctionDefinitionVersion Source # 
Instance details

Defined in Network.AWS.Greengrass.CreateFunctionDefinitionVersion

ToQuery CreateFunctionDefinitionVersion Source # 
Instance details

Defined in Network.AWS.Greengrass.CreateFunctionDefinitionVersion

NFData CreateFunctionDefinitionVersion Source # 
Instance details

Defined in Network.AWS.Greengrass.CreateFunctionDefinitionVersion

type Rep CreateFunctionDefinitionVersion Source # 
Instance details

Defined in Network.AWS.Greengrass.CreateFunctionDefinitionVersion

type Rep CreateFunctionDefinitionVersion = D1 (MetaData "CreateFunctionDefinitionVersion" "Network.AWS.Greengrass.CreateFunctionDefinitionVersion" "amazonka-greengrass-1.6.1-8Yb8rCOrAv2821KEQdBGt6" False) (C1 (MetaCons "CreateFunctionDefinitionVersion'" PrefixI True) (S1 (MetaSel (Just "_cfdvAmznClientToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_cfdvFunctions") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Function])) :*: S1 (MetaSel (Just "_cfdvFunctionDefinitionId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs CreateFunctionDefinitionVersion Source # 
Instance details

Defined in Network.AWS.Greengrass.CreateFunctionDefinitionVersion

Request Lenses

cfdvAmznClientToken :: Lens' CreateFunctionDefinitionVersion (Maybe Text) Source #

A client token used to correlate requests and responses.

cfdvFunctions :: Lens' CreateFunctionDefinitionVersion [Function] Source #

A list of Lambda functions in this function definition version.

cfdvFunctionDefinitionId :: Lens' CreateFunctionDefinitionVersion Text Source #

The ID of the Lambda function definition.

Destructuring the Response

createFunctionDefinitionVersionResponse Source #

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

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

data CreateFunctionDefinitionVersionResponse Source #

Instances
Eq CreateFunctionDefinitionVersionResponse Source # 
Instance details

Defined in Network.AWS.Greengrass.CreateFunctionDefinitionVersion

Data CreateFunctionDefinitionVersionResponse Source # 
Instance details

Defined in Network.AWS.Greengrass.CreateFunctionDefinitionVersion

Methods

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

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

toConstr :: CreateFunctionDefinitionVersionResponse -> Constr #

dataTypeOf :: CreateFunctionDefinitionVersionResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateFunctionDefinitionVersionResponse Source # 
Instance details

Defined in Network.AWS.Greengrass.CreateFunctionDefinitionVersion

Show CreateFunctionDefinitionVersionResponse Source # 
Instance details

Defined in Network.AWS.Greengrass.CreateFunctionDefinitionVersion

Generic CreateFunctionDefinitionVersionResponse Source # 
Instance details

Defined in Network.AWS.Greengrass.CreateFunctionDefinitionVersion

NFData CreateFunctionDefinitionVersionResponse Source # 
Instance details

Defined in Network.AWS.Greengrass.CreateFunctionDefinitionVersion

type Rep CreateFunctionDefinitionVersionResponse Source # 
Instance details

Defined in Network.AWS.Greengrass.CreateFunctionDefinitionVersion

type Rep CreateFunctionDefinitionVersionResponse = D1 (MetaData "CreateFunctionDefinitionVersionResponse" "Network.AWS.Greengrass.CreateFunctionDefinitionVersion" "amazonka-greengrass-1.6.1-8Yb8rCOrAv2821KEQdBGt6" False) (C1 (MetaCons "CreateFunctionDefinitionVersionResponse'" PrefixI True) ((S1 (MetaSel (Just "_cfdvrsARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_cfdvrsCreationTimestamp") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_cfdvrsVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_cfdvrsId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_cfdvrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))))

Response Lenses

cfdvrsCreationTimestamp :: Lens' CreateFunctionDefinitionVersionResponse (Maybe Text) Source #

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