Safe Haskell | None |
---|---|
Language | Haskell2010 |
Returns the configuration information of the Lambda function and a presigned
URL link to the .zip file you uploaded with UploadFunction
so you can
download the .zip file. Note that the URL is valid for up to 10 minutes. The
configuration information is the same information you provided as parameters
when uploading the function.
This operation requires permission for the 'lambda:GetFunction' action.
http://docs.aws.amazon.com/lambda/latest/dg/API_GetFunction.html
- data GetFunction
- getFunction :: Text -> GetFunction
- gfFunctionName :: Lens' GetFunction Text
- data GetFunctionResponse
- getFunctionResponse :: GetFunctionResponse
- gfrCode :: Lens' GetFunctionResponse (Maybe FunctionCodeLocation)
- gfrConfiguration :: Lens' GetFunctionResponse (Maybe FunctionConfiguration)
Request
data GetFunction Source
Eq GetFunction | |
Ord GetFunction | |
Read GetFunction | |
Show GetFunction | |
IsString GetFunction | |
Monoid GetFunction | |
AWSRequest GetFunction | |
ToQuery GetFunction | |
ToPath GetFunction | |
ToHeaders GetFunction | |
ToJSON GetFunction | |
type Sv GetFunction = Lambda | |
type Rs GetFunction = GetFunctionResponse |
Request constructor
:: Text | |
-> GetFunction |
GetFunction
constructor.
The fields accessible through corresponding lenses are:
gfFunctionName
::
Text
Request lenses
gfFunctionName :: Lens' GetFunction Text Source
The Lambda function name.
Response
Response constructor
getFunctionResponse :: GetFunctionResponse Source
GetFunctionResponse
constructor.
The fields accessible through corresponding lenses are:
Response lenses
gfrCode :: Lens' GetFunctionResponse (Maybe FunctionCodeLocation) Source