Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
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:
DeleteFunction
, deleteFunction_apiId
- The GraphQL API ID.
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
Generic DeleteFunctionResponse Source # | |
Defined in Amazonka.AppSync.DeleteFunction type Rep DeleteFunctionResponse :: Type -> Type # | |
Read DeleteFunctionResponse Source # | |
Show DeleteFunctionResponse Source # | |
Defined in Amazonka.AppSync.DeleteFunction showsPrec :: Int -> DeleteFunctionResponse -> ShowS # show :: DeleteFunctionResponse -> String # showList :: [DeleteFunctionResponse] -> ShowS # | |
NFData DeleteFunctionResponse Source # | |
Defined in Amazonka.AppSync.DeleteFunction rnf :: DeleteFunctionResponse -> () # | |
Eq DeleteFunctionResponse Source # | |
Defined in Amazonka.AppSync.DeleteFunction | |
type Rep DeleteFunctionResponse Source # | |
Defined in Amazonka.AppSync.DeleteFunction type Rep DeleteFunctionResponse = D1 ('MetaData "DeleteFunctionResponse" "Amazonka.AppSync.DeleteFunction" "amazonka-appsync-2.0-4Pb6UqteLv1I9NIWaj90bg" 'False) (C1 ('MetaCons "DeleteFunctionResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
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.