Safe Haskell | None |
---|---|
Language | Haskell2010 |
- data UploadFunction = UploadFunction {
- _ufDescription :: !Text
- _ufFunctionName :: !Text
- _ufHandler :: !Text
- _ufMemorySize :: !Int
- _ufMode :: !FunctionMode
- _ufRole :: !Arn
- _ufRuntime :: !FunctionRuntime
- _ufTimeout :: !Int
- _ufRawCode :: !ByteString
- _ufLastModified :: !UTCTime
- ufDescription :: Lens' UploadFunction Text
- ufFunctionName :: Lens' UploadFunction Text
- ufHandler :: Lens' UploadFunction Text
- ufMemorySize :: Lens' UploadFunction Int
- ufMode :: Lens' UploadFunction FunctionMode
- ufRole :: Lens' UploadFunction Arn
- ufRuntime :: Lens' UploadFunction FunctionRuntime
- ufTimeout :: Lens' UploadFunction Int
- ufRawCode :: Lens' UploadFunction ByteString
- ufLastModified :: Lens' UploadFunction UTCTime
Request
data UploadFunction Source
Creates a new Lambda function or updates an existing function. The
function metadata is created from the request parameters, and the code for
the function is provided by a .zip
file in the request body. If the
function name already exists, the existing Lambda function is updated with
the new code and metadata.
This operation requires permission for the lambda:UploadFunction
action.
Note that these bindings take care of packaging up the function source code
as a .zip
file automatically.
UploadFunction | |
|