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.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 # 
Data CreateFunctionDefinitionVersion Source # 

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 # 
Show CreateFunctionDefinitionVersion Source # 
Generic CreateFunctionDefinitionVersion Source # 
Hashable CreateFunctionDefinitionVersion Source # 
ToJSON CreateFunctionDefinitionVersion Source # 
NFData CreateFunctionDefinitionVersion Source # 
AWSRequest CreateFunctionDefinitionVersion Source # 
ToHeaders CreateFunctionDefinitionVersion Source # 
ToPath CreateFunctionDefinitionVersion Source # 
ToQuery CreateFunctionDefinitionVersion Source # 
type Rep CreateFunctionDefinitionVersion Source # 
type Rep CreateFunctionDefinitionVersion = D1 * (MetaData "CreateFunctionDefinitionVersion" "Network.AWS.Greengrass.CreateFunctionDefinitionVersion" "amazonka-greengrass-1.6.0-UQvTNoJiEcHgaWALQEura" False) (C1 * (MetaCons "CreateFunctionDefinitionVersion'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_cfdvAmznClientToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_cfdvFunctions") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [Function]))) (S1 * (MetaSel (Just Symbol "_cfdvFunctionDefinitionId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)))))
type Rs CreateFunctionDefinitionVersion Source # 

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

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 # 
Show CreateFunctionDefinitionVersionResponse Source # 
Generic CreateFunctionDefinitionVersionResponse Source # 
NFData CreateFunctionDefinitionVersionResponse Source # 
type Rep CreateFunctionDefinitionVersionResponse Source # 
type Rep CreateFunctionDefinitionVersionResponse = D1 * (MetaData "CreateFunctionDefinitionVersionResponse" "Network.AWS.Greengrass.CreateFunctionDefinitionVersion" "amazonka-greengrass-1.6.0-UQvTNoJiEcHgaWALQEura" False) (C1 * (MetaCons "CreateFunctionDefinitionVersionResponse'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_cfdvrsARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_cfdvrsCreationTimestamp") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_cfdvrsVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_cfdvrsId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_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.