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 Function
.
Synopsis
- data DeleteFunction = DeleteFunction' {
- apiId :: Text
- functionId :: Text
- newDeleteFunction :: Text -> Text -> DeleteFunction
- deleteFunction_apiId :: Lens' DeleteFunction Text
- deleteFunction_functionId :: Lens' DeleteFunction Text
- data DeleteFunctionResponse = DeleteFunctionResponse' {
- httpStatus :: Int
- newDeleteFunctionResponse :: Int -> DeleteFunctionResponse
- deleteFunctionResponse_httpStatus :: Lens' DeleteFunctionResponse Int
Creating a Request
data DeleteFunction Source #
See: newDeleteFunction
smart constructor.
DeleteFunction' | |
|
Instances
Create a value of DeleteFunction
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:apiId:DeleteFunction'
, deleteFunction_apiId
- The GraphQL API ID.
$sel:functionId:DeleteFunction'
, deleteFunction_functionId
- The Function
ID.
Request Lenses
deleteFunction_apiId :: Lens' DeleteFunction Text Source #
The GraphQL API ID.
deleteFunction_functionId :: Lens' DeleteFunction Text Source #
The Function
ID.
Destructuring the Response
data DeleteFunctionResponse Source #
See: newDeleteFunctionResponse
smart constructor.
DeleteFunctionResponse' | |
|
Instances
newDeleteFunctionResponse Source #
Create a value of DeleteFunctionResponse
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:DeleteFunctionResponse'
, deleteFunctionResponse_httpStatus
- The response's http status code.
Response Lenses
deleteFunctionResponse_httpStatus :: Lens' DeleteFunctionResponse Int Source #
The response's http status code.