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