| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Greengrass.GetFunctionDefinition
Description
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_arn :: Lens' GetFunctionDefinitionResponse (Maybe Text)
- getFunctionDefinitionResponse_creationTimestamp :: Lens' GetFunctionDefinitionResponse (Maybe Text)
- getFunctionDefinitionResponse_id :: Lens' GetFunctionDefinitionResponse (Maybe Text)
- getFunctionDefinitionResponse_lastUpdatedTimestamp :: Lens' GetFunctionDefinitionResponse (Maybe Text)
- getFunctionDefinitionResponse_latestVersion :: Lens' GetFunctionDefinitionResponse (Maybe Text)
- getFunctionDefinitionResponse_latestVersionArn :: Lens' GetFunctionDefinitionResponse (Maybe Text)
- getFunctionDefinitionResponse_name :: 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.
Constructors
| GetFunctionDefinition' | |
Fields
| |
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.
Constructors
| GetFunctionDefinitionResponse' | |
Fields
| |
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:
GetFunctionDefinitionResponse, getFunctionDefinitionResponse_arn - The ARN of the definition.
GetFunctionDefinitionResponse, getFunctionDefinitionResponse_creationTimestamp - The time, in milliseconds since the epoch, when the definition was
created.
GetFunctionDefinitionResponse, getFunctionDefinitionResponse_id - The ID of the definition.
GetFunctionDefinitionResponse, getFunctionDefinitionResponse_lastUpdatedTimestamp - The time, in milliseconds since the epoch, when the definition was last
updated.
GetFunctionDefinitionResponse, getFunctionDefinitionResponse_latestVersion - The ID of the latest version associated with the definition.
GetFunctionDefinitionResponse, getFunctionDefinitionResponse_latestVersionArn - The ARN of the latest version associated with the definition.
GetFunctionDefinitionResponse, getFunctionDefinitionResponse_name - The name of the definition.
GetFunctionDefinitionResponse, getFunctionDefinitionResponse_tags - Tag(s) attached to the resource arn.
$sel:httpStatus:GetFunctionDefinitionResponse', getFunctionDefinitionResponse_httpStatus - The response's http status code.
Response Lenses
getFunctionDefinitionResponse_arn :: Lens' GetFunctionDefinitionResponse (Maybe Text) Source #
The ARN 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_lastUpdatedTimestamp :: Lens' GetFunctionDefinitionResponse (Maybe Text) Source #
The time, in milliseconds since the epoch, when the definition was last updated.
getFunctionDefinitionResponse_latestVersion :: Lens' GetFunctionDefinitionResponse (Maybe Text) Source #
The ID of the latest version associated with the definition.
getFunctionDefinitionResponse_latestVersionArn :: Lens' GetFunctionDefinitionResponse (Maybe Text) Source #
The ARN of the latest version associated with the definition.
getFunctionDefinitionResponse_name :: Lens' GetFunctionDefinitionResponse (Maybe Text) Source #
The name of the definition.
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.