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 an existing Amplify app specified by an app ID.
Synopsis
- data DeleteApp = DeleteApp' {}
- newDeleteApp :: Text -> DeleteApp
- deleteApp_appId :: Lens' DeleteApp Text
- data DeleteAppResponse = DeleteAppResponse' {
- httpStatus :: Int
- app :: App
- newDeleteAppResponse :: Int -> App -> DeleteAppResponse
- deleteAppResponse_httpStatus :: Lens' DeleteAppResponse Int
- deleteAppResponse_app :: Lens' DeleteAppResponse App
Creating a Request
Describes the request structure for the delete app request.
See: newDeleteApp
smart constructor.
Instances
Eq DeleteApp Source # | |
Read DeleteApp Source # | |
Show DeleteApp Source # | |
Generic DeleteApp Source # | |
NFData DeleteApp Source # | |
Defined in Amazonka.Amplify.DeleteApp | |
Hashable DeleteApp Source # | |
Defined in Amazonka.Amplify.DeleteApp | |
AWSRequest DeleteApp Source # | |
Defined in Amazonka.Amplify.DeleteApp type AWSResponse DeleteApp # request :: DeleteApp -> Request DeleteApp # response :: MonadResource m => Logger -> Service -> Proxy DeleteApp -> ClientResponse ClientBody -> m (Either Error (ClientResponse (AWSResponse DeleteApp))) # | |
ToHeaders DeleteApp Source # | |
Defined in Amazonka.Amplify.DeleteApp | |
ToPath DeleteApp Source # | |
Defined in Amazonka.Amplify.DeleteApp toPath :: DeleteApp -> ByteString # | |
ToQuery DeleteApp Source # | |
Defined in Amazonka.Amplify.DeleteApp toQuery :: DeleteApp -> QueryString # | |
type Rep DeleteApp Source # | |
Defined in Amazonka.Amplify.DeleteApp | |
type AWSResponse DeleteApp Source # | |
Defined in Amazonka.Amplify.DeleteApp |
Create a value of DeleteApp
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:appId:DeleteApp'
, deleteApp_appId
- The unique ID for an Amplify app.
Request Lenses
Destructuring the Response
data DeleteAppResponse Source #
The result structure for the delete app request.
See: newDeleteAppResponse
smart constructor.
DeleteAppResponse' | |
|
Instances
Create a value of DeleteAppResponse
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:DeleteAppResponse'
, deleteAppResponse_httpStatus
- The response's http status code.
$sel:app:DeleteAppResponse'
, deleteAppResponse_app
- Undocumented member.
Response Lenses
deleteAppResponse_httpStatus :: Lens' DeleteAppResponse Int Source #
The response's http status code.
deleteAppResponse_app :: Lens' DeleteAppResponse App Source #
Undocumented member.