Copyright | (c) 2013-2021 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 |
Retrieves information about a Lambda function definition, including its creation time and latest version.
Synopsis
- data GetFunctionDefinition = GetFunctionDefinition' {}
- newGetFunctionDefinition :: Text -> GetFunctionDefinition
- getFunctionDefinition_functionDefinitionId :: Lens' GetFunctionDefinition Text
- data GetFunctionDefinitionResponse = GetFunctionDefinitionResponse' {}
- newGetFunctionDefinitionResponse :: Int -> GetFunctionDefinitionResponse
- getFunctionDefinitionResponse_latestVersionArn :: Lens' GetFunctionDefinitionResponse (Maybe Text)
- getFunctionDefinitionResponse_arn :: Lens' GetFunctionDefinitionResponse (Maybe Text)
- getFunctionDefinitionResponse_name :: Lens' GetFunctionDefinitionResponse (Maybe Text)
- getFunctionDefinitionResponse_creationTimestamp :: Lens' GetFunctionDefinitionResponse (Maybe Text)
- getFunctionDefinitionResponse_id :: Lens' GetFunctionDefinitionResponse (Maybe Text)
- getFunctionDefinitionResponse_latestVersion :: Lens' GetFunctionDefinitionResponse (Maybe Text)
- getFunctionDefinitionResponse_lastUpdatedTimestamp :: Lens' GetFunctionDefinitionResponse (Maybe Text)
- getFunctionDefinitionResponse_tags :: Lens' GetFunctionDefinitionResponse (Maybe (HashMap Text Text))
- getFunctionDefinitionResponse_httpStatus :: Lens' GetFunctionDefinitionResponse Int
Creating a Request
data GetFunctionDefinition Source #
See: newGetFunctionDefinition
smart constructor.
GetFunctionDefinition' | |
|
Instances
newGetFunctionDefinition Source #
Create a value of GetFunctionDefinition
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:functionDefinitionId:GetFunctionDefinition'
, getFunctionDefinition_functionDefinitionId
- The ID of the Lambda function definition.
Request Lenses
getFunctionDefinition_functionDefinitionId :: Lens' GetFunctionDefinition Text Source #
The ID of the Lambda function definition.
Destructuring the Response
data GetFunctionDefinitionResponse Source #
See: newGetFunctionDefinitionResponse
smart constructor.
GetFunctionDefinitionResponse' | |
|
Instances
newGetFunctionDefinitionResponse Source #
Create a value of GetFunctionDefinitionResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:latestVersionArn:GetFunctionDefinitionResponse'
, getFunctionDefinitionResponse_latestVersionArn
- The ARN of the latest version associated with the definition.
$sel:arn:GetFunctionDefinitionResponse'
, getFunctionDefinitionResponse_arn
- The ARN of the definition.
$sel:name:GetFunctionDefinitionResponse'
, getFunctionDefinitionResponse_name
- The name of the definition.
$sel:creationTimestamp:GetFunctionDefinitionResponse'
, getFunctionDefinitionResponse_creationTimestamp
- The time, in milliseconds since the epoch, when the definition was
created.
$sel:id:GetFunctionDefinitionResponse'
, getFunctionDefinitionResponse_id
- The ID of the definition.
$sel:latestVersion:GetFunctionDefinitionResponse'
, getFunctionDefinitionResponse_latestVersion
- The ID of the latest version associated with the definition.
$sel:lastUpdatedTimestamp:GetFunctionDefinitionResponse'
, getFunctionDefinitionResponse_lastUpdatedTimestamp
- The time, in milliseconds since the epoch, when the definition was last
updated.
$sel:tags:GetFunctionDefinitionResponse'
, getFunctionDefinitionResponse_tags
- Tag(s) attached to the resource arn.
$sel:httpStatus:GetFunctionDefinitionResponse'
, getFunctionDefinitionResponse_httpStatus
- The response's http status code.
Response Lenses
getFunctionDefinitionResponse_latestVersionArn :: Lens' GetFunctionDefinitionResponse (Maybe Text) Source #
The ARN of the latest version associated with the definition.
getFunctionDefinitionResponse_arn :: Lens' GetFunctionDefinitionResponse (Maybe Text) Source #
The ARN of the definition.
getFunctionDefinitionResponse_name :: Lens' GetFunctionDefinitionResponse (Maybe Text) Source #
The name of the definition.
getFunctionDefinitionResponse_creationTimestamp :: Lens' GetFunctionDefinitionResponse (Maybe Text) Source #
The time, in milliseconds since the epoch, when the definition was created.
getFunctionDefinitionResponse_id :: Lens' GetFunctionDefinitionResponse (Maybe Text) Source #
The ID of the definition.
getFunctionDefinitionResponse_latestVersion :: Lens' GetFunctionDefinitionResponse (Maybe Text) Source #
The ID of the latest version associated with the definition.
getFunctionDefinitionResponse_lastUpdatedTimestamp :: Lens' GetFunctionDefinitionResponse (Maybe Text) Source #
The time, in milliseconds since the epoch, when the definition was last updated.
getFunctionDefinitionResponse_tags :: Lens' GetFunctionDefinitionResponse (Maybe (HashMap Text Text)) Source #
Tag(s) attached to the resource arn.
getFunctionDefinitionResponse_httpStatus :: Lens' GetFunctionDefinitionResponse Int Source #
The response's http status code.