Copyright | (c) 2013-2017 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Retrieves information about a Lambda function definition, such as its creation time and latest version.
- getFunctionDefinition :: Text -> GetFunctionDefinition
- data GetFunctionDefinition
- gfdFunctionDefinitionId :: Lens' GetFunctionDefinition Text
- getFunctionDefinitionResponse :: Int -> GetFunctionDefinitionResponse
- data GetFunctionDefinitionResponse
- gfdrsLatestVersionARN :: Lens' GetFunctionDefinitionResponse (Maybe Text)
- gfdrsARN :: Lens' GetFunctionDefinitionResponse (Maybe Text)
- gfdrsName :: Lens' GetFunctionDefinitionResponse (Maybe Text)
- gfdrsCreationTimestamp :: Lens' GetFunctionDefinitionResponse (Maybe Text)
- gfdrsId :: Lens' GetFunctionDefinitionResponse (Maybe Text)
- gfdrsLatestVersion :: Lens' GetFunctionDefinitionResponse (Maybe Text)
- gfdrsLastUpdatedTimestamp :: Lens' GetFunctionDefinitionResponse (Maybe Text)
- gfdrsResponseStatus :: Lens' GetFunctionDefinitionResponse Int
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:
gfdFunctionDefinitionId
- the unique Id of the lambda definition
data GetFunctionDefinition Source #
See: getFunctionDefinition
smart constructor.
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:
gfdrsLatestVersionARN
- Latest version arn of the definition.gfdrsARN
- Arn of the definition.gfdrsName
- Name of the definition.gfdrsCreationTimestamp
- Timestamp of when the definition was created.gfdrsId
- Id of the definition.gfdrsLatestVersion
- Last version of the definition.gfdrsLastUpdatedTimestamp
- Last updated timestamp of the definition.gfdrsResponseStatus
- -- | The response status code.
data GetFunctionDefinitionResponse Source #
See: getFunctionDefinitionResponse
smart constructor.
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.
gfdrsLatestVersion :: Lens' GetFunctionDefinitionResponse (Maybe Text) Source #
Last version of the definition.
gfdrsLastUpdatedTimestamp :: Lens' GetFunctionDefinitionResponse (Maybe Text) Source #
Last updated timestamp of the definition.
gfdrsResponseStatus :: Lens' GetFunctionDefinitionResponse Int Source #
- - | The response status code.