Copyright | (c) 2013-2018 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, including its creation time and latest version.
Synopsis
- 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 ID of the Lambda function definition.
data GetFunctionDefinition Source #
See: getFunctionDefinition
smart constructor.
Instances
Request Lenses
gfdFunctionDefinitionId :: Lens' GetFunctionDefinition Text Source #
The ID of the Lambda function 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
- The ARN of the latest version of the definition.gfdrsARN
- The ARN of the definition.gfdrsName
- The name of the definition.gfdrsCreationTimestamp
- The time, in milliseconds since the epoch, when the definition was created.gfdrsId
- The ID of the definition.gfdrsLatestVersion
- The latest version of the definition.gfdrsLastUpdatedTimestamp
- The time, in milliseconds since the epoch, when the definition was last updated.gfdrsResponseStatus
- -- | The response status code.
data GetFunctionDefinitionResponse Source #
See: getFunctionDefinitionResponse
smart constructor.
Instances
Response Lenses
gfdrsLatestVersionARN :: Lens' GetFunctionDefinitionResponse (Maybe Text) Source #
The ARN of the latest version of the definition.
gfdrsCreationTimestamp :: Lens' GetFunctionDefinitionResponse (Maybe Text) Source #
The time, in milliseconds since the epoch, when the definition was created.
gfdrsLatestVersion :: Lens' GetFunctionDefinitionResponse (Maybe Text) Source #
The latest version of the definition.
gfdrsLastUpdatedTimestamp :: Lens' GetFunctionDefinitionResponse (Maybe Text) Source #
The time, in milliseconds since the epoch, when the definition was last updated.
gfdrsResponseStatus :: Lens' GetFunctionDefinitionResponse Int Source #
- - | The response status code.