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 form from an Amplify app.
Synopsis
- data DeleteForm = DeleteForm' {}
- newDeleteForm :: Text -> Text -> Text -> DeleteForm
- deleteForm_appId :: Lens' DeleteForm Text
- deleteForm_environmentName :: Lens' DeleteForm Text
- deleteForm_id :: Lens' DeleteForm Text
- data DeleteFormResponse = DeleteFormResponse' {
- newDeleteFormResponse :: DeleteFormResponse
Creating a Request
data DeleteForm Source #
See: newDeleteForm
smart constructor.
Instances
Create a value of DeleteForm
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:
DeleteForm
, deleteForm_appId
- The unique ID of the Amplify app associated with the form to delete.
DeleteForm
, deleteForm_environmentName
- The name of the backend environment that is a part of the Amplify app.
DeleteForm
, deleteForm_id
- The unique ID of the form to delete.
Request Lenses
deleteForm_appId :: Lens' DeleteForm Text Source #
The unique ID of the Amplify app associated with the form to delete.
deleteForm_environmentName :: Lens' DeleteForm Text Source #
The name of the backend environment that is a part of the Amplify app.
deleteForm_id :: Lens' DeleteForm Text Source #
The unique ID of the form to delete.
Destructuring the Response
data DeleteFormResponse Source #
See: newDeleteFormResponse
smart constructor.
Instances
Generic DeleteFormResponse Source # | |
Defined in Amazonka.AmplifyUiBuilder.DeleteForm type Rep DeleteFormResponse :: Type -> Type # from :: DeleteFormResponse -> Rep DeleteFormResponse x # to :: Rep DeleteFormResponse x -> DeleteFormResponse # | |
Read DeleteFormResponse Source # | |
Show DeleteFormResponse Source # | |
Defined in Amazonka.AmplifyUiBuilder.DeleteForm showsPrec :: Int -> DeleteFormResponse -> ShowS # show :: DeleteFormResponse -> String # showList :: [DeleteFormResponse] -> ShowS # | |
NFData DeleteFormResponse Source # | |
Defined in Amazonka.AmplifyUiBuilder.DeleteForm rnf :: DeleteFormResponse -> () # | |
Eq DeleteFormResponse Source # | |
Defined in Amazonka.AmplifyUiBuilder.DeleteForm (==) :: DeleteFormResponse -> DeleteFormResponse -> Bool # (/=) :: DeleteFormResponse -> DeleteFormResponse -> Bool # | |
type Rep DeleteFormResponse Source # | |
newDeleteFormResponse :: DeleteFormResponse Source #
Create a value of DeleteFormResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.