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 |
Amazonka.Greengrass.UpdateFunctionDefinition
Description
Updates a Lambda function definition.
Synopsis
- data UpdateFunctionDefinition = UpdateFunctionDefinition' {}
- newUpdateFunctionDefinition :: Text -> UpdateFunctionDefinition
- updateFunctionDefinition_name :: Lens' UpdateFunctionDefinition (Maybe Text)
- updateFunctionDefinition_functionDefinitionId :: Lens' UpdateFunctionDefinition Text
- data UpdateFunctionDefinitionResponse = UpdateFunctionDefinitionResponse' {
- httpStatus :: Int
- newUpdateFunctionDefinitionResponse :: Int -> UpdateFunctionDefinitionResponse
- updateFunctionDefinitionResponse_httpStatus :: Lens' UpdateFunctionDefinitionResponse Int
Creating a Request
data UpdateFunctionDefinition Source #
See: newUpdateFunctionDefinition
smart constructor.
Constructors
UpdateFunctionDefinition' | |
Fields
|
Instances
newUpdateFunctionDefinition Source #
Create a value of UpdateFunctionDefinition
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:name:UpdateFunctionDefinition'
, updateFunctionDefinition_name
- The name of the definition.
$sel:functionDefinitionId:UpdateFunctionDefinition'
, updateFunctionDefinition_functionDefinitionId
- The ID of the Lambda function definition.
Request Lenses
updateFunctionDefinition_name :: Lens' UpdateFunctionDefinition (Maybe Text) Source #
The name of the definition.
updateFunctionDefinition_functionDefinitionId :: Lens' UpdateFunctionDefinition Text Source #
The ID of the Lambda function definition.
Destructuring the Response
data UpdateFunctionDefinitionResponse Source #
See: newUpdateFunctionDefinitionResponse
smart constructor.
Constructors
UpdateFunctionDefinitionResponse' | |
Fields
|
Instances
newUpdateFunctionDefinitionResponse Source #
Create a value of UpdateFunctionDefinitionResponse
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:httpStatus:UpdateFunctionDefinitionResponse'
, updateFunctionDefinitionResponse_httpStatus
- The response's http status code.
Response Lenses
updateFunctionDefinitionResponse_httpStatus :: Lens' UpdateFunctionDefinitionResponse Int Source #
The response's http status code.