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.DeleteFunctionDefinition
Description
Deletes a Lambda function definition.
Synopsis
- data DeleteFunctionDefinition = DeleteFunctionDefinition' {}
- newDeleteFunctionDefinition :: Text -> DeleteFunctionDefinition
- deleteFunctionDefinition_functionDefinitionId :: Lens' DeleteFunctionDefinition Text
- data DeleteFunctionDefinitionResponse = DeleteFunctionDefinitionResponse' {
- httpStatus :: Int
- newDeleteFunctionDefinitionResponse :: Int -> DeleteFunctionDefinitionResponse
- deleteFunctionDefinitionResponse_httpStatus :: Lens' DeleteFunctionDefinitionResponse Int
Creating a Request
data DeleteFunctionDefinition Source #
See: newDeleteFunctionDefinition
smart constructor.
Constructors
DeleteFunctionDefinition' | |
Fields
|
Instances
newDeleteFunctionDefinition Source #
Create a value of DeleteFunctionDefinition
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:DeleteFunctionDefinition'
, deleteFunctionDefinition_functionDefinitionId
- The ID of the Lambda function definition.
Request Lenses
deleteFunctionDefinition_functionDefinitionId :: Lens' DeleteFunctionDefinition Text Source #
The ID of the Lambda function definition.
Destructuring the Response
data DeleteFunctionDefinitionResponse Source #
See: newDeleteFunctionDefinitionResponse
smart constructor.
Constructors
DeleteFunctionDefinitionResponse' | |
Fields
|
Instances
newDeleteFunctionDefinitionResponse Source #
Create a value of DeleteFunctionDefinitionResponse
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:DeleteFunctionDefinitionResponse'
, deleteFunctionDefinitionResponse_httpStatus
- The response's http status code.
Response Lenses
deleteFunctionDefinitionResponse_httpStatus :: Lens' DeleteFunctionDefinitionResponse Int Source #
The response's http status code.