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 |
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.
UpdateFunctionDefinition' | |
|
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.
UpdateFunctionDefinitionResponse' | |
|
Instances
Eq UpdateFunctionDefinitionResponse Source # | |
Read UpdateFunctionDefinitionResponse Source # | |
Show UpdateFunctionDefinitionResponse Source # | |
Generic UpdateFunctionDefinitionResponse Source # | |
NFData UpdateFunctionDefinitionResponse Source # | |
Defined in Amazonka.Greengrass.UpdateFunctionDefinition rnf :: UpdateFunctionDefinitionResponse -> () # | |
type Rep UpdateFunctionDefinitionResponse Source # | |
Defined in Amazonka.Greengrass.UpdateFunctionDefinition type Rep UpdateFunctionDefinitionResponse = D1 ('MetaData "UpdateFunctionDefinitionResponse" "Amazonka.Greengrass.UpdateFunctionDefinition" "libZSservicesZSamazonka-greengrassZSamazonka-greengrass" 'False) (C1 ('MetaCons "UpdateFunctionDefinitionResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
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.